/* ============================================================
   GUYANE CONCEPTION IMMO — styles
   ============================================================ */

:root {
  /* brand */
  --orange: #F0542B;
  --orange-600: #DB4621;
  --orange-soft: #FCE8E0;

  /* ink / paper (warm neutrals) */
  --ink: #14110F;
  --ink-2: #1E1A17;
  --ink-3: #2A2521;
  --paper: #FFFFFF;
  --paper-2: #F7F4F1;
  --line: #ECE7E2;
  --line-dark: rgba(255,255,255,.10);

  /* text */
  --tx: #16120F;
  --tx-soft: #6A625B;
  --tx-faint: #9A938C;
  --tx-on-dark: #F4F1ED;
  --tx-on-dark-soft: #A8A29B;

  /* stat card colors */
  --violet: #6C4DF6;
  --green: #2EB872;
  --navy: #2C2B4A;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 64px);

  --sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --mono: "Spline Sans Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--tx);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }

/* accent word: italic serif orange */
.em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--orange); letter-spacing: 0; }
.em-ink { font-family: var(--serif); font-style: italic; font-weight: 500; color: inherit; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
section { position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--tx-soft);
}
.eyebrow::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.eyebrow.center { justify-content: center; }
.section-pad { padding-block: clamp(60px, 9vw, 120px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding-inline: 24px; border-radius: 999px;
  font-size: 15px; font-weight: 600; border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 8px 20px -8px rgba(240,84,43,.6); }
.btn-orange:hover { background: var(--orange-600); box-shadow: 0 12px 26px -8px rgba(240,84,43,.7); }
.btn-ghost { background: transparent; color: var(--tx); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--tx); background: var(--paper-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-arrow svg { transition: transform .2s ease; }
.btn-arrow:hover svg { transform: translateX(3px); }

/* ---------- placeholder image ---------- */
.ph {
  position: relative; overflow: hidden;
  background-color: #E7E1DB;
  background-image:
    repeating-linear-gradient(135deg, rgba(20,17,15,.045) 0 1px, transparent 1px 11px);
}
.ph::after {
  content: attr(data-ph);
  position: absolute; inset: 0; margin: auto; width: max-content; height: max-content;
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: lowercase;
  color: #A9A097; padding: 5px 10px; border: 1px dashed #C8BFB6; border-radius: 6px;
  background: rgba(255,255,255,.45); pointer-events: none;
}
.ph.dark { background-color: #2A2622; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 1px, transparent 1px 11px); }
.ph.dark::after { color: #8A8178; border-color: #4A443E; background: rgba(0,0,0,.25); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  padding-top: 16px;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  max-width: var(--maxw); margin: 0 auto;
  margin-inline: var(--pad);
  display: flex; align-items: center; gap: 16px; justify-content: space-between;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 9px 9px 16px;
  box-shadow: 0 10px 30px -18px rgba(20,17,15,.4);
  max-width: calc(var(--maxw) - 0px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; font-size: 16px; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--orange);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; flex: none;
}
.brand small { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: .14em; color: var(--tx-faint); text-transform: uppercase; line-height: 1; margin-top: 2px; }
.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-menu a {
  font-size: 14px; font-weight: 500; color: var(--tx-soft);
  padding: 9px 15px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav-menu a:hover { color: var(--tx); background: var(--paper-2); }
.nav-menu a.active { color: #fff; background: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-cta { height: 44px; padding-inline: 20px; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(48px, 8vw, 90px); text-align: center; }
.hero .pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--paper-2); border: 1px solid var(--line);
  padding: 7px 7px 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--tx-soft);
}
.hero .pill b { background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.hero h1 {
  font-size: clamp(38px, 6.4vw, 76px); margin: 26px auto 0; max-width: 16ch;
}
.hero .sub { margin: 22px auto 0; max-width: 56ch; color: var(--tx-soft); font-size: clamp(15px, 1.5vw, 18px); }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.rating { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.stars { display: inline-flex; gap: 3px; color: var(--orange); }
.rating .rtxt { font-size: 14px; color: var(--tx-soft); }
.rating .rtxt b { color: var(--tx); font-weight: 700; }

/* trust logos */
.trust { margin-top: 44px; }
.trust .lbl { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--tx-faint); margin-bottom: 18px; }
.logos { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: center; }
.logo-ph {
  height: 26px; min-width: 96px; border-radius: 6px;
  display: grid; place-items: center; font-family: var(--mono); font-size: 11px; color: var(--tx-faint);
  background: var(--paper-2); border: 1px solid var(--line);
}

/* ---------- HERO CAROUSEL ---------- */
.carousel {
  margin-top: clamp(40px, 5vw, 64px);
  position: relative; width: 100%;
  aspect-ratio: 16 / 8.2;
  border-radius: var(--r-xl); overflow: hidden;
  background: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(20,17,15,.55);
}
@media (max-width: 720px){ .carousel { aspect-ratio: 4/5; } }
.slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1s ease, transform 6s ease;
  transform: scale(1.06);
}
.slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.slide .ph { position: absolute; inset: 0; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide .ph::after { font-size: 13px; }
.slide-grad { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,12,10,.78) 0%, rgba(15,12,10,.18) 40%, rgba(15,12,10,0) 70%); z-index: 2; }
.slide-label {
  position: absolute; left: clamp(20px,3vw,40px); bottom: clamp(20px,3vw,40px); z-index: 3;
  color: #fff; text-align: left;
}
.slide-label .num { font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.65); letter-spacing: .1em; }
.slide-label h3 { font-size: clamp(22px, 3vw, 36px); margin-top: 6px; }
.slide-label p { font-size: 14px; color: rgba(255,255,255,.78); margin-top: 6px; }

