:root {
  --ink: #182421;
  --ink2: #293a33;
  --cream: #f8f7f1;
  --line: #d8ded3;
  --muted: #637067;
  --lime: #d7eca2;
  --forest: #173b31;
  --white: #fff;
  --radius: 20px;
  --max: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font:
    16px/1.58 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font: inherit;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #9ab54a;
  outline-offset: 4px;
}
img {
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.055em;
}
h1 {
  font-size: clamp(3.25rem, 6vw, 6.25rem);
  font-weight: 770;
}
h2 {
  font-size: clamp(2.4rem, 4.1vw, 4.65rem);
  font-weight: 760;
}
h3 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 700;
}
.serif {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.065em;
}
.wrap {
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
}
.eyebrow {
  font-size: 0.73rem;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.muted {
  color: var(--muted);
}
.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.header-row {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
  font-weight: 790;
  letter-spacing: -0.03em;
}
.logo-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ink);
  color: #e2efa2;
  font-size: 18px;
  letter-spacing: -0.07em;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 0.86rem;
  font-weight: 600;
}
.header-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 99px;
  min-height: 48px;
  padding: 12px 22px;
  font-size: 0.88rem;
  font-weight: 730;
  transition:
    background 0.2s,
    transform 0.2s;
}
.header-action {
  background: var(--ink);
  color: #fff;
}
.header-action:hover,
.button.primary:hover {
  background: #364940;
  transform: translateY(-2px);
}
.mobile-nav {
  display: none;
  position: relative;
  margin-left: auto;
}
.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 13px;
}
.mobile-nav summary::-webkit-details-marker {
  display: none;
}
.mobile-panel {
  position: absolute;
  right: 0;
  top: 48px;
  width: 250px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 10px 35px #101d1822;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 16px;
  font-size: 0.9rem;
}
.button.primary {
  background: var(--ink);
  color: #fff;
}
.button.secondary {
  background: transparent;
  border: 1px solid #a9b6a6;
}
.button.secondary:hover {
  background: #fff;
}
.accent {
  background: linear-gradient(transparent 76%, var(--lime) 76%);
}
.section {
  padding: 100px 0;
}
.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 42px;
}
.section-title p {
  max-width: 340px;
  font-size: 1rem;
  color: var(--muted);
}
.section-title h2 {
  max-width: 740px;
  margin-top: 13px;
}
.text-link {
  font-size: 0.87rem;
  font-weight: 760;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  display: inline-block;
}
.site-footer {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  color: #687269;
  font-size: 0.81rem;
}
.footer-inner a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.about-list {
  border-top: 1px solid var(--line);
}
.about-list div {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.about-list b {
  font-size: 0.83rem;
}
.about-list span {
  font-size: 0.94rem;
  color: #5c6e61;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 42px;
  align-items: end;
}
.cta-right {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 14px;
}
.cta-right small {
  font-size: 0.75rem;
  color: #63705b;
}
.cv {
  --cream: #f5f6f2;
  --line: #dce2dc;
  --ink: #1d2d29;
  --lime: #d9ead7;
}
.cv .site-header {
  background: #f5f6f2;
}
.cv .cv-hero {
  padding: 96px 0 93px;
  background: #f5f6f2;
}
.cv .cv-hero-grid {
  display: grid;
  grid-template-columns: 1.23fr 0.77fr;
  gap: 70px;
  align-items: end;
}
.cv .cv-hero h1 {
  font-size: clamp(3.3rem, 5.7vw, 6rem);
  margin: 22px 0 27px;
  max-width: 780px;
}
.cv .cv-hero p {
  max-width: 700px;
  font-size: 1.15rem;
  color: #58695e;
  line-height: 1.7;
}
.cv .cv-hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cv-profile {
  padding: 30px;
  border-radius: 22px;
  background: #e3ebe2;
  border: 1px solid #cbdacb;
}
.cv-profile span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 820;
  color: #587160;
}
.cv-profile p {
  font-size: 0.96rem !important;
  line-height: 1.5 !important;
  color: #4b6355 !important;
}
.cv .cv-band {
  background: #19392e;
  color: #d3e6d8;
  padding: 25px 0;
}
.cv-band-flex {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cv-band-flex span {
  font-size: 0.82rem;
  letter-spacing: 0.015em;
}
.cv .experience {
  background: #fff;
}
.exp-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 73px;
}
.exp-intro {
  position: sticky;
  top: 25px;
  align-self: start;
}
.exp-intro h2 {
  margin: 14px 0 25px;
}
.exp-intro p {
  font-size: 0.96rem;
  color: #65746a;
}
.experience-items {
  border-top: 1px solid #d8e1d8;
}
.experience-item {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 30px;
  border-bottom: 1px solid #d8e1d8;
  padding: 31px 0 35px;
}
.experience-item h3 {
  font-size: 1.63rem;
  margin-bottom: 9px;
}
.experience-item .role {
  color: #50695a;
  font-size: 0.85rem;
  font-weight: 750;
  margin-bottom: 17px;
}
.experience-item p {
  color: #5a6b5f;
  font-size: 0.97rem;
  line-height: 1.75;
}
.experience-item ul {
  padding-left: 18px;
  margin: 14px 0 0;
  color: #4d6054;
  font-size: 0.9rem;
  line-height: 1.72;
}
.experience-item li {
  margin: 6px 0;
}
.cv-work {
  background: #eaf0e9;
}
.cv-project-grid {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 16px;
}
.cv-project {
  padding: 35px;
  background: #fff;
  border: 1px solid #d7dfd5;
  border-radius: 20px;
  min-height: 390px;
  display: flex;
  flex-direction: column;
}
.cv-project h3 {
  font-size: 2rem;
  margin: 30px 0 15px;
}
.cv-project p {
  color: #596c60;
  font-size: 0.95rem;
  line-height: 1.7;
}
.cv-project .text-link {
  margin-top: auto;
  padding-top: 26px;
  align-self: start;
}
.cv-project.mini {
  background: #19392e;
  color: white;
}
.cv-project.mini p {
  color: #c3d6c7;
}
.cv-project.mini .eyebrow {
  color: #b9d4c1;
}
.competencies {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.competencies h2 {
  margin: 13px 0 25px;
}
.skillset {
  border-top: 1px solid var(--line);
}
.skill-row {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
}
.skill-row strong {
  font-size: 0.83rem;
}
.skill-row span {
  color: #586a5e;
  font-size: 0.9rem;
  line-height: 1.6;
}
.cv-last {
  background: #1a372e;
  color: #f6faf6;
  padding: 93px 0;
}
.cv-last .cta-grid {
  align-items: center;
}
.cv-last h2 {
  margin: 14px 0 19px;
}
.cv-last p {
  color: #bbd2c3;
}
.cv-last .button.primary {
  background: #d9edc8;
  color: #1e392c;
}
.cv-last .button.primary:hover {
  background: white;
}
@media (max-width: 1000px) {
  .cv .cv-hero-grid {
    grid-template-columns: 1fr;
  }
  .cv-profile {
    max-width: 650px;
  }
  .section-title {
    display: block;
  }
  .section-title p {
    margin-top: 20px;
  }
  .exp-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .exp-intro {
    position: static;
  }
  .header-nav {
    gap: 15px;
  }
  .header-action {
    padding-inline: 13px;
  }
}
@media (max-width: 720px) {
  .wrap {
    width: min(100% - 36px, var(--max));
  }
  .header-row {
    height: 68px;
  }
  .header-nav,
  .header-action {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
  .cv .cv-hero {
    padding: 58px 0 56px;
  }
  .cv .cv-hero h1 {
    font-size: clamp(2.85rem, 9.4vw, 4.6rem);
  }
  .cv .cv-hero p {
    font-size: 1.01rem;
  }
  .section {
    padding: 72px 0;
  }
  .section-title h2 {
    font-size: clamp(2.45rem, 8vw, 3.6rem);
  }
  .cta-grid,
  .cv-project-grid,
  .competencies {
    grid-template-columns: 1fr;
  }
  .about-list div {
    grid-template-columns: 105px 1fr;
  }
  .cta-grid {
    gap: 30px;
  }
  .cv .cv-hero-grid {
    gap: 35px;
  }
  .exp-grid {
    gap: 30px;
  }
  .experience-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .skill-row {
    grid-template-columns: 110px 1fr;
  }
  .footer-inner {
    align-items: start;
    flex-direction: column;
    gap: 9px;
  }
}
@media (max-width: 430px) {
  .cv .cv-hero h1 {
    font-size: clamp(2.52rem, 11vw, 3.25rem);
  }
}
@media print {
  .site-header,
  .cv-hero-actions,
  .cv-last,
  .site-footer {
    display: none !important;
  }
  body {
    font-size: 12px;
    background: white;
  }
  .section,
  .cv .cv-hero {
    padding: 25px 0;
  }
  .wrap {
    width: 100%;
  }
  h1 {
    font-size: 36px !important;
  }
  h2 {
    font-size: 28px !important;
  }
  .cv-profile {
    display: none;
  }
  .cv .cv-hero-grid {
    display: block;
  }
  .experience-item,
  .cv-project {
    break-inside: avoid;
  }
  .exp-grid {
    display: block;
  }
  .exp-intro {
    margin-bottom: 18px;
  }
  .cv-band {
    display: none;
  }
}
.cv .cv-hero {
  padding: 24px 0 84px;
}
.cv .cv-hero-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(310px, 0.7fr);
  gap: 55px;
  align-items: center;
}
.cv .cv-hero h1 {
  font-size: clamp(3.1rem, 4.95vw, 5.3rem);
  max-width: 790px;
  letter-spacing: -0.06em;
  margin: 21px 0 25px;
}
.cv .cv-hero h1 .serif {
  display: block;
  margin-top: 9px;
}
.cv .cv-hero p {
  font-size: 1.1rem;
  max-width: 720px;
}
.cv .cv-hero p strong {
  color: #253e30;
  font-weight: 800;
}
.cv .cv-hero .eyebrow {
  color: #446150;
  letter-spacing: 0.09em;
}
.cv .hero-meta {
  display: flex;
  gap: 10px 16px;
  flex-wrap: wrap;
  margin-top: 23px;
  font-size: 0.8rem;
  color: #536c59;
  font-weight: 660;
}
.cv .hero-meta span + span:before {
  content: "·";
  padding-right: 16px;
  color: #a2b7a5;
}
.cv-profile {
  padding: 24px 28px;
  background: #e3ebe2;
  border-radius: 22px;
}
.cv-profile .eyebrow {
  color: #43614c;
  font-size: 0.69rem;
  margin-bottom: 9px;
}
.profile-fact {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 19px 0;
  border-bottom: 1px solid #c2d3c5;
}
.profile-fact .fact-n {
  font-size: 0.7rem;
  letter-spacing: 0;
  color: #659170;
  font-weight: 800;
  padding-top: 3px;
}
.profile-fact strong {
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
  display: block;
  color: #243f2f;
}
.profile-fact p {
  font-size: 0.82rem !important;
  line-height: 1.54 !important;
  margin-top: 7px;
  color: #617465 !important;
}
.profile-link {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 770;
  margin-top: 18px;
  border-bottom: 1px solid #45634a;
  padding-bottom: 4px;
}
.cv-band {
  background: #183c30;
}
.cv .cv-band-flex span {
  font-weight: 630;
}
.cv .experience-item li strong {
  color: #1f3c2c;
}
.cv-project.flagship {
  background: #fff;
}
.cv-project .case-points {
  display: grid;
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid #dbe4da;
}
.cv-project .case-points div {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #e0e8df;
  font-size: 0.81rem;
}
.cv-project .case-points b {
  color: #284b32;
}
.cv-project .case-points span {
  color: #637568;
}
.cv .training {
  background: #eaf0e9;
}
.cv .cv-last h2 {
  max-width: 760px;
}
@media (max-width: 1000px) {
  .cv .cv-hero-grid {
    grid-template-columns: 1fr;
  }
  .cv-profile {
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 20px;
  }
  .cv-profile .eyebrow,
  .cv-profile .profile-link {
    grid-column: 1/-1;
  }
  .cv .profile-fact {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .cv-profile .eyebrow {
    margin-bottom: 6px;
  }
}
@media (max-width: 720px) {
  .cv .cv-hero {
    padding: 16px 0 67px;
  }
  .cv .cv-hero h1 {
    font-size: clamp(2.6rem, 9.6vw, 4.1rem);
  }
  .cv .cv-hero-grid {
    gap: 32px;
  }
  .cv-profile {
    display: block;
  }
  .cv .profile-fact {
    grid-template-columns: 28px 1fr;
  }
  .cv .hero-meta {
    gap: 5px 10px;
  }
  .cv .hero-meta span + span:before {
    padding-right: 10px;
  }
  .cv-project .case-points div {
    grid-template-columns: 85px 1fr;
  }
}
@media print {
  .cv-profile {
    display: none !important;
  }
  .cv .cv-hero h1 {
    font-size: 34px !important;
  }
  .cv .cv-hero-grid {
    display: block;
  }
  .cv .cv-hero {
    padding-top: 18px;
  }
  .cv .cv-work {
    background: white;
  }
  .cv-project {
    min-height: 0;
  }
  .cv .cv-hero p {
    font-size: 12px;
  }
}
.experience-item .period {
  font-size: 0.82rem;
  color: #5c6c60;
  font-weight: 750;
}

/* Liens de la page et démonstrations des produits. */
.external-link::after,
.contact-link::before,
.play-link::before {
  content: "";
  display: inline-block;
  flex: none;
  width: 1.05em;
  height: 1.05em;
  background: currentColor;
  mask: var(--icon) center / contain no-repeat;
}
.external-link {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m10 13.8 4-4M8.4 11.4l-2 2a3.4 3.4 0 0 0 4.8 4.8l2.8-2.8a3.4 3.4 0 0 0 .4-4.3M15.6 12.6l2-2a3.4 3.4 0 0 0-4.8-4.8L10 8.6a3.4 3.4 0 0 0-.4 4.3'/%3E%3C/svg%3E");
  display: inline-flex;
  align-items: center;
  gap: .32em;
}
.external-link::after { opacity: .8; }
.profile-link.external-link { justify-self: start; }
.contact-link {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E");
  gap: .6em;
  white-space: nowrap;
}
.cta-right small { color: #b2cbb7; }
@media (min-width: 721px) {
  .cv-last .cta-grid { grid-template-columns: minmax(0, 1.3fr) minmax(max-content, .7fr); }
}
.play-link {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='m10 8.3 5.8 3.7-5.8 3.7z' fill='black' stroke='none'/%3E%3C/svg%3E");
  display: inline-flex;
  align-items: center;
  gap: .5em;
}
.play-link::before { width: 1.4em; height: 1.4em; }
.azimutis-preview {
  display: block;
  width: 100%;
  height: auto;
  max-height: 172px;
  object-fit: contain;
  margin: 22px auto 0;
}
.product-links {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: auto;
}
.cv-project .product-links .text-link { margin-top: 0; }
.demo-list { padding: 0; margin: 26px 0 0; border-top: 1px solid #4f6b59; list-style: none; }
.demo-list li { border-bottom: 1px solid #4f6b59; }
.demo-list a { display: flex; gap: 14px; padding: 13px 2px; color: white; }
.demo-list a::before { width: 28px; height: 28px; color: #c6dec8; }
.demo-list strong, .demo-list a > span > span { display: block; line-height: 1.45; }
.demo-list strong { font-size: 1rem; }
.demo-list a > span > span { font-size: .84rem; color: #c3d6c7; }
.demo-list a:hover strong, .demo-list a:focus-visible strong { text-decoration: underline; text-underline-offset: .18em; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 12; padding: .55rem 1rem; background: #fff; }
.skip-link:focus { top: .45rem; }

#video-dialog {
  width: min(94vw, 54rem, calc(88vh * 4 / 3 - 7.5rem));
  max-height: 94vh;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background: var(--cream);
}
#video-dialog[data-format="portrait"] { width: min(94vw, 28rem, calc(78vh * 9 / 16 + 2rem)); }
#video-dialog::backdrop { background: #10271ed9; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dialog-head h2 { font-size: 1.3rem; }
.dialog-head button {
  width: 36px; height: 36px; border: 1px solid #c4d1c4; border-radius: 50%;
  color: var(--ink); background: white; cursor: pointer; line-height: 1; font-size: 1.5rem;
}
#video-player iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: none; background: #12231b; }
#video-dialog[data-format="portrait"] iframe { aspect-ratio: 9 / 16; }
.video-fallback { margin-top: 10px; font-size: .86rem; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) {
  .mobile-panel { max-width: calc(100vw - 36px); }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button,
  .header-action {
    transition: none;
  }
}
@media print {
  .cv .site-header {
    display: block !important;
  }
  .header-row {
    height: auto;
  }
  .cv .site-header nav,
  .cv .header-action,
  .cv .mobile-nav,
  .logo-icon,
  .product-links,
  dialog {
    display: none;
  }
  .cv .site-footer {
    display: block !important;
  }
  .footer-inner > span:last-child {
    display: none;
  }
  .about-list > div {
    break-inside: avoid;
  }
  .exp-intro {
    position: static;
  }
}

.technical-detail {
  margin-top: 12px;
  font-size: 0.82rem;
  color: #50695a;
}
.technical-detail summary {
  width: fit-content;
  cursor: pointer;
  font-weight: 650;
}
.technical-detail p,
.experience-item .technical-detail p {
  margin-top: 8px;
  color: #58695e;
  font-size: 0.88rem;
}
