/* =========================================
  KING SERVICE | STYLE
   Noir · Or · Argent
========================================= */

:root {
  --black: #070707;
  --black-soft: #101010;
  --black-card: #151515;
  --black-lighter: #1b1b1b;

  --gold: #d8a83e;
  --gold-light: #f7d97c;
  --gold-dark: #95620f;
  --gold-glow: rgba(216, 168, 62, 0.28);

  --silver: #bdbdbd;
  --white: #f6f4ef;
  --gray: #898989;
  --gray-dark: #595959;

  --border: rgba(255, 255, 255, 0.12);
  --border-gold: rgba(247, 217, 124, 0.3);

  --container: 1240px;
  --transition: 0.35s ease;
  --transition-slow: 0.8s cubic-bezier(0.22, 1, 0.36, 1);

}

html.js body:not(.page-loaded) > :not(.loader) {
  visibility: hidden;
}

html.js .loader {
  display: grid;
}

.loader {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: none;
  place-items: center;
  background: var(--black);
  color: #f5f7f4;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.loader.complete {
  visibility: hidden;
  opacity: 0;
}

.loader-content {
  display: grid;
  width: min(84%, 340px);
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.loader-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.8rem;
}

.loader-content p {
  font-size: 0.95rem;
}

.loader-content progress {
  width: 100%;
  height: 8px;
  accent-color: var(--gold-light);
}

.loader-content span:last-child {
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.header,
.header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(7, 7, 7, 0.92);
  backdrop-filter: none;
}

.navbar {
  min-height: 76px;
}

.logo {
  color: var(--white);
}

.nav-links a,
.footer-socials {
  color: var(--silver);
}

.nav-button {
  border-color: var(--gold-light);
  color: var(--gold-light);
  font-weight: 700;
}

.nav-button:hover,
.button-gold {
  background: var(--gold-light);
  color: var(--black);
}

.button-gold:hover {
  box-shadow: none;
  transform: translateY(-2px);
}

.button,
.nav-button,
.filter-button,
.tools-list span {
  border-radius: 0;
}

.hero {
  min-height: 88vh;
  padding: 145px 0 95px;
  background: var(--black);
}

.hero-container {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
}

