:root {
  --bg: #0F0F13;
  --bg2: #16161D;
  --bg3: #1C1C26;
  --purple: #9B8FFF;
  --purple-dark: #5B5BD6;
  --purple-glow: rgba(155, 143, 255, 0.12);
  --purple-glow2: rgba(155, 143, 255, 0.06);
  --green: #3DDB85;
  --blue: #5EB8FF;
  --white: #EEEEF5;
  --muted: #7878A0;
  --muted2: #55556E;
  --border: rgba(255, 255, 255, 0.07);
  --border2: rgba(255, 255, 255, 0.12);
  --border-purple: rgba(155, 143, 255, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 0 1.5rem;
  transition: background 0.3s, border-color 0.3s;
}

nav.scrolled {
  background: rgba(15, 15, 19, 0.9);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
}

.logo-x {
  color: var(--purple);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-btn {
  padding: 0.45rem 1.1rem;
  background: var(--purple-glow2);
  border: 1px solid var(--border-purple);
  border-radius: 6px;
  color: var(--purple) !important;
  transition: background 0.2s !important;
}

.nav-btn:hover {
  background: var(--purple-glow) !important;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--muted);
  border-radius: 2px;
  transition: 0.3s;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 1.5rem 80px;
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.grad-text {
  background: linear-gradient(135deg, #9B8FFF 0%, #C4B9FF 50%, #5EB8FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.btn-main {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.6rem;
  background: var(--purple);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-main:hover {
  background: #B0A5FF;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(155, 143, 255, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.6rem;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid var(--border2);
  background: transparent;
  transition: background 0.2s;
}

.btn-outline:hover {
  background: var(--bg3);
}

.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-mockup {
  width: 100%;
  max-width: 420px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 80px rgba(155, 143, 255, 0.3);
  animation: floatCard 7s ease-in-out infinite;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-10px) rotate(-1deg);
  }
}

.cm-header {
  background: var(--bg3);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.cm-dots {
  display: flex;
  gap: 5px;
}

.cm-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.cm-dots span:nth-child(1) {
  background: #FF5F57;
}

.cm-dots span:nth-child(2) {
  background: #FFBD2E;
}

.cm-dots span:nth-child(3) {
  background: #28C840;
}

.cm-url {
  flex: 1;
  font-size: 0.68rem;
  color: var(--muted2);
  background: var(--bg);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
  font-family: monospace;
}

.score-badge {
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(61, 219, 133, 0.1);
  color: var(--green);
  border: 1px solid rgba(61, 219, 133, 0.3);
  padding: 2px 7px;
  border-radius: 4px;
}

.cm-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cm-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: var(--bg3);
  border-radius: 6px;
}

.cm-nav-logo {
  width: 50px;
  height: 8px;
  background: var(--border2);
  border-radius: 4px;
}

.cm-nav-links {
  display: flex;
  gap: 8px;
}

.cm-nav-links div {
  width: 24px;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
}

.cm-hero-area {
  background: linear-gradient(135deg, rgba(155, 143, 255, 0.08), rgba(94, 184, 255, 0.05));
  border: 1px solid var(--border-purple);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cmtl-1 {
  height: 12px;
  width: 80%;
  background: var(--border2);
  border-radius: 6px;
}

.cmtl-2 {
  height: 12px;
  width: 60%;
  background: linear-gradient(90deg, var(--purple-dark), var(--purple));
  border-radius: 6px;
  opacity: 0.7;
}

.cmtl-3 {
  height: 8px;
  width: 90%;
  background: var(--border);
  border-radius: 4px;
}

.cm-cta-block {
  display: flex;
  gap: 8px;
}

.cm-cta-btn {
  height: 22px;
  width: 80px;
  background: var(--purple);
  border-radius: 5px;
  opacity: 0.8;
}

.cm-cta-ghost {
  height: 22px;
  width: 70px;
  border: 1px solid var(--border2);
  border-radius: 5px;
}

.cm-cards {
  display: flex;
  gap: 8px;
}

.cm-card {
  flex: 1;
  height: 48px;
  border-radius: 6px;
  background: var(--bg3);
  border: 1px solid var(--border);
}

.cm-card.c1 {
  border-color: var(--border-purple);
  background: var(--purple-glow2);
}

.cm-footer-bar {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg3);
  border-top: 1px solid var(--border);
}

.cf-item {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
}

.cf-item:nth-child(2) {
  flex: 2;
  background: var(--border2);
}

footer {
  position: relative;
  z-index: 1;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.f-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.04em;
}

.f-logo span {
  color: var(--purple);
}

.f-logo small {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--muted2);
  letter-spacing: 0.12em;
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 3px;
}

.f-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.f-links a {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.f-links a:hover {
  color: var(--white);
}

.f-copy {
  font-size: 0.78rem;
  color: var(--muted2);
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-chips {
    justify-content: center;
  }

  .hero-right {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 64px 0 0;
    background: rgba(15, 15, 19, 0.97);
    backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 99;
  }

  .nav-links.open a {
    font-size: 1.3rem;
  }

  .burger {
    display: flex;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .f-links {
    justify-content: center;
  }
}

.projets {
  background: var(--bg2);
  padding: 90px 1.5rem;
  position: relative;
  z-index: 1;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-glow2);
  border: 1px solid var(--border-purple);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 520px;
}

.projets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.proj-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg3);
  border: 1px solid var(--border);
  transition: border-color 0.25s, transform 0.25s;
}

