/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* ── Colors ── */
  --color-black: #070515;
  --color-white: #fff;
  --color-grey: #595959;
  --color-grey-light: #737373;
  --color-bg: #f0ebe6;
  --color-off-white: #f8f8f8;
  --color-green: #c6ff7c;
  --color-blue: #4A90D9;
  --color-blue-pale: #b4dbff;
  --color-yellow: #fdf070;
  --color-yellow-light: #fdfae7;
  --color-pink: #f6c2f4;
  --color-coral: #e8654a;
  --color-border: #e0e0e0;

  /* ── Typography – Font sizes ── */
  --fs-h1: 82px;
  --fs-h2: 56px;
  --fs-h3: 42px;
  --fs-h4: 32px;
  --fs-h5: 20px;
  --fs-h6: 18px;
  --fs-default: 18px;
  --fs-sm: 16px;
  --fs-lg: 20px;
  --fs-btn-sm: 16px;
  --fs-btn-lg: 22px;
  --fs-tag: 14px;
  --fs-card-title: 24px;
  --fs-hero-desc: 22px;
  --fs-stat: 52px;

  /* ── Typography – Line heights (unitless) ── */
  --lh-h1: 1.2;
  --lh-h2: 0.9;
  --lh-h3: 1.18;
  --lh-h4: 1.25;
  --lh-h5: 1.5;
  --lh-h6: 1.5;
  --lh-default: 1.45;
  --lh-sm: 1.5;
  --lh-lg: 1.5;
  --lh-btn-sm: 1.5;
  --lh-btn-lg: 1.27;
  --lh-tag: 1.5;

  /* ── Typography – Letter spacing ── */
  --ls-h1: -0.02em;
  --ls-h2: -0.02em;
  --ls-h3: 0;
  --ls-h4: 0;
  --ls-h5: -0.02em;
  --ls-h6: 0;
  --ls-default: 0;
  --ls-sm: -0.02em;
  --ls-lg: -0.02em;
  --ls-btn-sm: 0;
  --ls-btn-lg: -0.02em;
  --ls-tag: -0.03em;

  /* ── Typography – Fonts ── */
  --heading-font: 'DM Sans', sans-serif;
  --body-font: Geist, sans-serif;
  --button-font: 'Varela Round', sans-serif;
  --heading-color: #1c1c1c;

  /* ── Layout ── */
  --container: 1360px;
  --section-padding-lg: 120px;
  --section-padding-sm: 60px;

  /* ── Radius ── */
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 100px;

  /* ── Z-index ── */
  --z-base: 1;
  --z-floating: 900;
  --z-mobile-nav: 1000;
  --z-header: 1001;

  /* ── Transitions ── */
  --duration-fast: 0.2s;
  --duration-base: 0.3s;
  --duration-slow: 0.4s;
  --easing-default: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   RESET
   ============================================ */
* {
  box-sizing: border-box;
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

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

button, input, optgroup, select, textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button, select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"] {
  cursor: pointer;
  appearance: button;
  -webkit-appearance: button;
  border: 0;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/* ============================================
   BASE
   ============================================ */
body {
  margin: 0;
  min-height: 100%;
  background-color: var(--color-bg);
  color: var(--heading-color);
  font-family: var(--body-font);
  font-size: var(--fs-default);
  line-height: var(--lh-default);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--heading-color);
  margin-top: 0;
  margin-bottom: 0;
}

h1 {
  font-size: var(--fs-h1);
  line-height: 1em;
  letter-spacing: var(--ls-h1);
  font-weight: 700;
}

h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h2);
  font-weight: 700;
}

h3 {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-h3);
  font-weight: 400;
}

h4 {
  font-size: var(--fs-h4);
  line-height: var(--lh-h4);
  letter-spacing: var(--ls-h4);
  font-weight: 700;
}

h5 {
  font-size: var(--fs-h5);
  line-height: var(--lh-h5);
  letter-spacing: var(--ls-h5);
  font-weight: 700;
}

h6 {
  font-size: var(--fs-h6);
  line-height: var(--lh-h6);
  letter-spacing: var(--ls-h6);
  font-weight: 400;
}

p {
  margin-top: 0;
  margin-bottom: 0;
}

ul {
  margin-top: 0;
  margin-bottom: 10px;
  padding-left: 20px;
}

ol {
  margin-top: 0;
  margin-bottom: 10px;
  padding-left: 40px;
}

img {
  max-width: 100%;
  display: block;
  border: 0;
}

label {
  margin-bottom: 5px;
  font-weight: bold;
  display: block;
}

/* === TEXT UTILITIES === */
.text-default {
  font-size: var(--fs-default);
  line-height: var(--lh-default);
  font-weight: 400;
}

.text-sm {
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: -.02rem;
  font-weight: 400;
}

.text-lg {
  font-size: var(--fs-lg);
  line-height: var(--lh-lg);
  letter-spacing: -.02rem;
}

.paragraph {
  font-size: var(--fs-sm);
  font-weight: 500;
}

/* === LAYOUT UTILITIES === */
.section-padding {
  padding-top: var(--section-padding-lg);
  padding-bottom: var(--section-padding-lg);
}

.section-padding-bottom {
  padding-bottom: var(--section-padding-lg);
}

