/* =========================================================
   FERNANDES ALEXANDRE — Site premium rénovation
   Inspirations : Apple, Porsche, B&O, studios d'architecture
   ========================================================= */

:root {
  --ink:         #050505;
  --ink-2:       #0a0a0c;
  --ink-3:       #111118;
  --ink-4:       #1a1a22;
  --line:        rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.16);
  --text:        #f5f6f8;
  --text-dim:    rgba(245,246,248,0.62);
  --text-faint:  rgba(245,246,248,0.42);

  --blue:        #2E7BFF;
  --blue-bright: #6BA8FF;
  --blue-soft:   #CFE2FF;
  --white:       #FFFFFF;

  --radius:      14px;
  --radius-lg:   22px;
  --radius-xl:   36px;

  --ease:        cubic-bezier(.22,.61,.36,1);
  --ease-out:    cubic-bezier(.16,1,.3,1);
  --ease-in-out: cubic-bezier(.65,.05,.36,1);

  --container:   1320px;
  --gutter:      clamp(20px, 4vw, 56px);

  --font-display: "Manrope", "Helvetica Neue", system-ui, sans-serif;
  --font-edit:    "Instrument Serif", "Times New Roman", serif;
  --font-body:    "Manrope", "Helvetica Neue", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

html, body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-feature-settings: "ss01", "cv01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--blue); color: var(--white); }

/* Film grain overlay — subtle luxe */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* =========================================================
   CURSEUR LUMIÈRE BLEUE (desktop)
   ========================================================= */
.cursor-light {
  position: fixed;
  top: 0; left: 0;
  width: 520px; height: 520px;
  pointer-events: none;
  z-index: 999;
  border-radius: 50%;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(46,123,255,0.18) 0%, rgba(46,123,255,0.06) 30%, transparent 65%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .6s var(--ease);
  will-change: transform;
}
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--blue-bright);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
  z-index: 999;
  box-shadow: 0 0 24px rgba(107,168,255,0.6);
  opacity: 0;
  transition: opacity .4s var(--ease), width .3s var(--ease), height .3s var(--ease);
  will-change: transform;
}
body.cursor-ready .cursor-light,
body.cursor-ready .cursor-dot { opacity: 1; }
body.cursor-hover .cursor-dot { width: 28px; height: 28px; background: transparent; border: 1px solid var(--blue-bright); }

@media (hover: none), (max-width: 900px) {
  .cursor-light, .cursor-dot { display: none; }
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .5s var(--ease), backdrop-filter .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5,5,5,0.6);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  border-bottom-color: var(--line);
}
.nav__brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 13px;
  text-transform: uppercase;
}
.nav__brand-mark {
  width: 62px; height: 34px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__brand-mark svg { width: 100%; height: auto; }
.nav__brand-name { line-height: 1.1; }
.nav__brand-sub { display: block; font-size: 10px; font-weight: 400; color: var(--text-faint); letter-spacing: 0.18em; margin-top: 2px;}
.nav__menu {
  display: flex; gap: 36px;
  font-size: 13px;
  color: var(--text-dim);
}
.nav__menu a { transition: color .3s var(--ease); position: relative; padding: 6px 0; }
.nav__menu a:hover { color: var(--text); }
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--blue-bright);
  transition: width .4s var(--ease);
}
.nav__menu a:hover::after { width: 100%; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: all .35s var(--ease);
  background: rgba(255,255,255,0.02);
}
.nav__cta:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 30px rgba(46,123,255,0.35);
  transform: translateY(-1px);
}
.nav__cta-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 12px var(--blue-bright); }
@media (max-width: 900px) {
  .nav__menu { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 120px var(--gutter) 80px;
  overflow: hidden;
  isolation: isolate;
}

/* Cinematic background scene — built layered like a film still */
.hero__scene {
  position: absolute; inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 70% 35%, rgba(46,123,255,0.10), transparent 55%),
    radial-gradient(ellipse 60% 80% at 20% 90%, rgba(46,123,255,0.06), transparent 60%),
    linear-gradient(180deg, #050505 0%, #08080c 40%, #050505 100%);
}
/* Light shaft through "window" */
.hero__scene::before {
  content: "";
  position: absolute;
  top: -10%;
  right: 8%;
  width: 38%;
  height: 120%;
  background: linear-gradient(180deg, rgba(207,226,255,0.18), rgba(107,168,255,0.10) 40%, transparent 80%);
  filter: blur(40px);
  transform: skewX(-12deg);
  animation: shaft 14s ease-in-out infinite alternate;
  opacity: 0.9;
}
.hero__scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 30%, transparent 75%);
  opacity: 0.4;
}
@keyframes shaft {
  0%   { transform: skewX(-12deg) translateY(0) scale(1); opacity: 0.85; }
  100% { transform: skewX(-12deg) translateY(-30px) scale(1.05); opacity: 1; }
}

