:root {
  --bg: #0a0d16;
  --surface: rgba(255, 255, 255, 0.12);
  --surface-strong: rgba(255, 255, 255, 0.16);
  --border: rgba(255, 255, 255, 0.22);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.76);
  --accent: #ffb347;
  --accent-2: #ff5e7e;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
  --radius: 24px;
  --container: min(1180px, calc(100vw - 48px));
  --nav-height: 88px;
  --transition: 260ms cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(8, 9, 16, 0.2), rgba(8, 9, 16, 0.28)),
    url('../images/arriere%20plan.png') center center / cover no-repeat;
  z-index: -3;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.18));
  z-index: -2;
  pointer-events: none;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,0.9) 0.5px, transparent 0.5px);
  background-size: 8px 8px;
  mix-blend-mode: soft-light;
}

.site-shell { min-height: 100vh; }
.container { width: var(--container); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.site-header.is-scrolled {
  background: rgba(8, 10, 16, 0.4);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav {
  min-height: var(--nav-height);
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 18px;
}
.logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}
.logo img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.14));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 42px);
}
.nav-links a {
  position: relative;
  font-size: 1.08rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  transition: opacity var(--transition), transform var(--transition);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,255,255,0.2));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  transform: translateY(-1px);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta,
.btn,
.btn-secondary,
.filter-btn,
.form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 26px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}
.nav-cta,
.btn,
.form-button {
  background: rgba(255,255,255,0.96);
  color: #111218;
  box-shadow: 0 14px 35px rgba(0,0,0,0.14);
  font-weight: 700;
}
.nav-cta:hover,
.btn:hover,
.form-button:hover,
.btn-secondary:hover,
.filter-btn:hover {
  transform: translateY(-2px);
}
.btn-secondary {
  color: #fff;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 16px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  color: #fff;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  margin: 4px auto;
  transition: transform var(--transition), opacity var(--transition);
}
.menu-open .menu-toggle span { opacity: 0; }
.menu-open .menu-toggle::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle::after { transform: translateY(-6px) rotate(-45deg); }

.hero {
  min-height: calc(100vh - 8px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 56px 0 72px;
}
.hero-content {
  width: min(880px, 100%);
}
.hero-content-compact {
  width: min(760px, 100%);
}
.home-main {
  min-height: 100svh;
  display: grid;
}
.home-page {
  overflow: hidden;
}
.home-page .site-shell {
  min-height: 100svh;
}
.home-page .noise {
  opacity: 0.06;
}
.hero-home {
  min-height: 100svh;
  padding-top: calc(var(--nav-height) + 28px);
  padding-bottom: 48px;
}
.hero-home .hero-content {
  transform: translateY(-10.5vh);
}
.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(2.45rem, 4.4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 500;
  text-shadow: 0 10px 36px rgba(0,0,0,0.24);
}
.hero p {
  margin: 0 auto;
  max-width: 760px;
  font-size: clamp(1.16rem, 2vw, 1.48rem);
  line-height: 1.45;
  color: rgba(255,255,255,0.9);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
}
.hero-meta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.pill {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.11);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.9);
  font-size: 0.97rem;
}

.page-hero {
  padding: 64px 0 28px;
}
.page-hero .eyebrow {
  margin-bottom: 16px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.92rem;
  color: rgba(255,255,255,0.86);
}
.page-hero h1 {
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  line-height: 1.02;
  max-width: 820px;
  margin: 0 0 20px;
}
.page-hero p {
  max-width: 760px;
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0;
}

main section {
  padding: 28px 0 72px;
}
.section-card,
.offer-card,
.process-card,
.project-card,
.contact-card,
.seo-block,
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.section-card,
.contact-card,
.seo-block,
.info-card { border-radius: var(--radius); }

.overview-grid,
.offers-grid,
.process-grid,
.stats-grid,
.contact-grid,
.seo-grid {
  display: grid;
  gap: 24px;
}
.overview-grid { grid-template-columns: repeat(3, 1fr); }
.offers-grid { grid-template-columns: repeat(3, 1fr); }
.process-grid { grid-template-columns: repeat(4, 1fr); }
.stats-grid { grid-template-columns: repeat(4, 1fr); }
.contact-grid { grid-template-columns: 1.2fr .8fr; }
.seo-grid { grid-template-columns: 1fr 1fr; }

.section-card,
.contact-card,
.seo-block,
.info-card,
.offer-card,
.process-card,
.project-card {
  padding: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  box-shadow: 0 18px 44px rgba(0,0,0,0.14), inset 0 1px 0 rgba(255,255,255,0.18);
}
.offer-card,
.process-card,
.project-card {
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}
.offer-card::before,
.process-card::before,
.project-card::before,
.section-card::before,
.contact-card::before,
.seo-block::before,
.info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.24), rgba(255,255,255,0.08) 34%, transparent 62%);
  pointer-events: none;
}

