/* ==========================================================================
   MAISON FADE — Stylesheet
   --- DARK ---
   bg #0a0a0a · surface #141414 · elevated #1c1c1c
   text #f5f1e8 · muted #b8b3a7
   gold #d4af37 · light #f4d77a · deep #a8862a
   --- LIGHT ---
   bg #faf8f3 · surface #ffffff · elevated #f3eee2
   text #14110a · muted #5a544a
   gold #b8860b · light #d4af37 · deep #8a6508
   ========================================================================== */

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --elevated: #1c1c1c;
  --text: #f5f1e8;
  --muted: #b8b3a7;
  --gold: #d4af37;
  --gold-light: #f4d77a;
  --gold-deep: #a8862a;
  --border: rgba(212, 175, 55, 0.18);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.35);
  --nav-bg: rgba(10, 10, 10, 0.92);
  --nav-bg-solid: #0a0a0a;

  --font-display: "Cinzel", "Cormorant Garamond", serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --container: 1180px;
  --transition: 320ms cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
}

[data-theme="light"] {
  --bg: #faf8f3;
  --surface: #ffffff;
  --elevated: #f3eee2;
  --text: #14110a;
  --muted: #5a544a;
  --gold: #b8860b;
  --gold-light: #d4af37;
  --gold-deep: #8a6508;
  --border: rgba(20, 17, 10, 0.14);
  --shadow: 0 20px 50px rgba(60, 45, 10, 0.15);
  --shadow-sm: 0 6px 20px rgba(60, 45, 10, 0.10);
  --nav-bg: rgba(250, 248, 243, 0.94);
  --nav-bg-solid: #faf8f3;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.05vw, 16.5px);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition: background-color var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; background: transparent; border: 0; max-width: 100%; }
ul { list-style: none; }
::selection { background: var(--gold); color: #0a0a0a; }

/* ============== TYPO ============== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.5px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(2rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.05rem, 1.8vw, 1.35rem); letter-spacing: 1px; text-transform: uppercase; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.lead {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-style: italic;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
}

.gold { color: var(--gold); }

.gold-shine {
  background: linear-gradient(
    100deg,
    var(--gold-deep) 0%,
    var(--gold) 25%,
    var(--gold-light) 45%,
    #fff8d6 50%,
    var(--gold-light) 55%,
    var(--gold) 75%,
    var(--gold-deep) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmer 4.5s linear infinite;
  filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.35));
}

@keyframes shimmer {
  0%   { background-position: 200% 50%; }
  100% { background-position: -200% 50%; }
}

/* ============== LAYOUT ============== */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  position: relative;
}

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2.2rem, 5vw, 3.6rem);
}

.section__head h2 { margin-bottom: 1rem; }

/* ============== NAV ============== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
          backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top, 0);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
  will-change: transform;
}

/* Fallback when backdrop-filter unsupported (older Android browsers) */
@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .nav { background: var(--nav-bg-solid); }
}

.nav.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--nav-bg-solid);
}

.nav__inner {
  width: min(100% - 1.4rem, var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 0.6rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 2.5px;
  font-weight: 600;
  flex-shrink: 0;
}

.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold-light), var(--gold));
  background-size: 200% 200%;
  color: #0a0a0a;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
  animation: shimmer 5s linear infinite;
  flex-shrink: 0;
}

.brand__name { color: var(--text); white-space: nowrap; }

.nav__links {
  display: flex;
  gap: 1.8rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav__links a {
  color: var(--text);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}

.nav__links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav__links a:hover { color: var(--gold); }
.nav__links a:hover::after { width: 100%; }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.theme-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: var(--surface);
  display: inline-grid;
  place-items: center;
  color: var(--gold);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(212,175,55,0);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: var(--gold);
  color: var(--bg);
  transform: rotate(18deg);
  box-shadow: 0 6px 18px rgba(212,175,55,0.4);
}

.theme-toggle .icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  grid-area: 1 / 1;
  pointer-events: none;
}