/* Architectural blueprint lines that build during scroll */
.hero__blueprint {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
}
.hero__blueprint svg { width: 100%; height: 100%; }
.hero__blueprint .bp-line { stroke: rgba(107,168,255,0.45); stroke-width: 1; fill: none; stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: draw 3s var(--ease-out) forwards; }
.hero__blueprint .bp-line.delay-1 { animation-delay: 0.6s; }
.hero__blueprint .bp-line.delay-2 { animation-delay: 1.0s; }
.hero__blueprint .bp-line.delay-3 { animation-delay: 1.4s; }
.hero__blueprint .bp-dot { fill: var(--blue-bright); opacity: 0; animation: pop 0.6s var(--ease-out) forwards; animation-delay: 2.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop  { to { opacity: 1; } }

.hero__meta {
  position: absolute;
  top: 100px; left: var(--gutter);
  display: flex;
  gap: 32px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 500;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px;}
.hero__meta span::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--blue-bright);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
/* Keep all content in the left portion — panel is 280px wide + gutter from right.
   We leave 340px + gutter of breathing room from the right edge. */
@media (min-width: 1201px) {
  .hero__content { max-width: calc(100% - 280px - 32px); }
}
@media (max-width: 900px) {
  .hero__content { gap: 24px; }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(54px, 7.5vw, 116px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--white);
}
.hero__title .l1, .hero__title .l2 {
  display: block;
  overflow: hidden;
}
.hero__title .word {
  display: inline-block;
  opacity: 0;
  filter: blur(14px);
  transform: translateY(40px);
  animation: reveal-word 1.4s var(--ease-out) forwards;
  margin-right: 0.25em;
}
.hero__title .word:last-child { margin-right: 0; }
.hero__title .l1 .word:nth-child(1) { animation-delay: 0.15s; }
.hero__title .l1 .word:nth-child(2) { animation-delay: 0.30s; }
.hero__title .l2 .word:nth-child(1) { animation-delay: 0.55s; }
.hero__title .l2 .word:nth-child(2) { animation-delay: 0.70s; }
.hero__title .l2 .word:nth-child(3) { animation-delay: 0.85s; }
.hero__title em {
  font-family: var(--font-edit);
  font-style: italic;
  font-weight: 400;
  color: var(--blue-bright);
  letter-spacing: -0.02em;
}
@keyframes reveal-word {
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

.hero__aside {
  align-self: end;
  padding-bottom: 12px;
}
.hero__sub {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 360px;
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 1.2s var(--ease-out) forwards;
  animation-delay: 1.2s;
}
.hero__sub strong { color: var(--text); font-weight: 500; }
@keyframes fade-up { to { opacity: 1; transform: translateY(0); } }

.hero__ctas {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  opacity: 0; transform: translateY(20px);
  animation: fade-up 1.2s var(--ease-out) forwards; animation-delay: 1.4s;
}

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  transition: all .4s var(--ease);
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 40px -8px rgba(46,123,255,0.55), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .9s var(--ease);
}
.btn--primary:hover::after { transform: translateX(100%); }
.btn--primary:hover {
  background: var(--blue-bright);
  transform: translateY(-2px);
  box-shadow: 0 20px 50px -8px rgba(46,123,255,0.7), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--blue-bright);
  transform: translateY(-2px);
}
.btn .arrow {
  width: 18px; height: 18px; transition: transform .4s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

.hero__scroll {
  position: absolute;
  bottom: 32px;
  right: var(--gutter);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-faint);
  text-transform: uppercase;
  z-index: 3;
}
.hero__scroll-track {
  width: 1px; height: 80px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}
.hero__scroll-track::after {
  content: "";
  position: absolute;
  top: -40px; left: 0;
  width: 1px; height: 40px;
  background: linear-gradient(180deg, transparent, var(--blue-bright));
  animation: scroll-pulse 2.4s var(--ease-in-out) infinite;
}
@keyframes scroll-pulse {
  0%   { transform: translateY(0); }
  100% { transform: translateY(120px); }
}