h2 {
  font-size: clamp(1.85rem, 2.7vw, 3rem);
  line-height: 1.08;
  margin: 0 0 16px;
}
.section-intro {
  margin-bottom: 28px;
  max-width: 720px;
}
.section-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}
.section-card h3,
.offer-card h3,
.process-card h3,
.project-card h3,
.contact-card h3,
.seo-block h3,
.info-card h3 {
  margin: 0 0 12px;
  font-size: 1.32rem;
}
.section-card p,
.offer-card p,
.process-card p,
.project-card p,
.contact-card p,
.seo-block p,
.info-card p,
li {
  color: rgba(255,255,255,0.84);
}

.offer-price {
  display: inline-flex;
  margin: 14px 0 18px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.09);
  border-radius: 999px;
  font-weight: 700;
}
.feature-list,
.process-list,
.info-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 18px;
  font-size: 1.25rem;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}
.stat-label { color: var(--muted); }

.projects-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.filter-btn {
  padding: 12px 20px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
}
.filter-btn.is-active {
  background: rgba(255,255,255,0.96);
  color: #101117;
  font-weight: 700;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.project-cover {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.04)),
    linear-gradient(135deg, rgba(17, 116, 214, 0.45), rgba(248, 78, 115, 0.55), rgba(255, 168, 44, 0.55));
}
.project-card.is-placeholder .project-cover {
  aspect-ratio: 16 / 10;
  min-height: 260px;
}
.project-cover img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  transition: transform 600ms cubic-bezier(.2,.8,.2,1), opacity var(--transition);
}
.project-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 22px;
  color: rgba(255,255,255,0.88);
}
.project-card.is-loaded .project-placeholder { opacity: 0; pointer-events: none; }
.project-card.is-placeholder .project-placeholder { opacity: 1; }
.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.project-tag,
.project-type {
  font-size: 0.92rem;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
}

.contact-card form {
  display: grid;
  gap: 14px;
}
.field {
  display: grid;
  gap: 8px;
}
.field label { font-weight: 600; }
.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-radius: 18px;
  padding: 14px 16px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.field input:focus,
.field textarea:focus {
  border-color: rgba(255,255,255,0.44);
  background: rgba(255,255,255,0.1);
}
.field textarea { min-height: 148px; resize: vertical; }
.form-note {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}

.site-footer {
  padding: 20px 0 44px;
}
.footer-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  padding: 22px 26px;
  border-radius: 24px;
  background: rgba(10,12,18,0.45);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  color: rgba(255,255,255,0.82);
}


.home-legal-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 16px;
  padding: 0;
  z-index: 12;
}
.home-legal-wrap {
  display: flex;
  justify-content: center;
}
.home-legal-link {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.74);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}
.home-legal-link:hover {
  color: rgba(255,255,255,0.95);
}

.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: opacity 700ms cubic-bezier(.2,.8,.2,1), transform 700ms cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.floaty {
  animation: floaty 7s ease-in-out infinite;
}
.delay-2 { animation-delay: 0.5s; }
.delay-3 { animation-delay: 1s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}


main section:not(:first-child),
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

.section-card,
.contact-card,
.seo-block,
.info-card,
.offer-card,
.process-card,
.project-card,
.project-cover,
.footer-card {
  contain: layout paint style;
}

@media (hover: hover) and (pointer: fine) {
  }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 1080px) {
  .overview-grid,
  .offers-grid,
  .process-grid,
  .stats-grid,
  .contact-grid,
  .seo-grid,
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --container: min(100vw - 24px, 1180px); --nav-height: 74px; }
  .site-header {
    background: rgba(8, 10, 16, 0.18);
    backdrop-filter: blur(14px);
  }
  .nav {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
  }
  .logo { justify-content: flex-start; }
  .logo img {
    width: 42px;
    height: 42px;
  }
  .menu-toggle { display: none !important; }
  .nav-links {
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    backdrop-filter: none;
    min-width: 0;
  }
  .nav-links a {
    font-size: 0.78rem;
    line-height: 1;
    padding: 8px 0;
    white-space: nowrap;
  }
  .nav-links a::after {
    bottom: -4px;
    height: 1.5px;
  }
  .nav-right {
    display: flex !important;
    margin: 0;
    min-width: 0;
  }
  .nav-right .nav-cta {
    width: auto;
    padding: 10px 14px;
    font-size: 0.78rem;
    line-height: 1;
    box-shadow: 0 10px 26px rgba(0,0,0,0.12);
    white-space: nowrap;
  }
  .hero {
    min-height: calc(100svh - 6px);
    padding-top: 20px;
    padding-bottom: 34px;
  }
  .hero-home {
    min-height: 100svh;
    padding-top: 110px;
    padding-bottom: 24px;
  }
  .hero-home .hero-content {
    width: min(100%, 580px);
    transform: translateY(-6vh);
    padding-inline: 2px;
  }
  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.04;
    margin-bottom: 14px;
  }
  .hero p {
    font-size: 0.98rem;
    line-height: 1.48;
    max-width: 500px;
  }
  .page-hero {
    padding: 40px 0 20px;
  }
  .page-hero h1 {
    font-size: clamp(1.9rem, 7vw, 2.8rem);
    margin-bottom: 14px;
  }
  .page-hero p,
  .section-intro p,
  .section-card p,
  .offer-card p,
  .process-card p,
  .project-card p,
  .contact-card p,
  .seo-block p,
  .info-card p,
  li {
    font-size: 0.96rem;
  }
  .section-card,
  .contact-card,
  .seo-block,
  .info-card,
  .offer-card,
  .process-card,
  .project-card {
    padding: 18px;
    border-radius: 22px;
  }
  .projects-toolbar { gap: 10px; }
  .filter-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
}

