@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap");

:root {
  --am-bg: #080808;
  --am-bg-soft: #0f0f0f;
  --am-text: #ffffff;
  --am-text-muted: #d8d8d8;
  --am-blue: #16384d;
  --am-blue-hover: #1e4b66;
  --am-blue-deep: #0e2b3d;
  --am-line: rgba(255, 255, 255, 0.86);
  --am-error: #ffb4a8;
  --am-layout-max: 1180px;
  --am-space-xs: 8px;
  --am-space-sm: 16px;
  --am-space-md: 32px;
  --am-space-lg: 56px;
  --am-space-xl: 88px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--am-bg);
  color: var(--am-text);
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.36;
}

body::selection {
  background: var(--am-text);
  color: var(--am-bg);
}

a {
  color: inherit;
}

a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--am-text);
  outline-offset: 4px;
}

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

.am-page {
  min-height: 100vh;
  background: var(--am-bg);
}

.am-shell {
  width: calc(100vw - clamp(40px, 8vw, 112px));
  max-width: var(--am-layout-max);
  margin-inline: auto;
}

.am-header {
  padding-top: clamp(28px, 5vw, 54px);
}

.am-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--am-line);
}

.am-logo {
  flex: 0 0 auto;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.am-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 3vw, 38px);
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 700;
  line-height: 1;
}

.am-nav a {
  color: var(--am-text-muted);
  text-decoration: none;
}

.am-nav a:hover,
.am-nav a[aria-current="page"] {
  color: var(--am-text);
}

.am-main {
  padding-block: clamp(48px, 8vw, 96px);
}

.am-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.72fr);
  align-items: center;
  gap: clamp(32px, 7vw, 96px);
  min-height: calc(100vh - 142px);
  padding-block: clamp(22px, 3vw, 46px) clamp(36px, 5vw, 70px);
}

.am-hero > *,
.am-page-grid > *,
.am-booking-layout > * {
  min-width: 0;
}

.am-title-hero,
.am-title-page {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.am-title-hero {
  max-width: 760px;
  font-size: clamp(66px, 10vw, 148px);
  line-height: 0.88;
}

.am-baseline {
  max-width: 680px;
  margin: clamp(22px, 3vw, 34px) 0 0;
  color: var(--am-text);
  font-size: clamp(28px, 4.1vw, 58px);
  font-weight: 700;
  line-height: 0.98;
}

.am-portrait-wrap {
  justify-self: end;
  width: min(100%, 430px);
  max-height: 68vh;
  overflow: hidden;
}

.am-portrait {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.am-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  align-items: start;
  gap: clamp(34px, 7vw, 86px);
}

.am-page-grid.is-contact {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 0.88fr);
  align-items: stretch;
}

.am-title-page {
  max-width: 760px;
  font-size: clamp(42px, 5.4vw, 66px);
  line-height: 0.94;
}

.am-copy {
  max-width: 690px;
  color: var(--am-text);
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.3;
}

.am-copy p {
  margin: 0 0 20px;
}

.am-copy p:last-child {
  margin-bottom: 0;
}

.am-image-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
  margin-top: clamp(44px, 6vw, 76px);
}

.am-image-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  background: var(--am-bg-soft);
}

.am-cv-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.am-cv-image.is-formation {
  object-position: 48% 50%;
}

.am-cv-image.is-audiovisuel {
  object-position: 48% 50%;
}

.am-cv-image.is-communication {
  object-position: 50% 50%;
}

.am-actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 22px);
  margin-top: clamp(36px, 5vw, 62px);
}

.am-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  padding: 18px clamp(26px, 4vw, 44px);
  border: 0;
  border-radius: 0;
  background: var(--am-blue);
  color: var(--am-text);
  font-size: clamp(27px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 0.95;
  text-align: center;
  text-decoration: none;
}

.am-button:hover {
  background: var(--am-blue-hover);
}

.am-button.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
  pointer-events: none;
}

