/* /css/components.css */
/* === HEADER styles moved to layout.css === */
/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: sticky;
  top: 0;
  z-index: 0;
  overflow: hidden;
  /* Coupe proprement le bandeau en diagonale */
  padding: 150px 0 130px;
  background-color: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
}

.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 0;
  transition: opacity 1.8s ease-in-out;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transition: transform 1.8s ease-in-out;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Centrage spécifique pour les photos d'intérieur (slides 2 à 5) */
.hero__slide:nth-child(2) img,
.hero__slide:nth-child(3) img,
.hero__slide:nth-child(4) img,
.hero__slide:nth-child(5) img {
  object-position: center 55%;
  /* Plus de mobilier (canapés, table) et moins de plafond vide */
}

.hero__slide.is-prev {
  opacity: 1;
  z-index: 1;
  transition: none; /* Garde le slide sortant visible sans transition sous le nouveau */
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 2;
}

.hero__slide.is-active img,
.hero__slide.is-prev img {
  animation: heroKenBurns 8s ease-out forwards;
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1.0);
  }

  100% {
    transform: scale(1.03);
  }
}

.hero__ribbon {
  position: absolute;
  top: 36px;
  right: -56px;
  width: 220px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 0;
  z-index: 10;
  box-shadow: 0 4px 10px oklch(from var(--black) l c h / 0.30);
  pointer-events: none;
  border-top: 1px solid oklch(from var(--white) l c h / 0.20);
  border-bottom: 1px solid oklch(from var(--black) l c h / 0.20);
  font-family: var(--font);
}

/* Calibrations progressives pour écrans 1080p */
@media (min-width: 75em) {
  .hero {
    padding: 180px 0 160px;
    background-position: center 35%;
    min-height: 100vh;
    min-height: 100svh;
  }
}

/* Calibrations progressives pour écrans 1440p (QHD) */
@media (min-width: 100em) {
  .hero {
    padding: 210px 0 190px;
    background-position: center 35%;
    min-height: 100vh;
    min-height: 100svh;
  }
}

/* Calibrations progressives pour écrans 4K (UHD) */
@media (min-width: 156.25em) {
  .hero {
    padding: 250px 0 230px;
    background-position: center 35%;
    min-height: 100vh;
    min-height: 100svh;
  }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.72));
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--white);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--red-bright);
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.015em;
  margin-bottom: 32px;
  text-shadow: 0 4px 24px oklch(from var(--black) l c h / 0.45);
  text-wrap: balance;
}

.hero__title span.text-red {
  font-style: italic;
  font-family: var(--font-display);
  color: var(--red-bright);
}

.hero__cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero .btn--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

/* === HERO LOCAL === */
.hero__local {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.70);
  letter-spacing: .02em;
  margin-top: 8px;
}

/* === HERO LOGO === */
.hero__logo {
  display: inline-block;
  margin-bottom: 24px;
  animation: fadeUp 0.7s var(--ease-impeccable) 0.05s both;
  transition: transform 0.4s var(--ease-impeccable);
}

.hero__logo:hover,
.hero__logo:focus-visible {
  transform: scale(1.04);
}

.hero__logo img {
  width: auto;
  height: clamp(140px, 20vw, 240px); /* Encore plus grand pour une superbe présence visuelle */
  display: block;
  filter: drop-shadow(0 4px 24px rgba(17, 17, 17, 0.45));
  transition: transform 0.4s var(--ease-impeccable);
}

.hero__logo:hover img,
.hero__logo:focus-visible img {
  transform: scale(1.04);
}

/* === HERO SCROLL INDICATOR === */
.hero__controls {
  position: absolute;
  bottom: 48px;
  right: 48px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__pause-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
}

.hero__pause-btn:hover,
.hero__pause-btn:focus-visible {
  background: rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 255, 255, 0.7);
  transform: scale(1.05);
}

.hero__pause-btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.hero__pause-btn[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 48em) {
  .hero__controls {
    right: 24px;
    bottom: 24px;
  }
}

.hero__scroll {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  z-index: 10;
  pointer-events: none;
  animation: fadeUp 0.80s var(--ease-impeccable) 0.80s both;
}

@media (max-width: 48em) {
  .hero__scroll {
    display: none;
  }
}

.hero__scroll-mouse {
  width: 20px;
  height: 30px;
  border: 1.5px solid currentColor;
  border-radius: 10px;
  position: relative;
}

.hero__scroll-wheel {
  width: 2px;
  height: 6px;
  background: var(--red-bright);
  border-radius: 1px;
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheelBlink 1.8s ease-in-out infinite;
}

@keyframes scrollWheelBlink {
  0% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  50% {
    opacity: 0.2;
    transform: translate(-50%, 4px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* === NAVIGATION CINÉMATIQUE === */


/* Drawer nav interactions */
.nav-mobile__link {
  transition: transform 0.25s var(--ease-impeccable), opacity 0.25s ease, background 0.25s ease;
}

.nav-mobile__link:active {
  transform: scale(0.98);
}


/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--black);
  color: rgba(255, 255, 255, .65);
  padding: 14px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-bar__marquee {
  width: 100%;
}

.trust-bar__track {
  display: flex;
  justify-content: center;
  align-items: center;
}

.trust-bar__group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-shrink: 0;
  white-space: nowrap;
}

.trust-bar__group span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.trust-bar__group .separator {
  color: var(--red);
  font-size: 8px;
  opacity: .8;
}

.trust-bar__group--duplicate {
  display: none;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 88px 0;
  background: var(--white);
}

.section--grey {
  background: var(--grey-50);
  position: relative;
}

/* Grain texture subtile sur les sections grises pour casser la platitude numérique */
.section--grey::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   SERVICES — Sticky Split Layout (skill impeccable)
   ============================================================ */

.services-section {
  padding: 80px 0 100px;
  background: var(--white);
}

/* En-tête avec compteur Stitch */
.services-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
}

.services-header__left .section-eyebrow {
  margin-bottom: 8px;
}

.services-header__left .section-title {
  max-width: 600px;
  margin-bottom: 0;
}

.services-header__counter {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.services-counter-big {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  font-style: italic;
  color: var(--red);
  line-height: 0.8;
  letter-spacing: -0.02em;
}

.services-counter-line {
  display: block;
  width: 60px;
  height: 1px;
  background: oklch(from var(--red) l c h / 0.15);
}

.services-counter-label {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey-500);
}

/* Structure Bento Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  /* Évite que toutes les cartes s'étendent en même temps */
}

/* Cartes Premium - Version Image, Cadre Inset & Parallaxe 3D */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  min-height: 430px;
  background: var(--neutral-bg-dark);
  border: none;
  padding: 40px;

  /* Configuration de la perspective 3D */
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.3s ease,
    min-height 0.6s ease-in-out;
  /* Effet de fermeture amorti et très doux */
}

.service-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.72) contrast(1.05);
  /* Assombrit l'image pour le contraste */
  transition: transform 0.6s var(--ease-impeccable);
  z-index: 1;
}

.service-card__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom,
      rgba(15, 15, 15, 0.42) 0%,
      /* Dégradé renforcé en haut */
      rgba(15, 15, 15, 0.92) 100%);
  z-index: 2;
  pointer-events: none;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid var(--champagne-gold);
  border-radius: 8px;
  pointer-events: none;
  z-index: 2;
  transform: translateZ(12px);
  transition: transform 0.4s var(--ease-impeccable), border-color 0.4s var(--ease-impeccable);
}

