@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap");

:root{
  --bg: #07111f;
  --bg2: #0a1a2d;
  --card: rgba(255,255,255,.055);
  --card2: rgba(255,255,255,.09);
  --text: rgba(245,251,255,.96);
  --muted: rgba(216,233,244,.72);
  --line: rgba(157,209,234,.18);

  --primary: #32c7ff;
  --primary2: #19a2ff;
  --accent: #8ecbff;
  --shadow: 0 18px 48px rgba(2,8,18,.42);
  --title-font: "Space Grotesk", "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --body-font: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;

  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --header-offset: 92px;
}

*{ box-sizing:border-box; }
html{
  scroll-behavior:smooth;
  scroll-padding-top: var(--header-offset);
}
[id]{ scroll-margin-top: var(--header-offset); }
body{
  margin:0;
  font-family: var(--body-font);
  background: radial-gradient(1200px 620px at 18% -12%, rgba(50,199,255,.24), transparent 58%),
              radial-gradient(1000px 560px at 100% 8%, rgba(84,156,255,.18), transparent 63%),
              radial-gradient(980px 620px at 70% 120%, rgba(25,162,255,.16), transparent 66%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  overflow-x: hidden;
  padding-bottom: clamp(140px, 20vh, 240px);
  line-height:1.6;
}

h1, h2, h3, .brand__name{
  font-family: var(--title-font);
}

p{
  max-width: 74ch;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible{
  outline: 2px solid rgba(50,199,255,.9);
  outline-offset: 2px;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{
  width:min(1160px, calc(100% - 32px));
  margin-inline:auto;
}

.glow{
  position:fixed;
  inset:-200px -200px auto -200px;
  height:420px;
  background: radial-gradient(circle at 30% 40%, rgba(37,183,255,.25), transparent 65%);
  filter: blur(20px);
  pointer-events:none;
  z-index:0;
}

.splash-screen{
  position:fixed;
  inset:0;
  z-index:120;
  display:grid;
  place-items:center;
  background: radial-gradient(1200px 600px at 20% -10%, rgba(37,183,255,.18), transparent 60%),
              radial-gradient(900px 500px at 90% 20%, rgba(27,107,255,.16), transparent 65%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  opacity:1;
  visibility:visible;
  transition: opacity .45s ease, visibility .45s ease;
}

.splash-screen.is-hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

html.splash-disabled .splash-screen{
  display:none;
}

.splash-screen__logo{
  width: min(340px, 72vw);
  filter: drop-shadow(0 8px 28px rgba(0,0,0,.35));
  animation: splashPulse 1.2s ease-in-out infinite;
}

@keyframes splashPulse{
  0%, 100%{ transform: scale(1); }
  50%{ transform: scale(1.03); }
}

.header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(7,17,31,.86), rgba(7,17,31,.72));
  border-bottom:1px solid rgba(157,209,234,.16);
  overflow:visible;
}

.header .container{
  width:min(1320px, calc(100% - 24px));
}

@keyframes headerEnter{
  0%{
    opacity:0;
    transform: translateY(-12px);
  }
  100%{
    opacity:1;
    transform: translateY(0);
  }
}

.header__inner{
  position:relative;
  display:grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items:center;
  gap:12px;
  padding:14px 0;
}

.brand{ display:flex; align-items:center; gap:10px; flex-shrink:0; z-index:2; }
.brand__mark{ width:34px; height:34px; border-radius:10px; }
.brand__text{ display:flex; flex-direction:column; line-height:1.05; }
.brand__name{ font-weight:800; letter-spacing:.6px; }
.brand__subtitle{ font-size:11px; color:var(--muted); letter-spacing:.3px; margin-top:2px; }

.nav{
  position:relative;
  justify-self:center;
  width: fit-content;
  max-width: min(100%, 760px);
  display:flex;
  justify-content:center;
  align-items:center;
  gap:4px;
  padding:6px;
  border-radius: 16px;
  border:1px solid rgba(157,209,234,.2);
  background: rgba(14,30,51,.62);
  white-space: nowrap;
  z-index:1;
}
.nav a{
  color:var(--muted);
  font-weight:700;
  font-size:15px;
  line-height:1;
  padding:10px 12px;
  border-radius: 12px;
  white-space: nowrap;
  transition: background .12s ease, color .12s ease;
}
.nav a:hover{
  color:var(--text);
  background: rgba(50,199,255,.14);
}

.header__social{ display:flex; align-items:center; gap:8px; }
.header__actions-row{
  display:flex;
  justify-content:center;
}
.header__actions{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-shrink:0;
  padding:6px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(5,10,24,.82);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.social-icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius: 12px;
  border:1px solid var(--line);
  background: transparent;
  color: var(--text);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.social-icon:hover{
  transform: translateY(-1px);
  background: transparent;
  border-color: rgba(37,183,255,.35);
}
.social-icon svg{
  width:18px;
  height:18px;
  fill: currentColor;
}
.header__cta{
  justify-self:end;
  display:flex;
  align-items:center;
  gap:8px;
  min-width: 0;
  position:relative;
  z-index:2;
}
.header__btn--invest,
.header__btn--quote{
  padding:10px 12px;
  border-radius: 12px;
  line-height:1;
  white-space: nowrap;
}

.lang-switch{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px;
  border:1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
}

.lang-switch__btn{
  min-width: 42px;
  padding:7px 8px;
  border:1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-weight:800;
  cursor:pointer;
}

.lang-switch__btn:hover{
  color: var(--text);
  background: rgba(255,255,255,.06);
}

.lang-switch__btn.is-active{
  color:#071025;
  border-color: rgba(37,183,255,.35);
  background: linear-gradient(135deg, rgba(37,183,255,.95), rgba(27,107,255,.90));
}

.lang-switch--mobile{
  width:100%;
  justify-content:center;
}
.burger{
  display:none;
  width:44px; height:44px;
  margin-left:auto;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.burger span{ display:block; height:2px; margin:7px 10px; background: rgba(255,255,255,.85); border-radius:99px; }

.mobile-nav{
  display:none;
  padding:10px 16px 16px;
  border-top:1px solid var(--line);
}
.mobile-nav a{
  display:block;
  padding:12px 12px;
  border-radius:14px;
  color:var(--muted);
  border:1px solid transparent;
}
.mobile-nav a:hover{
  color:var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,.04);
}
.mobile-nav__actions{
  display:grid;
  gap:10px;
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid var(--line);
}
.mobile-nav__actions .btn{
  width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}
  .mobile-nav__actions .lang-switch{
    width:100%;
  }
.mobile-nav__actions .btn svg{
  width:16px;
  height:16px;
  fill: currentColor;
  flex-shrink:0;
}

.header.is-animated .brand,
.header.is-animated .nav,
.header.is-animated .header__cta,
.header.is-animated .nav a,
.header.is-animated .social-icon{
  opacity:0;
  transform: translateY(-10px) scale(.9);
}

@keyframes bubbleAppear{
  0%{
    opacity:0;
    transform: translateY(-16px) scale(.68);
    filter: blur(3px);
  }
  62%{
    opacity:1;
    transform: translateY(2px) scale(1.06);
    filter: blur(0);
  }
  100%{
    opacity:1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.header.is-revealed .brand{
  animation: bubbleAppear .5s cubic-bezier(.2,.85,.25,1) both;
}

.header.is-revealed .nav{
  animation: bubbleAppear .55s cubic-bezier(.2,.85,.25,1) .06s both;
}

.header.is-revealed .header__cta{
  animation: bubbleAppear .55s cubic-bezier(.2,.85,.25,1) .14s both;
}

@media (min-width: 981px){
  .header__actions-row{
    position:absolute;
    left:0;
    right:0;
    top:100%;
    padding-top:8px;
    opacity: 0;
    visibility:hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  .header.is-social-open .header__actions-row{
    opacity: 1;
    visibility:visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.header.is-revealed .nav a{
  animation: bubbleAppear .46s cubic-bezier(.2,.85,.25,1) both;
}

.header.is-revealed .nav a:nth-child(1){ animation-delay:.12s; }
.header.is-revealed .nav a:nth-child(2){ animation-delay:.15s; }
.header.is-revealed .nav a:nth-child(3){ animation-delay:.18s; }
.header.is-revealed .nav a:nth-child(4){ animation-delay:.21s; }
.header.is-revealed .nav a:nth-child(5){ animation-delay:.24s; }
.header.is-revealed .nav a:nth-child(6){ animation-delay:.27s; }
.header.is-revealed .nav a:nth-child(7){ animation-delay:.30s; }

.header.is-revealed .social-icon{
  animation: bubbleAppear .46s cubic-bezier(.2,.85,.25,1) both;
}

.header.is-revealed .social-icon:nth-child(1){ animation-delay:.26s; }
.header.is-revealed .social-icon:nth-child(2){ animation-delay:.3s; }
.header.is-revealed .social-icon:nth-child(3){ animation-delay:.34s; }

@media (prefers-reduced-motion: reduce){
  .header.is-animated .brand,
  .header.is-animated .nav,
  .header.is-animated .header__cta,
  .header.is-animated .nav a,
  .header.is-animated .social-icon,
  .header.is-revealed .brand,
  .header.is-revealed .nav,
  .header.is-revealed .header__cta,
  .header.is-revealed .nav a,
  .header.is-revealed .social-icon{
    animation:none !important;
    opacity:1;
    transform:none;
    filter:none;
  }

  .section.is-anchor-target{
    animation:none;
  }
}

.hero{ padding:64px 0 28px; position:relative; z-index:1; }
.hero::before{
  content:"";
  position:absolute;
  inset:12px 0 auto;
  height: 280px;
  background:
    radial-gradient(circle at 14% 18%, rgba(84,156,255,.24), transparent 42%),
    radial-gradient(circle at 85% 22%, rgba(50,199,255,.2), transparent 40%);
  pointer-events:none;
  z-index:-1;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:22px;
  align-items:stretch;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius: 999px;
  border:1px solid rgba(84,156,255,.3);
  background: rgba(50,199,255,.1);
  color:var(--muted);
  font-weight:700;
  font-size:14px;
}
.hero__content .pill{
  display:flex;
  width: fit-content;
  margin-inline:auto;
}

h1{
  margin:14px 0 10px;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height:1.08;
  letter-spacing:-.02em;
}
.hero__content h1{ text-align:center; }
.hero__title-brand{
  display:block;
  letter-spacing:.02em;
}
.hero__title-copy{
  display:block;
  max-width: none;
  margin: 6px auto 0;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .hero__title-copy { white-space: normal; }
}
.hero__content .lead{ text-align:center; }
.lead{ color:var(--muted); font-size:18px; line-height:1.5; margin:0 0 18px; }

.hero__actions{ display:flex; gap:12px; flex-wrap:wrap; margin:14px 0 14px; justify-content:center; }

.hero__badges{ display:flex; gap:10px; flex-wrap:wrap; margin-top:10px; }
.badge{
  padding:10px 12px;
  border-radius: 999px;
  border:1px solid rgba(157,209,234,.22);
  background: rgba(14,30,51,.68);
  color:rgba(229,243,252,.9);
  font-weight:700;
  font-size:13px;
}

.section{ padding:56px 0; position:relative; z-index:1; }
.section.is-anchor-target{
  animation: sectionTargetPulse .72s cubic-bezier(.2,.85,.25,1);
}

@keyframes sectionTargetPulse{
  0%{
    transform: translateY(16px);
    opacity:.65;
    filter: saturate(.85);
  }
  55%{
    transform: translateY(-3px);
    opacity:1;
    filter: saturate(1.08);
  }
  100%{
    transform: translateY(0);
    opacity:1;
    filter: none;
  }
}

.section__head{ margin-bottom:18px; }
.section__head h2{
  margin:0 0 8px;
  font-size: clamp(24px, 2.2vw, 34px);
  letter-spacing:-.02em;
}
.section__head p{ margin:0; color:var(--muted); font-size:17px; }

.projects-group-title{
  margin:22px 0 12px;
  font-size: clamp(20px, 1.7vw, 26px);
  letter-spacing:-.01em;
}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}

#realisations-list > .project:only-child,
#featured-projects > .project:only-child{
  grid-column: 1 / -1;
}

#featured-projects > .project:only-child{
  position:relative;
  overflow:hidden;
  border-color: rgba(37,183,255,.2);
  background:
    radial-gradient(circle at top right, rgba(37,183,255,.14), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
}

@media (min-width: 981px){
  #realisations-list > .project:only-child{
    display:grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    grid-template-areas:
      "top media"
      "lead media"
      "points media"
      "cta media";
    align-items:start;
    column-gap:18px;
  }

  #featured-projects > .project:only-child{
    display:grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
    grid-template-areas:
      "top gallery"
      "lead gallery"
      "points gallery"
      "stack gallery"
      "cta gallery";
    align-items:start;
    column-gap:20px;
  }

  #realisations-list > .project:only-child .project__top,
  #featured-projects > .project:only-child .project__top{
    grid-area: top;
    width:100%;
    justify-content:space-between;
  }
  #realisations-list > .project:only-child .project__lead{ grid-area: lead; }
  #featured-projects > .project:only-child .project__lead{ grid-area: lead; }
  #realisations-list > .project:only-child .project__points{ grid-area: points; }
  #featured-projects > .project:only-child .project__points{ grid-area: points; }
  #realisations-list > .project:only-child .project__media{
    grid-area: media;
    margin-top:0;
    align-self:center;
    justify-self:end;
    width:min(100%, 430px);
  }
  #featured-projects > .project:only-child .project__gallery{
    grid-area: gallery;
    margin-top:0;
    align-self:center;
    justify-self:end;
    width:min(100%, 270px);
    box-shadow: 0 20px 44px rgba(0,0,0,.26);
  }
  #featured-projects > .project:only-child .stack{
    grid-area: stack;
    margin-top:10px;
    padding-top:0;
    justify-content:flex-start;
  }
  #realisations-list > .project:only-child .cta-row{
    grid-area: cta;
    margin-top:14px;
    justify-content:center;
  }
  #featured-projects > .project:only-child .cta-row{
    grid-area: cta;
    margin-top:14px;
    padding-top:0;
    justify-content:center;
  }
}

