/* =========================================================================
   TLS TOITURE — Design System
   Direction : Artisan Héritage Sud-Ouest
   ========================================================================= */

:root {
  /* Palette */
  --c-cream: #F5EFE6;
  --c-cream-warm: #EBE2D2;
  --c-cream-deep: #E1D5C0;
  --c-paper: #FAFAF7;
  --c-terracotta: #C0532E;
  --c-terracotta-dark: #8C3A1F;
  --c-copper: #A6602D;
  --c-gold: #B8923F;
  --c-ink: #1A1410;
  --c-ink-soft: #3D332A;
  --c-stone: #847362;
  --c-stone-light: #B5A693;
  --c-white: #FFFFFF;

  /* Typo */
  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;

  /* Espacements */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;
  --s-11: 12rem;

  /* Conteneurs */
  --w-content: 1280px;
  --w-narrow: 880px;
  --w-text: 65ch;

  /* Ombres */
  --sh-sm: 0 1px 2px rgba(26, 20, 16, 0.06);
  --sh-md: 0 8px 24px rgba(26, 20, 16, 0.08);
  --sh-lg: 0 20px 60px rgba(26, 20, 16, 0.12);
  --sh-terra: 0 12px 40px rgba(192, 83, 46, 0.25);
  --sh-inset: inset 0 1px 0 rgba(255, 255, 255, 0.1);

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 28px;
  --r-pill: 9999px;

  /* Transitions */
  --t-fast: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-med: 320ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================================
   RESET
   ========================================================================= */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-ink-soft);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

/* =========================================================================
   TYPO DE BASE
   ========================================================================= */

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  font-variation-settings: "opsz" 144, "SOFT" 50;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
}

h4 {
  font-size: 1.2rem;
}

p {
  max-width: var(--w-text);
}

strong {
  color: var(--c-ink);
  font-weight: 600;
}

em {
  font-style: italic;
  color: var(--c-terracotta);
}

/* Étiquette (kicker) */
.kicker {
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--c-terracotta);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.kicker::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--c-terracotta);
}

/* =========================================================================
   LAYOUT
   ========================================================================= */

.container {
  width: 100%;
  max-width: var(--w-content);
  margin: 0 auto;
  padding-left: clamp(1rem, 4vw, 2.5rem);
  padding-right: clamp(1rem, 4vw, 2.5rem);
}

.container--narrow {
  max-width: var(--w-narrow);
}

section {
  padding-block: clamp(4rem, 9vw, 8rem);
  position: relative;
}

section.bg-dark {
  background: var(--c-ink);
  color: var(--c-cream);
}

section.bg-cream-warm {
  background: var(--c-cream-warm);
}

section.bg-paper {
  background: var(--c-paper);
}

/* =========================================================================
   HEADER + NAV
   ========================================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.9rem 0;
  background: rgba(245, 239, 230, 0.85);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(26, 20, 16, 0.06);
  transition: padding var(--t-fast), background var(--t-fast);
}

.site-header.scrolled {
  padding: 0.6rem 0;
  background: rgba(245, 239, 230, 0.96);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand__logo {
  height: 52px;
  width: auto;
}

.brand__text {
  display: none;
}

@media (min-width: 480px) {
  .brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1;
  }

  .brand__name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--c-ink);
    letter-spacing: -0.01em;
  }

  .brand__sub {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--c-terracotta);
    margin-top: 4px;
    font-weight: 500;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--c-ink-soft);
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--t-fast);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--c-terracotta);
  transition: width var(--t-med);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--c-ink);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Submenu dropdown */
.nav-item--has-submenu {
  position: relative;
}

.nav-item--has-submenu > a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  position: relative;
}

/* Bridge invisible ATTACHE AU PARENT : couvre l'espace entre le lien
   "Services" et le menu deroulant. Comme c'est un pseudo-element du
   parent, il maintient .nav-item--has-submenu:hover quand la souris
   traverse le gap, peu importe l'etat du submenu. */