.service-card__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateZ(24px);
  transition: transform 0.4s var(--ease-impeccable);
}

.service-card__top {
  margin-bottom: 32px;
}

.service-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  width: 100%;
}

.service-card__icon {
  color: var(--champagne-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s var(--ease-impeccable);
}

.service-card__title {
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  /* Blanc pour contraster sur l'image */
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  /* Séparation visuelle */
}

.service-card__desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  /* Blanc translucide très lisible */
  margin-bottom: 24px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  /* Séparation visuelle */
}

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

.service-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.45;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.service-card__list li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-impeccable), background-color 0.4s var(--ease-impeccable);
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  text-decoration: none;
  transition: color 0.4s var(--ease-impeccable);
  margin-top: auto;
  align-self: flex-start;
}

.service-card__cta .cta-arrow {
  transition: transform 0.4s var(--ease-impeccable);
}

/* Animations et effets interactifs (Survol, Focus, ou Classe Active Mobile/Tablette) */
.service-card:hover,
.service-card:focus-within,
.service-card.is-active {
  box-shadow: 0 0 0 3px oklch(from var(--champagne-gold) l c h / 0.5),
    0 32px 64px oklch(from var(--black) l c h / 0.25);
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg) scale(1.02);
  outline: none;
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.3s ease;
}

/* Effet tilt 3D sur ordinateur uniquement */
@media (hover: hover) {
  .service-card:hover {
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.02);
    box-shadow: 0 32px 64px oklch(from var(--black) l c h / 0.25);
  }
}

.service-card:hover .service-card__bg,
.service-card:focus-within .service-card__bg,
.service-card.is-active .service-card__bg {
  transform: scale(1.08);
  /* Parallaxe sur l'image de fond */
}

.service-card:hover::before,
.service-card:focus-within::before,
.service-card.is-active::before {
  transform: translateZ(16px);
  border-color: var(--white);
  /* Passe au blanc brillant au survol/focus */
}

.service-card:hover .service-card__content,
.service-card:focus-within .service-card__content,
.service-card.is-active .service-card__content {
  transform: translateZ(32px);
}

.service-card:hover .service-card__icon,
.service-card:focus-within .service-card__icon,
.service-card.is-active .service-card__icon {
  transform: scale(1.15) rotate(6deg) translateY(-2px);
}

.service-card:hover .service-card__list li::before,
.service-card:focus-within .service-card__list li::before,
.service-card.is-active .service-card__list li::before {
  transform: scale(1.3);
  background: var(--champagne-gold);
}

.service-card:hover .service-card__cta,
.service-card:focus-within .service-card__cta,
.service-card.is-active .service-card__cta {
  color: var(--champagne-gold);
}

.service-card:hover .cta-arrow,
.service-card:focus-within .cta-arrow,
.service-card.is-active .cta-arrow {
  transform: translateX(6px);
}

.service-card__cta:focus-visible {
  outline: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Carte 07 : Ancre de la grille Bento */
@media (min-width: 48em) {
  .service-card--full {
    min-height: 380px;
  }

  .service-card--full:hover,
  .service-card--full:focus-within,
  .service-card--full.is-active {
    min-height: 380px;
  }

  .service-card--full .service-card__content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto auto 1fr;
    column-gap: 40px;
    row-gap: 0;
    align-items: start;
  }

  .service-card--full .service-card__top {
    display: contents;
    /* Permet aux enfants directs de devenir des items de la grille parent */
  }

  .service-card--full .service-card__title {
    grid-column: 1;
    grid-row: 2;
    margin-bottom: 12px;
  }

  .service-card--full .service-card__desc {
    grid-column: 1;
    grid-row: 3;
    margin-bottom: 0;
  }

  .service-card--full .service-card__cta {
    grid-column: 1;
    grid-row: 4;
    margin-top: 32px;
    align-self: end;
  }

  .service-card--full .service-card__list {
    grid-column: 2;
    grid-row: 1 / 5;
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
  }
}

@media (min-width: 62em) {
  .service-card--full {
    grid-column: span 3;
  }

  .service-card--full .service-card__content {
    column-gap: 48px;
  }
}

/* Responsive Médiums - Tablette */
@media (max-width: 62em) {
  .services-header {
    gap: 24px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .service-card--full {
    grid-column: span 2;
  }
}

/* Responsive Petits - Mobile */
@media (max-width: 48em) {
  .services-section {
    padding: 60px 0;
  }

  .services-header {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
  }

  .services-header__counter {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 30px;
    min-height: auto;
  }

  .service-card--full {
    grid-column: span 1;
  }

  .service-card--full .service-card__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
  }
}

/* Section Footer CTA */
.srv-cta {
  margin-top: 80px;
  display: flex;
  justify-content: center;
  gap: 24px;
  border-top: 1px solid var(--grey-100);
  padding-top: 64px;
}

@media (max-width: 48em) {
  .srv-cta {
    flex-direction: column;
    margin-top: 48px;
    padding-top: 48px;
    gap: 16px;
  }

  .srv-cta .btn {
    width: 100%;
  }
}


/* ============================================================
   À PROPOS (Editorial Design Upgrade - Impeccable Tier)
   ============================================================ */
.about-section {
  background: var(--white);
  padding: 100px 0;
}

.about-header {
  text-align: center;
  margin-bottom: 64px;
}

.about-eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 12px;
}

.about-subtitle {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-style: italic;
  color: var(--black);
  margin-top: 12px;
  line-height: 1.2;
}

/* Elegant diamond divider from user's PDF */
.about-diamonds {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
}

.about-diamonds .diamond {
  width: 8px;
  height: 8px;
  border: 1px solid var(--red);
  transform: rotate(45deg);
  display: inline-block;
  opacity: 0.6;
}

.about-diamonds .diamond.active {
  background: var(--red);
  opacity: 1;
}

/* Asymmetric grid */
.about__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
}

.about__visual {
  position: relative;
  z-index: 1;
}

/* Story paragraphs styling */
.about-story-p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--grey-800);
  margin-bottom: 24px;
}

.about-story-p .highlight-red {
  color: var(--red);
  font-weight: 700;
}

/* Objective blockquote section */
.about-objective-quote {
  background: oklch(from var(--red) l c h / 0.04);
  border: 1px solid oklch(from var(--red) l c h / 0.12);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-top: 36px;
  transition: transform 0.4s var(--ease-impeccable), background 0.4s var(--ease-impeccable);
}

.about-objective-quote:hover {
  transform: translateY(-2px);
  background: oklch(from var(--red) l c h / 0.06);
}

.about-objective-quote-text {
  font-size: 16px;
  line-height: 1.7;
  font-style: italic;
  color: var(--grey-800);
}

.about-objective-quote-text .weight-bold-red {
  color: var(--red);
  font-weight: 700;
  font-style: normal;
}

/* Right Side: Stitch-style premium offset border frame */
.about__img-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.about__img-deco-border {
  position: absolute;
  top: 16px;
  left: 16px;
  right: -16px;
  bottom: -16px;
  border: 2px solid oklch(from var(--red) l c h / 0.15);
  border-radius: 12px;
  z-index: 1;
  pointer-events: none;
  transition: transform 0.5s var(--ease-impeccable), border-color 0.5s var(--ease-impeccable);
}

.about__img-wrapper {
  position: relative;
  z-index: 2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: #FAF7EB;
}

.about__img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-impeccable);
}

/* Dynamic Interaction Hover Effects */
.about__img-container:hover .about__img-deco-border {
  transform: translate(-8px, -8px);
  border-color: var(--red);
}