.hero h1 {
  max-width: 740px;
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 span,
h2 span {
  color: var(--gold);
  font-style: normal;
}

.hero-description,
.section-description,
.about-content p:not(.large-text),
.journey-item p,
.tools-content > p:first-child,
.content-description > p,
.formations-content > p,
.vision-content > p,
.contact-intro > p:not(.eyebrow) {
  color: var(--gray);
}

.hero-tags span {
  border-color: var(--border);
  background: transparent;
  color: var(--silver);
  letter-spacing: 0;
}

.hero-card {
  width: min(88%, 400px);
  height: 520px;
  padding: 22px;
  border: 1px solid var(--border);
  background: var(--black-card);
  box-shadow: 14px 14px 0 var(--black-soft);
}

.hero-card::before,
.hero-card::after {
  display: none;
}

.card-top,
.card-bottom {
  color: var(--gray);
  letter-spacing: 0;
}

.card-top span:first-child,
.card-bottom span:last-child {
  color: var(--gold-light);
}

.profile-photo {
  width: 82%;
  height: 350px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.section {
  padding: 112px 0;
}

h2 {
  max-width: 720px;
  font-size: 3.4rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
}

.eyebrow {
  color: var(--gold-light);
  letter-spacing: 0.1em;
}

.eyebrow::before {
  background: var(--gold-light);
}

.marquee-section,
.stats,
.expertise,
.content-section,
.formations,
.vision,
.contact,
.about,
.tools,
.process,
.projects {
  border-color: var(--border);
  background: var(--black);
}

.marquee-section,
.expertise {
  background: var(--black-soft);
}

.marquee {
  width: min(90%, var(--container));
  justify-content: flex-start;
  gap: 24px;
  letter-spacing: 0.04em;
}

.journey-item:hover,
.expertise-item:hover,
.tools-list span:hover,
.process-card:hover,
.stat-item:hover {
  padding-right: unset;
  padding-left: unset;
  background: transparent;
  transform: none;
}

.stat-item strong {
  color: var(--gold-light);
  font-family: inherit;
  font-size: 1.2rem;
  font-weight: 700;
}

.stat-item span {
  color: var(--white);
}

.tools-list span {
  border-color: var(--border);
  background: var(--black-card);
  color: var(--silver);
}

.content-section,
.vision,
.contact {
  background: var(--black-soft);
}

.vision-content {
  text-align: left;
}

.vision-content .eyebrow {
  justify-content: flex-start;
}

.vision-content h2 {
  margin-left: 0;
}

.vision-content > p {
  margin-left: 0;
}

.audit-form {
  border-color: var(--border);
  background: var(--black-card);
  box-shadow: 8px 8px 0 var(--black-soft);
}

.form-group input,
.form-group select,
.form-group textarea {
  border-color: var(--border);
  background: #ffffff;
  color: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #59665f;
}

.contact-details a span {
  color: var(--gold-light);
  letter-spacing: 0.05em;
}

.footer {
  background: var(--black-soft);
}

.footer p,
.legal-entry {
  color: var(--gray);
  font-size: 0.78rem;
}

.footer-socials a:hover,
.legal-entry:hover {
  color: var(--gold-light);
}

.image-modal {
  background: rgba(0, 0, 0, 0.94);
}

.modal-close {
  color: var(--gold-light);
}

@media (max-width: 1050px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero {
    min-height: auto;
    padding: 140px 0 80px;
  }

  .hero-visual {
    min-height: 480px;
  }
}

@media (max-width: 700px) {
  .hero h1 {
    font-size: 3.25rem;
  }

  h2,
  .contact-intro h2,
  .vision-content h2 {
    font-size: 2.5rem;
  }

  .nav-links {
    border-color: var(--border);
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 40, 30, 0.14);
  }

  .nav-links a {
    color: var(--white);
  }

  .hero-card {
    height: 440px;
  }

  .profile-photo {
    height: 285px;
  }

  .footer-content {
    align-items: flex-start;
    text-align: left;
  }

  .footer-socials {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader,
  .loader.complete {
    transition: none;
  }
}


/* =========================================
   RESET
========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
}

main {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

ul {
  list-style: none;
}

::selection {
  background: var(--gold-light);
  color: var(--black);
}


/* =========================================
   BASE
========================================= */

.container {
  width: min(90%, var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 160px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--gold-light);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  background: var(--gold-light);
  content: "";
}

h1,
h2,
h3,
.logo {
  font-family: Georgia, "Times New Roman", serif;
}

h2 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(2.6rem, 5vw, 5.7rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

h1 span,
h2 span {
  color: var(--gold-light);
  font-style: italic;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 45px;
  margin-bottom: 70px;
}

.section-description {
  max-width: 390px;
  color: var(--gray);
  font-size: 0.98rem;
  line-height: 1.8;
}

.large-text {
  margin-bottom: 28px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  line-height: 1.4;
}


/* =========================================
   NAVIGATION
========================================= */

.header {
  position: fixed;
  z-index: 1000;
  top: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(7, 7, 7, 0.88);
  backdrop-filter: blur(18px);
}

.navbar {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  color: var(--white);
  font-size: 1.07rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.logo span {
  color: var(--gold-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  position: relative;
  color: var(--silver);
  font-size: 0.77rem;
  transition: var(--transition);
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--gold-light);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-button {
  padding: 12px 18px;
  border: 1px solid var(--gold-dark);
  color: var(--gold-light);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.nav-button:hover {
  background: var(--gold-light);
  box-shadow: 0 0 25px rgba(216, 168, 62, 0.2);
  color: var(--black);
}

.menu-toggle {
  display: none;
  width: 35px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px 0;
  background: var(--gold-light);
  transition: var(--transition);
}


/* =========================================
   BOUTONS
========================================= */

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 25px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  transition: var(--transition);
}

.button span {
  font-size: 1.1rem;
  transition: var(--transition);
}

.button:hover span {
  transform: translate(4px, -4px);
}

.button-gold {
  background: var(--gold-light);
  color: var(--black);
}

.button-gold:hover {
  box-shadow: 0 0 30px rgba(216, 168, 62, 0.42);
  transform: translateY(-4px);
}

.button-outline {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--white);
}

.button-outline:hover {
  border-color: var(--gold-light);
  background: rgba(216, 168, 62, 0.05);
  color: var(--gold-light);
  transform: translateY(-4px);
}

.hero-text-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
  border-bottom: 1px solid var(--gold-dark);
  color: var(--gold-light);
  font-size: 0.78rem;
  transition: var(--transition);
}

.hero-text-button span {
  transition: var(--transition);
}

.hero-text-button:hover {
  border-bottom-color: var(--gold-light);
}

.hero-text-button:hover span {
  transform: translate(4px, -4px);
}


/* =========================================
   HERO
========================================= */

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: center;
  overflow: hidden;
  padding: 180px 0 115px;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 100px;
}

.hero-content {
  max-width: 860px;
}

.hero h1 {
  max-width: 880px;
  margin-bottom: 32px;
  color: var(--white);
  font-size: clamp(3.8rem, 8vw, 8.6rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.hero-description {
  max-width: 570px;
  margin-bottom: 40px;
  color: var(--gray);
  font-size: 1.04rem;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 55px;
}

.hero-tags span {
  padding: 9px 13px;
  border: 1px solid rgba(247, 217, 124, 0.28);
  background: rgba(216, 168, 62, 0.03);
  color: var(--silver);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 540px;
  place-items: center;
  perspective: 1200px;
}

.hero-card {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(80%, 375px);
  height: 485px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(216, 168, 62, 0.52);
  background: var(--black-card);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.hero-card::before {
  position: absolute;
  z-index: -1;
  inset: 16px;
  border: 1px solid rgba(247, 217, 124, 0.2);
  content: "";
  transform: translateZ(-25px);
}

.hero-card::after {
  position: absolute;
  z-index: -2;
  inset: 34px;
  border: 1px solid rgba(247, 217, 124, 0.1);
  content: "";
  transform: translateZ(-50px);
}

.card-top,
.card-bottom {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  color: var(--gray);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.card-top span:first-child,
.card-bottom span:last-child {
  color: var(--gold-light);
}

.profile-photo {
  position: relative;
  z-index: 3;
  display: none;
  width: 72%;
  height: 270px;
  margin: 0 auto;
  border: 1px solid rgba(247, 217, 124, 0.7);
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.52);
  transform: translateZ(35px);
}

.hero-monogram {
  display: block;
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 8rem;
  font-weight: bold;
  letter-spacing: -0.15em;
  text-align: center;
  text-shadow: 8px 8px 0 rgba(216, 168, 62, 0.2);
}

.hero-monogram span {
  color: var(--gold-light);
}

.hero-card.has-profile-photo .profile-photo {
  display: block;
}

.hero-card.has-profile-photo .hero-monogram {
  display: none;
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 5%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition);
}

.scroll-indicator:hover {
  color: var(--gold-light);
}

.scroll-indicator span {
  display: block;
  width: 1px;
  height: 38px;
  background: var(--gold-light);
}


/* =========================================
   BANDEAU
========================================= */

.marquee-section {
  overflow: hidden;
  padding: 21px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--black-soft);
}

.marquee {
  display: flex;
  width: min(90%, var(--container));
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin: 0 auto;
  color: var(--silver);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.marquee i {
  color: var(--gold-light);
  font-style: normal;
}

/* =========================================
   PARCOURS / ABOUT
========================================= */

.about {
  background: var(--black);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 110px;
}

.about-content {
  max-width: 610px;
}

.about-content p:not(.large-text) {
  margin-bottom: 18px;
  color: var(--gray);
  font-size: 0.96rem;
  line-height: 1.85;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gold-dark);
  color: var(--gold-light);
  font-size: 0.8rem;
  transition: var(--transition);
}

.text-link span {
  transition: var(--transition);
}

.text-link:hover {
  border-bottom-color: var(--gold-light);
}

.text-link:hover span {
  transform: translate(4px, -4px);
}

.journey-list {
  margin-top: 120px;
  border-top: 1px solid var(--border);
}

.journey-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.journey-item:hover {
  padding-right: 18px;
  padding-left: 18px;
  background: linear-gradient(
    90deg,
    rgba(216, 168, 62, 0.06),
    transparent
  );
}

.journey-date {
  color: var(--gold-light);
  font-size: 0.71rem;
  font-weight: bold;
  letter-spacing: 0.15em;
}

.journey-item h3 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.55rem;
  font-weight: 400;
}

.journey-item p {
  max-width: 660px;
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.8;
}


/* =========================================
   INDICATEURS
========================================= */

.stats {
  padding: 90px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--black-soft);
}

.stats-label {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 45px;
}

.stats-label .eyebrow {
  margin-bottom: 0;
}

.stats-label > p {
  max-width: 380px;
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
}

.stat-item {
  min-height: 175px;
  padding: 27px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.stat-item:first-child {
  border-left: 1px solid var(--border);
}

.stat-item:hover {
  background: rgba(216, 168, 62, 0.06);
}

.stat-item strong {
  display: block;
  margin-bottom: 24px;
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 2.7rem;
  font-weight: 400;
}

.stat-item span {
  display: block;
  margin-bottom: 9px;
  color: var(--white);
  font-size: 0.88rem;
}

.stat-item p {
  color: var(--gray);
  font-size: 0.75rem;
  line-height: 1.5;
}


/* =========================================
   PROJETS
========================================= */

.projects {
  background: var(--black);
}

.project-filters {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 52px;
}

.filter-button {
  padding: 11px 18px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--gray);
  font-size: 0.72rem;
  transition: var(--transition);
}

.filter-button:hover,
.filter-button.active {
  border-color: var(--gold-light);
  background: var(--gold-light);
  color: var(--black);
}

.projects-grid {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 70px 26px;
}

.project-card {
  min-width: 0;
}

.project-card.hide {
  display: none;
}

.project-image {
  position: relative;
  height: 555px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--black-card);
  transition: var(--transition-slow);
}