.nav-item--has-submenu::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -8px;
  right: -8px;
  height: 16px;
  z-index: 1;
}

.submenu {
  position: absolute;
  top: 100%;
  margin-top: 14px;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--c-paper);
  border: 1px solid var(--c-cream-deep);
  border-radius: var(--r-md);
  padding: 0.6rem;
  min-width: 260px;
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-fast), transform var(--t-fast), visibility 0s linear var(--t-fast);
  z-index: 2;
}

.nav-item--has-submenu:hover .submenu,
.nav-item--has-submenu:focus-within .submenu,
.nav-item--has-submenu.is-open .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility 0s linear 0s;
}

.submenu a {
  display: block;
  padding: 0.65rem 0.9rem;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  transition: background var(--t-fast);
}

.submenu a:hover {
  background: var(--c-cream-warm);
  color: var(--c-terracotta);
}

.submenu a::after {
  display: none;
}

/* Téléphone CTA dans le header */
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.header-tel {
  display: none;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}

@media (min-width: 700px) {
  .header-tel {
    display: inline-flex;
  }
}

.header-tel__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-terracotta);
  color: var(--c-paper);
  display: grid;
  place-items: center;
  transition: transform var(--t-fast);
}

.header-tel:hover .header-tel__icon {
  transform: rotate(-12deg) scale(1.05);
}

/* Hamburger */
.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: var(--c-ink);
  color: var(--c-cream);
  position: relative;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--c-cream);
  position: relative;
  transition: var(--t-fast);
}

.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -5px;
}

.menu-toggle span::after {
  top: 5px;
}

.menu-toggle.open span {
  background: transparent;
}

.menu-toggle.open span::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-toggle.open span::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--c-ink);
  color: var(--c-cream);
  z-index: 99;
  padding: 6rem 1.5rem 2rem;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu.open {
  display: flex;
  animation: fadeIn 280ms ease;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.65rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(245, 239, 230, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--c-cream);
}

.mobile-menu a:hover {
  color: var(--c-terracotta);
}

/* Accordeon "Services" dans le menu mobile */
.mobile-menu__group {
  border-bottom: 1px solid rgba(245, 239, 230, 0.08);
}

.mobile-menu__group > summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.65rem;
  padding: 0.7rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--c-cream);
  transition: color var(--t-fast);
  user-select: none;
  outline: none;
}

.mobile-menu__group > summary::-webkit-details-marker {
  display: none;
}

.mobile-menu__group > summary::marker {
  content: "";
  font-size: 0;
}

.mobile-menu__group > summary:focus {
  outline: none;
}

.mobile-menu__group > summary:focus-visible {
  outline: 2px solid var(--c-terracotta);
  outline-offset: -4px;
  border-radius: 6px;
}

.mobile-menu__group > summary::after {
  content: "+";
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(245, 239, 230, 0.55);
  transition: transform var(--t-med), color var(--t-fast);
  display: inline-block;
}

.mobile-menu__group[open] > summary {
  color: var(--c-terracotta);
}

.mobile-menu__group[open] > summary::after {
  transform: rotate(45deg);
  color: var(--c-terracotta);
}

.mobile-menu__sublist {
  display: flex;
  flex-direction: column;
  padding: 0.2rem 0 1rem 1.4rem;
  border-left: 2px solid rgba(192, 83, 46, 0.4);
  margin: 0.2rem 0 0.6rem 0.4rem;
  animation: mobileSubIn 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu__sublist a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  padding: 0.45rem 0;
  border-bottom: none;
  color: rgba(245, 239, 230, 0.82);
  justify-content: flex-start;
}

.mobile-menu__sublist a:hover {
  color: var(--c-terracotta);
}

@keyframes mobileSubIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-menu .mobile-tel {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu .mobile-tel span:first-child {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-stone-light);
}

.mobile-menu .mobile-tel a {
  font-size: 2rem;
  color: var(--c-terracotta);
  border: none;
  padding: 0;
}