.about__img-container:hover .about__img {
  transform: scale(1.03);
}

/* --- Storyteller layout (Scroll-pinned crossfade on Desktop) --- */

/* Parent container height of 200vh to give 100vh of scroll room for transitions */
@media (min-width: 64.0625em) {
  .about-storyteller {
    position: relative;
    height: 150vh;
  }

  .about-sticky-wrapper {
    position: sticky;
    top: clamp(80px, 50vh - 290px, 400px);
    height: 580px;
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 10;
  }

  .about-slide {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.8s cubic-bezier(0.25, 1, 0.5, 1),
                visibility 0.8s;
  }

  .about-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%);
  }

  .about-slide.is-exiting {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-54%); /* subtle lift on exit */
  }

  /* Slide 2 starts slightly lower and animates up to center */
  .about-slide--lena {
    transform: translateY(-46%);
  }

  .about-slide--lena.is-active {
    transform: translateY(-50%);
  }

  /* Reversed template columns for slide 2 on desktop */
  .about-slide--lena .about__inner {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

/* Mobile Tab Selector */
.about-mobile-tabs {
  display: none;
}

@media (max-width: 64em) {
  .about-mobile-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 36px;
    background: var(--grey-50);
    padding: 6px;
    border-radius: 30px;
    max-width: 320px;
    border: 1px solid var(--grey-100);
  }

  .about-mobile-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--grey-600);
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    font-family: var(--font-body);
  }

  .about-mobile-tab.active {
    background: var(--white);
    color: var(--red);
    box-shadow: var(--shadow-sm);
  }
}

/* Fallback for mobile and tablet: tabbed view to avoid crowded layout */
@media (max-width: 64em) {
  .about-storyteller {
    position: relative;
    height: auto !important;
  }

  .about-sticky-wrapper {
    position: static !important;
    height: auto !important;
    overflow: visible !important;
    display: block !important;
  }

  .about-slide {
    position: static !important;
    display: none !important; /* hide by default on mobile */
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: none !important;
    transition: opacity 0.4s ease-out !important;
  }

  .about-slide.is-active {
    display: block !important; /* show when active */
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}


/* Slide 2 image containment */
.about-slide--lena .about__img-wrapper {
  background-color: #f4f1ea;
}

.about-slide--lena .about__img {
  object-fit: contain;
  background-color: #f4f1ea;
}

/* Slide 2 elements */
.about-lena-eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.about-lena-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 44px);
  color: var(--black);
  margin-bottom: 28px;
  font-weight: 400;
}

.about-story-p--speech {
  font-style: italic;
}

.about-lena-badges {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .about-lena-badges {
    flex-direction: column;
    gap: 20px;
  }
}

.lena-badge {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--grey-200);
  border-top: 2px solid var(--red);
  border-radius: var(--radius);
  padding: 16px;
  flex: 1;
  background: var(--white);
}

.lena-badge__icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(224, 49, 49, 0.08);
  color: var(--red);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lena-badge:hover .lena-badge__icon-wrapper {
  background-color: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

.lena-badge__label {
  font-size: 14px;
  color: var(--grey-600);
  font-weight: 600;
  line-height: 1.4;
}


/* Bottom pillars section (3 columns) */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--grey-200);
}

.pillar-card {
  text-align: center;
  padding: 20px;
  transition: transform 0.4s var(--ease-impeccable);
}

.pillar-card:hover {
  transform: translateY(-4px);
}

.pillar-icon-container {
  width: 64px;
  height: 64px;
  background: oklch(from var(--red) l c h / 0.05);
  color: var(--red);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease-impeccable), background 0.4s var(--ease-impeccable), color 0.4s var(--ease-impeccable);
}

.pillar-card:hover .pillar-icon-container {
  transform: scale(1.05);
  background: var(--red);
  color: var(--white);
}

.pillar-title {
  font-size: 18px;
  font-weight: 700;
  font-variant-caps: small-caps;
  letter-spacing: 0.04em;
  color: var(--black);
  margin-bottom: 12px;
}

.pillar-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--grey-600);
}

/* Mobile optimizations */
@media (max-width: 61.9375em) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-pillars {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 60px;
    padding-top: 40px;
  }

  .about__visual {
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
  }

  .about__img {
    height: 380px;
  }
}

/* ============================================================
   SPLIT CAROUSEL — Bento Box layout
   ============================================================ */
.section--split {
  padding: 0;
  background: var(--grey-50);
}

.split-carousel {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  /* Asymmetric grid - 35% text, 65% image */
  min-height: 580px;
  background: var(--white);
  border-radius: 24px;
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  /* Garanti que l'overflow: hidden s'applique correctement lors des animations clip-path */
  isolation: isolate;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 56.25em) {
  .split-carousel {
    grid-template-columns: 1fr;
    grid-template-rows: 340px auto;
    /* Image en haut, texte en dessous */
    min-height: auto;
    border-radius: 16px;
  }

  /* Image affichée EN PREMIER sur mobile via order */
  .split-carousel__visual {
    order: -1;
  }
}

/* --- Panneau texte --- */
.split-carousel__content {
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-carousel__content .split-title {
  margin-bottom: 32px;
  text-wrap: balance;
}

@media (max-width: 56.25em) {
  .split-carousel__content {
    padding: 40px 24px 48px;
    align-items: center;
    text-align: center;
  }

  /* Barre de progression plus visible sur mobile */
  .carousel-progress {
    height: 4px;
  }
}

/* --- Caption dynamique --- */
.carousel-caption {
  margin: 0 0 48px;
  min-height: 80px;
  overflow: hidden;
}

.carousel-caption__text {
  font-size: 18px;
  color: var(--grey-600);
  line-height: 1.6;
  max-width: 480px;
  animation: caption-in 0.8s var(--ease-impeccable) both;
}

@keyframes caption-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

.carousel-caption__text.is-leaving {
  animation: caption-out 0.3s ease-in both;
}

@keyframes caption-out {
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* --- Barre de progression --- */
.carousel-progress {
  display: none;
}

.carousel-progress__bar {
  height: 100%;
  width: 100%;
  background: var(--red);
  border-radius: 2px;
  transition: transform 0.1s linear;
  transform-origin: left;
  transform: scaleX(0);
}

/* --- Navigation : dots uniquement --- */
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.carousel-dot {
  width: 32px;
  height: 2px;
  background: var(--grey-200);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.4s var(--ease-impeccable);
  flex-shrink: 0;
  position: relative;
}

.carousel-dot.is-active {
  background: var(--red);
}

.carousel-dot:hover:not(.is-active) {
  background: var(--grey-400);
}


/* --- Panneau visuel (images) --- */
.split-carousel__visual {
  position: relative;
  overflow: hidden;
  background: var(--grey-800);
}

/* Bordure géométrique dorée fine incrustée sur le panneau d'images pour le look premium (Editorial Frame) */
.split-carousel__visual::after {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid oklch(from var(--champagne-gold) l c h / 0.35);
  pointer-events: none;
  z-index: 3;
  transition: border-color 0.4s var(--ease-impeccable), inset 0.4s var(--ease-impeccable);
}

@media (max-width: 56.25em) {
  .split-carousel__visual::after {
    inset: 12px;
  }
}

/* Micro-interaction : resserrement subtil du cadre intérieur au survol */
.split-carousel__visual:hover::after {
  border-color: oklch(from var(--champagne-gold) l c h / 0.65);
  inset: 24px;
}

@media (max-width: 56.25em) {
  .split-carousel__visual:hover::after {
    inset: 16px;
  }
}


/* Boutons de navigation premium sur le carrousel */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: oklch(from var(--black) l c h / 0.65);
  border: 1px solid oklch(from var(--champagne-gold) l c h / 0.30);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: background 0.3s var(--ease-impeccable),
    border-color 0.3s var(--ease-impeccable),
    transform 0.3s var(--ease-impeccable);
}

.carousel-nav-btn svg {
  width: 20px;
  height: 20px;
  color: #E6C995;
  transition: transform 0.3s var(--ease-impeccable);
}

.carousel-nav-btn--prev {
  left: 36px;
}

.carousel-nav-btn--next {
  right: 36px;
}

.carousel-nav-btn:hover {
  background: oklch(from var(--black) l c h / 0.85);
  border-color: var(--champagne-gold);
  transform: translateY(-50%) scale(1.08);
}

.carousel-nav-btn--prev:hover svg {
  transform: translateX(-2px);
}

.carousel-nav-btn--next:hover svg {
  transform: translateX(2px);
}

/* Masquer les flèches sur mobile pour prioriser le swipe tactile */
@media (max-width: 56.25em) {
  .carousel-nav-btn {
    display: none;
  }
}

/* Chaque slide est empilé en position absolue */
.carousel-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;

  /* État par défaut : caché avec clip-path */
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.8s var(--ease-impeccable);
  z-index: 0;
}