.card{
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border:1px solid rgba(157,209,234,.18);
  box-shadow: var(--shadow);
}

.feature{ padding:18px; }
.feature{
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.feature:hover{
  transform: translateY(-3px);
  border-color: rgba(84,156,255,.32);
  background: linear-gradient(180deg, rgba(84,156,255,.12), rgba(255,255,255,.03));
}
.icon{
  width:44px; height:44px;
  display:grid; place-items:center;
  border-radius: 16px;
  background: transparent;
  border:1px solid rgba(84,156,255,.34);
  margin-bottom:12px;
  font-size:20px;
}
.feature h3{ margin:0 0 8px; }
.feature p{ margin:0; color:var(--muted); line-height:1.55; }

.hero__visual{ padding:18px; display:flex; flex-direction:column; justify-content:space-between; gap:12px; }
.hero__logo{ border-radius: 18px; border:1px solid rgba(157,209,234,.18); background: rgba(0,0,0,.15); padding:10px; }
.hero__stats{ display:grid; grid-template-columns: repeat(3, 1fr); gap:8px; }
.stat{
  border-radius: 16px;
  border:1px solid rgba(157,209,234,.2);
  background: rgba(14,30,51,.72);
  padding:12px 10px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:4px;
}
.stat__k{ display:block; font-weight:900; font-size:17px; color:var(--accent); line-height:1; }
.stat__t{ display:block; color:var(--muted); font-size:11px; line-height:1.3; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:10px;
  padding:12px 14px;
  border-radius: 16px;
  border:1px solid var(--line);
  font-weight:800;
  letter-spacing:.2px;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  user-select:none;
}
.btn:hover{ transform: translateY(-1px); }
.btn--primary{
  border-color: rgba(84,156,255,.45);
  background: linear-gradient(135deg, rgba(50,199,255,.96), rgba(25,162,255,.9));
  color: #f4fbff;
}
.btn--ghost{
  background: rgba(14,30,51,.62);
  color: var(--text);
}
.btn:disabled,
.btn.is-disabled{
  opacity:.6;
  cursor:not-allowed;
  pointer-events:none;
  transform:none;
}

.filters{ display:flex; gap:10px; flex-wrap:wrap; margin: 10px 0 16px; }
.realisations-intro{
  padding:16px;
  margin-bottom:14px;
  border-radius: var(--r-md);
  border:1px solid rgba(84,156,255,.28);
  background: linear-gradient(140deg, rgba(84,156,255,.14), rgba(255,255,255,.03));
}
.realisations-intro p{
  margin:0;
  color: rgba(255,255,255,.88);
  line-height:1.5;
  font-weight:400;
}
.realisations-intro__chips{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:12px;
}
.realisations-intro__chips span{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight:700;
  font-size:12px;
}
.chip{
  padding:10px 12px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-weight:800;
  cursor:pointer;
}
.chip.is-active{
  color:#071025;
  border-color: rgba(37,183,255,.35);
  background: linear-gradient(135deg, rgba(37,183,255,.95), rgba(27,107,255,.90));
}

.project{
  padding:18px;
  display:flex;
  flex-direction:column;
  height:100%;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.project:hover{
  transform: translateY(-3px);
  border-color: rgba(84,156,255,.3);
  box-shadow: 0 24px 46px rgba(2,8,18,.44);
}
.project__top{ display:flex; justify-content:space-between; gap:10px; align-items:flex-start; }
.project h3{ margin:0; }
.project__lead{
  margin: 12px 0 0;
  color: rgba(255,255,255,.9);
  line-height: 1.5;
  font-weight:600;
}
.project__points{
  margin:12px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:8px;
}
.project__points li{
  position:relative;
  padding:10px 12px 10px 28px;
  border-radius: 12px;
  border:1px solid rgba(157,209,234,.18);
  background: rgba(12,27,47,.62);
  color: var(--muted);
  line-height:1.45;
}
.project__points li::before{
  content:"";
  position:absolute;
  left:12px;
  top:50%;
  width:8px;
  height:8px;
  border-radius:999px;
  transform: translateY(-50%);
  background: linear-gradient(135deg, rgba(37,183,255,.95), rgba(27,107,255,.90));
}
.tag{
  padding:8px 10px;
  border-radius: 999px;
  border:1px solid rgba(84,156,255,.34);
  background: rgba(84,156,255,.18);
  color: rgba(255,255,255,.85);
  font-weight:800;
  font-size:12px;
}
.muted{ color:var(--muted); }
.small{ font-size:12px; }
.stack{ display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.stack span{
  padding:8px 10px;
  border-radius: 999px;
  border:1px solid rgba(157,209,234,.18);
  background: rgba(12,27,47,.58);
  color: var(--muted);
  font-weight:800;
  font-size:12px;
}

.project__gallery{
  margin-top:12px;
  position:relative;
  overflow:hidden;
  width: clamp(160px, 22vw, 210px);
  aspect-ratio: 9 / 19.5;
  min-height: unset;
  margin-inline:auto;
  border-radius: 24px;
  padding: 6px;
  border:1px solid rgba(157,209,234,.18);
  background: rgba(12,27,47,.68);
}

.project__gallery img{
  width:100%;
  height:100%;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.2);
}

.project__gallery[data-blur-reveal] img{
  filter: blur(16px);
  transform: scale(1.04);
  transition: filter .28s ease, transform .28s ease, opacity .35s ease;
}

.project__gallery[data-blur-reveal]:is(:hover, :focus-within, .is-revealed) img{
  filter: blur(0);
  transform: scale(1);
}

.project__blur-toggle{
  position:absolute;
  left:50%;
  bottom:14px;
  transform: translateX(-50%);
  z-index:3;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  width: calc(100% - 28px);
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(5,10,24,.82);
  backdrop-filter: blur(12px);
  color: var(--text);
  font-weight:800;
  font-size:12px;
  letter-spacing:.01em;
  cursor:pointer;
  box-shadow: 0 10px 22px rgba(0,0,0,.24);
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease, background .2s ease;
}

.project__blur-toggle:hover{
  border-color: rgba(37,183,255,.35);
  background: rgba(9,18,42,.92);
}

.project__gallery[data-blur-reveal]:is(:hover, :focus-within, .is-revealed) .project__blur-toggle{
  opacity:0;
  pointer-events:none;
  transform: translateX(-50%) translateY(4px);
}

.project__gallery--slider img{
  position:absolute;
  inset:0;
  opacity:0;
  transition: opacity .35s ease;
}

.project__gallery--slider img.is-visible{
  opacity:1;
}

.project__media{
  margin-top:12px;
  position:relative;
  border-radius: var(--r-md);
  overflow:hidden;
  border:1px solid rgba(157,209,234,.18);
  background: rgba(12,27,47,.62);
  aspect-ratio: 16 / 9;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:6px;
}

.project__media img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

.project__media--slider{
  display:block;
}

.project__media--slider img{
  position:absolute;
  inset:6px;
  width:calc(100% - 12px);
  height:calc(100% - 12px);
  opacity:0;
  transition: opacity .35s ease;
}

.project__media--slider img.is-visible{
  opacity:1;
}

.project__media--cover img{ object-fit: cover; }
.project__media--contain img{ object-fit: contain; }

.project .stack{
  margin-top:auto;
  padding-top:12px;
}

#projets .project .stack{
  justify-content:center;
}

#featured-projects .project .stack,
#featured-projects .project .cta-row{
  justify-content:center;
}