/* =========================================================================
   BOUTONS
   ========================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.05rem 1.7rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--r-pill);
  transition: var(--t-med);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--c-terracotta);
  color: var(--c-paper);
  box-shadow: var(--sh-terra);
}

.btn--primary:hover {
  background: var(--c-terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 50px rgba(140, 58, 31, 0.35);
}

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

.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border: 1.5px solid var(--c-ink);
}

.btn--ghost:hover {
  background: var(--c-ink);
  color: var(--c-cream);
}

.btn--cream {
  background: var(--c-cream);
  color: var(--c-ink);
}

.btn--cream:hover {
  background: var(--c-paper);
  transform: translateY(-2px);
  box-shadow: var(--sh-lg);
}

.btn__arrow {
  display: inline-block;
  transition: transform var(--t-fast);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* =========================================================================
   HERO
   ========================================================================= */

.hero {
  position: relative;
  min-height: 90vh;
  padding-top: 8rem;
  padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  filter: saturate(1.05) contrast(1.02) brightness(0.9);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 20, 16, 0.55) 0%,
    rgba(26, 20, 16, 0.45) 32%,
    rgba(26, 20, 16, 0.55) 62%,
    rgba(26, 20, 16, 0.85) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: end;
  flex: 1;
  padding-top: 6vh;
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
  }
}

.hero__content {
  color: var(--c-paper);
  max-width: 760px;
  text-shadow: 0 1px 2px rgba(26, 20, 16, 0.55), 0 2px 18px rgba(26, 20, 16, 0.45);
}

.hero__kicker {
  color: #FFD4B8;
  margin-bottom: 1.5rem;
  animation: fadeUp 800ms 100ms both;
}

.hero__kicker::before {
  background: #FFD4B8;
}

.hero h1 {
  color: var(--c-paper);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  margin-bottom: 1.5rem;
  animation: fadeUp 900ms 240ms both;
  text-wrap: balance;
}

.hero h1 em {
  font-style: italic;
  color: #FFD4B8;
  font-weight: 500;
}

.hero__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(245, 239, 230, 0.92);
  margin-bottom: 2.5rem;
  max-width: 620px;
  animation: fadeUp 900ms 380ms both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeUp 900ms 520ms both;
}

.hero__actions .btn--ghost {
  color: var(--c-paper);
  border-color: rgba(245, 239, 230, 0.4);
}

.hero__actions .btn--ghost:hover {
  background: var(--c-paper);
  color: var(--c-ink);
}

/* Hero stats sidebar */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 1.8rem;
  background: rgba(245, 239, 230, 0.12);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(245, 239, 230, 0.16);
  border-radius: var(--r-lg);
  color: var(--c-paper);
  animation: fadeUp 900ms 700ms both;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
  color: #FFD4B8;
  display: block;
  margin-bottom: 0.4rem;
}

.hero__stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(245, 239, 230, 0.78);
}

/* Trust strip sous le hero */
.trust-strip {
  background: var(--c-ink);
  color: var(--c-cream-warm);
  padding: 1.4rem 0;
  position: relative;
  z-index: 2;
}

.trust-strip__inner {
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.trust-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--c-cream-warm);
}

.trust-strip__icon {
  color: var(--c-terracotta);
  flex-shrink: 0;
}

/* =========================================================================
   SECTION INTRO
   ========================================================================= */

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .section-head--split {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

.section-head h2 {
  max-width: 18ch;
  text-wrap: balance;
}

.section-head h2 em {
  font-style: italic;
  color: var(--c-terracotta);
}

.section-head__lead {
  font-size: 1.05rem;
  color: var(--c-ink-soft);
}

/* =========================================================================
   GRILLE SERVICES
   ========================================================================= */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--c-paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--t-med), box-shadow var(--t-med);
  border: 1px solid var(--c-cream-deep);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
}

.service-card__media {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card__media img {
  transform: scale(1.06);
}

.service-card__number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 36px;
  height: 36px;
  background: var(--c-paper);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-terracotta);
  z-index: 1;
}

