:root {
  --primary: #5a3884;
  --accent: #5a3884;
  --bg: #ffffff;
  --surface: #f5f3ef;
  --text: #14161a;
  --muted: #5d6169;
  --line: #dcd9d3;
  --dark: #14161a;
  --radius: 0;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", sans-serif;
  --wrap: 1200px;
  --gut: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

.label { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.08; }
h2 { font-size: clamp(32px, 5vw, 52px); }
h3 { font-size: 24px; }
.lead { font-size: 18px; color: var(--muted); max-width: 640px; }
p + p { margin-top: 14px; }

.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: color var(--transition), gap var(--transition); }
.link:hover { color: var(--primary); gap: 14px; }
.link:focus-visible, .btn:focus-visible, .nav a:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 22px 14px 26px; border-radius: 999px; font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0.01em; border: 1.5px solid var(--primary); background: var(--primary); color: #fff; cursor: pointer; transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition); }
.btn::after { content: ""; width: 7px; height: 7px; border-top: 1.8px solid currentColor; border-right: 1.8px solid currentColor; transform: rotate(45deg); transition: transform var(--transition); }
.btn:hover { background: #46296a; border-color: #46296a; }
.btn:hover::after { transform: translateX(3px) rotate(45deg); }
.btn:active { transform: scale(0.98); }
.btn--line { background: transparent; color: var(--text); border-color: rgba(20, 22, 26, 0.28); }
.btn--line:hover { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--light { background: #fff; color: var(--dark); border-color: #fff; }
.btn--light:hover { background: #ece6f4; border-color: #ece6f4; color: var(--dark); }
.btn svg { width: 18px; height: 18px; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo img { height: 34px; width: auto; }
.nav { display: none; }
.nav a { font-size: 14px; font-weight: 500; transition: color var(--transition); }
.nav a:hover { color: var(--primary); }
.header-cta { display: none; }
.burger { display: flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { width: 22px; height: 2px; background: var(--text); transition: transform var(--transition), opacity var(--transition); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gut) 20px; }
.nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }

.hero { padding: 56px 0 0; }
.hero h1 { font-size: clamp(42px, 8vw, 92px); max-width: 980px; margin: 18px 0 24px; }
.hero h1 em { font-style: italic; color: var(--primary); }
.hero-row { display: flex; flex-direction: column; gap: 24px; padding-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; height: 56vh; min-height: 320px; max-height: 680px; object-fit: cover; object-position: center 72%; }
.hero-photo figcaption { position: absolute; left: var(--gut); bottom: 14px; color: #fff; font-size: 13px; text-shadow: 0 1px 6px rgba(0,0,0,0.6); }

.facts { border-bottom: 1px solid var(--line); }
.facts ul { display: grid; grid-template-columns: 1fr; }
.facts li { padding: 26px 0; border-top: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--serif); font-size: 44px; font-weight: 500; line-height: 1; margin-bottom: 8px; }
.facts span { color: var(--muted); font-size: 15px; }

.section { padding: 80px 0; border-bottom: 1px solid var(--line); }
.section--surface { background: var(--surface); }
.section--dark { background: var(--dark); color: #fff; border-bottom: 0; }
.section--dark .label { color: #b9a2d8; }
.section--dark .lead, .section--dark p { color: #c9cbd0; }
.split { display: grid; gap: 28px; }
.split-head h2 { margin-top: 14px; }
.body p { color: var(--muted); font-size: 17px; }
.body strong { color: var(--text); font-weight: 600; }
.section--dark .body strong { color: #fff; }

.refs { margin-top: 32px; display: grid; gap: 0; }
.refs div { padding: 16px 0; border-top: 1px solid var(--line); }
.refs dt { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.refs dd { font-size: 16px; }

.metiers { margin-top: 44px; border-top: 1px solid var(--text); }
.metier { display: grid; gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.metier-num { font-family: var(--serif); font-size: 18px; color: var(--primary); }
.metier p { color: var(--muted); }

.works { margin-top: 44px; display: grid; gap: 28px; }
.work figure { margin: 0; }
.work img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity var(--transition); }
.work a:hover img { opacity: 0.88; }
.work figcaption { padding-top: 12px; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.work figcaption b { font-family: var(--serif); font-weight: 500; font-size: 20px; }
.work figcaption span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.work--tall img { aspect-ratio: 3 / 4; }
.works-more { margin-top: 36px; }

.duo { margin-top: 44px; display: grid; gap: 20px; }
.duo figure { margin: 0; }
.duo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.duo figcaption { padding-top: 12px; font-size: 14px; color: var(--muted); }
.duo figcaption b { color: var(--text); font-weight: 600; margin-right: 8px; }

.steps { margin-top: 40px; display: grid; border-top: 1px solid rgba(255,255,255,0.25); }
.step { padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,0.18); display: grid; gap: 8px; }
.step h3 { color: #fff; font-size: 22px; }
.step-num { font-family: var(--serif); color: #b9a2d8; }
.dark-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.section--dark .link { color: #fff; }
.section--dark .link:hover { color: #b9a2d8; }

.table { margin-top: 36px; border-top: 1px solid var(--text); }
.table div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.table dt { font-weight: 600; }
.table dd { color: var(--muted); }

.qga { display: grid; gap: 32px; align-items: start; }
.qga img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }

.faq { margin-top: 36px; border-top: 1px solid var(--text); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative; font-family: var(--serif); font-size: 20px; line-height: 1.3; transition: color var(--transition); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--sans); font-size: 24px; font-weight: 300; transition: transform var(--transition); }
.faq summary:hover { color: var(--primary); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; max-width: 760px; }
.faq-more { margin-top: 24px; color: var(--muted); }
.faq-more a { color: var(--text); border-bottom: 1px solid currentColor; }

.contact { display: grid; gap: 48px; }
.coords { margin-top: 32px; border-top: 1px solid var(--text); }
.coords div { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.coords dt { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.coords dd a { transition: color var(--transition); }
.coords dd a:hover { color: var(--primary); }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 14px; transition: border-color var(--transition); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); }

.wa { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; background: #1f7a4d; color: #fff; padding: 12px 20px 12px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); transition: background var(--transition), transform var(--transition); }
.wa:hover { background: #17603c; transform: translateY(-2px); }
.wa:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.wa svg { width: 20px; height: 20px; }

.footer { background: var(--dark); color: #c9cbd0; padding: 56px 0 90px; font-size: 14px; }
.footer-grid { display: grid; gap: 32px; }
.footer img { height: 34px; width: auto; filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer h4 { font-family: var(--sans); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 12px; font-weight: 600; }
.footer li { margin-bottom: 8px; }
.footer a { transition: color var(--transition); }
.footer a:hover { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 13px; }

@media (min-width: 720px) {
  :root { --gut: 32px; }
  .facts ul { grid-template-columns: repeat(3, 1fr); }
  .facts li { border-top: 0; border-left: 1px solid var(--line); padding: 32px 28px; }
  .facts li:first-child { border-left: 0; padding-left: 0; }
  .works { grid-template-columns: repeat(2, 1fr); }
  .duo { grid-template-columns: 1fr 1fr; }
  .metier { grid-template-columns: 60px 1fr 1.4fr; gap: 24px; align-items: baseline; }
  .step { grid-template-columns: 60px 1fr 1.4fr; gap: 24px; align-items: baseline; }
  .table div { grid-template-columns: 1fr 2fr; gap: 24px; }
  .refs { grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .wa span { display: inline; }
}

@media (max-width: 719px) {
  .form-row { display: grid; gap: 18px; }
  .wa { padding: 14px; border-radius: 50%; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .wa span { display: none; }
}

@media (min-width: 1000px) {
  .nav { display: flex; gap: 28px; }
  .burger { display: none; }
  .header-cta { display: inline-flex; padding: 10px 18px 10px 20px; font-size: 14px; }
  .hero { padding-top: 80px; }
  .hero-row { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .hero-row .lead { max-width: 520px; }
  .section { padding: 112px 0; }
  .split { grid-template-columns: 1fr 1.6fr; gap: 64px; }
  .works { grid-template-columns: repeat(3, 1fr); }
  .work--wide { grid-column: 1 / -1; }
  .work--wide img { aspect-ratio: 21 / 9; object-position: center 70%; }
  .qga { grid-template-columns: 1fr 1fr; gap: 64px; }
  .contact { grid-template-columns: 1fr 1.2fr; gap: 80px; }
}

.nav a[aria-current="page"] { color: var(--primary); }
.page-hero { padding: 48px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(38px, 6.5vw, 72px); max-width: 900px; margin: 14px 0 20px; }
.page-hero .lead--wide { max-width: 820px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 28px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { border-bottom: 1px solid var(--line); transition: color var(--transition); }
.crumbs a:hover { color: var(--primary); }
.inline { border-bottom: 1px solid currentColor; color: var(--text); transition: color var(--transition); }
.inline:hover { color: var(--primary); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; }
.metier--link { transition: background var(--transition); }
.metier--link h3 { transition: color var(--transition); }
.metier--link:hover h3 { color: var(--primary); }
.metiers--full { margin-top: 0; }
.h3 { font-size: 26px; }
.videos { margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.video { margin: 0; }
.video button, .video iframe { display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; padding: 0; background: var(--dark); cursor: pointer; position: relative; overflow: hidden; }
.video img { position: absolute; left: 50%; top: 50%; height: 134%; width: auto; max-width: none; transform: translate(-50%, -50%); transition: opacity var(--transition); }
.video button:hover img { opacity: 0.85; }
.video button:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(255,255,255,0.92); transition: background var(--transition); }
.play::after { content: ""; position: absolute; left: 22px; top: 17px; border-left: 16px solid var(--dark); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.video button:hover .play { background: #fff; }
.video figcaption { padding-top: 10px; font-size: 14px; color: var(--muted); }
.cta-band { background: var(--primary); color: #fff; padding: 72px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e6dcf3; margin: 16px 0 28px; max-width: 560px; }
.cta-band .link { color: #fff; }
.cta-band .link:hover { color: #e6dcf3; }
.cta-band .btn--light:hover { background: #ece6f4; border-color: #ece6f4; color: var(--dark); }
.next { margin-top: 24px; display: grid; border-top: 1px solid var(--text); }
.next a { display: grid; gap: 4px; padding: 24px 0; border-bottom: 1px solid var(--line); transition: color var(--transition); }
.next a span { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.next a b { font-family: var(--serif); font-weight: 500; font-size: 26px; }
.next a:hover b { color: var(--primary); }
.checks { border-top: 1px solid var(--text); }
.checks li { padding: 18px 0 18px 32px; border-bottom: 1px solid var(--line); position: relative; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 25px; width: 12px; height: 7px; border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg); }
.section--dark .steps { margin-top: 0; }
@media (min-width: 720px) {
  .videos { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .next { grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
  .metiers--full .metier { grid-template-columns: 60px 1fr 1.4fr; }
}
@media (min-width: 1000px) {
  .videos { grid-template-columns: repeat(6, 1fr); }
  .videos--4 { grid-template-columns: repeat(4, 1fr); }
  .page-hero { padding: 72px 0 80px; }
}
.tabs { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.tabs a { padding: 9px 14px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: border-color var(--transition), color var(--transition), background var(--transition); }
.tabs a:hover { border-color: var(--text); background: var(--text); color: #fff; }
.tabs a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.count { color: var(--muted); font-size: 14px; }
.work a { display: block; cursor: zoom-in; }
.work a:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.video video { display: block; width: 100%; aspect-ratio: 9 / 16; background: var(--dark); object-fit: cover; }
.video img.poster { position: static; transform: none; width: 100%; height: 100%; object-fit: cover; }
.qga-sign { margin-top: 20px; width: 100%; max-height: 420px; object-fit: contain; background: var(--surface); }
.zoom { position: fixed; inset: 0; z-index: 100; background: rgba(10, 10, 12, 0.94); display: flex; align-items: center; justify-content: center; padding: 64px 16px 24px; }
.zoom img { max-width: 100%; max-height: 100%; object-fit: contain; }
.zoom button { position: absolute; top: 12px; right: 12px; background: none; border: 1px solid rgba(255, 255, 255, 0.4); color: #fff; font: 500 14px var(--sans); padding: 10px 16px; cursor: pointer; transition: background var(--transition); }
.zoom button:hover { background: rgba(255, 255, 255, 0.12); }
.zoom button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.zoom .nav-z { top: 50%; transform: translateY(-50%); font-size: 26px; line-height: 1; padding: 12px 16px; }
.zoom .prev { left: 12px; right: auto; }
.zoom .next-z { right: 12px; }
.chiffres { background: var(--dark); color: #fff; padding: 72px 0 64px; }
.chiffres .label { color: #b9a2d8; }
.chiffres h2 { color: #fff; max-width: 720px; margin-top: 14px; }
.chiffres ul { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.chiffres li { padding: 28px 16px 28px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.chiffres li:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.14); }
.chiffres li:nth-child(even) { padding-left: 16px; }
.chiffres strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 12vw, 96px); line-height: 0.95; letter-spacing: -0.02em; white-space: nowrap; }
.chiffres strong small { font-size: 0.42em; letter-spacing: 0; margin-left: 0.18em; color: #b9a2d8; }
.chiffres span { display: block; margin-top: 10px; color: #c9cbd0; font-size: 15px; max-width: 220px; }
.chiffres-more { margin-top: 36px; }
.chiffres .link { color: #fff; }
.chiffres .link:hover { color: #b9a2d8; }
@media (min-width: 900px) {
  .chiffres { padding: 112px 0 96px; }
  .chiffres ul { grid-template-columns: repeat(3, 1fr); }
  .chiffres li, .chiffres li:nth-child(even) { padding: 40px 32px; border-right: 1px solid rgba(255, 255, 255, 0.14); }
  .chiffres li:nth-child(3n) { border-right: 0; }
  .chiffres li:nth-child(3n + 1) { padding-left: 0; }
  .videos--5 { grid-template-columns: repeat(5, 1fr); }
}