/* HERO photo / spotlight panel — right side */
.hero__panel {
  position: absolute;
  right: var(--gutter);
  top: 44%;
  transform: translateY(-50%);
  width: 280px;
  z-index: 1;
  opacity: 0;
  animation: fade-up 1.6s var(--ease-out) forwards;
  animation-delay: 1.1s;
}
.hero__panel-frame {
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(ellipse at 50% 20%, rgba(107,168,255,0.35), transparent 60%),
    linear-gradient(180deg, #11141c, #050505 80%);
  overflow: hidden;
  position: relative;
  box-shadow:
    0 60px 120px -30px rgba(0,0,0,0.8),
    inset 0 1px 0 rgba(255,255,255,0.06);
}
.hero__panel-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5,5,5,0.85) 100%);
}
.hero__panel-label {
  position: absolute;
  bottom: 18px; left: 18px; right: 18px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero__panel-label strong { color: var(--text); display: block; font-size: 14px; letter-spacing: 0.04em; text-transform: none; margin-bottom: 4px; font-weight: 500; }
@media (min-width: 641px) and (max-width: 1200px) { .hero__panel { display: none; } }

/* Hero marquee strip — luxury detail */
.hero__strip {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(5,5,5,0.6);
  backdrop-filter: blur(20px);
  padding: 16px 0;
  display: flex;
  gap: 64px;
  white-space: nowrap;
  overflow: hidden;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
}
.hero__strip-track {
  display: flex; gap: 64px;
  animation: marquee 35s linear infinite;
  padding-right: 64px;
}
.hero__strip-track span { display: inline-flex; align-items: center; gap: 14px; }
.hero__strip-track span::after {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue-bright);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   SECTION COMMON
   ========================================================= */
section { position: relative; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.section-head__left { max-width: 760px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-bright);
  font-weight: 600;
  margin-bottom: 24px;
}
.eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--blue-bright);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.6vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--white);
}
.section-title em {
  font-family: var(--font-edit);
  font-style: italic;
  font-weight: 400;
  color: var(--blue-bright);
}
.section-lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 440px;
}

/* Reveal-on-scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
[data-reveal].is-in {
  opacity: 1; transform: translateY(0);
}
[data-reveal][data-reveal="blur"] { filter: blur(12px); transition: opacity 1.4s var(--ease-out), transform 1.4s var(--ease-out), filter 1.4s var(--ease-out);}
[data-reveal][data-reveal="blur"].is-in { filter: blur(0); }

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto { padding: 110px 0 80px; }
.manifesto__quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--white);
  max-width: 1100px;
}
.manifesto__quote em {
  font-family: var(--font-edit);
  font-style: italic;
  font-weight: 400;
  color: var(--blue-bright);
}
.manifesto__quote .dim { color: var(--text-faint); }
.manifesto__meta {
  display: flex;
  gap: 64px;
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.manifesto__meta-item { display: flex; flex-direction: column; gap: 4px; }
.manifesto__meta-item .k {
  font-family: var(--font-edit);
  font-style: italic;
  font-size: 44px;
  color: var(--white);
  letter-spacing: -0.02em;
}
.manifesto__meta-item .v {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* =========================================================
   EXPERTISE / SERVICES
   ========================================================= */
.expertise { padding: 90px 0; background: linear-gradient(180deg, #050505 0%, #08080c 50%, #050505 100%); }
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1100px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .services { grid-template-columns: 1fr; } }

.service {
  position: relative;
  padding: 32px 28px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.005));
  overflow: hidden;
  transition: transform .6s var(--ease), border-color .6s var(--ease);
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(46,123,255,0.18), transparent 50%);
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.service::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-bright), transparent);
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.service:hover {
  transform: translateY(-4px);
  border-color: rgba(107,168,255,0.4);
}
.service:hover::before, .service:hover::after { opacity: 1; }

.service__num {
  font-family: var(--font-edit);
  font-style: italic;
  font-size: 14px;
  color: var(--blue-bright);
  letter-spacing: 0.06em;
}
.service__visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  margin: 24px 0;
  position: relative;
  overflow: hidden;
  background: var(--ink-3);
  border: 1px solid var(--line);
}
.service__visual svg { width: 100%; height: 100%; }
.service__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.1;
}
.service__desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-dim);
}
.service__cta {
  margin-top: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  transition: gap .4s var(--ease);
}
.service:hover .service__cta { gap: 14px; color: var(--blue-bright); }