.section-padding-sm {
  padding-top: var(--section-padding-sm);
  padding-bottom: var(--section-padding-sm);
}

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

.container-narrow { max-width: 780px; }
.container-sm { max-width: 700px; }
.container-md { max-width: 900px; }
.container-next { max-width: 600px; }
.container-next .button-primary { margin-top: 32px; }

.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }

.mt-12 { margin-top: 12px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

.inline-flex { display: inline-flex; }
.self-start { align-self: flex-start; }

/* ============================================
   COMPONENTS
   ============================================ */

/* === NAVIGATION === */
.header {
  z-index: var(--z-header);
  padding-top: 24px;
  padding-bottom: 24px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(240, 235, 230, 0.2);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.navbar {
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-content-block {
  gap: 40px;
  justify-content: space-between;
  align-items: center;
  display: flex;
  position: relative;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  color: var(--heading-color);
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand-logo-link img {
  height: 32px;
  width: auto;
  display: block;
}

.brand-logo-link .logo-mobile { display: none; }

@media screen and (max-width: 767px) {
  .brand-logo-link .logo-desktop { display: none; }
  .brand-logo-link .logo-mobile { display: block; height: 28px; }
}

.brand-dot {
  color: var(--color-green);
}

.nav-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  gap: 10px;
  color: var(--heading-color);
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
}

.nav-link-wrap {
  gap: 40px;
  justify-content: center;
  align-items: center;
  display: flex;
}

.nav-link {
  color: var(--heading-color);
  font-size: var(--fs-default);
  line-height: var(--lh-default);
  padding: 0;
  font-weight: 600;
  transition: color var(--duration-base);
}

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

.nav-link.is-active {
  color: var(--color-black);
  font-weight: 600;
  position: relative;
}

.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background-color: var(--color-green);
  border-radius: var(--radius-full);
}

.nav-button-wrapper {
  gap: 10px;
  flex: none;
  justify-content: flex-end;
  align-items: center;
  display: flex;
}

.menu-button {
  padding: 0;
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: var(--z-header);
}

.hamburger-line-top,
.hamburger-line-bottom {
  background-color: var(--heading-color);
  border-radius: var(--radius-lg);
  width: 24px;
  height: 2px;
  transition: transform var(--duration-base) ease, opacity var(--duration-base) ease;
}

.hamburger-line-middle {
  background-color: var(--heading-color);
  border-radius: var(--radius-lg);
  width: 24px;
  height: 2px;
  margin-top: 6px;
  margin-bottom: 6px;
  display: flex;
  transition: opacity var(--duration-base) ease;
}

.hamburger {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  display: flex;
}

.menu-button.is-open .hamburger-line-top {
  transform: translateY(8px) rotate(45deg);
}

.menu-button.is-open .hamburger-line-middle {
  opacity: 0;
}

.menu-button.is-open .hamburger-line-bottom {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: var(--z-mobile-nav);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) ease;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.mobile-nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-overlay .nav-link {
  color: var(--heading-color);
  font-size: var(--fs-h4);
  font-weight: 600;
  padding: 8px 0;
  display: block;
  text-align: center;
  transition: color var(--duration-base);
}

.mobile-nav-overlay .nav-link:hover {
  color: var(--color-blue);
}

.mobile-nav-overlay .button-primary {
  margin-top: 16px;
}

/* === BUTTONS === */
.button-primary {
  z-index: var(--z-base);
  background-color: var(--color-green);
  border-radius: var(--radius-full);
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 24px;
  display: inline-flex;
  position: relative;
  overflow: hidden;
  transition: background-color var(--duration-slow) ease;
}

.button-primary:hover {
  background-color: var(--color-blue-pale);
}

.button-primary-text {
  z-index: 3;
  color: var(--color-black);
  font-size: var(--fs-btn-sm);
  line-height: var(--lh-btn-sm);
  position: relative;
}

.button-primary-arrow {
  z-index: 3;
  width: 28px;
  height: 28px;
  background-color: var(--color-black);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.button-primary-arrow svg {
  width: 14px;
  height: 14px;
}

.button-secondary {
  z-index: var(--z-base);
  color: var(--color-black);
  cursor: pointer;
  justify-content: center;
  align-items: center;
  transition: transform var(--duration-fast) ease-out;
  display: flex;
  position: relative;
}

.button-secondary:hover {
  transform: scale(1.05);
}

.button-secondary-text {
  font-family: var(--body-font);
  font-size: var(--fs-btn-lg);
  line-height: var(--lh-btn-lg);
  letter-spacing: -.02em;
  font-weight: 600;
}

.button-secondary-container {
  z-index: var(--z-base);
  background-image: linear-gradient(#fff9 20%, #ffffff1a);
  border-radius: var(--radius-full);
  justify-content: center;
  align-items: center;
  padding: 1px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.button-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform: scale(0.2);
  transition: opacity var(--duration-slow) ease, transform var(--duration-slow) ease;
  background: radial-gradient(circle at 50% 50%, var(--color-green), var(--color-blue-pale), transparent 70%);
  filter: blur(8px);
}

.button-content-wrapper {
  border-radius: var(--radius-full);
  position: relative;
}

.button-content-wrap {
  z-index: 3;
  gap: 22px;
  background-color: var(--color-green);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-full);
  justify-content: center;
  align-items: center;
  padding: 17px 42px;
  font-family: var(--button-font);
  line-height: 1;
  transition: background-color .8s ease;
  display: flex;
  position: relative;
}

.button-secondary:hover .button-content-wrap {
  background-color: var(--color-blue);
}

.button-icon {
  z-index: 2;
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

/* === SERVICE CARDS === */
.service-card {
  gap: 20px;
  background-color: var(--color-yellow-light);
  color: var(--color-black);
  border-radius: var(--radius-lg);
  flex-direction: column;
  width: 100%;
  max-width: 427px;
  padding: 40px;
  display: flex;
}

.service-card.pink { background-color: var(--color-pink); }
.service-card.yellow { background-color: var(--color-yellow); }
.service-card.light-blue { background-color: var(--color-blue-pale); }
.service-card.green { background-color: var(--color-green); }

/* === CARD TITLE (shared) === */
.card-title {
  font-family: var(--heading-font);
  font-size: var(--fs-card-title);
  font-weight: 600;
  color: var(--heading-color);
  text-transform: none;
  margin-bottom: 0;
}

/* === PROJECT CARDS === */
.project-card {
  z-index: var(--z-base);
  color: var(--color-black);
  border-radius: var(--radius-lg);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 20px;
  display: flex;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #E8F0FF 0%, #D0E0FF 100%);
}

.project-card.card-2 {
  background: linear-gradient(135deg, var(--color-blue-pale) 0%, #8FC7FF 100%);
}

.project-card.card-3 {
  background: linear-gradient(135deg, var(--color-blue) 0%, #357ABD 100%);
}

.project-card-body {
  gap: 20px;
  text-align: center;
  flex-direction: column;
  width: 100%;
  max-width: 749px;
  display: flex;
}

.project-card-title-block {
  gap: 12px;
  flex-direction: column;
  display: flex;
}

.project-card-description {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  font-size: var(--fs-default);
}

.project-card-number {
  position: absolute;
  top: 24px;
  right: 32px;
  font-family: 'Anton', sans-serif;
  font-size: 64px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: currentColor;
  opacity: 0.25;
  pointer-events: none;
}

/* === PRICING CARDS === */
.pricing-card {
  position: relative;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  row-gap: 12px;
  width: 100%;
  padding: 24px;
  background-color: var(--color-off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(7, 5, 21, 0.04);
  transition: transform 0.6s var(--easing-default), box-shadow 0.6s var(--easing-default), background-color 0.6s var(--easing-default);
}

.pricing-card:hover {
  transform: translateY(-6px);
  background-color: #fff;
  box-shadow: 0 18px 40px -16px rgba(7, 5, 21, 0.18), 0 4px 10px -4px rgba(7, 5, 21, 0.08);
}

.pricing-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.pricing-card-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--color-black);
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-card-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

.pricing-card-meta li {
  font-family: var(--heading-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-black);
}

.pricing-card-meta li span {
  opacity: 0.5;
  margin-right: 6px;
}

.pricing-card-title {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--color-black);
  margin: 24px 0 0;
}

.pricing-card-desc {
  font-size: var(--fs-default);
  line-height: var(--lh-default);
  color: var(--color-black);
  opacity: 0.75;
  margin: 0;
}

.section-footer {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* === BIG TEXT (quote reveal) === */
.big-text {
  font-family: var(--heading-font);
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--heading-color);
  text-align: center;
}

.big-text .char {
  opacity: 0.15;
}

/* === FAQ === */
.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  background-color: transparent;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--body-font);
  font-size: var(--fs-lg);
  user-select: none;
  transition: background-color var(--duration-base);
}

.faq-question:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

.faq-question.is-active {
  background-color: rgba(0, 0, 0, 0.03);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  font-size: var(--fs-default);
  line-height: 1.6;
  transition:
    max-height var(--duration-slow) var(--easing-default),
    padding var(--duration-slow) var(--easing-default),
    opacity var(--duration-base) ease;
  opacity: 0;
}

.faq-answer.is-active {
  padding: 20px;
  opacity: 1;
}

/* === SERVICES GRID === */
.services-grid-item {
  background-color: var(--color-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform var(--duration-base), box-shadow var(--duration-base);
  color: var(--color-black);
}

.services-grid-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.services-grid-item-title {
  font-family: var(--heading-font);
  font-size: var(--fs-h5);
  text-transform: none;
  margin-bottom: 16px;
}

.services-grid-item-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-grid-item-list li {
  font-size: var(--fs-sm);
  color: var(--color-black);
  margin-bottom: 12px;
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}

.services-grid-item-list li a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--duration-base);
}

.services-grid-item-list li a:hover {
  color: var(--color-blue);
}

.services-grid-item-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-black);
}