.service-card__body {
  padding: 1.5rem 1.5rem 1.7rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.45rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--c-ink-soft);
  margin-bottom: 1.2rem;
  flex: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--c-terracotta);
  font-weight: 600;
  font-size: 0.92rem;
  transition: gap var(--t-fast);
}

.service-card__link::after {
  content: "→";
  transition: transform var(--t-fast);
}

.service-card:hover .service-card__link::after {
  transform: translateX(4px);
}

/* =========================================================================
   PILIERS / FEATURES
   ========================================================================= */

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pillars {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pillar {
  padding: 2rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-cream-deep);
  background: var(--c-paper);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-med);
}

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

.pillar__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-terracotta), var(--c-copper));
  color: var(--c-paper);
  display: grid;
  place-items: center;
  margin-bottom: 1.3rem;
  box-shadow: 0 8px 24px rgba(192, 83, 46, 0.25);
}

.pillar h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.pillar p {
  font-size: 0.92rem;
  color: var(--c-ink-soft);
}

/* =========================================================================
   SECTION POURQUOI / SPLIT
   ========================================================================= */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }

  .split--reverse {
    direction: rtl;
  }

  .split--reverse > * {
    direction: ltr;
  }
}

.split__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--sh-lg);
}

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

.split__media-tag {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--c-paper);
  color: var(--c-ink);
  padding: 0.7rem 1.2rem;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--sh-md);
}

.split__media-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-terracotta);
}

.split__content h2 {
  margin-bottom: 1.5rem;
}

.split__content > p {
  margin-bottom: 1.5rem;
}

.checklist {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 1rem;
  color: var(--c-ink-soft);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--c-cream-deep);
}

.checklist li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.checklist li svg {
  flex-shrink: 0;
  color: var(--c-terracotta);
  margin-top: 3px;
}

.checklist li strong {
  display: block;
  color: var(--c-ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

/* =========================================================================
   TÉMOIGNAGES
   ========================================================================= */

.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .testimonials {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  background: var(--c-paper);
  padding: 2rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-cream-deep);
  display: flex;
  flex-direction: column;
  position: relative;
}

.testimonial::before {
  content: "“";
  position: absolute;
  top: -12px;
  left: 1.6rem;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--c-terracotta);
  font-weight: 600;
}

.testimonial__stars {
  color: var(--c-gold);
  margin-bottom: 1rem;
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--c-ink);
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--c-cream-deep);
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-terracotta), var(--c-copper));
  color: var(--c-paper);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
}

.testimonial__name {
  font-weight: 600;
  color: var(--c-ink);
  font-size: 0.95rem;
}

.testimonial__location {
  font-size: 0.82rem;
  color: var(--c-stone);
}

/* =========================================================================
   CTA BANDEAU
   ========================================================================= */

.cta-banner {
  background: var(--c-ink);
  color: var(--c-cream);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 80% 50%,
    rgba(192, 83, 46, 0.25) 0%,
    transparent 60%
  );
  z-index: -1;
}

.cta-banner__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .cta-banner__inner {
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
  }
}

.cta-banner h2 {
  color: var(--c-paper);
  margin-bottom: 1rem;
  font-weight: 400;
}

.cta-banner h2 em {
  font-style: italic;
  color: #FFD4B8;
  font-weight: 500;
}