.carousel-slide.is-active {
  clip-path: inset(0 0% 0 0);
  z-index: 1;
}

.carousel-slide.is-leaving {
  clip-path: inset(0 0 0 100%);
  z-index: 2;
  /* reste au-dessus pendant la sortie */
  transition: clip-path 0.8s var(--ease-impeccable);
}

/* Fond image avec effet Ken Burns */
.carousel-slide__bg {
  position: absolute;
  inset: -2%;
  /* léger surplus pour le zoom sans blanc */
  width: 104%;
  height: 104%;
  overflow: hidden;
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.carousel-slide__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  backface-visibility: hidden;
}

/* Animation Ken Burns activée uniquement sur le slide actif (zoom progressif linéaire ultra-fluide) */
.carousel-slide.is-active .carousel-slide__bg {
  animation: kenburns 10s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes kenburns {
  0% {
    transform: scale(1.01) translate3d(0, 0, 0);
  }

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

/* Overlay dégradé pour lisibilité future */
.carousel-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0) 60%);
  z-index: 1;
}


/* ============================================================
   PROCESSUS — Vertical Timeline
   ============================================================ */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Ligne centrale */
.timeline__track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--grey-200);
  transform: translateX(-50%);
}

@keyframes timelineProgress {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

.timeline__progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: top;
  transform: scaleY(0);
  background: var(--red);
}

/* ─── Cœur curseur scroll — piloté par JS ─────────────────── */
.timeline__heart {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%) translateY(-50%) scale(var(--heart-scale, 0.25));
  transform-origin: center;
  width: 36px;
  height: 33px;
  color: var(--grey-300, #ccc);
  opacity: var(--heart-opacity, 0.25);
  z-index: 4;
  pointer-events: none;
  will-change: transform, opacity, top;
  filter: drop-shadow(0 0 0px rgba(227, 38, 54, 0));
}

.timeline__heart svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Fallback navigateurs sans JS ou sans support suffisant */
@supports not (animation-timeline: view()) {
  .timeline__heart {
    color: var(--red);
    top: 50%;
    opacity: 0.6;
  }
}

/* Étincelles / Pétillements du cœur (Fontaine dorée et mini-cœurs) */
.timeline__sparkle {
  position: absolute;
  width: var(--size, 6px);
  height: var(--size, 6px);
  border-radius: var(--radius, 50%);
  background: var(--color, #d4af37);
  pointer-events: none;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: var(--size, 8px);
  color: var(--color, inherit);
  will-change: transform, opacity;
  animation: float-sparkle var(--duration, 1.2s) cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes float-sparkle {
  0% {
    transform: translate(-50%, -50%) translate(0, 0) scale(0.4);
    opacity: 0;
  }

  15% {
    opacity: var(--max-opacity, 1);
  }

  100% {
    transform: translate(-50%, -50%) translate(var(--tx, 0px), var(--ty, -80px)) scale(var(--end-scale, 0));
    opacity: 0;
  }
}

.timeline__item {
  position: relative;
  margin-bottom: 80px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.timeline__item:nth-child(odd) {
  justify-content: flex-start;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

/* Le point sur la ligne centrale */
@keyframes dotActivate {
  to {
    border-color: var(--red);
    background: var(--white);
  }
}

.timeline__dot {
  position: absolute;
  top: 32px;
  left: 50%;
  width: 16px;
  height: 16px;
  background: var(--white);
  border: 3px solid var(--grey-200);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;

  /* Scroll-driven animation */
  animation: dotActivate linear both;
  animation-timeline: view();
  animation-range: entry 100% exit 60%;
}

/* Contenu textuel */
.timeline__content {
  width: calc(50% - 60px);
  position: relative;
  z-index: 1;
  isolation: isolate;
  /* Évite les bogues de contexte d'empilement (stacking context) provoquant la disparition du numéro en arrière-plan */
}

.timeline__item:nth-child(odd) .timeline__content {
  text-align: right;
}

.timeline__icon {
  color: var(--champagne-gold);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease-impeccable);
}

.timeline__item:hover .timeline__icon {
  transform: scale(1.15) rotate(4deg);
}

.timeline__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}

.timeline__desc {
  font-size: 15px;
  color: var(--grey-600);
  line-height: 1.6;
}

/* --- Process Intro & Badge (Le principe d'une conciergerie) --- */
.process-intro {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: center;
  max-width: 800px;
  margin: 32px auto 0;
  text-align: left;
}

.process-intro__text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--grey-800);
}

.process-intro__text strong {
  color: var(--red);
  font-weight: 600;
}

.process-postit {
  background: #FAF5EB;
  /* Elegant soft cream champagne */
  border: 1px solid oklch(from var(--champagne-gold) l c h / 0.60);
  /* Gold accent border */
  padding: 24px 20px;
  width: 170px;
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 2px 6px 15px rgba(0, 0, 0, 0.05);
  transform: rotate(3deg);
  transition: transform 0.4s var(--ease-impeccable), box-shadow 0.4s var(--ease-impeccable);
  position: relative;
  margin: 0 auto;
}

.process-postit:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 4px 12px 24px rgba(0, 0, 0, 0.09);
}

/* Post-it tape effect at the top */
.process-postit::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  width: 48px;
  height: 14px;
  background: oklch(from var(--champagne-gold) l c h / 0.35);
  /* Translucent gold washi tape */
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
}

.process-postit__line {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-600);
  line-height: 1.4;
  display: block;
}

.process-postit__line.highlight {
  font-size: 13px;
  font-weight: 700;
  color: var(--red-dark);
  margin-bottom: 2px;
}

.process-postit__heart {
  font-size: 16px;
  color: var(--red);
  margin-top: 8px;
  line-height: 1;
}

@media (max-width: 48em) {
  .process-intro {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .process-postit {
    margin: 10px auto 0;
  }
}

/* --- Exemples de Prestations --- */
.prestations-block {
  margin-top: 96px;
  padding-top: 48px;
  border-top: 1px dashed var(--grey-200);
  text-align: center;
}

.prestations-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 36px;
  letter-spacing: 0.02em;
}

.prestations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.prestation-item {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-impeccable);
}