/* === CHECKLIST / QUESTIONNAIRE === */
.checklist-instruction {
  padding: 20px 32px;
}

.checklist-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 60px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--color-white);
  border: 1px solid var(--color-black);
  border-radius: var(--radius-md);
  box-shadow: 6px 6px 0 0 var(--color-black);
  overflow: hidden;
}

.checklist-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  transition: background-color var(--duration-fast);
  cursor: pointer;
  user-select: none;
}

.checklist-item:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.checklist-item.is-checked {
  background-color: rgba(232, 101, 74, 0.05);
}

.checklist-item.is-checked .checklist-icon {
  border-color: var(--color-coral);
  background-color: var(--color-coral);
  color: #fff;
}

.checklist-item.is-checked .checklist-title {
  color: var(--color-coral);
}

.checklist-icon {
  flex-shrink: 0;
  margin-top: 3px;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-sm);
  background-color: transparent;
  border: 2px solid var(--color-border);
  color: transparent;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color var(--duration-fast),
    background-color var(--duration-fast),
    color var(--duration-fast);
}

.checklist-title {
  font-family: var(--heading-font);
  font-size: var(--fs-default);
  font-weight: 500;
  color: var(--heading-color);
  transition: color var(--duration-fast);
}

.checklist-item .text-sm {
  color: var(--color-grey);
  margin-top: 2px;
}