.car-ui { position: absolute; right: clamp(20px,3vw,40px); bottom: clamp(20px,3vw,40px); z-index: 4; display: flex; align-items: center; gap: 16px; }
.car-counter { color: #fff; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; }
.car-counter .cur { color: var(--orange); }
.car-dots { display: flex; gap: 8px; }
.car-dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,.35); padding: 0; transition: background .2s, width .3s; }
.car-dot.is-active { background: var(--orange); width: 26px; border-radius: 999px; }
.car-arrows { position: absolute; left: clamp(20px,3vw,40px); top: clamp(20px,3vw,40px); z-index: 4; display: flex; gap: 8px; }
.car-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.10); backdrop-filter: blur(6px); color: #fff; display: grid; place-items: center; transition: background .2s; }
.car-arrow:hover { background: rgba(255,255,255,.22); }

/* ============================================================
   STAT BAND (partners)
   ============================================================ */
.band { border-block: 1px solid var(--line); }
.band-inner { display: flex; align-items: center; gap: clamp(24px,5vw,72px); padding-block: 36px; flex-wrap: wrap; }
.band-stat { font-size: clamp(18px,2vw,22px); font-weight: 600; line-height: 1.3; flex: none; max-width: 30ch; }
.band-stat b { color: var(--orange); font-weight: 800; }
.band .logos { flex: 1; justify-content: flex-start; min-width: 240px; }