#projets .project .cta-row{
  justify-content:center;
  width:100%;
  margin-top:auto;
  padding-top:14px;
}

#projets .project .cta-row .btn{
  min-width: 240px;
}

.realisations__links{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--line);
  justify-content:center;
}

#projets .realisations__links{
  margin-top:auto;
  border-top: none;
  padding-top: 12px;
}

.slider-arrow{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width:32px;
  height:32px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(5,10,24,.75);
  color: var(--text);
  display:grid;
  place-items:center;
  font-size:24px;
  line-height:1;
  cursor:pointer;
  z-index:2;
}

.slider-arrow:hover{
  background: rgba(27,107,255,.45);
}

.project__gallery[data-blur-reveal] .slider-arrow{
  opacity:0;
  pointer-events:none;
}

.project__gallery[data-blur-reveal]:is(:hover, :focus-within, .is-revealed) .slider-arrow{
  opacity:1;
  pointer-events:auto;
}

.slider-arrow--prev{ left:10px; }
.slider-arrow--next{ right:10px; }

.cta-row{ display:flex; gap:12px; flex-wrap:wrap; margin-top:16px; justify-content:center; }
.coffee-cta{ justify-content:center; margin-top:14px; }

.about{ padding:24px; display:block; }
.about__list{ display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
.about__item{
  padding:10px 12px;
  border-radius: 999px;
  border:1px solid rgba(157,209,234,.2);
  background: rgba(12,27,47,.58);
  color: var(--muted);
  font-weight:800;
  font-size:13px;
}

.link{
  display:inline-flex;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight:800;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.social{ display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }

.form{ padding:18px; }
.field{ display:flex; flex-direction:column; gap:8px; margin-bottom:12px; }
label{ color: var(--muted); font-weight:800; font-size:13px; }
input, textarea{
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius: 16px;
  padding:12px 12px;
  color: var(--text);
  outline:none;
}
input:focus, textarea:focus{
  border-color: rgba(37,183,255,.35);
  box-shadow: 0 0 0 4px rgba(37,183,255,.10);
}
.hidden{ display:none; }

.investors{
  padding:18px;
}

.investors__intro{
  margin:0;
  color: rgba(255,255,255,.88);
  line-height:1.55;
  font-weight:600;
}

.investors__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
  margin-top:14px;
}

.investor-item{
  border:1px solid rgba(157,209,234,.18);
  border-radius: var(--r-md);
  background: rgba(12,27,47,.58);
  padding:14px;
}

.investor-item h3{
  margin:0;
}

.investor-item ul{
  margin:10px 0 0;
  padding-left:18px;
  color: var(--muted);
  display:grid;
  gap:8px;
}

.investors__actions{
  margin-top:16px;
  display:flex;
  justify-content:center;
}

.contact-card{ padding:18px; text-align:center; }
.section#contact .section__head{ text-align:left; }
.section#contact .section__head p{ max-width: 60ch; margin-inline:0; }
.contact-card h3{ margin:0; }
.contact-card > .muted{ margin:10px 0 0; }
.contact-lines{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:10px;
  margin-top:14px;
  width:100%;
}
.contact-social-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  min-width: 0;
  padding:10px 14px;
  border-radius: 12px;
  border:1px solid rgba(157,209,234,.18);
  background: rgba(12,27,47,.58);
  color: var(--text);
  font-weight:800;
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
}
.contact-social-link:hover{
  background: rgba(18,38,63,.8);
  border-color: rgba(84,156,255,.4);
  transform: translateY(-1px);
}
.contact-social-link svg{
  width:16px;
  height:16px;
  fill: currentColor;
}
.contact-social-link--email{
  grid-column: 2;
}
.contact-legal{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.divider{ height:1px; background: var(--line); margin:16px 0; }

.footer{
  padding:26px 0 40px;
  border-top:1px solid rgba(157,209,234,.16);
  background: rgba(2,8,18,.28);
}
.footer__inner{ display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; }
.footer__brand{ display:flex; align-items:center; gap:12px; }
.footer__brand img{ width:34px; height:34px; border-radius:10px; }
.scroll-top-fab{
  position:fixed;
  right:max(16px, env(safe-area-inset-right));
  bottom:max(16px, env(safe-area-inset-bottom));
  width:52px;
  height:52px;
  border-radius: 999px;
  border:1px solid rgba(84,156,255,.45);
  background: linear-gradient(135deg, rgba(50,199,255,.96), rgba(25,162,255,.9));
  color:#f4fbff;
  font-size:22px;
  font-weight:900;
  display:grid;
  place-items:center;
  box-shadow: 0 14px 34px rgba(0,0,0,.38);
  cursor:pointer;
  z-index:70;
  opacity:0;
  transform: translateY(10px) scale(.92);
  pointer-events:none;
  transition: opacity .2s ease, transform .2s ease;
}

.scroll-top-fab.is-visible{
  opacity:1;
  transform: translateY(0) scale(1);
  pointer-events:auto;
}

.scroll-top-fab:hover{
  transform: translateY(-2px) scale(1.02);
}

.legal-card{
  padding:18px;
  display:grid;
  gap:14px;
}
.legal-card ul.muted{
  margin:8px 0 0;
  padding-left:20px;
  color: var(--muted);
  line-height:1.7;
}
.legal-contact-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
  margin-top:14px;
}
.legal-contact-item{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:14px;
  border:1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.03);
}
.legal-contact-label{
  color: var(--muted);
  font-size:12px;
  font-weight:800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

@media (max-width: 980px){
  .header__inner{ grid-template-columns: 1fr auto; gap:10px; }
  .header__actions-row{ display:none; }
  .header__cta{ display:none; }
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__stats{ grid-template-columns: repeat(3,1fr); }
  .grid3{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .about{ grid-template-columns: 1fr; }
  .investors__grid{ grid-template-columns: 1fr; }
  .legal-contact-grid{ grid-template-columns: 1fr; }
  .nav{ display:none; }
  .burger{ display:inline-block; }
  .mobile-nav.is-open{ display:block; }
  .section{ padding:46px 0; }
  .project__gallery{ width: clamp(150px, 45vw, 190px); }
  .section__head p{ font-size:16px; }
}

@media (min-width: 981px){
  #projects.grid3{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1220px){
  .brand__name{ font-size:15px; }
  .nav{ width: clamp(500px, 58vw, 700px); }
  .nav a{ font-size:14px; padding:9px 10px; }
  .header__social{ display:none; }
}

@media (max-width: 1420px){
  .header__inner{ gap:12px; }
  .nav{ padding:5px; }
  .nav a{ font-size:13px; padding:8px 9px; }
  .header__social{ gap:6px; }
  .social-icon{ width:34px; height:34px; border-radius:10px; }
  .social-icon svg{ width:16px; height:16px; }
  .header__btn--invest,
  .header__btn--quote{ padding:9px 11px; }
}

@media (max-width: 1360px){
  .header .container{ width:min(1220px, calc(100% - 20px)); }
  .brand__subtitle{ display:none; }
  .nav{ max-width:min(100%, 650px); }
  .nav a{ font-size:12px; padding:8px 8px; }
  .header__btn--quote{ padding:8px 10px; font-size:14px; }
  .lang-switch__btn{ min-width:38px; padding:6px 7px; }
}

@media (max-width: 1320px){
  .header__btn--invest{ display:none; }
  .header__cta{ gap:6px; }
}

@media (max-width: 1080px){
  .header__btn--github{ display:none; }
}

.download{ padding:20px; }
.download h3{ margin:0 0 10px; }
.download .muted{ margin:0; line-height:1.6; }

.beta-notice{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  margin: 0 0 18px;
  padding: 20px 22px;
  border: 1px solid rgba(37,183,255,.24);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(37,183,255,.16), transparent 42%),
    linear-gradient(180deg, rgba(37,183,255,.08), rgba(255,255,255,.02)),
    rgba(5,10,24,.68);
  box-shadow: 0 18px 38px rgba(0,0,0,.22);
}

.beta-notice::after{
  content:"";
  position:absolute;
  right:-32px;
  bottom:-46px;
  width:150px;
  height:150px;
  border-radius:50%;
  background: radial-gradient(circle, rgba(37,183,255,.18), transparent 68%);
  pointer-events:none;
  z-index:-1;
}

.beta-notice strong{
  display:block;
  margin-bottom:8px;
  color: var(--text);
  font-size:17px;
  letter-spacing:-.01em;
}

.beta-notice .muted{
  max-width: 72ch;
}

.platform-block{
  position:relative;
  overflow:hidden;
  margin-bottom:16px;
  border-radius: 24px;
  border-color: rgba(255,255,255,.12);
  background:
    radial-gradient(circle at top right, rgba(37,183,255,.08), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)),
    rgba(5,10,24,.64);
  box-shadow: 0 18px 34px rgba(0,0,0,.16);
}