.am-section {
  margin-top: clamp(58px, 8vw, 102px);
  padding-top: clamp(36px, 5vw, 62px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.am-section h2 {
  margin: 0 0 22px;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1;
}

.am-recruiter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.am-note {
  min-height: 170px;
  padding: 26px;
  background: var(--am-bg-soft);
  border-left: 5px solid var(--am-blue);
}

.am-note h3 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1;
}

.am-note p {
  margin: 0;
  color: var(--am-text-muted);
  font-size: 20px;
}

.am-booking-zone {
  scroll-margin-top: 120px;
}

.am-booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(300px, 1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: stretch;
}

.am-booking-summary {
  padding: clamp(28px, 4vw, 44px);
  background: var(--am-blue-deep);
}

.am-booking-summary h2,
.am-form-panel h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
}

.am-booking-summary p,
.am-form-panel p {
  margin: 0 0 14px;
  color: var(--am-text-muted);
  font-size: 21px;
}

.am-amelia-placeholder {
  display: grid;
  align-content: center;
  min-height: 360px;
  padding: clamp(28px, 4vw, 48px);
  background: #ffffff;
  color: #101010;
}

.am-amelia-placeholder h2 {
  margin: 0 0 16px;
  color: #101010;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
}

.am-amelia-placeholder p {
  margin: 0 0 12px;
  color: #2f2f2f;
  font-size: 22px;
}

.am-contact-panel {
  min-height: 520px;
  padding: clamp(30px, 5vw, 56px);
  background: var(--am-blue);
}

.am-contact-panel h1 {
  margin: 0 0 30px;
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 0.98;
}

.am-form {
  display: grid;
  gap: 16px;
}

.am-field {
  display: grid;
  gap: 7px;
}

.am-field label {
  font-size: 19px;
  font-weight: 700;
}

.am-field input,
.am-field textarea {
  width: 100%;
  border: 2px solid rgba(255, 255, 255, 0.68);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.22);
  color: var(--am-text);
  font: inherit;
  font-size: 20px;
  line-height: 1.2;
  padding: 12px 14px;
}

.am-field textarea {
  min-height: 128px;
  resize: vertical;
}

.am-form .am-button {
  width: 100%;
  margin-top: 6px;
  background: var(--am-bg);
}

.am-contact-info {
  align-self: center;
}

.am-contact-info .am-copy {
  margin-top: 26px;
}

.am-contact-links {
  display: grid;
  gap: 18px;
  margin-top: 34px;
  color: var(--am-text);
  font-size: clamp(22px, 2.7vw, 30px);
  font-weight: 700;
  line-height: 1.1;
}

.am-contact-links a {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.am-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #0a66c2;
  color: #ffffff;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.am-footer {
  padding-block: 34px 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.am-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--am-text-muted);
  font-size: 17px;
}

.am-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.am-footer a {
  color: var(--am-text-muted);
  text-decoration: none;
}

.am-footer a:hover {
  color: var(--am-text);
}

@media (max-width: 900px) {
  .am-header-inner,
  .am-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .am-nav {
    justify-content: flex-start;
  }

  .am-hero,
  .am-page-grid,
  .am-page-grid.is-contact,
  .am-booking-layout {
    grid-template-columns: 1fr;
  }

  .am-hero {
    min-height: auto;
  }

  .am-portrait-wrap {
    justify-self: start;
    width: min(64vw, 330px);
    max-height: none;
  }

  .am-image-strip,
  .am-recruiter-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .am-shell {
    width: calc(100vw - 40px);
  }

  .am-main {
    padding-block: 40px 64px;
  }

  .am-title-hero {
    font-size: clamp(58px, 18vw, 76px);
    max-width: 7ch;
  }

  .am-baseline {
    font-size: clamp(29px, 9.2vw, 40px);
  }

  .am-title-page {
    font-size: clamp(37px, 11vw, 48px);
  }

  .am-copy {
    font-size: 21px;
  }

  .am-contact-panel h1 {
    max-width: 11ch;
    font-size: clamp(32px, 9.2vw, 38px);
    line-height: 0.96;
  }

  .am-actions,
  .am-button {
    width: 100%;
  }

  .am-contact-panel {
    min-height: auto;
  }
}