/* === DIAGNOSTIC CTA === */
.diag-cta {
  transition: background-color var(--duration-slow) ease;
}

.diag-cta .button-primary-text {
  transition: color var(--duration-slow) ease;
}

/* === STATS === */
.stat-section {
  padding-top: var(--section-padding-lg);
  padding-bottom: 60px;
}

.stat-deck {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0 40px;
  min-height: 460px;
}

.stat-deck-card {
  width: 270px;
  height: 360px;
  border-radius: 22px;
  flex-shrink: 0;
  margin: 0 -32px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, opacity 0.5s ease;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12), 0 6px 14px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  position: relative;
  background: #f4f1ec;
}

/* Base fan rotations + offset stored as vars so spread / reveal keep them */
.stat-deck-card:nth-child(1) { --rot: -12deg; --y: 10px; z-index: 1; }
.stat-deck-card:nth-child(2) { --rot: 7deg;   --y: -4px; z-index: 2; }
.stat-deck-card:nth-child(3) { --rot: -3deg;  --y: 0px;  z-index: 5; }
.stat-deck-card:nth-child(4) { --rot: 9deg;   --y: -4px; z-index: 2; }
.stat-deck-card:nth-child(5) { --rot: -10deg; --y: 10px; z-index: 1; }

.stat-deck-card {
  transform:
    translateX(var(--reveal-x, 0px))
    translateY(calc(var(--y, 0px) + var(--reveal-y, 0px)))
    rotate(var(--rot, 0deg));
}

/* Reveal animation: slide-in + fade. :where() keeps specificity at 0,1,0 so :hover wins. */
:where(.stat-deck-card.scroll-reveal) {
  opacity: 0;
  filter: none;
  transform:
    translateX(var(--reveal-x, 0px))
    translateY(calc(var(--y, 0px) + var(--reveal-y, 0px)))
    rotate(var(--rot, 0deg));
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease, box-shadow 0.3s ease;
}
:where(.stat-deck-card.scroll-reveal.is-visible) {
  opacity: 1;
  --reveal-x: 0px;
  --reveal-y: 0px;
}
/* Pre-reveal offsets: extremes slide from sides, middle slides up from below */
.stat-deck-card:nth-child(1).scroll-reveal:not(.is-visible) { --reveal-x: -240px; }
.stat-deck-card:nth-child(2).scroll-reveal:not(.is-visible) { --reveal-x: -150px; }
.stat-deck-card:nth-child(3).scroll-reveal:not(.is-visible) { --reveal-y: 160px; }
.stat-deck-card:nth-child(4).scroll-reveal:not(.is-visible) { --reveal-x: 150px; }
.stat-deck-card:nth-child(5).scroll-reveal:not(.is-visible) { --reveal-x: 240px; }

/* Spread: each card keeps its own rotation, only translates outward.
   General rule first, direct-neighbor override last (same specificity, source order wins). */
.stat-deck-card:has(~ .stat-deck-card:hover) {
  transform: translateX(-80px) translateY(var(--y, 0px)) rotate(var(--rot, 0deg));
}
.stat-deck-card:hover ~ .stat-deck-card {
  transform: translateX(80px) translateY(var(--y, 0px)) rotate(var(--rot, 0deg));
}
.stat-deck-card:has(+ .stat-deck-card:hover) {
  transform: translateX(-120px) translateY(var(--y, 0px)) rotate(var(--rot, 0deg));
}
.stat-deck-card:hover + .stat-deck-card {
  transform: translateX(120px) translateY(var(--y, 0px)) rotate(var(--rot, 0deg));
}

/* Hovered card: lift + scale, straightens to upright */
.stat-deck-card:hover {
  transform: translateY(-18px) rotate(0deg) scale(1.04);
  z-index: 20;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2), 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* Cancel inline transition-delay (set by stagger JS) when any card is hovered,
   so spread + hover fire instantly without waiting for the reveal stagger. */
.stat-deck:has(.stat-deck-card:hover) .stat-deck-card {
  transition-delay: 0s !important;
}

/* Photo card */
.stat-deck-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* Stat card layout */
.stat-deck-card-stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 22px;
}