.cta-banner p {
  color: rgba(245, 239, 230, 0.85);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.cta-banner__tel {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: #FFD4B8;
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.cta-banner__tel-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(245, 239, 230, 0.6);
  margin-bottom: 1.4rem;
}

/* =========================================================================
   FAQ
   ========================================================================= */

.faq {
  display: grid;
  gap: 0.8rem;
  max-width: 880px;
  margin: 3rem auto 0;
}

.faq__item {
  background: var(--c-paper);
  border-radius: var(--r-md);
  border: 1px solid var(--c-cream-deep);
  overflow: hidden;
  transition: border-color var(--t-fast);
}

.faq__item[open] {
  border-color: var(--c-terracotta);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 1.7rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--c-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color var(--t-fast);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--c-terracotta);
  line-height: 1;
  transition: transform var(--t-med);
  flex-shrink: 0;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item-body {
  padding: 0 1.7rem 1.7rem;
  color: var(--c-ink-soft);
}

.faq__item-body p {
  max-width: 70ch;
}

/* =========================================================================
   ZONE INTERVENTION (CARTE COMMUNES)
   ========================================================================= */

.zones {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .zones {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .zones {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1200px) {
  .zones {
    grid-template-columns: repeat(5, 1fr);
  }
}

.zone-chip {
  padding: 1rem 1.2rem;
  background: var(--c-paper);
  border: 1px solid var(--c-cream-deep);
  border-radius: var(--r-md);
  font-size: 0.9rem;
  color: var(--c-ink);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--t-fast);
}

.zone-chip:hover {
  border-color: var(--c-terracotta);
  background: var(--c-cream-warm);
}

.zone-chip__pin {
  color: var(--c-terracotta);
  flex-shrink: 0;
}

/* =========================================================================
   GALERIE RÉALISATIONS
   ========================================================================= */

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(280px, auto);
  }

  .gallery__item:nth-child(4n+1) {
    grid-row: span 2;
  }
}

.gallery__item {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: var(--c-ink);
  aspect-ratio: 4 / 3;
}

@media (min-width: 1024px) {
  .gallery__item {
    aspect-ratio: auto;
    height: 100%;
  }
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1), filter var(--t-med);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: var(--c-paper);
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(26, 20, 16, 0.85) 100%
  );
}

.gallery__caption h3 {
  color: var(--c-paper);
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

.gallery__caption p {
  font-size: 0.85rem;
  color: rgba(245, 239, 230, 0.8);
  margin: 0;
}

/* =========================================================================
   FORM
   ========================================================================= */

.form {
  display: grid;
  gap: 1.2rem;
  max-width: 640px;
}

.form__group {
  display: grid;
  gap: 0.45rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

@media (min-width: 600px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.form label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--c-ink);
  letter-spacing: 0.02em;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--c-cream-deep);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--c-paper);
  color: var(--c-ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--c-terracotta);
  box-shadow: 0 0 0 3px rgba(192, 83, 46, 0.15);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
  font-family: var(--font-body);
}

.form__submit {
  margin-top: 0.5rem;
  justify-self: start;
}

.form__legal {
  font-size: 0.8rem;
  color: var(--c-stone);
  max-width: 60ch;
}

.form__legal a {
  color: var(--c-terracotta);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================================
   BREADCRUMBS
   ========================================================================= */

.breadcrumbs {
  padding-top: 8rem;
  padding-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--c-stone);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: var(--c-stone-light);
}

.breadcrumbs a {
  color: var(--c-stone);
  transition: color var(--t-fast);
}

.breadcrumbs a:hover {
  color: var(--c-terracotta);
}

.breadcrumbs [aria-current="page"] {
  color: var(--c-ink);
  font-weight: 500;
}

/* =========================================================================
   PAGE INTRO (header de page intérieure)
   ========================================================================= */

.page-intro {
  padding-top: 1rem;
  padding-bottom: 4rem;
}

.page-intro h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.page-intro h1 em {
  color: var(--c-terracotta);
  font-style: italic;
}

.page-intro__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--c-ink-soft);
  max-width: 60ch;
}

/* =========================================================================
   PROSE (corps de texte enrichi des pages services)
   ========================================================================= */

.prose {
  max-width: var(--w-text);
}

.prose h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.prose h3 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.prose p,
.prose ul,
.prose ol {
  margin-bottom: 1.2rem;
}

.prose ul {
  display: grid;
  gap: 0.5rem;
  padding-left: 0;
}

.prose ul li {
  position: relative;
  padding-left: 1.6rem;
}

.prose ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--c-terracotta);
  font-weight: 700;
}

.prose a {
  color: var(--c-terracotta);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(192, 83, 46, 0.4);
  transition: text-decoration-color var(--t-fast);
}