.prestation-item:hover {
  transform: translateY(-4px);
  border-color: var(--champagne-gold);
  box-shadow: var(--shadow-md);
}

.prestation-icon {
  color: var(--red);
  background: var(--red-light);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease-impeccable);
}

.prestation-item:hover .prestation-icon {
  transform: scale(1.1);
  background: var(--red);
  color: var(--white);
}

.prestation-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--grey-800);
}

@media (max-width: 48em) {
  .prestations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 30em) {
  .prestations-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Valeurs et Mission --- */
.process-footer {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  width: 100%;
}

.process-footer__mission {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 12px 24px;
  border-radius: 30px;
  border: 1px solid var(--grey-100);
  box-shadow: var(--shadow-sm);
}

.mission-heart {
  font-size: 18px;
  color: var(--red);
  line-height: 1;
}

.mission-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--grey-800);
  margin: 0;
}

.process-footer__values {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey-800);
}

.value-icon {
  color: var(--champagne-gold);
  display: flex;
  align-items: center;
}

@media (max-width: 48em) {
  .process-footer__values {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact__intro {
  color: var(--grey-600);
  margin-bottom: 28px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--grey-600);
}

.contact__link {
  color: var(--grey-600);
  transition: color .2s;
}

.contact__link:hover {
  color: var(--red);
}

.contact__social-link {
  font-weight: 600;
  color: var(--red);
  transition: opacity .2s;
}

.contact__social-link:hover {
  opacity: .75;
}

.contact__side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  line-height: 0;
}

.contact__map iframe {
  display: block;
  width: 100%;
  filter: grayscale(15%);
}

/* === Formulaire de contact === */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-800);
  letter-spacing: .02em;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--grey-800);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}

.form-field textarea {
  field-sizing: content;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--placeholder);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px oklch(from var(--red) l c h / .10);
}

.form-success,
.form-error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-top: 4px;
}

.form-success {
  color: #14532d;
  background: #f0fdf4;
}

.form-error {
  color: var(--red);
  background: var(--red-light);
}

.form-status__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
}

.form-success .form-status__icon {
  background: #14532d;
  color: #fff;
}

.form-error .form-status__icon {
  background: var(--red);
  color: #fff;
}

.form-status__text strong {
  font-weight: 700;
}


/* === FOOTER styles moved to layout.css === */
/* ============================================================
   RESPONSIVE â€” Tablette (â‰¤ 1024px)
   ============================================================ */
@media (max-width: 64em) {
  .hero {
    padding: 120px 0 100px;
    min-height: 100vh;
    min-height: 100svh;
  }

  .about__inner {
    grid-template-columns: 1fr;
  }

  .about__visual {
    max-width: 480px;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Moved to layout.css */
}

/* ============================================================
   RESPONSIVE â€” Mobile (â‰¤ 768px)
   ============================================================ */
@media (max-width: 48em) {
  /* Moved to layout.css */

  /* Sections */
  .section {
    padding: 48px 0;
  }

  /* Hero */
  .hero {
    padding: calc(var(--header-h, 90px) + 20px) 0 calc(20px + env(safe-area-inset-bottom, 20px));
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero__cta {
    flex-direction: column;
  }

  .hero__cta .btn {
    width: 100%;
  }

  /* Trust bar — horizontal infinite marquee on mobile */
  .trust-bar {
    padding: 10px 0;
  }

  .trust-bar__track {
    justify-content: flex-start;
    width: max-content;
    animation: trustBarMarquee 25s linear infinite;
  }

  .trust-bar:hover .trust-bar__track,
  .trust-bar:focus-within .trust-bar__track {
    animation-play-state: paused;
  }

  .trust-bar__group {
    display: flex;
    gap: 24px;
    padding-right: 24px;
  }

  .trust-bar__group--duplicate {
    display: flex;
  }

  @keyframes trustBarMarquee {
    0% {
      transform: translate3d(0, 0, 0);
    }

    100% {
      transform: translate3d(-50%, 0, 0);
    }
  }

  /* About */
  .about__inner {
    gap: 48px;
  }

  /* Contact form — une colonne */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Map contact */
  .contact__map iframe {
    height: 280px;
  }

  /* Moved to layout.css */
}

/* ============================================================
   RESPONSIVE â€” Petit mobile (â‰¤ 480px)
   ============================================================ */
@media (max-width: 30em) {
  .container {
    padding: 0 calc(16px + env(safe-area-inset-right, 0px)) 0 calc(16px + env(safe-area-inset-left, 0px));
  }

  .hero__title {
    font-size: 28px;
  }

  .section-title {
    font-size: 22px;
  }

  .section-sub {
    font-size: 15px;
  }

  .section {
    padding: 40px 0;
  }

  .contact__map iframe {
    height: 240px;
  }

  /* Moved to layout.css */
}

/* ============================================================
   RESPONSIVE — Très petit mobile (≤ 380px) — Anti-zoom iOS
   ============================================================ */
@media (max-width: 23.75em) {

  /* Empêche le zoom auto d'iOS au focus sur les inputs */
  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  .hero__title {
    font-size: 26px;
  }

  .section-title {
    font-size: 20px;
  }

  /* Galerie — réduire encore la hauteur de l'image */
  .split-carousel {
    grid-template-rows: 260px auto;
  }
}

/* ============================================================
   ANIMATIONS â€” SystÃ¨me unifiÃ© premium
   ============================================================ */

/* Easing "spring" â€” courbe naturelle et fluide */
:root {
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- EntrÃ©e Hero : @keyframes dÃ©clenchÃ©s au chargement --- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

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

.hero__eyebrow {
  animation: fadeUp 0.80s var(--ease-impeccable) 0.10s both;
}

.hero__title {
  animation: fadeUp 0.90s var(--ease-impeccable) 0.28s both;
}

.hero__cta {
  animation: fadeUp 0.80s var(--ease-impeccable) 0.60s both;
}

/* --- Animations au scroll : Ã©tat initial cachÃ© --- */
[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s var(--ease-impeccable), transform 0.75s var(--ease-impeccable);
}

[data-animate="left"] {
  transform: translateX(-44px);
}

[data-animate="right"] {
  transform: translateX(44px);
}

[data-animate="scale"] {
  transform: scale(0.93) translateY(16px);
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* --- Stagger gÃ©nÃ©rique : grilles, listes --- */
[data-stagger]>* {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-spring), transform 0.65s var(--ease-spring);
}

[data-stagger].is-visible>* {
  opacity: 1;
  transform: none;
}

[data-stagger].is-visible>*:nth-child(1) {
  transition-delay: 0.05s;
}

[data-stagger].is-visible>*:nth-child(2) {
  transition-delay: 0.13s;
}

[data-stagger].is-visible>*:nth-child(3) {
  transition-delay: 0.21s;
}

[data-stagger].is-visible>*:nth-child(4) {
  transition-delay: 0.29s;
}

[data-stagger].is-visible>*:nth-child(5) {
  transition-delay: 0.37s;
}

[data-stagger].is-visible>*:nth-child(6) {
  transition-delay: 0.45s;
}

[data-stagger].is-visible>*:nth-child(7) {
  transition-delay: 0.53s;
}

[data-stagger].is-visible>*:nth-child(8) {
  transition-delay: 0.61s;
}

/* --- Accessibilité --- */
@media (prefers-reduced-motion: reduce) {

  .hero__eyebrow,
  .hero__title,
  .hero__cta {
    animation: none;
  }

  [data-animate],
  [data-stagger]>* {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* --- Désactive les glissements horizontaux sur mobile pour éviter les décalages de page et flickers --- */
@media (max-width: 48em) {

  [data-animate="left"],
  [data-animate="right"] {
    transform: translateY(20px);
  }
}



/* ============================================================
   BOUTON TÃ‰LÃ‰PHONE FLOTTANT (mobile uniquement)
   ============================================================ */
.fab-tel {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  background: var(--red);
  color: var(--white);
  border-radius: 50px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px oklch(from var(--red) l c h / .45);
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
  text-decoration: none;
}

.fab-tel:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 28px oklch(from var(--red) l c h / .55);
}

.fab-tel svg {
  flex-shrink: 0;
}

@media (max-width: 48em) {
  .fab-tel {
    display: flex;
  }

  body {
    padding-bottom: 72px;
  }
}

/* ============================================================
   PARALLAX â€” Compositing GPU
   ============================================================ */
@keyframes parallaxEffect {
  from {
    transform: translateY(20px);
  }

  to {
    transform: translateY(-20px);
  }
}

[data-parallax] {
  will-change: transform;

  /* Scroll-driven animation */
  animation: parallaxEffect linear both;
  animation-timeline: view();
  animation-range: entry exit;
}

@media (prefers-reduced-motion: reduce) {
  [data-parallax] {
    will-change: auto;
  }
}

/* ============================================================
   FAQ
   ============================================================ */
.split-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.split-left {
  position: relative;
}

.split-left .section-sub {
  text-align: left;
  margin-left: 0;
}

.split-title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--black);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.split-action {
  margin-top: 32px;
}

@media (max-width: 62em) {
  .split-left {
    text-align: center;
  }

  .split-left .section-sub {
    text-align: center !important;
    margin: 0 auto !important;
  }

  .split-action {
    margin-top: 24px;
  }
}

@media (min-width: 62em) {
  .split-container {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: start;
  }

  .split-left {
    position: sticky;
    top: calc(var(--header-h) + 40px);
    /* Résout le bug d'overlap avec le header sticky */
  }

  .split-action {
    margin-top: 40px;
  }
}

/* Accordéon de Cartes FAQ Premium */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* Espace régulier entre les cartes */
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 12px;
  padding: 0 32px;
  /* Généreux padding horizontal interne */
  transition:
    border-color 0.4s var(--ease-impeccable),
    box-shadow 0.4s var(--ease-impeccable),
    background-color 0.4s var(--ease-impeccable);
  overflow: hidden;
}

.faq-item:first-child {
  border-top: 1px solid var(--grey-200);
}

/* Effet Hover de Carte */
.faq-item:hover {
  border-color: oklch(from var(--red) l c h / 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  background-color: var(--white);
}

/* État Actif : Élévation et Ombre Portée Signature */
.faq-item.is-active {
  border-color: oklch(from var(--red) l c h / 0.3);
  box-shadow:
    0 12px 32px oklch(from var(--red) l c h / 0.04),
    0 4px 12px rgba(0, 0, 0, 0.02);
  background-color: var(--white);
}

.faq-item__header {
  width: 100%;
  text-align: left;
  padding: 28px 0;
  /* Padding vertical aéré */
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--black);
}

.faq-item__title {
  font-size: 18px;
  font-weight: 600;
  /* Outfit semi-bold : plus sophistiqué que bold */
  padding-right: 32px;
  letter-spacing: -0.01em;
  color: var(--grey-800);
  transition: color 0.3s var(--ease-impeccable);
}

.faq-item.is-active .faq-item__title {
  color: var(--black);
}

.faq-item__icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--grey-100);
  transition: background 0.2s, transform 0.3s var(--ease-impeccable);
}