/* Force exclusive display via attribute selector */
[data-theme="dark"]  .theme-toggle .icon-sun  { display: block !important; }
[data-theme="dark"]  .theme-toggle .icon-moon { display: none  !important; }
[data-theme="light"] .theme-toggle .icon-sun  { display: none  !important; }
[data-theme="light"] .theme-toggle .icon-moon { display: block !important; }

.burger {
  width: 42px;
  height: 42px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: var(--surface);
}

.burger span {
  width: 20px;
  height: 2px;
  background: var(--gold);
  transition: transform var(--transition), opacity var(--transition);
  display: block;
  border-radius: 2px;
}

.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: 60px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
}

.btn--gold {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold), var(--gold-light), var(--gold));
  background-size: 300% 100%;
  color: #0a0a0a;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.28);
  animation: shimmer 6s linear infinite;
}

.btn--gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(212, 175, 55, 0.45);
}

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

.btn--ghost:hover {
  background: var(--gold);
  color: var(--bg);
}

.btn--block { width: 100%; margin-top: 0.6rem; }

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) 1.2rem 4.5rem;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  background: #050505;
  animation: heroZoom 24s ease-in-out infinite alternate;
}

video.hero__bg::-webkit-media-controls { display: none !important; }

@keyframes heroZoom {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.06) translate(-1%, -1%); }
}

/* veil = readable header + premium tint */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0.85), rgba(0,0,0,0.55) 30%, transparent 70%),
    radial-gradient(ellipse at 50% 100%, rgba(0,0,0,0.7), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.65) 100%);
}

[data-theme="light"] .hero__veil {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(250,248,243,0.85), rgba(250,248,243,0.5) 35%, rgba(250,248,243,0.2) 70%),
    radial-gradient(ellipse at 50% 100%, rgba(250,248,243,0.85), transparent 60%),
    linear-gradient(180deg, rgba(250,248,243,0.55) 0%, rgba(250,248,243,0.4) 50%, rgba(250,248,243,0.7) 100%);
}

.hero__content {
  max-width: 880px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero__title {
  margin: 1.1rem 0 1.3rem;
  font-weight: 600;
}

.hero__sub {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-style: italic;
  color: var(--text);
  opacity: 0.92;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.55;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

[data-theme="light"] .hero__sub { text-shadow: 0 2px 8px rgba(255,255,255,0.6); }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1rem, 4vw, 2.5rem);
  padding-top: 1.8rem;
  border-top: 1px solid var(--border);
  max-width: 700px;
  margin: 0 auto;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-width: 90px;
}

.hero__stats strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--gold);
  letter-spacing: 1px;
}

.hero__stats span {
  font-size: 0.68rem;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.85;
  text-align: center;
}

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border: 1.5px solid var(--gold);
  border-radius: 14px;
  display: grid;
  place-items: center;
  z-index: 2;
}

.hero__scroll span {
  width: 3px;
  height: 7px;
  border-radius: 2px;
  background: var(--gold);
  animation: scrollDot 1.8s ease-in-out infinite;
  display: block;
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(-5px); opacity: 0; }
  50%      { transform: translateY(5px); opacity: 1; }
}

/* ============== SERVICES ============== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.4rem;
  justify-content: center;
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

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

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.35));
  pointer-events: none;
}

[data-theme="light"] .card__media::after {
  background: linear-gradient(180deg, transparent 60%, rgba(20,17,10,0.18));
}

.card:hover .card__media img { transform: scale(1.07); }

.card__body {
  padding: 1.6rem 1.4rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__body h3 { margin-bottom: 0.7rem; color: var(--text); }

.card__body p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
  flex: 1;
}

/* card__price removed — services sans tarifs */
.card__body p { margin-bottom: 0; }

/* ============== GALLERY · MASONRY (respect ratio naturel) ============== */
.masonry {
  column-count: 3;
  column-gap: 16px;
  width: 100%;
}

.masonry__item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 16px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  display: block;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow var(--transition),
              border-color var(--transition);
  /* fix iOS Safari column-fill quirk */
  transform: translateZ(0);
}