.platform-block::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(37,183,255,.5), transparent);
}

.platform-block--workshop{
  border-color: rgba(84,156,255,.28);
  background:
    radial-gradient(circle at top right, rgba(84,156,255,.2), transparent 36%),
    linear-gradient(180deg, rgba(12,28,58,.88), rgba(5,10,24,.78));
}

.platform-block:last-of-type{
  margin-bottom:0;
}

.platform-block__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

.platform-block__head h2{
  margin:0;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing:-.02em;
}

.platform-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(37,183,255,.35);
  background: rgba(37,183,255,.1);
  color: rgba(255,255,255,.9);
  font-size:12px;
  font-weight:800;
  letter-spacing:.02em;
  white-space: nowrap;
}

.platform-block__lead{
  margin-bottom:16px;
  max-width: 72ch;
}

.platform-block .grid2 > .app-download:only-child{
  grid-column: 1 / -1;
}

.app-download{
  position:relative;
  overflow:hidden;
  border-color: rgba(255,255,255,.14);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.02)),
    rgba(255,255,255,.025);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.app-download--live{
  border-color: rgba(84,156,255,.28);
  background:
    radial-gradient(circle at top right, rgba(84,156,255,.14), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)),
    rgba(255,255,255,.024);
}

.app-download__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}