/* ---- partner marquee (single-line, scrolling, bounded) ---- */
.marquee {
  flex: 1; min-width: 0; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.marquee-track {
  display: flex; align-items: center; gap: 14px; width: max-content;
  animation: marquee 16s linear infinite;
}

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-card {
  flex: none; height: 92px; padding: 0 22px; display: flex; align-items: center; justify-content: center;
  border-right: 1px solid var(--line);
}
.logo-card img {
  max-height: 68px; max-width: 160px; width: auto; object-fit: contain; display: block;
}
.logo-card.txt { font-weight: 700; color: var(--tx-faint); font-size: 14px; line-height: 1.15; text-align: center; max-width: 150px; }
@media (prefers-reduced-motion: reduce){ .marquee-track { animation: none; } }
@media (max-width: 720px){ .marquee { width: 100%; flex-basis: 100%; } }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px,5vw,72px); align-items: center; }
@media (max-width: 880px){ .about-grid { grid-template-columns: 1fr; } }
.about h2 { font-size: clamp(28px,3.6vw,46px); margin-top: 18px; max-width: 16ch; }
.about p.lead { color: var(--tx-soft); margin-top: 20px; font-size: 16.5px; max-width: 46ch; }
.about ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.about ul li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.about ul li svg { flex: none; margin-top: 2px; color: var(--orange); }
.about-feature { display: grid; gap: 14px; }
.af-main {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(26px,3vw,40px);
  background: var(--ink); color: #fff;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 1px, transparent 1px 13px);
}
.af-mark { position: absolute; right: clamp(18px,2.5vw,32px); top: clamp(14px,2vw,26px); font-family: var(--serif); font-style: italic; font-size: clamp(80px,11vw,150px); line-height: .7; color: var(--orange); opacity: .9; }
.af-big { font-size: clamp(60px,8vw,104px); font-weight: 800; letter-spacing: -.04em; line-height: .9; }
.af-big span { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: .26em; letter-spacing: 0; margin-left: 10px; color: var(--orange); }
.af-main p { color: rgba(255,255,255,.82); margin-top: 16px; max-width: 30ch; font-size: 15.5px; }
.af-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.af-mini div { border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; background: var(--paper); }
.af-mini b { display: block; font-size: clamp(26px,3vw,34px); font-weight: 800; letter-spacing: -.03em; color: var(--orange); }
.af-mini span { display: block; color: var(--tx-soft); font-size: 14px; margin-top: 4px; }
@media (max-width: 480px){ .af-mini { grid-template-columns: 1fr; } }

/* ============================================================
   SERVICES (big cards)
   ============================================================ */
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.head-row h2 { font-size: clamp(28px,3.8vw,50px); max-width: 18ch; }
.head-row .head-sub { color: var(--tx-soft); max-width: 34ch; font-size: 15.5px; }

.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 44px; }
@media (max-width: 880px){ .svc-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.svc {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--paper);
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.svc:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(20,17,15,.35); border-color: #ddd4cc; }
.svc-img { position: relative; aspect-ratio: 4/3; }
.svc-img .ph { position:absolute; inset:0; }
.svc-img .svc-photo { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; }
.svc-num { position: absolute; top: 14px; right: 16px; z-index: 2; font-family: var(--mono); font-size: 13px; color: #fff; background: rgba(20,17,15,.55); backdrop-filter: blur(4px); padding: 4px 10px; border-radius: 999px; }
.svc-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc-body h3 { font-size: 21px; }
.svc-body p { color: var(--tx-soft); font-size: 14.5px; }
.svc-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--orange); }
.svc:hover .svc-link svg { transform: translateX(4px); }
.svc-link svg { transition: transform .2s; }