.masonry__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), filter 600ms ease;
  filter: saturate(0.9) brightness(0.93);
}

.masonry__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.78) 100%);
  z-index: 1;
  opacity: 0.55;
  transition: opacity var(--transition);
  pointer-events: none;
}

[data-theme="light"] .masonry__item::before {
  background: linear-gradient(180deg, transparent 50%, rgba(20,17,10,0.55) 100%);
}

.masonry__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), opacity 500ms;
}

.masonry__item figcaption::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}

.masonry__item figcaption span {
  font-family: var(--font-display);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.masonry__item:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  z-index: 3;
}

[data-theme="light"] .masonry__item:hover {
  box-shadow: 0 30px 60px rgba(60,45,10,0.22);
}

.masonry__item:hover img {
  transform: scale(1.06);
  filter: saturate(1.15) brightness(1);
}

.masonry__item:hover::before { opacity: 0.85; }

.masonry__item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* Coin doré décoratif premier élément */
.masonry__item:first-child::after {
  content: "";
  position: absolute;
  top: 14px; right: 14px;
  width: 36px;
  height: 36px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  z-index: 2;
  opacity: 0.7;
  transition: opacity var(--transition), width var(--transition), height var(--transition);
}

.masonry__item:first-child:hover::after { width: 50px; height: 50px; opacity: 1; }

/* ============== ABOUT ============== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.8rem, 5vw, 4rem);
  align-items: center;
}

.about__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}

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

.badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--gold);
  color: #0a0a0a;
  padding: 0.5rem 1rem;
  border-radius: 60px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 2px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(212,175,55,0.4);
  z-index: 2;
}

.about__copy h2 { margin: 0.7rem 0 1.3rem; }
.about__copy p { color: var(--muted); margin-bottom: 1rem; }

.about__list {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.7rem;
}

.about__list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.95rem;
  color: var(--text);
}

.about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

/* ============== CONTACT ============== */
.contact {
  background: var(--elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.contact__info h3 {
  color: var(--gold);
  margin-bottom: 1.2rem;
  text-align: left;
}

.info-list {
  display: grid;
  gap: 1.1rem;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-list__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--gold);
  color: var(--gold);
}

.info-list__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.info-list a:hover { color: var(--gold); }

/* ============== FORM ============== */
.contact__form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
  width: 100%;
}

.contact__form h3 {
  margin-bottom: 1.4rem;
  color: var(--gold);
  text-align: center;
}

.field { display: block; margin-bottom: 0.95rem; }

.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.94rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field textarea { resize: vertical; min-height: 80px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form__note {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.86rem;
  color: var(--gold);
  min-height: 1.2rem;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23d4af37' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.4rem;
}

.field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.6) sepia(1) saturate(5) hue-rotate(8deg);
  cursor: pointer;
}

[data-theme="light"] .field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.4) sepia(1) saturate(4) hue-rotate(15deg);
}

/* ============== MAP ============== */
.map-wrap {
  margin-inline: auto;
  max-width: 100%;
}

.map-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 30px 70px rgba(0,0,0,0.35), 0 0 0 6px var(--surface);
  aspect-ratio: 21/9;
  background: var(--surface);
  transition: transform var(--transition), box-shadow var(--transition);
}

[data-theme="light"] .map-frame {
  box-shadow: 0 30px 70px rgba(60,45,10,0.18), 0 0 0 6px var(--surface);
}

.map-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 90px rgba(0,0,0,0.45), 0 0 0 6px var(--surface);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.05);
}

[data-theme="dark"] .map-frame iframe {
  filter: grayscale(0.3) contrast(1.1) brightness(0.85) invert(0.92) hue-rotate(180deg);
}

.map-pin {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--gold);
  padding: 0.55rem 1rem 0.55rem 0.7rem;
  border-radius: 60px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 2px;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(0,0,0,0.3);
  z-index: 2;
  pointer-events: none;
}

.map-pin svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  animation: pinBounce 2s ease-in-out infinite;
}