.stat-deck-card-blue { background: #e6eefa; }
.stat-deck-card-green { background: #cfe2d8; }
.stat-deck-card-cream { background: #f1ead6; }

.stat-deck-number {
  font-family: var(--heading-font);
  font-size: 56px;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1;
  margin: 0;
}

.stat-deck-sub {
  font-size: 16px;
  line-height: 1.45;
  margin: 0 0 10px;
  opacity: 0.85;
}

.stat-deck-source {
  font-size: 12px;
  margin: 0;
  opacity: 0.5;
  font-style: italic;
}

@media (max-width: 900px) {
  .stat-deck {
    flex-wrap: wrap;
    gap: 16px;
    min-height: 0;
    padding: 40px 16px;
  }
  .stat-deck-card,
  .stat-deck-card:nth-child(1),
  .stat-deck-card:nth-child(2),
  .stat-deck-card:nth-child(3),
  .stat-deck-card:nth-child(4),
  .stat-deck-card:nth-child(5) {
    margin: 0;
    transform: none;
    width: 100%;
    max-width: 320px;
    height: 280px;
  }
  .stat-deck-card.stat-deck-card-stat {
    height: auto;
  }
  .stat-deck-card:has(~ .stat-deck-card:hover),
  .stat-deck-card:hover ~ .stat-deck-card,
  .stat-deck-card:hover {
    transform: none;
  }
}

/* === TAG CONTAINER === */
.tag-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

/* === VENUE CARDS === */
.venue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.venue-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background-color: var(--color-off-white);
  border: 1px solid var(--color-border);
  padding: 16px;
}

.venue-slideshow {
  position: relative;
  height: 260px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background-color: var(--color-border);
}

.venue-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.venue-slide.active {
  opacity: 1;
}

.venue-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.venue-nav svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.venue-nav:hover {
  background: rgba(0, 0, 0, 0.6);
}

.venue-slideshow:hover .venue-nav {
  opacity: 1;
}

.venue-prev { left: 10px; }
.venue-next { right: 10px; }

.venue-card-body {
  padding: 24px 8px 8px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.venue-card-cta {
  background: transparent;
  border: none;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  justify-content: center;
  padding: 32px 8px;
}

.venue-card-cta .venue-card-body {
  padding: 0;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.venue-card-cta h4 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-dark);
}

.venue-card-cta .text-sm {
  color: var(--color-muted);
  font-size: 0.85rem;
}

.venue-cta-link {
  font-size: 0.85rem;
  color: var(--color-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border: 1px solid var(--color-black);
  border-radius: 999px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.venue-cta-link:hover {
  color: var(--color-dark);
  border-color: var(--color-dark);
}

.venue-cta-link .arrow-ne {
  width: 14px;
  height: 14px;
}

.venue-highlights {
  font-size: 12px;
  color: var(--color-grey-light);
  margin-top: 8px;
  letter-spacing: 0.01em;
}

.venue-link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-grey);
  text-decoration: underline;
  text-underline-offset: 4px;
  display: inline-block;
  margin-top: auto;
  padding-top: 16px;
  transition: color var(--duration-base);
}

.venue-link:hover {
  color: var(--color-black);
}

/* === NEXT PAGE === */
.next-page-link {
  color: var(--heading-color);
  transition: color var(--duration-base);
}

.next-page-link:hover {
  color: var(--color-blue);
}

.next-page-desc {
  margin-top: 12px;
}

/* === INLINE LINK === */
.inline-link {
  font-size: var(--fs-default);
  font-weight: 500;
  color: var(--color-grey);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--duration-base);
  display: inline-block;
}

.inline-link:hover {
  color: var(--color-black);
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 6px 14px;
  border: 1px solid var(--color-black);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-black);
  align-self: flex-start;
  transition: color var(--duration-base), border-color var(--duration-base), background-color var(--duration-base);
}

.linkedin-link:hover {
  color: var(--color-black);
  border-color: var(--color-black);
  background-color: #fff;
}

.linkedin-link svg {
  flex-shrink: 0;
}

.arrow-ne {
  width: 0.85em;
  height: 0.85em;
  display: inline-block;
  vertical-align: -0.08em;
  margin-left: 0.15em;
  flex-shrink: 0;
}

/* === FOOTER TOP === */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.footer-tagline {
  font-size: var(--fs-h5);
  max-width: 300px;
  line-height: 1.3;
  margin-bottom: 30px;
}

.footer-desc {
  font-size: var(--fs-sm);
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-icon-link {
  color: var(--color-grey);
  transition: color var(--duration-base);
}

.footer-icon-link:hover {
  color: var(--color-white);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 120px;
}

.footer-nav-link {
  font-size: var(--fs-sm);
  color: var(--color-grey);
  transition: color var(--duration-base);
}

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

/* === SECTION CTA INLINE === */
.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* === STUDIO === */
.studio-manifeste-intro {
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 40px;
}

.studio-body-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 60px;
}

.studio-services {
  margin-bottom: 60px;
}

.studio-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.studio-service-list li {
  padding-left: 20px;
  position: relative;
}

.studio-service-list li::before {
  content: '—';
  position: absolute;
  left: 0;
}

.studio-block {
  margin-bottom: 16px;
}

.studio-highlight {
  font-weight: 600;
  color: var(--heading-color);
}

/* === SCROLL REVEAL === */
/* Excludes .stat-deck-card which has its own fan-transform reveal system */
.scroll-reveal:not(.stat-deck-card) {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity .8s var(--easing-default),
    transform .8s var(--easing-default);
}

