/* ================= RESET & BASE ================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-dark: #141414;
  --bg-dark-2: #1b1b1b;
  --bg-light: #f3f2ef;
  --bg-white: #ffffff;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-muted-onlight: #767672;
  --text-muted-ondark: #9a9a97;
  --border-ondark: rgba(255,255,255,0.16);
  --border-onlight: rgba(0,0,0,0.12);
  --header-h: 84px;

  --fs-base: 15px;
  --fs-h2: 27px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-weight: 300;
  font-size: var(--fs-base);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.is-hidden { display: none; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2 {
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.container.narrow {
  max-width: 1000px;
}

section[id], main#top {
  scroll-margin-top: var(--header-h);
}

.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-dark);
  color: var(--white);
}

.section-light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.section-white {
  background: var(--bg-white);
  color: var(--text-dark);
}

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-heading h2 {
  font-size: var(--fs-h2);
  margin-bottom: 16px;
}

.section-text {
  color: var(--text-muted-ondark);
  font-size: var(--fs-base);
}

.section-light .section-text,
.section-white .section-text {
  color: var(--text-muted-onlight);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 12px;
  color: var(--text-muted-ondark);
  margin-bottom: 14px;
}

.eyebrow span {
  opacity: 0.9;
  margin: 0 4px;
  font-weight: 700;
}

.eyebrow-dark {
  color: var(--text-muted-onlight);
}

.block-title {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 11px;
  color: var(--text-muted-ondark);
  margin-bottom: 20px;
}

.section-light .block-title,
.section-white .block-title {
  color: var(--text-muted-onlight);
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-block;
  padding: 15px 30px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: opacity 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  opacity: 0.85;
}

.btn-light {
  background: var(--white);
  color: var(--text-dark);
}

.btn-dark {
  background: var(--text-dark);
  color: var(--white);
}

.btn-outline-nav {
  border: 1px solid var(--border-ondark);
  padding: 10px 22px;
  font-size: 13px;
}

/* ================= HEADER ================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-ondark);
  height: var(--header-h);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 42px;
  width: auto;
  aspect-ratio: 360 / 101;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  color: #d8d8d6;
  font-size: var(--fs-base);
  font-weight: 300;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--white);
}

.nav-toggle { display: none; }
.nav-burger { display: none; }

/* ================= HERO ================= */
.hero {
  background: var(--bg-dark);
  color: var(--white);
  padding-top: var(--header-h);
}

.hero-inner {
  padding: 90px 32px 70px;
  text-align: center;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-icon-orbit {
  position: relative;
  width: 135px;
  aspect-ratio: 2197 / 2003;
  margin: 0 auto 46px;
  transform-origin: 50% 50%;
  will-change: transform;
}

.hero-icon-orbit .hero-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  transition: opacity 0.8s ease, filter 0.8s ease;
}

.hero-icon-orbit.intro .hero-icon {
  opacity: 0.7;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
}

.hero-icon-orbit.intro.settled .hero-icon {
  opacity: 1;
  filter: drop-shadow(0 0 34px rgba(255, 255, 255, 0.22));
}

.hero-icon-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-node-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}

.hero-label-anchor {
  position: absolute;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.hero-label-inner {
  will-change: transform;
}

.hero-label-text {
  display: inline-block;
  max-width: 120px;
  min-width: 60px;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.5), 0 0 3px rgba(255, 255, 255, 0.7);
  line-height: 1.2;
}

.hero h1 {
  font-size: 38px;
  margin: 20px 0 22px;
}

.hero-text {
  color: var(--text-muted-ondark);
  max-width: 560px;
  margin: 0 auto 34px;
  font-size: var(--fs-base);
}

.stats {
  border-top: 1px solid var(--border-ondark);
  background: var(--white);
  color: var(--text-dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat {
  padding: 44px 16px;
  border-right: 1px solid var(--border-onlight);
}

.stat:last-child { border-right: none; }

.stat-number {
  font-size: 34px;
  font-weight: 300;
}

.stat-number span {
  color: var(--text-muted-onlight);
}

.stat-label {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #3a3a38;
  margin-top: 6px;
}

/* ================= ABOUT ================= */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.about-content h2 {
  font-size: var(--fs-h2);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-muted-onlight);
  margin-bottom: 16px;
  font-size: var(--fs-base);
}

/* -------- photo frames (shared) -------- */
.photo-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(135deg, #d8d8d4, #8d8d88, #2c2c2a);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
}

.photo-frame-portrait {
  aspect-ratio: 3 / 4;
}

.about-photo .photo-frame img {
  object-fit: cover;
  object-position: center top;
}

.photo-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(15,15,15,0.85);
  color: var(--white);
  font-size: 13px;
  padding: 10px 16px;
}