.app-download__head h3{
  margin:0;
}

.app-download [data-role="status-text"]{
  max-width: 62ch;
}

.status-badge{
  padding:6px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
  border:1px solid transparent;
}

.status-badge--live{
  color:#f4fbff;
  border-color: rgba(84,156,255,.45);
  background: linear-gradient(135deg, rgba(50,199,255,.96), rgba(25,162,255,.9));
}

.status-badge--coming{
  color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
}

.app-download__meta{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.app-download__meta span{
  padding:7px 10px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.1);
  background: rgba(8,17,40,.72);
  color: var(--muted);
  font-size:12px;
  font-weight:800;
}

.platform-block .app-download .cta-row .btn{
  min-width: 230px;
}

.app-download__hint{
  margin-top:12px;
}

@media (min-width: 981px){
  .platform-block .grid2 > .app-download:only-child{
    display:grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr);
    align-items:start;
    gap:14px 20px;
  }

  .platform-block .grid2 > .app-download:only-child .app-download__head,
  .platform-block .grid2 > .app-download:only-child [data-role="status-text"],
  .platform-block .grid2 > .app-download:only-child .stack,
  .platform-block .grid2 > .app-download:only-child .cta-row{
    grid-column: 1;
  }

  .platform-block .grid2 > .app-download:only-child .app-download__meta{
    grid-column: 2;
    grid-row: 1 / span 3;
    margin-top:0;
    align-self:stretch;
    align-content:start;
    padding:12px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    background: rgba(255,255,255,.03);
  }

  .platform-block .grid2 > .app-download:only-child .stack{
    margin-top:0;
    padding-top:0;
    justify-content:flex-start;
  }

  .platform-block .grid2 > .app-download:only-child .cta-row{
    justify-content:center;
    width:auto;
    margin-top:2px;
    padding-top:0;
  }

  .platform-block .grid2 > .app-download:only-child .app-download__hint{
    grid-column: 1 / -1;
  }
}