.project-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72),
    transparent 50%
  );
  content: "";
  pointer-events: none;
}

.project-image img {
  transition: filter 0.2s ease;
  filter: saturate(0.85);
}

.project-card:hover .project-image {
  border-color: var(--border-gold);
}

.project-card:hover .project-image img {
  filter: saturate(1);
}

.view-project {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  padding: 12px 15px;
  background: var(--gold-light);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(15px);
  transition: var(--transition);
}

.project-card:hover .view-project {
  opacity: 1;
  transform: translateY(0);
}

.project-details {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
  padding-top: 22px;
}

.project-details span {
  color: var(--gold-light);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-details h3 {
  color: var(--white);
  font-size: 1.28rem;
  font-weight: 400;
  text-align: right;
}

.project-summary {
  max-width: 540px;
  margin-top: 15px;
  color: var(--gray);
  font-size: 0.84rem;
  line-height: 1.7;
}

.project-empty-state {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 2px solid var(--gold-light);
  color: var(--silver);
  font-size: 0.9rem;
  line-height: 1.6;
}


/* =========================================
   EXPERTISES
========================================= */

.expertise {
  border-top: 1px solid var(--border);
  background: var(--black-soft);
}

.expertise-list {
  border-top: 1px solid var(--border-gold);
}

.expertise-item {
  display: grid;
  min-height: 135px;
  align-items: center;
  grid-template-columns: 90px 1fr 60px;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-gold);
  transition: var(--transition);
}