.prose a:hover {
  text-decoration-color: var(--c-terracotta);
}

.prose blockquote {
  border-left: 3px solid var(--c-terracotta);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--c-ink);
}

/* =========================================================================
   SERVICE PAGE LAYOUT
   ========================================================================= */

.service-layout {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .service-layout {
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

.service-aside {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 1.5rem;
}

.service-aside__card {
  padding: 1.8rem;
  background: var(--c-ink);
  color: var(--c-cream);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}

.service-aside__card h4 {
  color: var(--c-paper);
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.service-aside__card p {
  color: rgba(245, 239, 230, 0.85);
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}

.service-aside__card .btn {
  width: 100%;
}

.service-aside__list {
  background: var(--c-paper);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-cream-deep);
  padding: 1.5rem;
}

.service-aside__list h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--c-ink);
}

.service-aside__list ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  font-size: 0.92rem;
  color: var(--c-ink-soft);
  border-bottom: 1px solid var(--c-cream-deep);
  transition: color var(--t-fast), padding-left var(--t-fast);
}

.service-aside__list ul li:last-child a {
  border-bottom: none;
}

.service-aside__list ul li a::after {
  content: "→";
  opacity: 0.4;
  transition: var(--t-fast);
}

.service-aside__list ul li a:hover {
  color: var(--c-terracotta);
  padding-left: 4px;
}

.service-aside__list ul li a:hover::after {
  opacity: 1;
  transform: translateX(2px);
}

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

.site-footer {
  background: var(--c-ink);
  color: var(--c-cream);
  padding-top: 5rem;
  padding-bottom: 2rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-brand .brand__logo {
  height: 60px;
}

.footer-brand .brand__name {
  color: var(--c-paper);
}

.footer-brand p {
  color: rgba(245, 239, 230, 0.7);
  font-size: 0.95rem;
  margin-top: 1.2rem;
  max-width: 32ch;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #FFD4B8;
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.footer-col ul {
  display: grid;
  gap: 0.65rem;
}

.footer-col ul a,
.footer-col p {
  font-size: 0.95rem;
  color: rgba(245, 239, 230, 0.7);
  transition: color var(--t-fast);
}

.footer-col ul a:hover {
  color: var(--c-paper);
}

.footer-col__contact {
  display: grid;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: rgba(245, 239, 230, 0.78);
}

.footer-col__contact a {
  color: rgba(245, 239, 230, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col__contact a:hover {
  color: var(--c-paper);
}

.footer-col__contact svg {
  flex-shrink: 0;
  color: var(--c-terracotta);
}

.site-footer__bottom {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 239, 230, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(245, 239, 230, 0.5);
}

.site-footer__bottom a {
  color: rgba(245, 239, 230, 0.6);
  transition: color var(--t-fast);
}

.site-footer__bottom a:hover {
  color: var(--c-paper);
}

/* =========================================================================
   FLOATING MOBILE CTA
   ========================================================================= */

.float-cta {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 90;
  display: flex;
  gap: 0.6rem;
  pointer-events: none;
}

@media (min-width: 768px) {
  .float-cta {
    display: none;
  }
}

.float-cta a {
  flex: 1;
  pointer-events: auto;
  padding: 0.95rem 1rem;
  background: var(--c-terracotta);
  color: var(--c-paper);
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 14px 30px rgba(192, 83, 46, 0.4);
}

.float-cta a.alt {
  background: var(--c-ink);
}

/* WhatsApp floating button */
.wa-fab {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 95;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.wa-fab:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.55);
  color: #fff;
}

.wa-fab svg {
  width: 32px;
  height: 32px;
}

/* On mobile, lift it above the full-width float CTA bar */
@media (max-width: 767px) {
  .wa-fab {
    width: 52px;
    height: 52px;
    bottom: 5.4rem;
  }
  .wa-fab svg {
    width: 29px;
    height: 29px;
  }
}

/* =========================================================================
   ANIMATIONS
   ========================================================================= */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================================
   UTILS
   ========================================================================= */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--s-6); }