/* ============================================================
   SPLIT (image + expertise list) — alternating
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,64px); align-items: center; }
@media (max-width: 880px){ .split { grid-template-columns: 1fr; } }
.split.rev .split-media { order: 2; }
@media (max-width: 880px){ .split.rev .split-media { order: 0; } }
.split-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5/4; }
.split-media .ph { position:absolute; inset:0; }
.split-media .split-photo { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; }
.split-media.wide { aspect-ratio: 16/9; }
.split-media .tag { position:absolute; top: 16px; left: 16px; z-index: 2; background: rgba(255,255,255,.92); color: var(--tx); font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; display: inline-flex; gap: 8px; align-items: center; }
.split-media .tag .n { color: var(--orange); font-family: var(--mono); }
/* graphic (photo-free) split panel */
.split-media.graphic { background: var(--ink); display: flex; align-items: flex-end; }
.split-media.graphic.orange { background: var(--orange); }
.gm-grid { position: absolute; inset: 0; background-image:
  linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(120% 100% at 30% 0%, #000 35%, transparent 78%); }
.split-media.graphic .gm-content { position: relative; z-index: 2; padding: clamp(26px,3.4vw,44px); color: #fff; }
.gm-num { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: rgba(255,255,255,.6); }
.split-media.graphic.orange .gm-num { color: rgba(255,255,255,.85); }
.gm-content h4 { font-size: clamp(26px,3vw,40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; margin-top: 10px; }
.gm-content h4 em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--orange); }
.split-media.graphic.orange .gm-content h4 em { color: var(--ink); }
.gm-content p { color: rgba(255,255,255,.8); margin-top: 14px; max-width: 26ch; font-size: 15px; }
.split-media.graphic .tag { background: rgba(255,255,255,.92); }
.split h2 { font-size: clamp(26px,3.4vw,42px); max-width: 16ch; }
.split p { color: var(--tx-soft); margin-top: 18px; font-size: 16px; max-width: 44ch; }
.expertise { list-style:none; padding:0; margin: 26px 0 0; display: grid; gap: 14px; }
.expertise li { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.expertise li:last-child { border-bottom: none; }
.expertise .ico { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; }
.expertise b { display: block; font-size: 16px; }
.expertise span { color: var(--tx-soft); font-size: 14px; }

/* ============================================================
   ORANGE CTA card
   ============================================================ */
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px,4vw,52px); align-items: center; }
@media (max-width: 880px){ .cta-grid { grid-template-columns: 1fr; } }
.cta-grid h2 { font-size: clamp(28px,4vw,52px); max-width: 14ch; }
.cta-grid p { color: var(--tx-soft); margin-top: 18px; max-width: 40ch; }
.cta-card {
  background: var(--orange); color: #fff; border-radius: var(--r-lg); padding: clamp(28px,3.5vw,44px);
  position: relative; overflow: hidden; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between;
}
.cta-card::after { content:""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.10); }
.cta-card .big { font-size: clamp(56px,8vw,96px); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.cta-card .big span { font-family: var(--serif); font-style: italic; font-size: .42em; font-weight: 500; display: block; margin-top: 6px; letter-spacing: 0; }
.cta-card p { color: rgba(255,255,255,.9); margin-top: 18px; max-width: 26ch; }
.cta-card .btn { margin-top: 22px; align-self: flex-start; }

/* ============================================================
   PROJECTS gallery
   ============================================================ */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 320px; gap: 20px; margin-top: 44px; }
@media (max-width: 880px){ .proj-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; } }
.proj { position: relative; border-radius: var(--r); overflow: hidden; }
.proj .ph { position:absolute; inset:0; transition: transform .5s ease; }
.proj .proj-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.proj:hover .ph, .proj:hover .proj-photo { transform: scale(1.07); }
.svc-cta { display: flex; justify-content: center; margin-top: 40px; }
.proj.fit-all .proj-photo { object-fit: contain; background: #0d0d0f; }
.proj.fit-all:hover .proj-photo { transform: none; }
.proj .ov { position:absolute; inset:0; z-index:2; background: linear-gradient(0deg, rgba(15,12,10,.6), transparent 55%); opacity:0; transition: opacity .3s; display:flex; align-items:flex-end; padding:18px; }
.proj:hover .ov { opacity:1; }
.proj .ov span { color:#fff; font-weight:600; font-size:15px; }
.proj.s-a { grid-column: span 2; grid-row: span 2; }
.proj.s-b { grid-column: span 2; }
.proj.s-c { grid-column: span 2; }
@media (max-width: 880px){ .proj.s-a { grid-column: span 2; grid-row: span 2; } .proj.s-b, .proj.s-c { grid-column: span 1; } }

/* ============================================================
   STORY
   ============================================================ */
.story-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/7; margin-top: 40px; }
.story-media .ph { position:absolute; inset:0; }
.story-grad { position:absolute; inset:0; z-index:2; background: linear-gradient(90deg, rgba(15,12,10,.7), rgba(15,12,10,.1) 60%, transparent); }
.story-logo { position:absolute; z-index:3; right: clamp(24px,4vw,56px); top: 50%; transform: translateY(-50%); color:#fff; text-align:center; }
.story-logo .lk { width: 80px; height: 80px; border-radius: 20px; background: rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.25); display:grid; place-items:center; margin: 0 auto 12px; font-weight:800; font-size:30px; color: var(--orange); }
.story-logo b { font-size: 18px; letter-spacing:.04em; }
.story-logo small { display:block; font-size:11px; letter-spacing:.2em; color: rgba(255,255,255,.7); }
.story-text { position:absolute; z-index:3; left: clamp(24px,4vw,56px); bottom: clamp(24px,4vw,48px); color:#fff; max-width: 30ch; }
.story-text h2 { font-size: clamp(26px,3.4vw,42px); }
.story-text p { color: rgba(255,255,255,.82); margin-top: 12px; font-size: 15px; }

/* ============================================================
   PROCESS (numbered cards)
   ============================================================ */
.proc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 44px; }
@media (max-width: 980px){ .proc-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px){ .proc-grid { grid-template-columns: 1fr; } }
.proc {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--paper);
  transition: transform .3s, box-shadow .3s;
}
.proc:hover { transform: translateY(-6px); box-shadow: 0 28px 46px -30px rgba(20,17,15,.35); }
.proc-top { position: relative; padding: 22px 20px 0; }
.proc-top .num { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 6px; background: var(--orange); color:#fff; font-family: var(--mono); font-size: 16px; border-radius: 12px; }
.proc-body { padding: 18px 20px 22px; }
.proc-body h3 { font-size: 17px; }
.proc-body p { color: var(--tx-soft); font-size: 13.5px; margin-top: 8px; }

/* ============================================================
   STAT CARDS (colored)
   ============================================================ */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 880px){ .stats-grid { grid-template-columns: repeat(2,1fr); } }