/* Service iconic visuals — minimal architectural */
.visual-paint, .visual-floor, .visual-elec, .visual-renov {
  position: absolute;
  inset: 0;
}
.visual-paint { background:
  linear-gradient(180deg, #0a0a12 0%, #14141a 100%);
}
.visual-floor { background: repeating-linear-gradient(90deg, #0c0c12 0 28px, #14141a 28px 30px); }
.visual-elec  { background: radial-gradient(circle at 50% 50%, rgba(46,123,255,0.2), transparent 60%), #0a0a12; }
.visual-renov { background:
  linear-gradient(180deg, #0a0a12, #050505),
  repeating-linear-gradient(45deg, transparent 0 30px, rgba(255,255,255,0.04) 30px 31px);
}

/* =========================================================
   REALISATIONS GALLERY
   ========================================================= */
.realisations { padding: 90px 0; }
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  grid-auto-rows: 160px;
}

.tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-3);
  cursor: pointer;
  transition: transform .8s var(--ease);
}
.tile__bg {
  position: absolute;
  inset: 0;
  transform: scale(1.08);
  transition: transform 1.4s var(--ease);
}
.tile:hover .tile__bg { transform: scale(1); }

/* Layered "photo" placeholders that evoke architectural interiors */
.scene-1 { background:
  radial-gradient(ellipse at 20% 100%, rgba(207,226,255,0.18), transparent 50%),
  linear-gradient(110deg, #1d2536 0%, #0a0e18 60%),
  linear-gradient(180deg, #1a2230, #0a0e16);
}
.scene-2 { background:
  radial-gradient(ellipse at 80% 0%, rgba(107,168,255,0.25), transparent 60%),
  linear-gradient(160deg, #2b1f17 0%, #100a06 70%);
}
.scene-3 { background:
  radial-gradient(circle at 50% 60%, rgba(255,239,213,0.2), transparent 55%),
  linear-gradient(180deg, #1c1816 0%, #080605 100%);
}
.scene-4 { background:
  radial-gradient(ellipse at 30% 30%, rgba(207,226,255,0.18), transparent 50%),
  linear-gradient(150deg, #131820 0%, #050608 80%);
}
.scene-5 { background:
  radial-gradient(circle at 70% 80%, rgba(46,123,255,0.28), transparent 55%),
  linear-gradient(180deg, #0c1422 0%, #050608 100%);
}
.scene-6 { background:
  radial-gradient(ellipse at 50% 100%, rgba(207,226,255,0.16), transparent 50%),
  linear-gradient(160deg, #221a14 0%, #0a0806 80%);
}

/* Architectural overlay on tiles — adds depth */
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.7) 100%),
    radial-gradient(ellipse at top, rgba(255,255,255,0.05), transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
.tile__caption {
  position: absolute;
  bottom: 22px; left: 24px; right: 24px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.tile__meta { display: flex; flex-direction: column; gap: 4px; }
.tile__meta-cat {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-bright);
}
.tile__meta-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--white);
  line-height: 1.1;
}
.tile__meta-loc {
  font-size: 12px;
  color: var(--text-faint);
}
.tile__num {
  font-family: var(--font-edit);
  font-style: italic;
  font-size: 16px;
  color: var(--text-dim);
}

/* Tile sizes (magazine layout) */
.tile.big   { grid-column: span 7; grid-row: span 3; }
.tile.tall  { grid-column: span 5; grid-row: span 3; }
.tile.wide  { grid-column: span 8; grid-row: span 2; }
.tile.small { grid-column: span 4; grid-row: span 2; }
.tile.med   { grid-column: span 5; grid-row: span 2; }
.tile.med7  { grid-column: span 7; grid-row: span 2; }

@media (max-width: 900px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 320px; }
  .tile.big, .tile.tall, .tile.wide, .tile.small, .tile.med, .tile.med7 { grid-column: span 1; grid-row: span 1; }
}

/* Architectural overlay shapes inside scenes — rooms/windows */
.tile__arch {
  position: absolute; inset: 0;
  opacity: 0.55;
  mix-blend-mode: screen;
}
.tile__arch svg { width: 100%; height: 100%; }

/* =========================================================
   BEFORE / AFTER
   ========================================================= */
.beforeafter { padding: 90px 0; background: linear-gradient(180deg, #050505, #08080c); }
.ba {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: stretch;
}
@media (max-width: 1000px) { .ba { grid-template-columns: 1fr; } }

.ba__viewer {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16/10;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.8);
  user-select: none;
  cursor: ew-resize;
}
.ba__layer { position: absolute; inset: 0; }
.ba__layer--before { z-index: 1; }
.ba__layer--after  { z-index: 2; clip-path: inset(0 0 0 var(--split, 50%)); }
.ba__layer-label {
  position: absolute;
  top: 22px; left: 24px;
  z-index: 3;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
}
.ba__layer--after .ba__layer-label {
  left: auto; right: 24px;
  background: rgba(46,123,255,0.25);
  border-color: rgba(107,168,255,0.4);
  color: var(--white);
}
.ba__divider {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--split, 50%);
  width: 2px;
  background: var(--blue-bright);
  z-index: 4;
  transform: translateX(-50%);
  box-shadow: 0 0 30px rgba(107,168,255,0.6), 0 0 60px rgba(46,123,255,0.4);
}
.ba__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 1px var(--blue-bright), 0 12px 40px rgba(46,123,255,0.5);
  transition: transform .3s var(--ease);
}
.ba__viewer:hover .ba__handle { transform: translate(-50%, -50%) scale(1.08); }
.ba__handle svg { stroke: var(--ink); width: 22px; height: 22px; }

/* Visual scenes for before/after */
.ba-before {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.2)),
    repeating-linear-gradient(95deg, #2a2624 0 40px, #1f1c1a 40px 80px),
    radial-gradient(ellipse at 50% 100%, #100d0c, #1a1614);
  filter: saturate(0.45) brightness(0.7);
}
.ba-before::before, .ba-after::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.6) 100%);
}
.ba-after {
  background:
    radial-gradient(ellipse at 70% 20%, rgba(207,226,255,0.5), transparent 55%),
    radial-gradient(ellipse at 30% 100%, rgba(107,168,255,0.18), transparent 55%),
    linear-gradient(170deg, #e9eef5 0%, #d8dfe8 50%, #b9c4d1 100%);
}
.ba-after::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 100% at 50% 100%, black 30%, transparent 80%);
  opacity: 0.6;
}