.proj-card:hover {
  border-color: var(--border-purple);
  transform: translateY(-4px);
}

.featured-card {
  grid-column: 1 / -1;
}

.proj-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.featured-card .proj-img-wrap {
  aspect-ratio: 21 / 9;
}

.proj-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.proj-card:hover .proj-img-wrap img {
  transform: scale(1.04);
}

.proj-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 15, 0.88);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.proj-card:hover .proj-overlay {
  opacity: 1;
}

.proj-overlay-content {
  transform: translateY(12px);
  transition: transform 0.3s ease;
}

.proj-card:hover .proj-overlay-content {
  transform: translateY(0);
}

.proj-overlay-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0.4rem 0 0.5rem;
}

.proj-overlay-content p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.proj-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--purple);
  text-decoration: none;
  border-bottom: 1px solid var(--border-purple);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.proj-link:hover {
  color: #C4B9FF;
  border-color: #C4B9FF;
}

.proj-meta {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.proj-meta h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.proj-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-glow2);
  border: 1px solid var(--border-purple);
  padding: 2px 8px;
  border-radius: 4px;
}

.chateau-tag {
  color: #90C070;
  background: rgba(144, 192, 112, 0.06);
  border-color: rgba(144, 192, 112, 0.25);
}

.proj-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.proj-stack span {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted2);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 4px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .projets-grid {
    grid-template-columns: 1fr;
  }

  .featured-card {
    grid-column: 1;
  }

  .featured-card .proj-img-wrap {
    aspect-ratio: 16 / 9;
  }
}

section {
  position: relative;
  z-index: 1;
  padding: 90px 1.5rem;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-glow2);
  border: 1px solid var(--border-purple);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 520px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  perspective: 1000px;
}

@media (max-width: 960px) {
  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

.skill-ico i {
  font-size: 32px;
}

.skill-ico.html i {
  color: #E34F26;
}

.skill-ico.css i {
  color: #1572B6;
}

.skill-ico.js i {
  color: #F7DF1E;
}

.skill-ico.responsive i {
  color: var(--blue);
}

.skill-ico.seo i {
  color: var(--green);
}

.skill-ico.design i {
  color: var(--purple);
}

.skill-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(78, 78, 78, 0.15);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  transform-style: preserve-3d;
  will-change: transform;
  overflow: hidden;
}

.skill-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.skill-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.skill-card:hover {
  border-color: var(--border-purple);
  box-shadow: 0 12px 40px rgba(155, 143, 255, 0.15);
  background: var(--purple-glow2);
  transform: rotateY(12deg) rotateX(6deg) translateY(-6px);
}


.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(155, 143, 255, 0.07), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill-card:hover {
  border-color: var(--border-purple);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--border-purple);
  transform: rotateY(6deg) rotateX(4deg) translateY(-6px);
}

.skill-card:hover::before {
  opacity: 1;
}

.skill-card:hover::after {
  opacity: 1;
}