@keyframes pinBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

.map-cta {
  position: absolute;
  bottom: 1.2rem;
  right: 1.2rem;
  background: var(--gold);
  color: #0a0a0a;
  padding: 0.7rem 1.2rem;
  border-radius: 60px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(212,175,55,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  z-index: 2;
}

.map-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 36px rgba(212,175,55,0.55);
}

/* ============== FOOTER ============== */
.footer {
  background: var(--bg);
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.4rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-display);
}

.footer__brand strong { display: block; letter-spacing: 2px; font-weight: 600; }
.footer__brand span { font-size: 0.76rem; color: var(--muted); letter-spacing: 1px; }

.footer__legal { color: var(--muted); font-size: 0.82rem; text-align: center; }

.footer__social { display: flex; gap: 0.7rem; }

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--gold);
  transition: all var(--transition);
}

.footer__social a:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.footer__social svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============== WHATSAPP FAB ============== */
.wa-btn {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  z-index: 90;
  animation: blink 1.6s ease-in-out infinite;
  transition: transform var(--transition);
}

.wa-btn:hover {
  transform: scale(1.08);
  animation-play-state: paused;
}

.wa-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  position: relative;
  z-index: 2;
}

.wa-btn__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.55;
  animation: pulse 1.6s ease-out infinite;
  z-index: 1;
}

@keyframes blink {
  0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.7); }
  50%      { box-shadow: 0 10px 38px rgba(37, 211, 102, 0.75), 0 0 0 12px rgba(37, 211, 102, 0); }
}

@keyframes pulse {
  0%   { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ============== REVEAL — variantes scroll ============== */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 950ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 950ms cubic-bezier(0.22, 1, 0.36, 1),
              filter 950ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

.reveal.fade-up      { transform: translateY(60px); }
.reveal.fade-down    { transform: translateY(-50px); }
.reveal.fade-left    { transform: translateX(-60px); }
.reveal.fade-right   { transform: translateX(60px); }
.reveal.zoom-in      { transform: scale(0.85); }
.reveal.zoom-out     { transform: scale(1.15); }
.reveal.blur-in      { filter: blur(14px); transform: translateY(20px); }
.reveal.flip-in      { transform: perspective(800px) rotateX(20deg) translateY(40px); transform-origin: bottom; }

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1) perspective(800px) rotateX(0);
  filter: blur(0);
}

/* Stagger automatique enfants */
.cards .reveal:nth-child(1) { transition-delay: 0ms; }
.cards .reveal:nth-child(2) { transition-delay: 100ms; }
.cards .reveal:nth-child(3) { transition-delay: 200ms; }
.cards .reveal:nth-child(4) { transition-delay: 300ms; }
.cards .reveal:nth-child(5) { transition-delay: 400ms; }
.cards .reveal:nth-child(6) { transition-delay: 500ms; }

.masonry .reveal:nth-child(1) { transition-delay: 0ms; }
.masonry .reveal:nth-child(2) { transition-delay: 120ms; }
.masonry .reveal:nth-child(3) { transition-delay: 220ms; }
.masonry .reveal:nth-child(4) { transition-delay: 320ms; }
.masonry .reveal:nth-child(5) { transition-delay: 420ms; }
.masonry .reveal:nth-child(6) { transition-delay: 520ms; }

.info-list li {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.contact__info.is-visible .info-list li { opacity: 1; transform: translateX(0); }
.contact__info.is-visible .info-list li:nth-child(1) { transition-delay: 200ms; }
.contact__info.is-visible .info-list li:nth-child(2) { transition-delay: 320ms; }
.contact__info.is-visible .info-list li:nth-child(3) { transition-delay: 440ms; }
.contact__info.is-visible .info-list li:nth-child(4) { transition-delay: 560ms; }

/* Cartes services : alternance fade-up auto */
.cards .card { transform: translateY(60px); }
.cards .card.is-visible { transform: translateY(0); }

/* Parallax léger sur images services au scroll */
.card__media img,
.masonry__item img,
.about__media img {
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), filter 600ms ease;
}

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