.home-page .nav.menu-open + * {
  pointer-events: auto;
}

@media (max-width: 680px) {
  body {
    min-height: 100dvh;
  }
  .overview-grid,
  .offers-grid,
  .process-grid,
  .stats-grid,
  .contact-grid,
  .seo-grid,
  .projects-grid { grid-template-columns: 1fr; }
  .home-page .site-header { position: fixed; inset: 0 0 auto 0; }
  .home-page .nav { padding-top: 8px; padding-bottom: 8px; }
  .nav {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
  }
  .logo img {
    width: 36px;
    height: 36px;
  }
  .nav-links {
    gap: 6px;
    overflow-x: auto;
    justify-content: center;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a {
    font-size: 0.69rem;
    padding: 6px 0;
  }
  .nav-right .nav-cta {
    padding: 8px 10px;
    font-size: 0.69rem;
    border-radius: 999px;
  }
  .hero-home {
    padding-top: 98px;
    padding-bottom: 18px;
  }
  .hero-home .hero-content {
    width: min(100%, 520px);
    transform: translateY(-7vh);
    padding-inline: 6px;
  }
  .hero-home h1 {
    margin-bottom: 12px;
    font-size: clamp(1.85rem, 8.8vw, 2.5rem);
    line-height: 1.07;
  }
  .hero-home p {
    max-width: 300px;
    font-size: 0.9rem;
    line-height: 1.48;
  }
  h2 {
    font-size: clamp(1.45rem, 7vw, 2rem);
    margin-bottom: 12px;
  }
  .section-intro { margin-bottom: 20px; }
  .section-card,
  .contact-card,
  .seo-block,
  .info-card,
  .offer-card,
  .process-card,
  .project-card {
    padding: 15px;
    border-radius: 18px;
  }
  .section-card h3,
  .offer-card h3,
  .process-card h3,
  .project-card h3,
  .contact-card h3,
  .seo-block h3,
  .info-card h3 {
    font-size: 1.08rem;
    margin-bottom: 10px;
  }
  .offer-price,
  .project-tag,
  .project-type,
  .pill,
  .eyebrow {
    font-size: 0.82rem;
  }
  .project-cover {
    margin-bottom: 16px;
    border-radius: 18px;
  }
  .projects-toolbar {
    gap: 8px;
    margin-bottom: 18px;
  }
  .filter-btn {
    padding: 9px 13px;
    font-size: 0.82rem;
  }
  .field input,
  .field textarea {
    padding: 12px 14px;
    border-radius: 16px;
  }
  .footer-card {
    padding: 18px;
    border-radius: 20px;
  }
  .footer-links {
    gap: 10px 14px;
    font-size: 0.9rem;
  }
}

@media (max-width: 420px) {
  :root { --container: min(100vw - 18px, 1180px); }
  .nav {
    gap: 6px;
  }
  .logo img {
    width: 32px;
    height: 32px;
  }
  .nav-links {
    gap: 5px;
    justify-content: flex-start;
  }
  .nav-links a {
    font-size: 0.64rem;
  }
  .nav-right .nav-cta {
    padding: 7px 9px;
    font-size: 0.64rem;
  }
  .hero-home { padding-top: 92px; }
  .hero-home .hero-content { transform: translateY(-6.5vh); }
  .hero-home h1 { font-size: clamp(1.7rem, 8.6vw, 2.2rem); }
  .hero-home p { max-width: 270px; font-size: 0.86rem; }
}


/* Navbar recentrée après suppression de la page Méthode */
.nav {
  grid-template-columns: 140px auto auto;
  justify-content: space-between;
}
.nav-links {
  justify-self: center;
}
@media (max-width: 860px) {
  .nav {
    grid-template-columns: auto 1fr auto;
  }
  .nav-links {
    width: 100%;
    justify-content: center;
  }
}