.skills-block {
  border-top: 1px solid var(--border-onlight);
  padding-top: 40px;
  text-align: center;
}

.tags {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.tags-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.tag {
  border: 1px solid var(--border-onlight);
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
}

/* ================= APPROCHE ================= */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  margin-bottom: 70px;
}

.approach-eyebrow-mobile {
  display: none;
}

.approach-content h2 {
  font-size: var(--fs-h2);
  margin: 6px 0 18px;
}

.approach-pillars {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  border-top: 1px solid var(--border-ondark);
  padding-top: 32px;
  margin-top: 30px;
}

.approach-pillar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.approach-pillar-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.approach-pillar-icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-ondark);
  border-radius: 50%;
  color: var(--white);
}

.approach-pillar-icon svg {
  width: 20px;
  height: 20px;
}

.approach-pillar-title {
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
}

.approach-pillar-desc {
  font-size: 13px;
  color: var(--text-muted-ondark);
  line-height: 1.5;
}

.approach-pillar-link {
  flex: none;
  width: 40px;
  margin-top: 10px;
  color: var(--text-muted-ondark);
}

.approach-pillar-link svg {
  width: 100%;
  height: auto;
}

.approach-photo .photo-frame {
  aspect-ratio: 4 / 5;
}

.process-block {
  border-top: 1px solid var(--border-ondark);
  padding-top: 40px;
  text-align: center;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.step {
  border: 1px solid var(--border-ondark);
  border-radius: 30px;
  padding: 12px 22px;
  font-size: 14px;
  white-space: nowrap;
}

.step-filled {
  background: var(--white);
  color: var(--text-dark);
  border-color: var(--white);
}

.arrow {
  color: var(--text-muted-ondark);
}

/* ================= ACCORDION (Domaines) ================= */
#domaines .section-heading { margin-bottom: 44px; }

.accordion-item {
  border: 1px solid var(--border-onlight);
  border-left: 3px solid var(--text-dark);
  border-radius: 8px;
  background: var(--bg-light);
  margin-bottom: 14px;
  overflow: hidden;
}

.accordion-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
}

.accordion-item summary::-webkit-details-marker { display: none; }

.accordion-icon-wrap {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  color: var(--text-dark);
}

.accordion-icon-wrap svg {
  width: 100%;
  height: 100%;
}

.accordion-headtext {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.accordion-title {
  font-weight: 400;
  font-size: 16px;
}

.accordion-subtitle {
  color: var(--text-muted-onlight);
  font-size: 14px;
}

.accordion-chevron {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--text-muted-onlight);
  transition: transform 0.25s ease;
}

.accordion-chevron svg { width: 100%; height: 100%; }

.accordion-item[open] .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 24px 26px 64px;
}

.accordion-body-label {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 11px;
  color: var(--text-muted-onlight);
  margin-bottom: 12px;
}

.accordion-body ul li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-muted-onlight);
  margin-bottom: 10px;
}

.accordion-body ul li:last-child { margin-bottom: 0; }

.accordion-body ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--text-muted-onlight);
}

/* ================= DOMAINES hint ================= */
.section-hint {
  font-style: italic;
  font-size: 13px;
  color: var(--text-muted-onlight);
}

/* ================= CONTACT addr ================= */
.contact-line-addr {
  align-items: flex-start;
}

/* ================= ANIMATIONS ================= */
.animate-fade {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.animate-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================= FORMATIONS ================= */
.formations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 44px;
}