.stat { border-radius: var(--r-lg); padding: 28px; color:#fff; aspect-ratio: 1/1.05; display:flex; flex-direction:column; justify-content:space-between; position:relative; overflow:hidden; }
.stat .big { font-size: clamp(40px,5vw,64px); font-weight:800; letter-spacing:-.04em; line-height:1; }
.stat .lbl { font-size: 15px; font-weight:500; opacity:.92; }
.stat::after { content:""; position:absolute; right:-40px; bottom:-40px; width:130px; height:130px; border-radius:50%; background: rgba(255,255,255,.10); }
.stat.violet { background: var(--violet); }
.stat.green { background: var(--green); }
.stat.navy { background: var(--navy); }
.stat.orange { background: var(--orange); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 820px; margin: 44px auto 0; display: grid; gap: 12px; }
.faq {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--paper);
  overflow: hidden; transition: border-color .2s, background .25s;
}
.faq.open { background: var(--ink); border-color: var(--ink); }
.faq-q { width:100%; display:flex; align-items:center; gap:16px; justify-content:space-between; background:none; border:none; padding: 20px 24px; text-align:left; font-size: 16.5px; font-weight:600; color: var(--tx); }
.faq.open .faq-q { color:#fff; }
.faq-ico { flex:none; width: 30px; height:30px; border-radius:50%; border:1px solid var(--line); display:grid; place-items:center; transition: transform .3s, background .25s, border-color .25s; color: var(--tx-soft); }
.faq.open .faq-ico { background: var(--orange); border-color: var(--orange); color:#fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--tx-on-dark-soft); font-size: 15px; max-width: 62ch; }

/* ============================================================
   PROPERTY TYPES (masonry)
   ============================================================ */
.types-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 44px; text-align: left; }
@media (max-width: 880px){ .types-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .types-grid { grid-template-columns: 1fr; } }
.type-card {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper);
  padding: clamp(24px,2.6vw,32px); position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.type-card::before { content:""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--orange); transform: scaleY(0); transform-origin: top; transition: transform .3s; }
.type-card:hover { transform: translateY(-6px); box-shadow: 0 28px 46px -30px rgba(20,17,15,.35); border-color: #ddd4cc; }
.type-card:hover::before { transform: scaleY(1); }
.tc-num { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: var(--orange); }
.type-card h3 { font-size: clamp(20px,2.1vw,24px); margin-top: 16px; letter-spacing: -.01em; }
.type-card p { color: var(--tx-soft); font-size: 14.5px; margin-top: 10px; }

/* ============================================================
   MAP
   ============================================================ */
.map-shell { margin-top: 36px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); height: clamp(320px, 42vw, 460px); }
.map-shell iframe { width:100%; height:100%; border:0; display:block; filter: saturate(1.05); }