.ba__side { display: flex; flex-direction: column; gap: 28px; }
.ba__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}
.ba__title em { font-family: var(--font-edit); font-style: italic; color: var(--blue-bright); font-weight: 400; }
.ba__desc { font-size: 14px; line-height: 1.6; color: var(--text-dim); }

.ba__stats { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.ba__stat {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  transition: all .5s var(--ease);
}
.ba__stat:hover { border-color: rgba(107,168,255,0.4); background: rgba(46,123,255,0.04); }
.ba__stat-k {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  color: var(--white);
  letter-spacing: -0.02em;
}
.ba__stat-k .plus { color: var(--blue-bright); font-family: var(--font-edit); font-style: italic; font-weight: 400; }
.ba__stat-l {
  font-size: 12px;
  color: var(--text-dim);
  text-align: right;
  flex: 1;
  letter-spacing: 0.02em;
}

.ba__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ba__chip {
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-dim);
  cursor: pointer;
  transition: all .35s var(--ease);
}
.ba__chip.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.ba__chip:hover:not(.is-active) {
  border-color: var(--blue-bright);
  color: var(--text);
}

/* =========================================================
   PROCESS / METHOD
   ========================================================= */
.process { padding: 90px 0; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 60px;
}
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 36px 28px;
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  min-height: 280px;
}
.step__num {
  font-family: var(--font-edit);
  font-style: italic;
  font-size: 50px;
  color: var(--blue-bright);
  line-height: 1;
  letter-spacing: -0.02em;
}
.step__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--white);
}
.step__desc { font-size: 13px; line-height: 1.6; color: var(--text-dim); }
.step::after {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 60px; height: 1px;
  background: var(--blue-bright);
}

/* =========================================================
   PROOF / TRUST
   ========================================================= */
.proof { padding: 90px 0; background: linear-gradient(180deg, #050505, #08080c, #050505); }
.proof__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 100px;
  align-items: end;
}
@media (max-width: 900px) { .proof__top { grid-template-columns: 1fr; } }

.kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.kpi {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
}
.kpi__k {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 56px;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
  display: flex; align-items: baseline; gap: 2px;
}
.kpi__k .small { font-size: 22px; color: var(--blue-bright); font-family: var(--font-edit); font-style: italic; font-weight: 400; }
.kpi__l { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); margin-top: 12px; }

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 1000px) { .reviews { grid-template-columns: 1fr; } }
.review {
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.review::before {
  content: "“";
  position: absolute;
  top: -14px; right: 22px;
  font-family: var(--font-edit);
  font-size: 120px;
  color: var(--blue);
  opacity: 0.15;
  line-height: 1;
}
.review__stars {
  display: flex; gap: 3px;
  color: var(--blue-bright);
}
.review__stars svg { width: 14px; height: 14px; fill: currentColor; }
.review__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}
.review__body em { font-family: var(--font-edit); font-style: italic; color: var(--blue-bright); font-weight: 400; }
.review__author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.review__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--blue), var(--blue-bright));
  display: grid; place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}