.expertise-item:hover {
  padding-right: 25px;
  padding-left: 25px;
  background: linear-gradient(
    90deg,
    rgba(216, 168, 62, 0.08),
    transparent
  );
}

.expertise-number {
  color: var(--gold-light);
  font-size: 0.75rem;
}

.expertise-item h3 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(1.45rem, 2.5vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.expertise-item p {
  max-width: 570px;
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.65;
}

.expertise-arrow {
  color: var(--gold-light);
  font-size: 1.5rem;
  text-align: right;
  transition: var(--transition);
}

.expertise-item:hover .expertise-arrow {
  transform: translate(6px, -6px);
}


/* =========================================
   OUTILS
========================================= */

.tools {
  background: var(--black);
}

.tools-layout {
  display: grid;
  align-items: center;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 115px;
}

.tools-content {
  max-width: 640px;
}

.tools-content > p:first-child {
  margin-bottom: 32px;
  color: var(--gray);
  font-size: 0.97rem;
  line-height: 1.85;
}

.tools-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tools-list span {
  padding: 14px 17px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
  color: var(--silver);
  font-size: 0.72rem;
  transition: var(--transition);
}

.tools-list span:hover {
  border-color: var(--gold-light);
  background: rgba(216, 168, 62, 0.08);
  color: var(--gold-light);
  transform: translateY(-5px);
}

.tools-note {
  margin-top: 28px;
  color: var(--gold-light);
  font-size: 0.73rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


/* =========================================
   CONTENU / TIKTOK
========================================= */

.content-section {
  border-top: 1px solid var(--border);
  background:
    radial-gradient(
      circle at 90% 50%,
      rgba(216, 168, 62, 0.09),
      transparent 36%
    ),
    var(--black-soft);
}

.content-layout {
  display: grid;
  align-items: center;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 115px;
}

.content-description {
  max-width: 640px;
}

.content-description > p {
  margin-bottom: 35px;
  color: var(--gray);
  font-size: 1.03rem;
  line-height: 1.9;
}

.content-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 38px;
}

.content-skills span {
  padding: 13px 16px;
  border: 1px solid var(--border);
  color: var(--silver);
  font-size: 0.73rem;
  transition: var(--transition);
}

.content-skills span:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}