.faq-item.is-active .faq-item__icon {
  background: var(--red-light);
  transform: rotate(180deg);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--grey-600);
  transition:
    background 0.2s,
    transform 0.3s var(--ease-impeccable),
    opacity 0.3s var(--ease-impeccable);
}

.faq-item.is-active .faq-item__icon::before,
.faq-item.is-active .faq-item__icon::after {
  background: var(--red);
}

.faq-item__icon::before {
  width: 10px;
  height: 2px;
}

.faq-item__icon::after {
  width: 2px;
  height: 10px;
}

.faq-item.is-active .faq-item__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item__content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-impeccable);
  overflow: hidden;
  visibility: hidden;
}

.faq-item.is-active .faq-item__content {
  grid-template-rows: 1fr;
  visibility: visible;
}

.faq-item__body {
  min-height: 0;
  padding: 0 0 28px;
  font-size: 15px;
  /* Lecture très élégante */
  color: var(--grey-600);
  line-height: 1.65;
}

/* Ajustements FAQ Mobiles */
@media (max-width: 36em) {
  .faq-item {
    padding: 0 20px;
    border-radius: 8px;
  }

  .faq-accordion {
    gap: 12px;
  }

  .faq-item__header {
    padding: 20px 0;
  }

  .faq-item.is-active .faq-item__header {
    padding: 20px 0 12px;
  }

  .faq-item__title {
    font-size: 16px;
    padding-right: 16px;
  }

  .faq-item__body {
    padding: 0 0 20px;
    font-size: 14px;
    line-height: 1.6;
  }
}

@media (max-width: 48em) {

  /* ============================================================
     PROCESSUS — Responsive Timeline
     ============================================================ */
  .timeline__track {
    left: 20px;
    transform: none;
  }

  .timeline__item {
    justify-content: flex-start !important;
    padding-left: 60px;
    margin-bottom: 48px;
  }

  .timeline__dot {
    left: 20px;
    transform: translateX(-50%);
  }

  .timeline__content {
    width: 100%;
    text-align: left !important;
  }

  }

/* ============================================================
   TARIFS — Split Two-Offer Layout (Impeccable)
   ============================================================ */

/* Fond blanc cassé pour différencier de la section précédente */
.section--light {
  background: var(--white);
}

/* Grille Bento asymétrique, hauteur identique */
.tarifs-split {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  /* Asymétrie Bento */
  gap: 32px;
  margin: 36px auto 0;
  max-width: 1040px;
  /* Légère extension pour loger confortablement le Bento */
  width: 100%;
  align-items: stretch;
}

/* Bloc tarif commun */
.tarif-block {
  position: relative;
  border-radius: 16px;
  padding: 44px 40px 40px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  transition: transform 0.4s var(--ease-impeccable), box-shadow 0.4s var(--ease-impeccable);
}

.tarif-block:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Variante principale : fond Crème Champagne doux avec accent supérieur rouge */
.tarif-block--primary {
  background: #FAF5EC;
  color: var(--grey-800);
  box-shadow: 0 12px 48px oklch(from var(--champagne-gold) l c h / 0.16);
  border: 1px solid oklch(from var(--champagne-gold) l c h / 0.40);
  border-top: 4px solid var(--red);
}

/* Variante secondaire : fond blanc épuré, bordure fine neutre */
.tarif-block--secondary {
  background: var(--white);
  border: 1px solid var(--grey-200);
  color: var(--black);
  box-shadow: 0 4px 24px rgba(17, 17, 17, 0.04);
}

/* Structure Bento interne split pour la carte principale */
.tarif-block__bento-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  height: 100%;
}