/* Tablet portrait + small desktop */
@media (max-width: 1024px) {
  .nav__links { gap: 1.3rem; font-size: 0.86rem; }
}

/* Tablet */
@media (max-width: 920px) {
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .about__media { aspect-ratio: 16/10; max-height: 460px; }
  .map-frame { aspect-ratio: 16/10; }

  .masonry { column-count: 2; column-gap: 14px; }
  .masonry__item { margin-bottom: 14px; }
}

/* Mobile */
@media (max-width: 760px) {
  :root { --nav-h: 60px; }

  .nav { background: var(--nav-bg-solid); }
  @supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
    .nav { background: var(--nav-bg); }
  }

  .nav__inner {
    width: min(100% - 1rem, var(--container));
    gap: 0.5rem;
  }

  .nav__links {
    position: fixed;
    inset: calc(var(--nav-h) + env(safe-area-inset-top, 0)) 0 auto 0;
    flex-direction: column;
    background: var(--nav-bg-solid);
    -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
    padding: 0.8rem 1.4rem 1.4rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform var(--transition);
    text-align: center;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a {
    font-size: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
  }
  .nav__links a:last-child { border-bottom: 0; }

  .burger { display: flex; }

  /* Theme toggle MUST stay visible on mobile */
  .theme-toggle { display: inline-grid !important; }

  .field-row { grid-template-columns: 1fr; }
  .about__list { grid-template-columns: 1fr; }

  /* Masonry mobile : 2 colonnes serrées */
  .masonry { column-count: 2; column-gap: 10px; }
  .masonry__item { margin-bottom: 10px; border-radius: var(--radius); }

  .footer__inner {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }

  .map-pin {
    top: 0.8rem;
    left: 0.8rem;
    font-size: 0.7rem;
    padding: 0.45rem 0.85rem 0.45rem 0.6rem;
    letter-spacing: 1.5px;
  }
  .map-pin svg { width: 14px; height: 14px; }

  .map-cta {
    bottom: 0.8rem;
    right: 0.8rem;
    padding: 0.55rem 1rem;
    font-size: 0.7rem;
    letter-spacing: 1.2px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .container { width: min(100% - 1.4rem, var(--container)); }

  .nav__inner { gap: 0.4rem; padding: 0 0.2rem; }
  .brand { gap: 0.5rem; }
  .brand__name { display: none; }
  .brand__mark { width: 36px; height: 36px; font-size: 0.85rem; }
  .theme-toggle, .burger { width: 40px; height: 40px; }
  .theme-toggle .icon { width: 18px; height: 18px; }
  .nav__actions { gap: 0.4rem; }

  .hero { padding-left: 1rem; padding-right: 1rem; padding-bottom: 5.5rem; }
  .hero__cta { flex-direction: column; width: 100%; }
  .hero__cta .btn { width: 100%; }
  .hero__stats { gap: 1rem 1.5rem; }
  .hero__stats li { min-width: 75px; }
  .hero__stats strong { font-size: 1.4rem; }

  .section { padding: 3rem 0; }

  .cards { gap: 1rem; }

  .contact__form { padding: 1.2rem; }
  .map-frame { aspect-ratio: 4/5; max-height: 480px; }

  .wa-btn { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .wa-btn svg { width: 24px; height: 24px; }

  .footer__brand { flex-direction: column; gap: 0.4rem; text-align: center; }
}

/* Very small */
@media (max-width: 360px) {
  .masonry { column-count: 1; column-gap: 0; }
  .hero__stats { flex-direction: column; gap: 0.8rem; }
}

/* Tall hero on landscape mobile */
@media (max-height: 600px) and (orientation: landscape) {
  .hero { min-height: 540px; padding-top: calc(var(--nav-h) + 1rem); }
  .hero__stats { padding-top: 1rem; }
}

/* ============== ACCESSIBILITY ============== */
@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;
  }
  .reveal { opacity: 1; transform: none; }
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