.formation-item {
  background: var(--white);
  border: 1px solid var(--border-onlight);
  border-radius: 4px;
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.formation-item-wide {
  grid-column: 1 / -1;
}

.formation-num {
  color: var(--text-muted-onlight);
  font-size: 13px;
  flex: none;
}

.formation-item p {
  font-size: 14px;
}

.center-btn {
  text-align: center;
}

/* ================= REFERENCES ================= */
.references-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

.reference-box {
  border: 1px solid var(--border-ondark);
  border-radius: 6px;
  padding: 30px 16px;
  text-align: center;
  font-size: 14px;
  color: #cfcfcc;
}

.fineprint {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted-ondark);
}

/* ================= COLLABORATIONS ================= */
.collab-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.collab-card {
  background: var(--white);
  border: 1px solid var(--border-onlight);
  border-radius: 6px;
  padding: 30px 20px;
  text-align: center;
}

.collab-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--text-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  margin: 0 auto 16px;
}

.collab-name {
  font-weight: 400;
  margin-bottom: 4px;
}

.collab-role {
  font-size: 13px;
  color: var(--text-muted-onlight);
}

/* ================= CONTACT ================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: stretch;
}

.contact-photo .photo-frame {
  min-height: 320px;
  height: 100%;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: var(--bg-dark-2);
  border: 1px solid var(--border-ondark);
  border-radius: 6px;
  padding: 30px;
  flex: 1;
}

.contact-name {
  font-size: 18px;
  margin-bottom: 4px;
}

.contact-org {
  color: var(--text-muted-ondark);
  font-size: 14px;
  margin-bottom: 18px;
}

.contact-card hr {
  border: none;
  border-top: 1px solid var(--border-ondark);
  margin-bottom: 18px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 14px;
  color: #d8d8d6;
}

.contact-line:last-child { margin-bottom: 0; }

.contact-line svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--text-muted-ondark);
}

.contact-line a:hover {
  text-decoration: underline;
}

.availability-card {
  background: var(--white);
  color: var(--text-dark);
  border-radius: 6px;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.avail-line {
  font-size: 15px;
  font-weight: 400;
}

.avail-hours {
  font-size: 14px;
  color: var(--text-muted-onlight);
}

/* ================= FOOTER ================= */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-muted-ondark);
  text-align: center;
  padding: 26px;
  font-size: 13px;
  border-top: 1px solid var(--border-ondark);
}

.footer-credit {
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.7;
}

.footer-credit a {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--border-ondark);
}

.footer-credit a:hover {
  color: var(--white);
  text-decoration-color: currentColor;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 220px 1fr; gap: 40px; }
  .approach-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "eyebrow" "photo" "content";
    gap: 24px;
  }
  .approach-eyebrow-mobile {
    display: block;
    grid-area: eyebrow;
  }
  .approach-content .eyebrow { display: none; }
  .approach-content { grid-area: content; }
  .approach-photo { grid-area: photo; max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-photo .photo-frame { min-height: 260px; }
  .references-grid { grid-template-columns: repeat(2, 1fr); }
  .collab-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 22px; }
  .section { padding: 70px 0; }

  .hero h1 { font-size: 28px; }
  .section-heading h2 { font-size: 22px; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-ondark);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav a {
    padding: 16px 22px;
    border-top: 1px solid var(--border-ondark);
  }

  .main-nav .btn-outline-nav {
    margin: 16px 22px;
    border: 1px solid var(--border-ondark);
  }

  .nav-toggle:checked ~ .main-nav {
    max-height: 400px;
  }

  .nav-burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
  }

  .nav-burger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    display: block;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border-onlight); }

  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 240px; margin: 0 auto; }

  .formations-grid { grid-template-columns: 1fr; }

  .references-grid { grid-template-columns: 1fr 1fr; }
  .collab-grid { grid-template-columns: 1fr 1fr; }

  .process-steps { flex-direction: column; }
  .arrow { transform: rotate(90deg); }

  .accordion-body { padding-left: 24px; }
}

@media (max-width: 480px) {
  .hero-inner { padding: 70px 20px 50px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none !important; border-bottom: 1px solid var(--border-onlight); }
  .stat:last-child { border-bottom: none; }
  .references-grid { grid-template-columns: 1fr; }
  .collab-grid { grid-template-columns: 1fr; }
  .approach-icons { flex-direction: column; gap: 20px; }
  .availability-card { flex-direction: column; align-items: flex-start; }
  .availability-card .btn { width: 100%; }
  .logo-img { height: 32px; }
}