.review__name { font-size: 14px; font-weight: 500; color: var(--text); }
.review__meta { font-size: 11px; color: var(--text-faint); letter-spacing: 0.04em; }
.review__src { margin-left: auto; font-size: 10px; color: var(--text-faint); letter-spacing: 0.2em; text-transform: uppercase;}

/* Logo strip */
.logos {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.logos__label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.logos__row {
  display: flex; gap: 48px;
  align-items: center;
  flex-wrap: wrap;
}
.logo {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text-dim);
  opacity: 0.7;
  transition: opacity .3s var(--ease);
}
.logo em { font-family: var(--font-edit); font-style: italic; font-weight: 400; color: var(--text); }
.logo:hover { opacity: 1; color: var(--white); }

/* =========================================================
   QUOTE FORM
   ========================================================= */
.devis { padding: 90px 0 120px; position: relative; overflow: hidden; }
.devis::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(46,123,255,0.18), transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 100%, rgba(46,123,255,0.10), transparent 65%);
  pointer-events: none;
}
.devis__wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
  position: relative;
}
@media (max-width: 1000px) { .devis__wrap { grid-template-columns: 1fr; } }

.devis__left { position: sticky; top: 120px; align-self: start; }
.devis__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--white);
  margin-bottom: 28px;
}
.devis__title em { font-family: var(--font-edit); font-style: italic; color: var(--blue-bright); font-weight: 400; }
.devis__lead { font-size: 16px; line-height: 1.55; color: var(--text-dim); max-width: 460px; margin-bottom: 36px; }
.devis__assurances { display: flex; flex-direction: column; gap: 16px; }
.devis__assurance {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 14px;
  color: var(--text);
}
.devis__assurance svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--blue-bright);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.form {
  padding: 44px 40px 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  box-shadow:
    0 60px 120px -30px rgba(0,0,0,0.8),
    inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}
.form::before {
  content: "";
  position: absolute;
  top: 0; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107,168,255,0.6), transparent);
}
.form__step-bar {
  display: flex; gap: 6px;
  margin-bottom: 28px;
}
.form__step-bar span {
  height: 2px;
  flex: 1;
  background: var(--line);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.form__step-bar span.is-done::after,
.form__step-bar span.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue-bright);
}
.form__step-bar span.is-active::after { background: linear-gradient(90deg, var(--blue), var(--blue-bright)); }

.form__step-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 8px;
  font-weight: 600;
}
.form__step-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  color: var(--white);
  letter-spacing: -0.015em;
  margin-bottom: 28px;
}

.form__step { display: none; animation: form-in .5s var(--ease-out); }
.form__step.is-active { display: block; }
@keyframes form-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 540px) { .choices { grid-template-columns: 1fr; } }
.choice {
  padding: 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  transition: all .35s var(--ease);
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  width: 100%;
}
.choice:hover { border-color: rgba(107,168,255,0.5); background: rgba(46,123,255,0.06); }
.choice.is-selected { border-color: var(--blue-bright); background: rgba(46,123,255,0.12); }
.choice__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  flex-shrink: 0;
  color: var(--blue-bright);
}
.choice__icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.choice.is-selected .choice__icon { background: var(--blue); border-color: var(--blue); color: var(--white); }
.choice__t { font-size: 14px; color: var(--text); font-weight: 500; line-height: 1.2; }
.choice__s { font-size: 12px; color: var(--text-faint); margin-top: 2px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .fields { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 500;
}
.field input, .field textarea, .field select {
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
  transition: all .3s var(--ease);
  outline: none;
}
.field textarea { min-height: 100px; resize: vertical; font-family: inherit; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--blue-bright);
  background: rgba(46,123,255,0.06);
  box-shadow: 0 0 0 4px rgba(46,123,255,0.12);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }

.form__nav { display: flex; align-items: center; justify-content: space-between; margin-top: 32px; gap: 16px; }
.form__back {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 0;
}
.form__back:hover { color: var(--blue-bright); }
.form__back[disabled] { opacity: 0.3; cursor: not-allowed; }
.form__progress { font-size: 12px; color: var(--text-faint); }
.form__success {
  text-align: center;
  padding: 20px 0;
}
.form__success svg {
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  color: var(--blue-bright);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}
.form__success h3 { font-family: var(--font-display); font-weight: 500; font-size: 28px; color: var(--white); letter-spacing: -0.02em; margin-bottom: 12px; }
.form__success p { font-size: 14px; color: var(--text-dim); line-height: 1.6; max-width: 400px; margin: 0 auto; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid var(--line);
  padding: 100px var(--gutter) 50px;
  background: var(--ink);
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 900px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__inner { grid-template-columns: 1fr; } }
.footer__brand-logo {
  width: 88px;
  margin-bottom: 18px;
}
.footer__brand-logo svg { width: 100%; height: auto; }
.footer__brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer__brand-tag {
  font-family: var(--font-edit);
  font-style: italic;
  color: var(--blue-bright);
}
.footer__brand-desc { font-size: 13px; line-height: 1.6; color: var(--text-dim); max-width: 280px; }
.footer__col h5 {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color .3s var(--ease);
}
.footer__col a:hover { color: var(--blue-bright); }
.footer__bottom {
  max-width: var(--container);
  margin: 80px auto 0;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 16px;
}

/* =========================================================
   WHATSAPP BUBBLE + NOTIFICATION
   ========================================================= */
.wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 16px;
}
.wa__btn {
  position: relative;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center;
  box-shadow: 0 12px 40px rgba(37,211,102,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
  cursor: pointer;
  transition: transform .35s var(--ease);
}
.wa__btn:hover { transform: scale(1.08); }
.wa__btn::before, .wa__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: ping 2.6s var(--ease-out) infinite;
}
.wa__btn::after { animation-delay: 1.3s; }
@keyframes ping {
  0%   { opacity: 0.5; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.8); }
}
.wa__btn svg { width: 30px; height: 30px; fill: var(--white); }