/* ============================================================
   CONTACT
   ============================================================ */
.final-cta {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff; border-radius: var(--r-xl);
  padding: clamp(32px,4.5vw,60px);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(28px,4vw,56px);
  margin-top: 8px;
}
@media (max-width: 820px){ .final-cta { grid-template-columns: 1fr; text-align: center; gap: 28px; } }
.final-cta .fc-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(120% 130% at 78% 0%, #000 30%, transparent 72%);
}
.final-cta > * { position: relative; z-index: 1; }
.fc-kicker { display: inline-block; font-family: var(--mono); font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); }
.fc-text { align-self: center; }
.fc-text[hidden] { display: none; }
@media (max-width: 820px){ .fc-text { display: flex; flex-direction: column; align-items: center; } }
.fc-text h2 { font-size: clamp(30px,4.4vw,56px); letter-spacing: -.02em; line-height: 1.02; margin-top: 16px; max-width: 16ch; }
.fc-text p { color: var(--tx-on-dark-soft); margin-top: 18px; font-size: clamp(15px,1.5vw,18px); max-width: 42ch; }
.fc-action { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.fc-action[hidden] { display: none; }
@media (max-width: 820px){ .fc-action { align-items: center; } }
.fc-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--orange); color: #fff; border: none; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: clamp(16px,1.7vw,19px);
  padding: 18px 32px; border-radius: 999px;
  box-shadow: 0 14px 34px -10px rgba(240,84,43,.65);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.fc-btn:hover { background: var(--orange-600); transform: translateY(-2px); box-shadow: 0 20px 42px -10px rgba(240,84,43,.75); }
.fc-btn:active { transform: translateY(0); }
.fc-btn svg { flex: none; }
.fc-status { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--tx-on-dark-soft); }
.fc-status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(43,138,91,.18); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--tx-on-dark); margin-top: clamp(60px,8vw,110px); }
.footer-top { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-block: clamp(48px,6vw,80px); }
@media (max-width: 880px){ .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 540px){ .footer-top { grid-template-columns: 1fr; } }
.footer h3 { font-size: clamp(26px,3vw,40px); max-width: 16ch; }
.footer .f-desc { color: var(--tx-on-dark-soft); margin-top: 16px; max-width: 38ch; font-size: 14.5px; }
.footer .btn { margin-top: 22px; }
.f-col h4 { font-size: 13px; letter-spacing:.08em; text-transform:uppercase; color: var(--tx-faint); margin-bottom: 16px; }
.f-col ul { list-style:none; padding:0; margin:0; display:grid; gap: 11px; }
.f-col a { color: var(--tx-on-dark-soft); font-size: 14.5px; transition: color .2s; }
.f-col a:hover { color:#fff; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 22px; display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; color: var(--tx-on-dark-soft); font-size: 13px; }
.footer .brand small { color: var(--tx-faint); }
.foot-logo img { height: 42px; width: auto; display: block; }
.by-mcia { color: var(--tx-faint); letter-spacing: .02em; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   CAMILLE CHAT (inside the dark contact frame)
   ============================================================ */
.fc-chat[hidden] { display: none; }
.fc-chat {
  grid-column: 1 / -1;
  width: 100%; max-width: 560px; margin-inline: auto;
  display: flex; flex-direction: column;
  height: clamp(480px, 62vh, 600px);
  background: var(--paper); color: var(--tx);
  border: 1px solid rgba(255,255,255,.14); border-radius: 20px; overflow: hidden;
  box-shadow: 0 36px 70px -28px rgba(0,0,0,.6);
  animation: fc-pop .28s ease;
}
@keyframes fc-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

.chat-head { background: var(--ink); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; flex: none; }
.chat-head .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; font-weight: 800; flex: none; position: relative; }
.chat-head .avatar::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: var(--green); border: 2px solid var(--ink); }
.chat-head b { font-size: 15px; display: block; }
.chat-head small { color: var(--tx-on-dark-soft); font-size: 12px; }
.chat-head .chat-close { margin-left: auto; background: rgba(255,255,255,.12); border: none; color: #fff; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.chat-head .chat-close:hover { background: rgba(255,255,255,.22); }
.chat-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; min-height: 0; overflow-y: auto; background: var(--paper-2); }
.chat-msg { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.chat-msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; align-self: flex-start; }
.chat-msg.user { background: var(--orange); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.chat-msg.typing { display: inline-flex; gap: 4px; align-items: center; }
.chat-msg.typing .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--tx-faint); animation: chat-typing 1.2s infinite ease-in-out; }
.chat-msg.typing .dot:nth-child(2) { animation-delay: .18s; }
.chat-msg.typing .dot:nth-child(3) { animation-delay: .36s; }
@keyframes chat-typing { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 14px; background: var(--paper-2); }
.chat-quick button { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--tx); transition: border-color .2s, background .2s; }
.chat-quick button:hover { border-color: var(--orange); color: var(--orange); }
.chat-foot { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--paper); }
.chat-foot input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; font-family: inherit; font-size: 16px; } /* ≥16px : évite le zoom auto d'iOS Safari au focus */
.chat-foot input:focus { outline: none; border-color: var(--orange); }
.chat-foot button { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--orange); color: #fff; border: none; display: grid; place-items: center; }
.chat-foot button:hover { background: var(--orange-600); }