.tarif-block__bento-main {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tarif-block__bento-details {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tarif-block--primary .tarif-block__bento-details {
  border-left: 1px solid oklch(from var(--champagne-gold) l c h / 0.40);
}

/* Liste des inclusions de standing */
.tarif-block__details-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}

.tarif-block__details-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tarif-block__details-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.details-list__icon {
  color: var(--red);
  font-size: 11px;
  line-height: 1.5;
  margin-top: 2px;
  flex-shrink: 0;
}

.tarif-block__details-list strong {
  display: block;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.tarif-block--primary .tarif-block__details-list strong {
  color: var(--black);
}

.tarif-block__details-list p {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.tarif-block--primary .tarif-block__details-list p {
  color: var(--grey-600);
}

/* En-tête de carte */
.tarif-block__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  width: 100%;
}

.tarif-block__eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tarif-block--primary .tarif-block__eyebrow {
  color: var(--red);
}

.tarif-block--secondary .tarif-block__eyebrow {
  color: var(--red);
}

.tarif-block__index {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.tarif-block--primary .tarif-block__index {
  color: oklch(from var(--champagne-gold) l c h / 0.45);
}

.tarif-block--secondary .tarif-block__index {
  color: rgba(17, 17, 17, 0.08);
}

/* Titre principal de la formule */
.tarif-block__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 20px;
}

.tarif-block--primary .tarif-block__title {
  color: var(--black);
}

.tarif-block--secondary .tarif-block__title {
  color: var(--black);
}

/* Prix grand format éditorial */
.tarif-block__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
  line-height: 1;
}

.tarif-price-big {
  font-family: var(--font-display);
  font-size: clamp(56px, 6vw, 76px);
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.tarif-block--primary .tarif-price-big {
  color: var(--black);
}

.tarif-block--secondary .tarif-price-big {
  color: var(--black);
}

.tarif-price-unit {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 0.6em;
  font-weight: 600;
  color: var(--red);
}

.tarif-price-qualifier {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tarif-block--primary .tarif-price-qualifier {
  color: var(--red);
}

.tarif-block--secondary .tarif-price-qualifier {
  color: var(--red);
}

/* Description courte sous le prix */
.tarif-block__desc {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 24px;
}

.tarif-block--primary .tarif-block__desc {
  color: var(--grey-600);
}

.tarif-block--secondary .tarif-block__desc {
  color: var(--grey-600);
}

/* Diviseur Premium ligne éditoriale */
.editorial-line {
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, var(--red), transparent);
  margin: 24px 0;
  opacity: 0.25;
}

.tarif-block--secondary .editorial-line {
  opacity: 0.15;
}

/* Note de bas de bloc */
.tarif-block__note {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 32px;
  flex: 1;
  /* Pousse le bouton au bas du bloc */
}

.tarif-block--primary .tarif-block__note {
  color: var(--grey-600);
}

.tarif-block--secondary .tarif-block__note {
  color: var(--grey-600);
}

.tarif-note-price {
  font-size: 15px;
  font-weight: 700;
}

.tarif-block--primary .tarif-note-price {
  color: var(--black);
}

.tarif-block--secondary .tarif-note-price {
  color: var(--red);
}

/* CTA Pleine largeur */
.tarif-block__cta {
  width: 100%;
  margin-top: auto;
  text-align: center;
  justify-content: center;
  display: flex;
}

/* Note légale bas de section */
.tarifs-legal {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  color: var(--grey-400);
  letter-spacing: 0.04em;
}

/* ── Responsive ── */
@media (max-width: 62em) {
  .tarifs-split {
    grid-template-columns: 1fr;
    max-width: 600px;
    gap: 32px;
  }

  .tarif-block__bento-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .tarif-block__bento-details {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 0;
    padding-top: 36px;
  }

  .tarif-block--primary .tarif-block__bento-details {
    border-top: 1px solid oklch(from var(--champagne-gold) l c h / 0.40);
  }
}

@media (max-width: 48em) {
  .tarifs-split {
    gap: 24px;
  }

  .tarif-block {
    padding: 36px 28px 32px;
  }

  .tarif-price-big {
    font-size: clamp(48px, 12vw, 64px);
  }

  .tarif-block__title {
    font-size: 28px;
    margin-bottom: 16px;
  }
}

/* ============================================================
   PORTFOLIO MARQUEE (NOS DEMEURES)
   ============================================================ */

.portfolio-marquee-section {
  padding: 100px 0;
  background: #FAF8F5;
  /* Crème doux haut de gamme */
  overflow: hidden;
}

.portfolio-marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
  position: relative;
  padding: 30px 0;

  /* Effet de fondu ultra-élégant sur les bords latéraux */
  mask-image: linear-gradient(to right, transparent, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 1) 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 1) 85%, transparent);
}

.portfolio-marquee__track {
  display: flex;
  width: max-content;
  animation: portfolioMarquee 50s linear infinite;
  will-change: transform;
}

/* Désactiver l'animation CSS si le JS est actif pour que requestAnimationFrame prenne le contrôle */
.portfolio-marquee--js-active .portfolio-marquee__track {
  animation: none;
}

/* Pause au survol pour permettre d'inspecter les cartes */
.portfolio-marquee:hover .portfolio-marquee__track {
  animation-play-state: paused;
}

.portfolio-marquee__group {
  display: flex;
  gap: 32px;
  padding-right: 32px;
  /* Assure la continuité du gap entre les groupes */
}

/* Carte de propriété — image seule avec cadre élégant */
.portfolio-card {
  width: 420px;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  /* Cadre intérieur doré champagne — passe-partout éditorial */
  box-shadow: 0 0 0 1px oklch(from var(--champagne-gold) l c h / 0.25),
    0 8px 32px oklch(from var(--black) l c h / 0.08);
  transition: transform 0.4s var(--ease-impeccable),
    box-shadow 0.4s var(--ease-impeccable);
  cursor: zoom-in;
  position: relative;
}

/* Liseré doré interne (cadre incrustré) */
.portfolio-card::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid oklch(from var(--champagne-gold) l c h / 0.30);
  border-radius: 6px;
  pointer-events: none;
  transition: inset 0.5s var(--ease-impeccable), border-color 0.5s var(--ease-impeccable);
  z-index: 2;
}

.portfolio-card:hover,
.portfolio-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px oklch(from var(--champagne-gold) l c h / 0.50),
    0 16px 40px oklch(from var(--black) l c h / 0.12);
}

.portfolio-card:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.portfolio-card:hover::after,
.portfolio-card:focus-visible::after {
  inset: 14px;
  border-color: oklch(from var(--champagne-gold) l c h / 0.60);
}

.portfolio-card__img-wrapper {
  height: 300px;
  overflow: hidden;
  position: relative;
  background: var(--grey-100);
}

.portfolio-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-impeccable);
}

.portfolio-card:hover .portfolio-card__img,
.portfolio-card:focus-visible .portfolio-card__img {
  transform: scale(1.05);
}


/* Keyframes de défilement horizontal */
@keyframes portfolioMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* --- Media Queries Responsives --- */
@media (max-width: 61.9375em) {
  .portfolio-marquee-section {
    padding: 80px 0;
  }
}

@media (max-width: 48em) {
  .portfolio-marquee-section {
    padding: 60px 0;
  }

  .portfolio-marquee {
    padding: 15px 0;
    mask-image: linear-gradient(to right, transparent, rgba(0, 0, 0, 1) 8%, rgba(0, 0, 0, 1) 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, rgba(0, 0, 0, 1) 8%, rgba(0, 0, 0, 1) 92%, transparent);
  }

  .portfolio-card {
    width: 320px;
  }

  .portfolio-card__img-wrapper {
    height: 220px;
  }
}

/* ============================================================
   AVIS VOYAGEURS — Carrousel Témoignages
   ============================================================ */