.wa__notif {
  width: 320px;
  background: linear-gradient(180deg, rgba(20,22,28,0.95), rgba(10,11,14,0.95));
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 18px 18px 16px;
  display: none;
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  transition: all .5s var(--ease);
  backdrop-filter: blur(24px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(107,168,255,0.1), 0 0 40px rgba(46,123,255,0.15);
  position: relative;
}
.wa__notif.is-shown { display: block; }
.wa__notif.is-open { transform: translateY(0) scale(1); opacity: 1; }
.wa__notif::after {
  content: "";
  position: absolute;
  bottom: -7px; right: 28px;
  width: 14px; height: 14px;
  background: linear-gradient(135deg, transparent 50%, rgba(10,11,14,0.95) 50%);
  transform: rotate(45deg);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.wa__notif-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
}
.wa__notif-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(140deg, #25D366, #128C7E);
  display: grid; place-items: center;
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-display);
  position: relative;
}
.wa__notif-avatar::after {
  content: "";
  position: absolute;
  bottom: -2px; right: -2px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #25D366;
  border: 2px solid #14161c;
}
.wa__notif-name { font-size: 14px; font-weight: 600; color: var(--white); line-height: 1.2; }
.wa__notif-status { font-size: 11px; color: var(--text-faint); margin-top: 2px; letter-spacing: 0.02em;}
.wa__notif-close {
  margin-left: auto;
  color: var(--text-faint);
  padding: 4px;
  font-size: 16px;
  line-height: 1;
}
.wa__notif-msg {
  background: rgba(46,123,255,0.08);
  border: 1px solid rgba(107,168,255,0.12);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
}
.wa__notif-msg strong { display: block; margin-bottom: 4px; font-size: 13px; color: var(--white); font-weight: 600; }
.wa__notif-cta {
  margin-top: 12px;
  width: 100%;
  padding: 12px 16px;
  background: #25D366;
  color: var(--white);
  border-radius: 12px;
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .3s var(--ease);
}
.wa__notif-cta:hover { background: #1faa53; }
.wa__notif-cta svg { width: 16px; height: 16px; fill: currentColor; }

@media (max-width: 540px) {
  .wa { bottom: 18px; right: 18px; }
  .wa__notif { width: calc(100vw - 36px); max-width: 320px; }
}

/* =========================================================
   UTIL — text stagger lines
   ========================================================= */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.stagger.is-in > * { opacity: 1; transform: translateY(0); }
.stagger.is-in > *:nth-child(2) { transition-delay: .08s; }
.stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.stagger.is-in > *:nth-child(4) { transition-delay: .24s; }
.stagger.is-in > *:nth-child(5) { transition-delay: .32s; }
.stagger.is-in > *:nth-child(6) { transition-delay: .40s; }
.stagger.is-in > *:nth-child(7) { transition-delay: .48s; }
.stagger.is-in > *:nth-child(8) { transition-delay: .56s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}

/* Splash hidden on desktop/tablet (mobile-only) */
#splash { display: none; }

/* =========================================================
   RESPONSIVE — TABLET (≤ 900px)
   ========================================================= */
@media (max-width: 900px) {
  /* Nav — hide subtitle on tablet so name doesn't wrap */
  .nav__brand-sub { display: none; }

  /* Hero meta geographic tags — too noisy on smaller screens */
  .hero__meta { display: none; }

  /* Section padding reductions */
  .manifesto { padding: 120px 0 80px; }
  .expertise { padding: 100px 0; }
  .realisations { padding: 100px 0; }
  .beforeafter { padding: 100px 0; }
  .process { padding: 100px 0; }
  .proof { padding: 100px 0; }
  .devis { padding: 100px 0 120px; }

  /* Section heading gap */
  .section-head { margin-bottom: 56px; }

  /* Manifesto meta gap */
  .manifesto__meta { gap: 40px; margin-top: 56px; }

  /* BA viewer aspect ratio on small desktop/tablet */
  .ba__viewer { aspect-ratio: 16/9; }

  /* Devis left sticky: remove sticky on small screens */
  .devis__left { position: static; }

  /* Footer bottom flex-wrap nicely */
  .footer__bottom { margin-top: 56px; }
}

/* =========================================================
   RESPONSIVE — MOBILE (≤ 640px)
   ========================================================= */
@media (max-width: 640px) {
  /* ── Nav ── */
  .nav { padding: 14px var(--gutter); }
  /* Hide the brand name text on small phones — keep only logo mark */
  .nav__brand-name { display: none; }
  /* Shrink CTA button so it fits beside logo */
  .nav__cta { padding: 9px 14px; font-size: 12px; gap: 7px; }
  .nav__cta-dot { width: 5px; height: 5px; }

  /* ── Hero ── */
  .hero { padding: 96px var(--gutter) 56px; }
  /* Stack hero CTAs vertically */
  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero__ctas .btn { justify-content: center; }
  /* Hide scroll indicator (no room + not useful on touch) */
  .hero__scroll { display: none; }
  /* Tighten hero aside — left-align on mobile */
  .hero__aside { padding-bottom: 0; align-self: auto; }
  .hero__sub { font-size: 15px; max-width: 100%; }

  /* Panel image — small version top-right on mobile */
  .hero__panel {
    display: block;
    width: 110px;
    top: 84px;
    right: var(--gutter);
    transform: none;
    opacity: 1;
    animation: none;
  }

  /* ── Manifesto ── */
  .manifesto { padding: 80px 0 60px; }
  .manifesto__quote { font-size: 22px; }
  .manifesto__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; margin-top: 40px; flex-direction: unset; }
  .manifesto__meta-item .k { font-size: 38px; }

  /* ── Sections — reduce padding further ── */
  .expertise, .realisations, .beforeafter, .process, .proof { padding: 72px 0; }
  .devis { padding: 72px 0 80px; }
  .section-head { margin-bottom: 40px; gap: 24px; }

  /* ── Services / expertise cards ── */
  .service { min-height: auto; }

  /* ── Gallery ── */
  .gallery { grid-auto-rows: 260px; }

  /* ── Before/After ── */
  .ba__viewer { aspect-ratio: 4/3; }

  /* ── Steps ── */
  .steps { gap: 12px; }

  /* ── Process / methode ── */
  .process { padding: 72px 0; }

  /* ── Reviews grid — 1 col already at 1000px, just tighten ── */
  .reviews { gap: 12px; }

  /* ── Form ── */
  .form { padding: 32px 24px; }

  /* ── Footer ── */
  .footer { padding: 80px 0 60px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer__brand-logo { width: 72px; }

  /* ── Section titles — ensure they scale on smallest phones ── */
  .section-title { letter-spacing: -0.02em; }

  /* ── Splash screen ── */
  #splash {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.55s ease, visibility 0.55s ease;
  }
  #splash.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .splash__img {
    width: 80%;
    max-width: 300px;
    height: auto;
  }
}

/* =========================================================
   RESPONSIVE — SMALL PHONE (≤ 400px)
   ========================================================= */
@media (max-width: 400px) {
  /* Adjust hero title clamp floor on very small phones */
  .hero__title { font-size: clamp(36px, 13vw, 54px); }
  /* Devis form */
  .form { padding: 24px 18px; }
  /* Nav brand mark slightly smaller */
  .nav__brand-mark { width: 50px; height: 28px; }
}