.download-lock{
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
}

.download-lock[hidden]{
  display:none;
}

.download-lock__overlay{
  position:absolute;
  inset:0;
  background: rgba(3,8,18,.74);
  backdrop-filter: blur(6px);
}

.download-lock__dialog{
  position: relative;
  width: min(520px, 100%);
  border:1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(10,20,44,.95), rgba(5,10,24,.95));
  padding: 22px;
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
}

.download-lock__dialog h2{
  margin:0 0 8px;
}

.download-lock__label{
  display:block;
  margin-top:14px;
  color: var(--muted);
  font-size:13px;
  font-weight:800;
}

.download-lock__input{
  width:100%;
  margin-top:8px;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  color:var(--text);
}

.download-lock__input:focus{
  outline:none;
  border-color: rgba(37,183,255,.35);
  box-shadow: 0 0 0 3px rgba(37,183,255,.12);
}

.download-lock__error{
  margin:10px 0 0;
  color:#ff8c8c;
  font-size:13px;
  font-weight:700;
}

.download-lock__mail{
  margin-top:14px;
}

@media (max-width: 980px){
  .contact-lines{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-social-link--email{ grid-column: 1 / -1; }
}

@media (max-width: 640px){
  .container{ width:min(1100px, calc(100% - 24px)); }
  .brand__name{ font-size:14px; letter-spacing:.35px; }
  .hero{ padding:42px 0 20px; }
  h1{ font-size: clamp(26px, 9vw, 34px); line-height:1.15; }
  .lead{ font-size:16px; }
  .pill{ font-size:13px; }
  .hero__actions .btn,
  .cta-row .btn,
  .social .btn{
    width:100%;
  }
  .hero__badges .badge{
    width:100%;
    justify-content:center;
    text-align:center;
  }
  .hero__badges{ gap:8px; }
  .badge{ font-size:12px; }
  .project{ padding:14px; }
  .project__top{ flex-direction:column; align-items:flex-start; }
  .project__points li{ padding:9px 10px 9px 24px; }
  .project__gallery{ width: clamp(150px, 58vw, 210px); }
  .download{ padding:14px; }
  .app-download .cta-row .btn{ min-width:0; }
  .platform-block__head{ align-items:flex-start; flex-direction:column; }
  .status-badge{ margin-top:2px; }
  .slider-arrow{ width:28px; height:28px; font-size:20px; }
  .contact-lines{ grid-template-columns: 1fr; }
  .contact-social-link--email{ grid-column: auto; }
  .contact-social-link{ width:100%; justify-content:center; }
  .contact-lines .link{ width:100%; }
  .footer__inner{ flex-direction:column; align-items:flex-start; }
  .scroll-top-fab{
    width:48px;
    height:48px;
    font-size:20px;
    right:max(12px, env(safe-area-inset-right));
    bottom:max(12px, env(safe-area-inset-bottom));
  }
}