/* Section wrapper */
.avis-section {
  background: var(--white);
}

/* Bande de score global */
.avis-score-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  padding: 20px 32px;
  background: linear-gradient(135deg, oklch(from var(--red) l c h / 0.04) 0%, oklch(from var(--red) l c h / 0.02) 100%);
  border: 1px solid oklch(from var(--red) l c h / 0.10);
  border-radius: 100px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.avis-score-bar__stars {
  display: flex;
  gap: 2px;
}

.avis-star {
  font-size: 20px;
  color: var(--grey-300);
}

.avis-star--filled {
  color: var(--red);
}

.avis-score-bar__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.01em;
}

.avis-score-bar__separator {
  font-size: 8px;
  color: var(--red);
  opacity: 0.6;
}

.avis-score-bar__count {
  font-size: 13px;
  color: var(--grey-600);
  font-weight: 500;
}

/* Carrousel wrapper */
.avis-carousel {
  position: relative;
  overflow: hidden;
  min-height: 360px;
}

/* Cartes individuelles */
.avis-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  border: 1px solid oklch(from var(--red) l c h / 0.10);
  border-radius: 20px;
  padding: 48px 56px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 28px;
  opacity: 0;
  transform: translateX(40px) scale(0.98);
  transition: opacity 0.55s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
  will-change: opacity, transform;
}

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

.avis-card.is-prev {
  opacity: 0;
  transform: translateX(-40px) scale(0.98);
}

/* Guillemets décoratifs */
.avis-card__quote-open,
.avis-card__quote-close {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 1;
  color: var(--red);
  opacity: 0.15;
  position: absolute;
  font-style: normal;
  user-select: none;
}

.avis-card__quote-open {
  top: 20px;
  left: 28px;
}

.avis-card__quote-close {
  bottom: 10px;
  right: 32px;
}

/* Corps de la carte */
.avis-card__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 1;
}

/* Métadonnées (avatar + infos + note) */
.avis-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avis-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red) 0%, #b8000e 100%);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 12px oklch(from var(--red) l c h / 0.25);
}

.avis-card__info {
  flex: 1;
  min-width: 0;
}

.avis-card__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 2px;
  letter-spacing: -0.01em;
}

.avis-card__date {
  font-size: 13px;
  color: var(--grey-500);
  margin: 0 0 1px;
  font-weight: 500;
}

.avis-card__property {
  font-size: 12px;
  color: var(--grey-400);
  margin: 0;
  font-style: italic;
}

.avis-card__rating {
  font-size: 18px;
  color: var(--red);
  letter-spacing: 1px;
  flex-shrink: 0;
}

/* Texte du commentaire */
.avis-card__text {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 20px);
  font-style: italic;
  line-height: 1.65;
  color: var(--grey-800);
  margin: 0;
  padding: 0;
  border: none;
}

/* Zone des tags catégories */
.avis-card__tags {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
  border-top: 1px solid var(--grey-100);
}

.avis-card__tag-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.avis-tag-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--grey-500);
}

.avis-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.avis-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  font-size: 13px;
  font-weight: 500;
  color: var(--grey-700);
  letter-spacing: 0.01em;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.avis-tag:hover {
  background: oklch(from var(--red) l c h / 0.06);
  border-color: oklch(from var(--red) l c h / 0.20);
  color: var(--red);
}

/* Contrôles navigation */
.avis-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.avis-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid oklch(from var(--red) l c h / 0.15);
  color: var(--black);
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.avis-nav-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.avis-nav-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: scale(1.08);
}

.avis-nav-btn:active {
  transform: scale(0.96);
}

/* Dots */
.avis-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avis-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grey-300);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s var(--ease-impeccable);
}

.avis-dot.is-active {
  background: var(--red);
  transform: scale(1.35);
}

/* Responsive tablet */
@media (max-width: 56.25em) {
  .avis-card {
    padding: 36px 40px;
  }

  .avis-score-bar {
    flex-direction: column;
    gap: 8px;
    padding: 16px 24px;
    border-radius: 16px;
    text-align: center;
  }

  .avis-score-bar__separator {
    display: none;
  }
}

/* Responsive mobile */
@media (max-width: 37.5em) {
  .avis-card {
    padding: 28px 24px 36px;
  }

  .avis-card__quote-open {
    top: 12px;
    left: 16px;
    font-size: 56px;
  }

  .avis-card__quote-close {
    bottom: 6px;
    right: 18px;
    font-size: 56px;
  }

  .avis-card__avatar {
    width: 44px;
    height: 44px;
    font-size: 17px;
  }

  .avis-card__tags {
    gap: 10px;
  }

  .avis-controls {
    gap: 16px;
    margin-top: 28px;
  }

  .avis-nav-btn {
    width: 42px;
    height: 42px;
  }
}

/* ============================================================
   LIGHTBOX (GALLERY ZOOM)
   ============================================================ */
.lightbox {
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.4s var(--ease-impeccable), display 0.4s allow-discrete;
}

.lightbox[open] {
  display: flex;
  opacity: 1;
}

@starting-style {
  .lightbox[open] {
    opacity: 0;
  }
}

.lightbox::backdrop {
  background: rgba(17, 17, 17, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.4s var(--ease-impeccable), display 0.4s allow-discrete;
}

.lightbox[open]::backdrop {
  opacity: 1;
}

@starting-style {
  .lightbox[open]::backdrop {
    opacity: 0;
  }
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  z-index: 1010;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s, transform 0.3s;
}

.lightbox__close:hover {
  color: var(--red);
  transform: scale(1.1);
}

.lightbox__content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lightbox__img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: scale(0.95);
  transition: transform 0.4s var(--ease-impeccable);
}

.lightbox[open] .lightbox__img {
  transform: scale(1);
}

@starting-style {
  .lightbox[open] .lightbox__img {
    transform: scale(0.95);
  }
}

.lightbox__caption {
  color: var(--white);
  margin-top: 16px;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-align: center;
  font-weight: 500;
  max-width: 600px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease-impeccable) 0.15s, transform 0.4s var(--ease-impeccable) 0.15s;
}

.lightbox[open] .lightbox__caption {
  opacity: 0.85;
  transform: translateY(0);
}

@starting-style {
  .lightbox[open] .lightbox__caption {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* ============================================================
   MAP PLACEHOLDER (GDPR CLICK-TO-LOAD)
   ============================================================ */
.map-placeholder {
  position: relative;
  width: 100%;
  height: 280px;
  background-image: url('../assets/img/map-preview.webp');
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.75);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: var(--white);
  transition: opacity 0.3s ease;
}

.map-placeholder__text {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 320px;
  font-weight: 500;
}

.map-placeholder__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
}

.map-placeholder__link {
  font-size: 13px;
  color: var(--champagne-gold);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s;
}

.map-placeholder__link:hover {
  color: var(--white);
}

/* ============================================================
   WORD REVEAL ON SCROLL
   ============================================================ */
.reveal-words {
  display: inline-block;
  opacity: 1 !important;
  transform: none !important;
}

.reveal-word-wrapper {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  margin-right: 0.24em;
}

.reveal-word-wrapper:last-child {
  margin-right: 0;
}

.reveal-word {
  display: inline-block;
  transform: translateY(115%);
  opacity: 0;
  transition: transform 0.85s var(--ease-impeccable), opacity 0.85s var(--ease-impeccable);
  will-change: transform, opacity;
}

.reveal-words.is-visible .reveal-word {
  transform: translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-word {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
}