.scroll-reveal.is-visible:not(.stat-deck-card) {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .scroll-reveal {
    filter: blur(8px);
    transition:
      opacity .8s var(--easing-default),
      transform .8s var(--easing-default),
      filter .9s var(--easing-default);
  }
  .scroll-reveal.is-visible {
    filter: blur(0);
  }
}

/* === TAGS === */
.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: monospace;
  font-size: var(--fs-tag);
  line-height: var(--lh-tag);
  letter-spacing: var(--ls-tag);
  font-weight: 400;
  background-color: rgba(0, 0, 0, 0.07);
  color: var(--color-black);
}

/* === FLOATING CONTACT BUTTON === */
.floating-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: var(--z-floating);
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  background-color: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(80px) scale(0.5);
}

.floating-contact.is-visible {
  animation: floatingBounceIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transition: transform var(--duration-base) ease, background-color var(--duration-base) ease;
}

.floating-contact.is-visible:hover {
  will-change: transform;
}

.floating-contact.is-visible:hover {
  transform: scale(1.08);
  background-color: var(--color-blue);
}

@keyframes floatingBounceIn {
  0% { opacity: 0; transform: translateY(80px) scale(0.5); }
  50% { opacity: 1; transform: translateY(-10px) scale(1.05); }
  70% { opacity: 1; transform: translateY(5px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.floating-contact-burst {
  position: fixed;
  bottom: -46px;
  right: -46px;
  z-index: calc(var(--z-floating) + 1);
  width: 240px;
  height: 240px;
  pointer-events: none;
}

.floating-contact-text {
  position: absolute;
  width: 90px;
  height: 90px;
  animation: spin-text 12s linear infinite;
}

@keyframes spin-text {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.floating-contact-arrow {
  width: 24px;
  height: 24px;
  z-index: var(--z-base);
}

/* === FOCUS VISIBLE === */
.button-primary:focus-visible,
.button-secondary:focus-visible,
.nav-link:focus-visible,
.venue-card:focus-visible,
.floating-contact:focus-visible,
.faq-question:focus-visible,
.checklist-item:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}

/* ============================================
   LAYOUT
   ============================================ */
.page-wrapper {
  position: relative;
  z-index: var(--z-base);
}

.container {
  max-width: var(--container);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* === PAGE HERO (inner pages) === */
.page-hero {
  padding-top: 160px;
  padding-bottom: 80px;
  background-color: transparent;
}

.page-hero .container {
  max-width: 800px;
}

.page-hero h1 {
  margin-bottom: 20px;
}

.page-hero .text-lg {
  color: var(--heading-color);
}

/* === HERO === */
.hero-section {
  padding-top: 212px;
  padding-bottom: var(--section-padding-lg);
  position: relative;
}

.hero-section > .container {
  position: relative;
  z-index: var(--z-base);
}

.hero-content-block {
  text-align: center;
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}

.hero-content-block::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: radial-gradient(ellipse at center, rgba(242, 240, 233, 0.8) 30%, rgba(242, 240, 233, 0.4) 65%, transparent 100%);
  z-index: -1;
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 100%);
}

.hero-title-block {
  gap: 20px;
  text-align: center;
  flex-direction: column;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.hero-title-wrap {
  gap: 20px;
  color: var(--color-white);
  flex-direction: column;
  align-items: center;
  max-width: 681px;
  display: flex;
  position: relative;
}

.hero-description-block {
  gap: 40px;
  color: var(--heading-color);
  font-size: var(--fs-hero-desc);
  flex-direction: column;
  align-items: center;
  max-width: 580px;
  display: flex;
}

.hero-button-wrap {
  display: flex;
  justify-content: center;
  gap: 16px;
  align-items: center;
}

.hero-inline-image {
  display: inline-block;
  height: 0.85em;
  width: auto;
  vertical-align: -0.1em;
  border-radius: 0.18em;
  object-fit: cover;
  margin: 0 0.1em;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
  cursor: pointer;
}

.hero-inline-image:hover {
  animation: vibrer 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

@keyframes vibrer {
  0%   { transform: scale(1) rotate(0deg); }
  25%  { transform: scale(1.06) rotate(0deg); }
  40%  { transform: scale(1.08) rotate(-2deg); }
  55%  { transform: scale(1.08) rotate(1deg); }
  68%  { transform: scale(1.08) rotate(-0.8deg); }
  80%  { transform: scale(1.08) rotate(0.3deg); }
  100% { transform: scale(1.08) rotate(-3deg); }
}

.hero-particle-02 {
  pointer-events: none;
  color: #e15300;
  background-color: #ffe9dc;
  border: 1px solid #ff6200b3;
  border-radius: 7px;
  padding: 0;
  position: absolute;
  inset: 10% 36px auto auto;
  transform: rotate(20deg);
  box-shadow: 0 20px 12px #ff5e0014, 0 9px 9px #ff5e0021, 0 2px 5px #ff5d0026;
  font-size: 14px;
}

.hero-particle-01 {
  color: #dca100;
  background-color: #fffcc5;
  border: 1px solid #fd0;
  border-radius: 7px;
  padding: 0;
  position: absolute;
  inset: 52px auto auto 11px;
  overflow: hidden;
  transform: rotate(-30deg);
  box-shadow: 0 20px 20px #ffea001a, 0 9px 9px #ffea002b, 0 2px 5px #ffe90033;
  font-size: 14px;
}

.hero-particle-03 {
  color: var(--color-blue);
  font-size: var(--fs-sm);
  background-color: #e8f0ff;
  border: 1px solid #4A90D980;
  border-radius: 7px;
  padding: 0;
  position: absolute;
  inset: auto 83px 74px auto;
  transform: rotate(-15deg);
  box-shadow: 0 20px 12px #4A90D914, 0 9px 9px #4A90D921, 0 2px 5px #4A90D926;
}

.hero-particle-inner {
  background-image: linear-gradient(#f8f8f8, #ffe357);
  border-radius: 7px;
  padding: 5px 15px;
}

.hero-particle-02 .hero-particle-inner {
  background-image: linear-gradient(#e8e3e0, #ffc797);
}

.hero-particle-03 .hero-particle-inner {
  background-image: linear-gradient(#fff3 34%, #4A90D9cc);
}

/* === LOGO BANNER === */
.logo-banner-section {
  overflow: hidden;
  padding: 40px 0;
  background-color: var(--color-bg);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-banner-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: logo-scroll 30s ease-in-out infinite;
}

.logo-banner-item img {
  height: 88px;
  width: auto;
  filter: grayscale(100%) opacity(0.5);
}

@keyframes logo-scroll {
  0%      { transform: translateX(0); }
  2.78%   { transform: translateX(0); }
  16.67%  { transform: translateX(-8.333%); }
  19.44%  { transform: translateX(-8.333%); }
  33.33%  { transform: translateX(-16.667%); }
  36.11%  { transform: translateX(-16.667%); }
  50%     { transform: translateX(-25%); }
  52.78%  { transform: translateX(-25%); }
  66.67%  { transform: translateX(-33.333%); }
  69.44%  { transform: translateX(-33.333%); }
  83.33%  { transform: translateX(-41.667%); }
  86.11%  { transform: translateX(-41.667%); }
  100%    { transform: translateX(-50%); }
}

/* === SECTION TAG === */
.section-tag {
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-grey-light);
  margin: 0 0 16px;
}

/* === SERVICES SECTION === */
.service-section {
  padding-top: var(--section-padding-lg);
  padding-bottom: var(--section-padding-lg);
}

.service-content-block {
  gap: 48px;
  flex-direction: column;
  display: flex;
}

.service-card-block {
  gap: 20px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  width: 100%;
  max-width: 1320px;
  display: grid;
}

/* === PROJECTS === */
.project-section {
  padding-top: var(--section-padding-lg);
  padding-bottom: var(--section-padding-lg);
  overflow: hidden;
}

.section-title-block {
  gap: 20px;
  color: var(--color-black);
  text-align: center;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 730px;
  margin-bottom: 80px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.section-title-block.is-project {
  max-width: 620px;
}

.project-card-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* === DIAGNOSTIC === */
.diagnostic-section {
  padding-top: var(--section-padding-lg);
  padding-bottom: var(--section-padding-lg);
  overflow: hidden;
}

/* === PRICING === */
.pricing-section {
  padding-top: var(--section-padding-lg);
  padding-bottom: var(--section-padding-lg);
}

.pricing-card-block {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto auto;
  gap: 16px;
}

/* === QUOTE === */
.quote-section {
  padding-top: var(--section-padding-lg);
  padding-bottom: var(--section-padding-lg);
}

.quote-section .container {
  max-width: 900px;
}

/* === FAQ === */
.faq-section {
  padding-top: var(--section-padding-lg);
  padding-bottom: var(--section-padding-lg);
}

.faq-content-block {
  max-width: 800px;
  margin: 0 auto;
}

.services-grid-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 60px;
}

/* === CTA === */
.cta-section {
  padding-top: var(--section-padding-lg);
  padding-bottom: var(--section-padding-lg);
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content .button-primary {
  display: inline-flex;
}

.cta-title {
  margin-bottom: 20px;
}

.cta-description {
  font-size: var(--fs-lg);
  margin-bottom: 40px;
  color: var(--heading-color);
}

/* === STUDIO / FONDATEUR === */
.fondateur-layout {
  display: flex;
  gap: 48px;
  align-items: stretch;
}

.fondateur-image {
  flex-shrink: 0;
  width: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-grey);
  font-size: var(--fs-sm);
}

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

.fondateur-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* === FOOTER === */
.footer {
  padding-top: var(--section-padding-lg);
  padding-bottom: var(--section-padding-lg);
  background-color: var(--color-black);
  color: var(--color-white);
}

.footer-bottom {
  padding-top: 40px;
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--color-grey-light);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.footer-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.footer-logo-mark {
  height: 24px !important;
}

.footer-subtitle {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-grey-light);
  letter-spacing: 0.02em;
  margin: 0 0 20px;
}

/* === LIEUX SECTION === */
.lieux-section {
  overflow: hidden;
}

.lieux-main-box {
  display: flex;
  align-items: center;
  gap: 80px;
}

.lieux-image-box {
  flex: 1;
  min-width: 0;
}

.lieux-image-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding-bottom: 95%;
  margin: 0 auto;
}

.lieux-image-item {
  position: absolute;
  width: 62%;
  aspect-ratio: 4.8 / 6.2;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lieux-image-item .cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lieux-image-item.item-01 {
  z-index: 1;
  top: 0;
  left: 0;
  transform: rotate(5deg);
}

.lieux-image-item.item-02 {
  z-index: 2;
  top: 2%;
  right: 0;
  transform: rotate(7deg);
}

.lieux-image-item.item-03 {
  z-index: 3;
  top: 35%;
  left: 8%;
  transform: rotate(-10deg);
}

/* Hover: spread images apart like Canvasly */
.lieux-image-box:hover .lieux-image-item.item-01 {
  transform: rotate(-2deg) translate(-18%, -12%) scale(1.03);
}

.lieux-image-box:hover .lieux-image-item.item-02 {
  transform: rotate(14deg) translate(15%, -8%) scale(1.03);
}

.lieux-image-box:hover .lieux-image-item.item-03 {
  transform: rotate(-16deg) translate(-10%, 12%) scale(1.03);
}

.lieux-text-box {
  flex: 1;
}

.lieux-text-box .section-tag {
  margin-bottom: 12px;
}

.lieux-text-box h2 {
  margin-bottom: 16px;
}

.lieux-desc {
  margin-bottom: 32px;
  max-width: 440px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* === TABLET (max 991px) === */
@media screen and (max-width: 991px) {
  .header { padding-top: 16px; padding-bottom: 16px; }
  .nav-menu { display: none; }
  .menu-button { display: flex; }
  .hero-section { padding-top: 130px; }
  .service-card-block { grid-template-columns: 1fr 1fr; }
  .project-card-block { grid-template-columns: 1fr; }
  .pricing-card-block { grid-template-columns: 1fr; grid-template-rows: none; }
  .pricing-card { display: flex; flex-direction: column; gap: 16px; max-width: none; min-height: 360px; }
  .section-title-block { margin-bottom: 40px; }
  .logo-banner-track { gap: 40px; }
  .logo-banner-item img { height: 48px; }
  .stat-grid { grid-template-columns: 1fr; }
  .venue-grid { grid-template-columns: 1fr; }
  .lieux-main-box { flex-direction: column; gap: 48px; align-items: stretch; }
  .lieux-image-box { width: 100%; }
  .lieux-text-box { text-align: center; }
  .lieux-desc { margin-left: auto; margin-right: auto; }
  .lieux-text-box .button-primary { justify-content: center; }
  .lieux-image-frame { max-width: 320px; }
  .services-grid-block { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .fondateur-layout { flex-direction: column; gap: 32px; }
  .fondateur-image { width: 100%; height: auto; aspect-ratio: 4/3; }
}

/* === MOBILE (max 767px) === */
@media screen and (max-width: 767px) {
  .header { padding-top: 12px; padding-bottom: 12px; }
  .floating-contact { width: 80px; height: 80px; bottom: 16px; right: 16px; }
  .floating-contact-burst { bottom: -40px; right: -40px; width: 192px; height: 192px; }
  .floating-contact-text { width: 70px; height: 70px; }
  .floating-contact-arrow { width: 20px; height: 20px; }
  .checklist-item { padding: 16px 20px; }
  .fondateur-image { height: auto; aspect-ratio: 3/2; }
  .logo-banner-section { padding: 28px 0; }
  .logo-banner-track { gap: 28px; }
  .logo-banner-item img { height: 52px; }
  .hero-particle-02,
  .hero-particle-01,
  .hero-particle-03 { display: none; }
  .project-card { padding: 80px 20px; }
  .pricing-card-block { grid-template-columns: 1fr; padding: 16px; }
  .pricing-card { max-width: none; }
  .section-title-block { margin-bottom: 32px; max-width: 485px; }
  .button-content-wrap { padding: 12px 32px; }
  .services-grid-block { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { flex-direction: column; gap: 32px; margin-bottom: 40px; }
  .footer-nav { padding-right: 0; flex-direction: row; flex-wrap: wrap; gap: 12px 24px; }
  .footer-bottom { font-size: 13px; padding-top: 28px; }
  .hero-content-block { padding: 32px 20px; border-radius: var(--radius-lg); }
  .stat-number { font-size: 40px; }
}

/* === SMALL MOBILE (max 479px) === */
@media screen and (max-width: 479px) {
  body {
    --fs-h1: 40px;
    --fs-h2: 40px;
    --fs-h3: 36px;
    --section-padding-lg: 60px;
    --section-padding-sm: 40px;
  }
  .floating-contact { width: 64px; height: 64px; bottom: 12px; right: 12px; }
  .floating-contact-burst { bottom: -33px; right: -33px; width: 154px; height: 154px; }
  .floating-contact-text { width: 56px; height: 56px; }
  .floating-contact-arrow { width: 16px; height: 16px; }
  .hero-section { padding-top: 100px; }
  .hero-title-wrap { max-width: 334px; }
  .hero-description-block { max-width: 400px; }
  .service-card-block { grid-template-columns: 1fr; }
  .service-card { position: sticky; top: 40px; }
  .section-title-block.is-project { max-width: 310px; }
  .pricing-card { padding: 16px; }
  .lieux-image-frame { max-width: 260px; }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