.skill-card.html::before {
  background: linear-gradient(90deg, #E34F26, #FF7043);
}

.skill-card.css::before {
  background: linear-gradient(90deg, #1572B6, #42A5F5);
}

.skill-card.js::before {
  background: linear-gradient(90deg, #c4a800, #F7DF1E);
}

.skill-card.seo::before {
  background: linear-gradient(90deg, #2E7D32, #3DDB85);
}

.skill-card.responsive::before {
  background: linear-gradient(90deg, #0288D1, #5EB8FF);
}

.skill-card.analytics::before {
  background: linear-gradient(90deg, #6A1B9A, #9B8FFF);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  perspective: 1000px;
}


.tarifs {
  background: var(--bg2);
}

.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.tarif-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
}

.tarif-card:hover {
  border-color: var(--border2);
}

.tarif-card.featured {
  border-color: var(--border-purple);
  background: linear-gradient(180deg, rgba(155,143,255,0.07) 0%, var(--bg3) 100%);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(155,143,255,0.1);
}

.tarif-card.featured:hover {
  border-color: var(--purple);
}

.tc-best {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--purple);
  color: #fff;
  padding: 3px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.tc-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.tc-tagline {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.tc-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1;
}

.tarif-card.featured .tc-price {
  color: var(--purple);
}

.tc-ht {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
}

.tc-pay {
  font-size: 0.72rem;
  color: var(--muted2);
}

.tc-divider {
  height: 1px;
  background: var(--border);
  margin: 1.25rem 0;
}

.tc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.tc-list li {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.tc-list li::before {
  content: '';
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  flex-shrink: 0;
  background-size: 58%;
  background-repeat: no-repeat;
  background-position: center;
}

.tc-list li.ok {
  color: var(--white);
}

.tc-list li.ok::before {
  background-color: rgba(61,219,133,0.12);
  border: 1px solid rgba(61,219,133,0.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5L4.5 7.5L8 3' stroke='%233DDB85' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
}

.tc-list li.no {
  color: var(--muted2);
}

.tc-list li.no::before {
  background-color: var(--bg);
  border: 1px solid var(--border);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3 3L7 7M7 3L3 7' stroke='%2355556E' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.tc-btn {
  display: block;
  text-align: center;
  padding: 0.72rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid var(--border2);
  color: var(--white);
  background: transparent;
  transition: background 0.2s, border-color 0.2s;
  font-family: 'Inter', sans-serif;
}

.tc-btn:hover {
  background: var(--purple);
}

.tc-btn-featured {
  background: var(--purple);
  border-color: transparent;
  color: #fff;
}

.tc-btn-featured:hover {
  background: #B0A5FF;
  box-shadow: 0 4px 20px rgba(155,143,255,0.3);
}

.tarifs-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted2);
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  line-height: 1.6;
}

.contact {
  background: var(--bg);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 0.5rem;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.cib-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cib-line svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.cib-line a,
.cib-line span {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 400;
}

.cib-line a:hover {
  color: var(--white);
}

.contact-note {
  font-size: 0.83rem;
  line-height: 1.7;
  color: var(--muted2);
  border-left: 2px solid var(--border-purple);
  padding-left: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  appearance: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted2);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7'%3E%3Cpath d='M1 1L5.5 6L10 1' stroke='%237878A0' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option {
  background: var(--bg3);
  color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--border-purple);
  background: var(--bg3);
  box-shadow: 0 0 0 3px rgba(155,143,255,0.07);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 0.25rem;
}

.form-mention {
  font-size: 0.72rem;
  color: var(--muted2);
  line-height: 1.5;
  max-width: 260px;
}

#submitBtn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  min-width: 190px;
  justify-content: center;
  position: relative;
}

#submitBtn.loading .btn-text {
  opacity: 0;
}

#submitBtn.loading .btn-loader {
  display: block;
}

.btn-loader {
  display: none;
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-success,
.form-error {
  display: none;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid;
}

.form-success {
  color: var(--green);
  background: rgba(61,219,133,0.06);
  border-color: rgba(61,219,133,0.2);
}

.form-error {
  color: #FF6B6B;
  background: rgba(255,107,107,0.06);
  border-color: rgba(255,107,107,0.2);
}

.form-success.visible,
.form-error.visible {
  display: flex;
}

@media (max-width: 960px) {
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-left {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .contact-note {
    flex: 1;
    min-width: 200px;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .form-mention {
    max-width: 100%;
  }

  #submitBtn {
    width: 100%;
  }
}

footer {
  position: relative;
  z-index: 1;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.f-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
}

.f-logo span {
  color: var(--purple);
}

.f-logo small {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--muted2);
  letter-spacing: 0.12em;
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
}

footer .f-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: static;
  inset: unset;
  background: transparent;
  backdrop-filter: none;
  border: none;
  height: auto;
  flex-direction: row;
  padding: 0;
  justify-content: flex-start;
  align-items: center;
  list-style: none;
  z-index: auto;
}

footer .f-links a {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  font-size: 0.82rem;
  padding: 0;
  border: none;
  background: none;
}

footer .f-links a:hover {
  color: var(--white);
  background: none;
}

.f-copy {
  font-size: 0.78rem;
  color: var(--muted2);
  margin: 0;
}

@media (max-width: 960px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  footer .f-links {
    justify-content: center;
  }
}