/* ==========================================================================
   HOMEPAGE V2 — Split Particuliers / Professionnels
   Chargé APRÈS style.css — ne surcharge que la homepage
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. PROFIL THEMING — Variables contextuelles
   -------------------------------------------------------------------------- */

[data-profil="particulier"] {
  --profil-primary: var(--color-primary, #483966);
  --profil-accent: var(--color-accent, #6A0DAD);
  --profil-light: var(--color-light, #E5DEF6);
  --profil-gradient: linear-gradient(135deg, #483966 0%, #6A0DAD 100%);
  --profil-gradient-soft: linear-gradient(135deg, #E5DEF6 0%, #f8f5ff 100%);
}

[data-profil="professionnel"] {
  --profil-primary: #1B2A4A;
  --profil-accent: #C8A455;
  --profil-light: #F5F0E8;
  --profil-gradient: linear-gradient(135deg, #1B2A4A 0%, #2C3E6B 100%);
  --profil-gradient-soft: linear-gradient(135deg, #F5F0E8 0%, #fffdf8 100%);
}

/* --------------------------------------------------------------------------
   2. SPLIT SCREEN HERO
   -------------------------------------------------------------------------- */

.split-hero {
  position: relative;
  display: flex;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.split-panel {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.split-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.split-panel:hover::before {
  opacity: 1;
}

/* Particulier panel */
.split-panel--parti {
  background: linear-gradient(135deg, #483966 0%, #6A0DAD 100%);
  color: #fff;
}

.split-panel--parti::before {
  background: linear-gradient(135deg, #5a4880 0%, #7b1fc4 100%);
}

/* Professionnel panel */
.split-panel--pro {
  background: linear-gradient(135deg, #1B2A4A 0%, #2C3E6B 100%);
  color: #fff;
}

.split-panel--pro::before {
  background: linear-gradient(135deg, #243759 0%, #3a5080 100%);
}

/* Divider line */
.split-hero::after {
  content: '';
  position: absolute;
  top: 15%;
  bottom: 15%;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-50%);
  transition: opacity 0.4s ease, box-shadow 0.4s ease;
  z-index: 2;
  pointer-events: none;
}

.split-hero:hover::after {
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Hover expansion */
.split-hero:has(.split-panel--parti:hover) .split-panel--parti {
  flex: 1.6;
}

.split-hero:has(.split-panel--parti:hover) .split-panel--pro {
  flex: 0.8;
}

.split-hero:has(.split-panel--pro:hover) .split-panel--pro {
  flex: 1.6;
}

.split-hero:has(.split-panel--pro:hover) .split-panel--parti {
  flex: 0.8;
}

/* Panel content */
.split-panel__icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  transition: transform 0.4s ease;
}

.split-panel:hover .split-panel__icon {
  transform: scale(1.1);
}

.split-panel__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.split-panel__title {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 400px;
}

.split-panel__subtitle {
  font-size: 1rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  text-align: center;
  max-width: 350px;
  line-height: 1.6;
  transition: opacity 0.4s ease 0.1s, max-height 0.4s ease 0.1s;
}

.split-panel:hover .split-panel__subtitle {
  opacity: 0.85;
  max-height: 100px;
}

.split-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.875rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s, background 0.2s ease, border-color 0.2s ease;
}

.split-panel:hover .split-panel__cta {
  opacity: 1;
  transform: translateY(0);
}

.split-panel__cta:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.8);
}

/* Pro panel gold accent */
.split-panel--pro .split-panel__cta {
  border-color: rgba(200, 164, 85, 0.6);
}

.split-panel--pro .split-panel__cta:hover {
  background: rgba(200, 164, 85, 0.15);
  border-color: #C8A455;
}

/* Split screen transition out */
.split-hero.is-choosing {
  pointer-events: none;
}

.split-hero.is-choosing .split-panel.is-selected {
  flex: 20;
}

.split-hero.is-choosing .split-panel:not(.is-selected) {
  flex: 0;
  opacity: 0;
}

.split-hero.is-hidden {
  display: none;
}

/* Floating decoration on panels */
.split-panel__float {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  pointer-events: none;
}

.split-panel--parti .split-panel__float {
  background: #fff;
}

.split-panel--pro .split-panel__float {
  background: #C8A455;
}

.split-panel__float--1 {
  width: 200px;
  height: 200px;
  top: -50px;
  right: -50px;
  animation: float-slow 8s ease-in-out infinite;
}

.split-panel__float--2 {
  width: 120px;
  height: 120px;
  bottom: 10%;
  left: 10%;
  animation: float-slow 6s ease-in-out infinite reverse;
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-15px, -20px); }
}

/* Mini logo in split hero */
.split-hero__logo {
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
}

.split-hero__logo img {
  width: 40px;
  height: 40px;
}

.split-hero__logo span {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 1.125rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   3. PROFIL CONTENT — Sections post-choix
   -------------------------------------------------------------------------- */

.profil-content {
  display: none;
}

.profil-content.is-active {
  display: block;
}

/* Mini hero (profil) */
.profil-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  background: var(--profil-gradient);
  color: #fff;
  overflow: hidden;
}

.profil-hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.profil-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.profil-hero h1 {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #fff;
}

.profil-hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.profil-hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Floating shapes in profil hero */
.profil-hero__float {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.profil-hero__float--1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -50px;
  animation: float-slow 10s ease-in-out infinite;
}

.profil-hero__float--2 {
  width: 200px;
  height: 200px;
  bottom: -60px;
  left: -40px;
  animation: float-slow 7s ease-in-out infinite reverse;
}

/* --------------------------------------------------------------------------
   4. SERVICE CARDS (profil-specific)
   -------------------------------------------------------------------------- */

.profil-services {
  padding: var(--space-xl, 6rem) 0;
}

.profil-services__grid {
  display: grid;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md, 2rem);
}

/* Particuliers: 2x2 desktop, scroll horizontal mobile */
[data-profil="particulier"] .profil-services__grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Pro: wider cards */
[data-profil="professionnel"] .profil-services__grid {
  grid-template-columns: 1fr;
  max-width: 900px;
}

.service-card-v2 {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.service-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.service-card-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--profil-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card-v2:hover::before {
  transform: scaleX(1);
}

.service-card-v2__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--profil-light, #E5DEF6);
  color: var(--profil-primary, #483966);
  margin-bottom: 1.25rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.service-card-v2:hover .service-card-v2__icon {
  background: var(--profil-gradient);
  color: #fff;
}

.service-card-v2__icon svg {
  width: 28px;
  height: 28px;
}

.service-card-v2__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark, #3A3A3A);
  margin-bottom: 0.5rem;
}

.service-card-v2__price {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--profil-accent);
  background: var(--profil-light);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.service-card-v2__desc {
  font-size: 0.9375rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-card-v2__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Pro wide card layout */
[data-profil="professionnel"] .service-card-v2 {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto auto;
  gap: 0 1.5rem;
  align-items: start;
  padding: 2.5rem;
}

[data-profil="professionnel"] .service-card-v2__icon {
  grid-row: 1 / 3;
  width: 64px;
  height: 64px;
  margin-bottom: 0;
}

[data-profil="professionnel"] .service-card-v2__title {
  font-size: 1.375rem;
}

[data-profil="professionnel"] .service-card-v2__actions {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   5. BUTTONS (profil-aware)
   -------------------------------------------------------------------------- */

.btn-v2 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-v2--primary {
  background: var(--profil-gradient);
  color: #fff;
}

.btn-v2--primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-v2--outline {
  background: transparent;
  color: var(--profil-primary, #483966);
  border: 2px solid var(--profil-primary, #483966);
}

.btn-v2--outline:hover {
  background: var(--profil-primary, #483966);
  color: #fff;
}

.btn-v2--white {
  background: #fff;
  color: var(--profil-primary, #483966);
}

.btn-v2--white:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.btn-v2--ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-v2--ghost:hover {
  background: rgba(255, 255, 255, 0.25);
}

.btn-v2--lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

/* --------------------------------------------------------------------------
   6. STATS / KEY NUMBERS
   -------------------------------------------------------------------------- */

.profil-stats {
  padding: 3rem 0;
  background: var(--profil-gradient);
  color: #fff;
}

.profil-stats__grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.profil-stat__number {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.profil-stat__label {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Gold accent for pro stats */
[data-profil="professionnel"] .profil-stat__number {
  color: #C8A455;
}

/* --------------------------------------------------------------------------
   7. CTA SECTION
   -------------------------------------------------------------------------- */

.profil-cta {
  padding: var(--space-xl, 6rem) 2rem;
  text-align: center;
  background: var(--profil-gradient-soft);
}

.profil-cta__title {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--profil-primary);
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.profil-cta__text {
  font-size: 1.125rem;
  color: #666;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   8. SECTION TITLES
   -------------------------------------------------------------------------- */

.section-title-v2 {
  text-align: center;
  margin-bottom: var(--space-lg, 4rem);
  padding: 0 var(--space-md, 2rem);
}

.section-title-v2 h2 {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-dark, #3A3A3A);
  margin-bottom: 0.75rem;
}

.section-title-v2 p {
  font-size: 1.0625rem;
  color: #888;
  max-width: 500px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   9. HEADER — Minimal mode & Profile Switcher Pill
   -------------------------------------------------------------------------- */

.header--minimal .nav,
.header--minimal .header-cta,
.header--minimal .menu-toggle {
  display: none !important;
}

.header--minimal {
  background: transparent;
  box-shadow: none;
}

/* Show profil switcher only when profil is active */
body[data-profil] .profil-switcher {
  display: inline-flex !important;
}

body:not([data-profil]) .profil-switcher {
  display: none !important;
}

.profil-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background: var(--profil-light, #E5DEF6);
  color: var(--profil-primary, #483966);
}

.profil-switcher:hover {
  filter: brightness(0.95);
}

.profil-switcher__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--profil-accent, #6A0DAD);
}

[data-profil="professionnel"] .profil-switcher__dot {
  background: #C8A455;
}

/* --------------------------------------------------------------------------
   10. QUOTE BUILDER — Fullscreen Overlay
   -------------------------------------------------------------------------- */

.qb-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #fff;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

/* Progress bar */
.qb-progress {
  height: 4px;
  background: #eee;
  flex-shrink: 0;
}

.qb-progress__bar {
  height: 100%;
  background: var(--profil-gradient, linear-gradient(135deg, #483966, #6A0DAD));
  transition: width 0.4s ease;
  border-radius: 0 2px 2px 0;
}

/* Header */
.qb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  flex-shrink: 0;
}

.qb-header__step {
  font-size: 0.8125rem;
  color: #999;
  font-weight: 600;
}

.qb-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: #f5f5f5;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  color: #666;
  transition: background 0.2s ease;
}

.qb-close:hover {
  background: #eee;
}

/* Card container */
.qb-cards {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.qb-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.qb-card.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.qb-card.is-exiting {
  opacity: 0;
  transform: translateX(-100%);
}

/* Card content */
.qb-card__title {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  color: var(--color-dark, #3A3A3A);
  margin-bottom: 0.75rem;
  max-width: 600px;
}

.qb-card__subtitle {
  font-size: 1.0625rem;
  color: #888;
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 450px;
}

/* Option tiles */
.qb-options {
  display: grid;
  gap: 0.875rem;
  width: 100%;
  max-width: 550px;
}

.qb-options--cols-2 {
  grid-template-columns: 1fr 1fr;
}

.qb-options--cols-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.qb-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  border: 2px solid #eee;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.qb-option:hover {
  border-color: var(--profil-accent, #6A0DAD);
  background: var(--profil-light, #E5DEF6);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.qb-option.is-selected {
  border-color: var(--profil-accent, #6A0DAD);
  background: var(--profil-light, #E5DEF6);
}

.qb-option__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--profil-accent, #6A0DAD);
}

.qb-option__icon svg {
  width: 28px;
  height: 28px;
}

.qb-option:hover .qb-option__icon {
  color: var(--profil-primary, #483966);
}

.qb-option__label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-dark, #3A3A3A);
}

.qb-option__desc {
  font-size: 0.8125rem;
  color: #888;
}

/* Form fields in quote builder */
.qb-form {
  width: 100%;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.qb-field {
  position: relative;
}

.qb-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 0.375rem;
}

.qb-field input,
.qb-field textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #eee;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #fafafa;
}

.qb-field input:focus,
.qb-field textarea:focus {
  outline: none;
  border-color: var(--profil-accent, #6A0DAD);
  box-shadow: 0 0 0 3px rgba(106, 13, 173, 0.08);
  background: #fff;
}

.qb-field--optional label::after {
  content: ' (optionnel)';
  font-weight: 400;
  color: #aaa;
}

/* Confirmation card */
.qb-confirmation {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.qb-checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--profil-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  animation: qb-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.qb-checkmark svg {
  width: 40px;
  height: 40px;
  color: #fff;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: qb-check-draw 0.6s ease 0.3s forwards;
}

@keyframes qb-pop {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

@keyframes qb-check-draw {
  to { stroke-dashoffset: 0; }
}

.qb-confirmation__title {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-dark, #3A3A3A);
  margin-bottom: 0.5rem;
}

.qb-confirmation__text {
  font-size: 1.0625rem;
  color: #888;
  margin-bottom: 2rem;
  max-width: 400px;
}

/* Back button in QB */
.qb-back {
  position: absolute;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #eee;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  color: #666;
  transition: all 0.2s ease;
  z-index: 2;
}

.qb-back:hover {
  border-color: #ccc;
  color: #333;
}

/* --------------------------------------------------------------------------
   11. MOBILE RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
  /* Split hero stacks vertically */
  .split-hero {
    flex-direction: column;
  }

  .split-hero::after {
    top: auto;
    bottom: auto;
    left: 15%;
    right: 15%;
    top: 50%;
    width: auto;
    height: 1px;
    transform: translateY(-50%);
  }

  .split-panel {
    padding: 2.5rem 1.5rem;
  }

  .split-panel__title {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }

  .split-panel__subtitle {
    opacity: 0.7;
    max-height: 100px;
    font-size: 0.875rem;
  }

  .split-panel__cta {
    opacity: 1;
    transform: translateY(0);
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }

  /* Hover expansion disabled on mobile */
  .split-hero:has(.split-panel--parti:hover) .split-panel--parti,
  .split-hero:has(.split-panel--pro:hover) .split-panel--pro {
    flex: 1;
  }

  .split-hero:has(.split-panel--parti:hover) .split-panel--pro,
  .split-hero:has(.split-panel--pro:hover) .split-panel--parti {
    flex: 1;
  }

  /* Split transition on mobile */
  .split-hero.is-choosing .split-panel:not(.is-selected) {
    max-height: 0;
    padding: 0;
  }

  /* Profil hero */
  .profil-hero {
    min-height: 50vh;
    padding: 5rem 1.5rem 3rem;
  }

  /* Services */
  .profil-services__grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  [data-profil="professionnel"] .service-card-v2 {
    grid-template-columns: 1fr;
  }

  [data-profil="professionnel"] .service-card-v2__icon {
    grid-row: auto;
  }

  /* Stats */
  .profil-stats__grid {
    gap: 1.5rem;
  }

  /* QB */
  .qb-options--cols-2,
  .qb-options--cols-3 {
    grid-template-columns: 1fr;
  }

  .qb-back {
    top: 1rem;
    left: 1rem;
    transform: none;
  }

  .qb-card {
    padding: 1.5rem;
    justify-content: flex-start;
    padding-top: 4rem;
  }
}

@media (max-width: 480px) {
  .split-panel__icon {
    width: 60px;
    height: 60px;
  }

  .profil-hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .profil-hero__actions .btn-v2 {
    width: 100%;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   12. ANIMATIONS — Fade-in for sections
   -------------------------------------------------------------------------- */

.v2-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.v2-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays */
.v2-delay-1 { transition-delay: 0.1s; }
.v2-delay-2 { transition-delay: 0.2s; }
.v2-delay-3 { transition-delay: 0.3s; }
.v2-delay-4 { transition-delay: 0.4s; }