/* =========================================
   FORMATIONS
========================================= */

.formations {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--black);
}

.formations-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.9fr 1fr;
  gap: 100px;
}

.formations-content {
  max-width: 620px;
}

.formations-content > p {
  margin-bottom: 35px;
  color: var(--gray);
  font-size: 1.03rem;
  line-height: 1.9;
}


/* =========================================
   VISION
========================================= */

.vision {
  background:
    radial-gradient(
      circle at 50% 100%,
      rgba(216, 168, 62, 0.14),
      transparent 45%
    ),
    var(--black-soft);
}

.vision-content {
  max-width: 940px;
  text-align: center;
}

.vision-content .eyebrow {
  justify-content: center;
}

.vision-content h2 {
  max-width: 900px;
  margin: 0 auto 38px;
  font-size: clamp(3rem, 7vw, 7rem);
}

.vision-content > p {
  max-width: 710px;
  margin: 0 auto 19px;
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.9;
}

.vision-content .button {
  margin-top: 25px;
}


/* =========================================
   PROCESSUS
========================================= */

.process {
  background: var(--black);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-card {
  min-height: 260px;
  padding: 30px 24px;
  border-right: 1px solid var(--border);
  transition: var(--transition);
}

.process-card:first-child {
  border-left: 1px solid var(--border);
}

.process-card:hover {
  background: rgba(216, 168, 62, 0.05);
}

.process-card span {
  display: block;
  margin-bottom: 80px;
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 1.6rem;
}

.process-card h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 1.28rem;
  font-weight: 400;
}

.process-card p {
  color: var(--gray);
  font-size: 0.8rem;
  line-height: 1.7;
}


/* =========================================
   CONTACT
========================================= */

.contact {
  background:
    radial-gradient(
      circle at 50% 100%,
      rgba(216, 168, 62, 0.11),
      transparent 43%
    ),
    var(--black-soft);
}

.contact-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 120px;
}

.contact-intro {
  position: sticky;
  top: 130px;
}

.contact-intro h2 {
  margin-bottom: 28px;
  font-size: clamp(3rem, 5vw, 5.8rem);
  letter-spacing: -0.055em;
}

.contact-intro > p:not(.eyebrow) {
  max-width: 500px;
  margin-bottom: 28px;
  color: var(--gray);
  font-size: 0.97rem;
  line-height: 1.85;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 43px;
}