@media (prefers-reduced-motion: reduce){
  .fc-chat { animation: none; }
}


/* burger: deux icônes superposées (menu / close), close cachée par défaut */
.nav-burger .ico-close { display: none; }
.nav-burger[aria-expanded="true"] .ico-burger { display: none; }
.nav-burger[aria-expanded="true"] .ico-close { display: block; }
/* lien Contact dans le menu déroulant : masqué hors mobile */
.nav-menu-contact { display: none; }

@media (max-width: 820px){
  .nav-inner { position: relative; flex-wrap: wrap; }
  .nav-burger { display: flex; }
  .head-row .head-sub { display: none; }

  /* menu en dropdown sous la barre, fermé par défaut */
  .nav-menu {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(14px) saturate(1.3);
    border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: 0 18px 40px -18px rgba(20,17,15,.4);
    padding: 10px;
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
    z-index: 50;
  }
  .nav-inner.menu-open .nav-menu {
    opacity: 1; transform: none; pointer-events: auto;
  }
  .nav-menu a { padding: 13px 16px; font-size: 15px; border-radius: var(--r-sm); }
  .nav-menu-contact { display: block; color: var(--orange); font-weight: 600; }
}
@media (prefers-reduced-motion: reduce){
  .reveal { opacity:1; transform:none; transition:none; }
  .slide { transition: opacity .3s; transform: none; }
  .slide.is-active { transform: none; }
}

/* ============================================================
   SPLASH INTRO — logo s'écrit + barre de progression
   ============================================================ */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--paper);
  display: grid; place-items: center;
  opacity: 1; transition: opacity .6s ease;
}
.splash.is-done { opacity: 0; pointer-events: none; }
.splash-inner { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.splash-logo { position: relative; width: clamp(220px, 34vw, 360px); }
.splash-logo img {
  display: block; width: 100%; height: auto;
  clip-path: inset(0 100% 0 0);
  animation: splash-write 1.5s cubic-bezier(.65,.02,.28,1) .25s forwards;
}
/* le "stylo" : trait orange qui parcourt le logo en l'écrivant */
.splash-wipe {
  position: absolute; top: -6%; bottom: -6%; left: 0; width: 3px;
  background: var(--orange); border-radius: 3px;
  box-shadow: 0 0 14px 1px rgba(240,84,43,.6);
  opacity: 0;
  animation: splash-pen 1.5s cubic-bezier(.65,.02,.28,1) .25s forwards;
}
@keyframes splash-write {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
@keyframes splash-pen {
  0%   { left: 0; opacity: 0; }
  8%   { opacity: 1; }
  88%  { left: calc(100% - 3px); opacity: 1; }
  100% { left: calc(100% - 3px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .splash-logo img { animation: none; clip-path: none; }
  .splash-wipe { display: none; }
}