.contact-details a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  color: var(--silver);
  font-size: 0.86rem;
  transition: var(--transition);
}

.contact-details a span {
  color: var(--gold-light);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-details a:hover {
  color: var(--gold-light);
  transform: translateX(6px);
}

.contact-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 17px;
  color: var(--silver);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
}

.contact-note span {
  color: var(--gold-light);
  font-size: 0.9rem;
}


/* =========================================
   FORMULAIRE
========================================= */

.audit-form {
  padding: 40px;
  border: 1px solid var(--border-gold);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.36);
}

.audit-form::before {
  display: block;
  margin-bottom: 32px;
  color: var(--gold-light);
  content: "NOUVELLE DEMANDE DE PROJET";
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.form-group {
  margin-bottom: 23px;
}

.form-group label {
  display: block;
  margin-bottom: 9px;
  color: var(--silver);
  font-size: 0.75rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--black);
  color: var(--white);
  font-family: inherit;
  font-size: 0.85rem;
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 18px rgba(216, 168, 62, 0.13);
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: var(--black-soft);
  color: var(--white);
}

.form-group textarea {
  min-height: 155px;
  resize: vertical;
}

.form-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  margin: 24px 0;
  color: var(--silver);
  font-size: 0.8rem;
  line-height: 1.6;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold-light);
}

.form-consent a,
.legal-links a,
.legal-document a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.phone-group {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 10px;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

.form-success {
  display: none;
  margin-top: 19px;
  color: var(--gold-light);
  font-size: 0.78rem;
  line-height: 1.6;
}

.form-success.show {
  display: block;
}


/* =========================================
   FOOTER
========================================= */

.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: var(--black);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer p {
  color: var(--gray);
  font-size: 0.7rem;
}

.footer-socials {
  display: flex;
  gap: 20px;
  color: var(--gray);
  font-size: 0.72rem;
}

.footer-socials a {
  transition: var(--transition);
}

.footer-socials a:hover {
  color: var(--gold-light);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: var(--gray);
  font-size: 0.72rem;
}


/* =========================================
   MODALE
========================================= */

.image-modal {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(0, 0, 0, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.image-modal.show {
  opacity: 1;
  visibility: visible;
}

.image-modal img {
  width: auto;
  max-width: 90vw;
  height: auto;
  max-height: 88vh;
  object-fit: contain;
  border: 1px solid rgba(216, 168, 62, 0.6);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
}

.modal-close {
  position: absolute;
  top: 22px;
  right: 33px;
  background: transparent;
  color: var(--gold-light);
  font-size: 2.7rem;
  font-weight: 200;
  transition: var(--transition);
}

.modal-close:hover {
  transform: rotate(90deg);
}


/* =========================================
   APPARITION AU DÉFILEMENT
========================================= */

.reveal {
  opacity: 1;
  transform: none;
}


/* =========================================
   TABLETTE
========================================= */

@media (max-width: 1050px) {
  .nav-links {
    gap: 15px;
  }

  .nav-button {
    display: none;
  }

  .hero-container {
    gap: 50px;
  }

  .about-grid,
  .formations-grid {
    gap: 65px;
  }

  .positioning-grid,
  .tools-layout,
  .content-layout,
  .contact-layout {
    gap: 65px;
  }

  .projects-grid {
    gap: 55px 20px;
  }

  .project-image {
    height: 480px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-card:nth-child(2) {
    border-right: none;
  }

  .process-card:nth-child(3),
  .process-card:nth-child(4) {
    border-top: 1px solid var(--border);
  }
}


/* =========================================
   MOBILE ET TABLETTE PETITE
========================================= */

@media (max-width: 850px) {
  .hero-container,
  .about-grid,
  .formations-grid,
  .tools-layout,
  .content-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .hero-content {
    max-width: 850px;
  }

  .hero-visual {
    min-height: 490px;
  }

  .contact-intro {
    position: static;
  }

  .stats-label {
    display: block;
  }

  .stats-label > p {
    margin-top: 22px;
  }
}


@media (max-width: 700px) {
  .section {
    padding: 105px 0;
  }

  .navbar {
    min-height: 75px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .nav-links {
    position: absolute;
    top: 75px;
    right: 5%;
    left: 5%;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0;
    border: 1px solid var(--border);
    background: rgba(15, 15, 15, 0.98);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transform: translateY(-15px);
    transition: var(--transition);
  }

  .nav-links.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links li a {
    display: block;
    padding: 15px 22px;
  }

  .nav-links a::after {
    display: none;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding: 145px 0 90px;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 14vw, 5.15rem);
  }

  .hero-container {
    display: block;
  }

  .hero-visual {
    min-height: 425px;
    margin-top: 65px;
  }

  .hero-card {
    width: min(76%, 315px);
    height: 400px;
  }

  .profile-photo {
    width: 78%;
    height: 220px;
  }

  .visual-orbit {
    width: 350px;
    height: 190px;
  }

  .orbit-two {
    width: 390px;
    height: 230px;
  }

  .scroll-indicator {
    display: none;
  }

  .section-header {
    display: block;
    margin-bottom: 43px;
  }

  .section-description {
    margin-top: 25px;
  }

  .journey-list {
    margin-top: 70px;
  }

  .journey-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-top: 1px solid var(--border);
  }

  .stat-item:nth-child(3) {
    border-left: 1px solid var(--border);
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .project-image {
    height: 445px;
  }

  .view-project {
    opacity: 1;
    transform: translateY(0);
  }

  .project-details {
    display: block;
  }

  .project-details h3 {
    margin-top: 8px;
    text-align: left;
  }

  .expertise-item {
    grid-template-columns: 45px 1fr 25px;
    gap: 15px;
  }

  .expertise-item h3 {
    font-size: 1.2rem;
  }

  .expertise-item p {
    font-size: 0.77rem;
    line-height: 1.55;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-card {
    min-height: auto;
    border-top: 1px solid var(--border);
    border-right: none;
  }

  .process-card:first-child {
    border-top: none;
  }

  .process-card span {
    margin-bottom: 38px;
  }

  .contact-intro {
    margin-bottom: 55px;
  }

  .audit-form {
    padding: 25px 19px;
  }

  .contact-note {
    align-items: flex-start;
    line-height: 1.5;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-socials {
    width: 100%;
    justify-content: center;
  }
}


/* =========================================
   PETITS ÉCRANS
========================================= */

@media (max-width: 500px) {
  .phone-group {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
  }

  .stat-item:first-child {
    border-top: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .hero-text-button {
    width: 100%;
  }

  .hero-text-button {
    min-height: 45px;
    justify-content: center;
  }

  .hero-card {
    width: min(83%, 310px);
  }

  .project-image {
    height: 375px;
  }
}


/* =========================================
   ACCESSIBILITÉ
========================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
.expertise-item::before {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-light);
  content: "";
  transition: width 0.7s ease;
}

.expertise-item {
  position: relative;
}

.expertise-item:hover::before {
  width: 100%;
}

.legal-document {
  max-width: 860px;
  padding-top: 145px;
  padding-bottom: 100px;
}

.legal-document h1 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.05;
}

.legal-document h2 {
  margin: 38px 0 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}

.legal-document p,
.legal-document li,
.legal-document dd {
  color: var(--silver);
  font-size: 0.96rem;
  line-height: 1.8;
}

.legal-document p + p,
.legal-document ul,
.legal-document dl {
  margin-top: 14px;
}

.legal-document ul {
  padding-left: 22px;
}

.legal-document dt {
  margin-top: 15px;
  color: var(--white);
  font-weight: 700;
}

.legal-document .legal-notice {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--gold-light);
  background: var(--black-soft);
}

.legal-document .legal-date {
  margin-bottom: 28px;
  color: var(--gray);
  font-size: 0.8rem;
}

body {
  background: var(--black);
  color: var(--white);
}

.loader {
  background: var(--black);
  color: var(--white);
}

.header,
.header.scrolled {
  background: rgba(7, 7, 7, 0.92);
}

.nav-button:hover,
.button-gold {
  background: var(--gold-light);
  color: var(--black);
}

.nav-links {
  background: transparent;
}

.nav-links.open {
  background: var(--black-soft);
}

.hero-card .profile-photo {
  filter: grayscale(1);
  transition: filter 0.25s ease;
}

.hero-card:hover .profile-photo {
  filter: grayscale(0);
}

.project-filters {
  display: flex;
}

.projects-grid {
  display: grid;
}

.marquee {
  width: max-content;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0;
  animation: marquee-scroll 36s linear infinite;
}

.marquee-track {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
  white-space: nowrap;
}

.marquee:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--black);
  color: var(--white);
}

.image-modal {
  background: rgba(0, 0, 0, 0.94);
}

@media (max-width: 700px) {
  .profile-photo {
    width: 78%;
    height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    animation: none;
  }
}

.hero-visual {
  min-height: 0;
}

.hero-card {
  width: min(100%, 430px);
  height: auto;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(216, 168, 62, 0.52);
  background: var(--black-card);
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.hero-card::before,
.hero-card::after {
  display: none;
}

.hero-card .card-top,
.hero-card .card-bottom {
  position: relative;
  right: auto;
  left: auto;
  z-index: 4;
  color: var(--gray);
  text-shadow: none;
}

.hero-card .card-top {
  top: auto;
}

.hero-card .card-bottom {
  bottom: auto;
}

.hero-card .profile-photo {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 19 / 24;
  margin: 8px 0;
  border: 1px solid rgba(247, 217, 124, 0.7);
  border-radius: 10px;
  box-shadow: none;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(1);
  transition: filter 0.25s ease;
}

.hero-card .card-top,
.hero-card .card-bottom {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

@media (max-width: 700px) {
  .nav-links {
    background: rgba(15, 15, 15, 0.98);
  }
}

.hero-card:hover .profile-photo {
  filter: grayscale(0);
}

.projects .section-header {
  align-items: end;
}

.project-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  margin-bottom: 38px;
  overflow-x: auto;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.filter-button {
  display: flex;
  min-height: 66px;
  flex: 1 0 auto;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  border: 0;
  border-right: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  color: var(--gray);
  text-align: left;
  white-space: nowrap;
}

.filter-button span {
  color: var(--white);
  font-size: 0.78rem;
}

.filter-button:hover,
.filter-button.active {
  border-color: var(--border);
  border-bottom: 2px solid var(--gold-light);
  background: transparent;
  color: var(--gold-light);
}

.filter-button:hover span,
.filter-button.active span {
  color: var(--gold-light);
}

.projects-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 22px;
}

.project-image {
  height: auto;
  aspect-ratio: 1 / 1;
  border-color: var(--border);
  background: var(--black-card);
}

.project-image::after {
  display: none;
}

.project-image img {
  padding: 10px;
  object-fit: contain;
  filter: none;
  transition: transform 0.25s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.025);
}

.project-details {
  display: block;
  padding-top: 16px;
}

.project-details span {
  color: var(--gold-light);
  letter-spacing: 0.06em;
}

.project-details h3 {
  margin-top: 7px;
  font-size: 1.2rem;
  text-align: left;
}

.project-summary {
  margin-top: 10px;
}

.view-project,
.project-card:hover .view-project {
  position: static;
  display: inline-flex;
  margin-top: 16px;
  padding: 0;
  background: transparent;
  color: var(--gold-light);
  opacity: 1;
  transform: none;
}

@media (max-width: 1050px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 20px;
  }
}

@media (max-width: 700px) {
  .hero-card {
    max-width: 400px;
  }

  .hero-card .profile-photo {
    height: auto;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-image {
    aspect-ratio: 0.92 / 1;
  }
}

.contact-method {
  min-width: 0;
  padding: 0;
  border: 0;
}

.contact-method legend {
  margin-bottom: 10px;
  color: var(--silver);
  font-size: 0.75rem;
}

.contact-method-options {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-method-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--white);
  cursor: pointer;
}

.contact-method-options input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--gold-light);
}

.form-group[hidden] {
  display: none;
}

