@font-face {
  font-family: "Poppins";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/poppins-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/poppins-500.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/dm-sans.woff2") format("woff2");
}

:root {
  --bg: #141414;
  --bg-card: #1a1a1a;
  --bg-light: #ffffff;
  --ink: #ffffff;
  --ink-dark: #000000;
  --muted: #a3a3a3;
  --gold: #f3cd8a;
  --gold-soft: #8d7d5e;
  --step-number: #262626;
  --line: rgba(255, 255, 255, 0.8);
  --line-soft: rgba(255, 255, 255, 0.18);
  --font-title: "Poppins", system-ui, sans-serif;
  --font-text: "DM Sans", system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: 24px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

h1,
h2,
h3,
h4,
h5 {
  font-weight: 400;
  margin: 0;
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--gold);
  color: var(--ink-dark);
  padding: 8px 14px;
  border-radius: 8px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* En-tête */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 55px;
  background: var(--bg);
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}
.page-home .site-header {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
}
.site-header.is-scrolled,
.page-home .site-header.is-scrolled {
  background: rgba(20, 20, 20, 0.96);
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: 0 1px 0 var(--line-soft);
}

.brand img {
  width: 90px;
  height: auto;
  transition: width 0.3s;
}
.site-header.is-scrolled .brand img {
  width: 64px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
}
.site-nav a {
  font-size: 16px;
  text-transform: uppercase;
  padding: 10px 15px;
  border: 2px solid transparent;
  border-radius: 10px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.site-nav a:hover {
  color: var(--gold);
}
.site-nav a[aria-current="page"] {
  color: var(--gold);
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1100px) {
  .site-header {
    padding: 14px var(--gutter);
  }
  .brand img {
    width: 64px;
  }
  .nav-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px var(--gutter) 24px;
    background: rgba(20, 20, 20, 0.98);
    box-shadow: 0 1px 0 var(--line-soft);
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav a {
    padding: 14px 15px;
  }
}

/* Titres de section et éléments communs */

.section {
  padding: 110px 0;
}
.section-light {
  background: var(--bg-light);
  color: var(--ink-dark);
}

.section-title {
  font-size: clamp(30px, 4vw, 44px);
  text-transform: uppercase;
  text-align: center;
}
.section-title.is-plain {
  text-transform: none;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 18px 0 0;
}
.dots::before,
.dots::after,
.dots span {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.dots.is-large {
  gap: 24px;
}
.dots.is-large::before,
.dots.is-large::after,
.dots.is-large span {
  width: 8px;
  height: 8px;
}
.dots.is-left {
  justify-content: flex-start;
}

.gold {
  color: var(--gold);
}

.btn-outline {
  display: inline-block;
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 8px 28px;
  font-size: 20px;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--ink-dark);
}
.btn-outline.is-large {
  font-size: 22px;
  padding: 8px 28px;
}

.brace {
  color: var(--gold);
}

/* Accueil : bandeau */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 160px 0 60px;
  background: #000 url("/assets/img/kevin-canlas-BHPGjYd4fp8-unsplash.jpg") center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.hero-inner {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 60px;
  padding: 0 145px;
}
.hero-name {
  font-size: clamp(64px, 10.4vw, 150px);
  line-height: 0.88;
  letter-spacing: -0.01em;
}
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 26px;
  color: var(--gold);
  font-size: clamp(18px, 1.7vw, 24px);
}
.hero-tagline svg {
  transition: transform 0.2s;
}
.hero-tagline:hover svg {
  transform: translateX(4px);
}
.hero-rule {
  height: 4px;
  background: var(--ink);
  min-width: 80px;
  max-width: 165px;
  justify-self: center;
  width: 100%;
}
.hero-claim {
  font-size: clamp(32px, 4.2vw, 60px);
  line-height: 1.15;
}

@media (max-width: 1100px) {
  .hero-inner {
    padding: 0 var(--gutter);
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-rule {
    justify-self: start;
  }
}

/* Bloc portrait (fond blanc) */

.portrait {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1100px;
  margin: 70px auto 0;
}
.portrait-photo {
  justify-self: center;
}
.portrait-title {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.25;
}
.portrait-title .gold {
  display: block;
}
.portrait-rule {
  border: 0;
  border-top: 1px solid var(--ink-dark);
  margin: 16px 0 18px;
}
.portrait-text {
  font-size: 15px;
  line-height: 1.6;
}
.portrait.is-large .portrait-title {
  font-size: clamp(30px, 3.4vw, 46px);
}
.portrait.is-large .portrait-text {
  font-size: 17px;
}

@media (max-width: 800px) {
  .portrait {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Trois étapes numérotées */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-top: 70px;
}
.step {
  position: relative;
  padding-left: 22px;
}
.step-number {
  position: absolute;
  left: 0;
  top: -12px;
  font-family: var(--font-text);
  font-weight: 800;
  font-size: 120px;
  line-height: 1;
  color: var(--step-number);
  z-index: 0;
  user-select: none;
}
.step-icon {
  position: relative;
  width: 64px;
  height: 64px;
  margin-left: 22px;
}
.step-title {
  position: relative;
  margin: 18px 0 30px 0;
  color: var(--gold);
  font-size: 20px;
  text-transform: uppercase;
  line-height: 1.4;
}
.step-title.is-plain {
  text-transform: none;
}
.step p {
  position: relative;
  font-size: 16px;
  line-height: 1.5;
  max-width: 280px;
}
.steps.is-wide .step p {
  font-size: 18px;
  max-width: 280px;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 70px;
  }
}

/* Recommandations */

.testimonials {
  position: relative;
  margin-top: 30px;
}
.testimonial-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 22px) / 3);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 0 8px;
}
.testimonial-track::-webkit-scrollbar {
  display: none;
}
.testimonial {
  scroll-snap-align: start;
  background: var(--bg-card);
  padding: 24px;
  font-family: var(--font-text);
  display: flex;
  flex-direction: column;
}
.testimonial img {
  width: 100%;
  aspect-ratio: 230 / 150;
  object-fit: cover;
  margin-bottom: 20px;
}
.testimonial blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
}
.testimonial blockquote p {
  margin: 0 0 1em;
}
.testimonial-name {
  font-family: var(--font-title);
  font-size: 12px;
  margin-top: 12px;
}
.testimonial-role {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 10px;
}
.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}
.testimonial-nav button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: none;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.2s, color 0.2s;
}
.testimonial-nav button:hover {
  border-color: var(--gold);
  color: var(--gold);
}

@media (max-width: 1000px) {
  .testimonial-track {
    grid-auto-columns: calc((100% - 22px) / 2);
  }
}
@media (max-width: 640px) {
  .testimonial-track {
    grid-auto-columns: 88%;
  }
}

/* Vidéo YouTube chargée au clic */

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.video-embed button {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #000;
}
.video-embed button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.video-embed button:hover img {
  opacity: 1;
}
.video-embed .play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
  color: var(--ink-dark);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-note {
  font-family: var(--font-text);
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}

/* Grille de compétences */

.skills {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 56px 20px;
  margin-top: 80px;
}
.skill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  font-size: 17px;
}
.skill img {
  height: 60px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}
.skills.is-large .skill {
  font-size: 20px;
}

@media (max-width: 900px) {
  .skills {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 480px) {
  .skills {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Appel « Vous avez un projet ? » */

.cta {
  text-align: center;
  padding: 110px 0 60px;
}
.cta .section-title {
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.15;
}
.cta .dots {
  margin: 24px 0 26px;
}

/* Pied de page */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 10px 90px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.footer-grid h2 {
  font-size: 20px;
  text-transform: uppercase;
  margin: 12px 0 14px;
}
.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-text);
  font-size: 15px;
}
.footer-grid li + li {
  margin-top: 12px;
}
.footer-grid a:hover {
  color: var(--gold);
}
.footer-grid p {
  font-size: 13px;
  line-height: 1.55;
}
.footer-brand img {
  width: 80px;
}
.follow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px !important;
  margin-top: 2px;
}
.follow a {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  background: var(--gold);
  color: var(--bg);
  border-radius: 3px;
}
.follow a:hover {
  color: var(--bg) !important;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .site-footer {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Page « Création de logiciels » */

.split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 80px 0 40px;
}
.split-hero h1 {
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.15;
}
.split-hero h1 .gold {
  display: block;
  text-transform: uppercase;
}
.split-hero .lead {
  font-size: 21px;
  line-height: 1.33;
  margin-top: 28px;
}
.split-hero .btn-outline {
  margin-top: 56px;
}
.domains-title {
  font-size: clamp(28px, 3.1vw, 44px);
  text-align: center;
  line-height: 1.2;
}
.domains-title span {
  text-transform: uppercase;
}
.fullstack {
  max-width: 1024px;
  margin: 90px auto 0;
}

@media (max-width: 900px) {
  .split-hero {
    grid-template-columns: 1fr;
  }
}

/* Page « A propos » */

.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 80px 0 120px;
}
.about-hero h1 {
  font-size: clamp(40px, 4.2vw, 60px);
  text-transform: uppercase;
  line-height: 1.15;
}
.rotator {
  display: block;
  color: var(--gold);
  min-height: 1.15em;
}
.rotator-word {
  display: inline-block;
  transition: opacity 0.4s, transform 0.4s;
}
.rotator-word.is-out {
  opacity: 0;
  transform: translateY(-0.3em);
}
.about-hero .lead {
  font-size: 21px;
  line-height: 1.33;
  margin-top: 60px;
}
.about-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 50px;
}
.about-visual .photo {
  width: 385px;
}
.about-visual .brace-svg {
  width: 115px;
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 0 0 120px;
}
.two-cols > h2 {
  font-size: 28px;
  padding-left: 15px;
}
.muted-text {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.accordion {
  margin-top: 50px;
  border-top: 1px solid var(--ink);
}
.accordion details {
  border-bottom: 1px solid var(--line-soft);
}
.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 8px 18px 0;
  font-size: 20px;
}
.accordion summary::-webkit-details-marker {
  display: none;
}
.accordion summary::after {
  content: "+";
  font-size: 18px;
  color: var(--muted);
  transition: transform 0.2s;
}
.accordion details[open] summary::after {
  transform: rotate(45deg);
}
.accordion .panel {
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 16px;
}
.accordion.is-skills {
  margin-top: 0;
}
.accordion.is-skills details {
  border-bottom-color: var(--ink);
}
.accordion.is-skills summary {
  text-transform: uppercase;
}
.accordion.is-skills summary::after {
  content: none;
}
.accordion.is-skills .panel {
  color: var(--ink);
}
.accordion ul {
  margin: 0;
  padding-left: 40px;
  font-size: 16px;
  line-height: 1.5;
}
.accordion li::marker {
  color: var(--gold);
}

@media (max-width: 900px) {
  .about-hero,
  .two-cols {
    grid-template-columns: 1fr;
  }
  .about-visual {
    justify-content: flex-start;
  }
  .about-visual .photo {
    width: 70%;
  }
  .about-visual .brace-svg {
    width: 18%;
  }
  .two-cols > h2 {
    padding-left: 0;
  }
}

/* En-tête de page centré (réalisations, articles) */

.page-head {
  text-align: center;
  padding: 50px 0 60px;
}
.page-head h1 {
  font-size: clamp(42px, 4.4vw, 64px);
  text-transform: uppercase;
  line-height: 1.1;
}
.page-head .code {
  margin-top: 28px;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
}

/* Liste des réalisations */

.works {
  list-style: none;
  margin: 0;
  padding: 30px 0 0;
  position: relative;
}
.works li + li {
  margin-top: 30px;
}
.works a {
  display: inline-block;
}
.works .work-title {
  font-size: 19px;
  transition: color 0.2s;
}
.works a:hover .work-title {
  color: var(--gold);
}
.works .work-tags {
  font-family: var(--font-text);
  font-size: 15px;
  color: var(--gold-soft);
}
.works .work-tags span + span::before {
  content: " · ";
}
.work-preview {
  position: fixed;
  z-index: 40;
  width: 380px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96);
  transition: opacity 0.25s, transform 0.25s;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.work-preview img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: top;
}
.work-preview.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
@media (hover: none), (max-width: 900px) {
  .work-preview {
    display: none;
  }
}

/* Cartes d'articles */

.post-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding-bottom: 40px;
}
.post-card {
  background: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
  font-family: var(--font-text);
  transition: transform 0.3s;
}
.post-card:hover {
  transform: translateY(-4px);
}
.post-card img {
  width: 100%;
  aspect-ratio: 720 / 510;
  object-fit: cover;
}
.post-card .body {
  padding: 32px 32px 44px;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.post-meta .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
}
.post-meta .author {
  font-weight: 500;
}
.post-card h2 {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  margin-top: 22px;
  text-transform: capitalize;
}

@media (max-width: 800px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}

/* Page article */

.article {
  max-width: 1140px;
  margin: 0 auto;
  padding: 30px var(--gutter) 0;
}
.chip {
  display: inline-block;
  background: var(--ink);
  color: var(--ink-dark);
  border-radius: 20px;
  padding: 3px 11px;
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.article h1 {
  font-size: clamp(32px, 3.4vw, 48px);
  margin: 16px 0 18px;
  line-height: 1.15;
}
.article-meta {
  font-family: var(--font-text);
  font-size: 14px;
  color: var(--muted);
  display: flex;
  gap: 14px;
  align-items: center;
}
.article-meta .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
}
.article-cover {
  margin: 26px 0 0;
  border-radius: 6px;
  overflow: hidden;
}
.article-cover img {
  width: 100%;
}
.article-body {
  font-family: var(--font-text);
  font-size: 18px;
  line-height: 1.6;
  padding: 60px 10px 40px;
}
.article-body h2 {
  font-family: var(--font-title);
  font-size: 28px;
  margin: 1.6em 0 0.7em;
}
.article-body h3 {
  font-family: var(--font-title);
  font-size: 20px;
  margin: 1.2em 0 0.3em;
}
.article-body h4 {
  font-family: var(--font-title);
  font-size: 14px;
  color: var(--muted);
}
.article-body a {
  color: var(--gold);
}
.article-body img,
.article-body .video-embed {
  margin: 40px 0 16px;
  border-radius: 4px;
}
.article-body ul,
.article-body ol {
  padding-left: 1.3em;
  margin: 0 0 1em;
}
.article-body li::marker {
  color: var(--gold);
}
.article-body blockquote {
  margin: 40px 0 0;
  padding: 0 0 0 26px;
  border-left: 3px solid var(--gold);
  font-style: italic;
}
.article-body figure {
  margin: 0;
}
.article-body .quote-avatar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 20px 0 0;
}
.share {
  border-top: 1px dashed var(--line);
  margin-top: 10px;
  padding: 50px 0 0;
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-text);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.share a {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
}
.share a:hover {
  color: var(--gold);
}
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 0 40px;
  font-family: var(--font-text);
}
.post-nav a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 48%;
}
.post-nav .next {
  margin-left: auto;
  align-items: flex-end;
  text-align: right;
}
.post-nav .pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: var(--ink-dark);
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.post-nav .title {
  font-weight: 600;
  font-size: 20px;
}
.post-nav a:hover .title {
  color: var(--gold);
}

/* Page réalisation */

.work {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px var(--gutter) 0;
}
.work-head {
  text-align: center;
}
.work-head h1 {
  font-size: clamp(48px, 5.8vw, 80px);
  line-height: 1.1;
}
.work-head p {
  color: var(--muted);
  font-size: 19px;
  margin: 24px 0 0;
}
.work-meta {
  display: flex;
  gap: 34px;
  margin: 50px 0 22px;
  font-size: 18px;
}
.work-meta dt {
  margin-bottom: 14px;
}
.work-meta dd {
  margin: 0;
}
.work-media {
  max-width: 800px;
}
.work-media video {
  width: auto;
  max-width: 100%;
  max-height: 85vh;
  background: #000;
}
.work-desc {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  margin: 120px -90px 0;
}
.work-desc h2 {
  font-size: 32px;
}
.work-desc .muted-text p {
  margin-bottom: 1.6em;
}
.work-next {
  text-align: center;
  padding: 100px 0 70px;
}
.work-next a {
  display: inline-block;
}
.work-next .label {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  font-size: 18px;
}
.work-next .title {
  display: block;
  font-size: clamp(32px, 4.2vw, 60px);
  line-height: 1.1;
  transition: color 0.2s;
}
.work-next a:hover .title {
  color: var(--gold);
}

@media (max-width: 1100px) {
  .work-desc {
    margin-left: 0;
    margin-right: 0;
  }
}
@media (max-width: 800px) {
  .work-desc {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 70px;
  }
}

/* Page contact */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 10px 0 80px;
}
.contact h1 {
  font-size: clamp(38px, 4vw, 58px);
}
.contact .dots {
  margin: 30px 0 40px;
}
.contact-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 21px;
}
.contact-lines li {
  display: flex;
  gap: 24px;
  align-items: center;
}
.contact-lines li + li {
  margin-top: 26px;
}
.contact-lines svg {
  color: var(--gold);
  flex: none;
}
.contact-lines a:hover {
  color: var(--gold);
}
.contact-card {
  color-scheme: light;
  background: var(--bg-light);
  color: var(--ink-dark);
  border-radius: 12px;
  padding: 110px 110px 100px;
}
.contact-card h2 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 30px;
}
.field {
  display: block;
  margin-bottom: 26px;
}
.field input,
.field textarea {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ink-dark);
  background: transparent;
  padding: 10px 0;
  font: inherit;
  font-size: 18px;
  color: var(--ink-dark);
  border-radius: 0;
}
.field textarea {
  min-height: 80px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-dark);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
  border-bottom-width: 2px;
}
.consent {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-text);
  font-size: 13px;
  color: #767676;
}
.consent input {
  width: 22px;
  height: 22px;
  accent-color: var(--gold);
}
.btn-gold {
  margin-top: 40px;
  border: 0;
  border-radius: 30px;
  background: var(--gold);
  color: var(--ink-dark);
  font: inherit;
  font-size: 18px;
  padding: 12px 50px;
  cursor: pointer;
  transition: filter 0.2s;
}
.btn-gold:hover {
  filter: brightness(0.94);
}
.form-note {
  font-family: var(--font-text);
  font-size: 13px;
  color: #767676;
  margin: 18px 0 0;
}

@media (max-width: 1000px) {
  .contact {
    grid-template-columns: 1fr;
  }
  .contact-card {
    padding: 48px 28px;
  }
}

/* Pages légales */

.legal {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px var(--gutter) 90px;
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.65;
}
.legal h1 {
  font-family: var(--font-title);
  font-size: clamp(34px, 4vw, 52px);
  margin-bottom: 40px;
}
.legal h2 {
  font-family: var(--font-title);
  font-size: 24px;
  margin: 1.8em 0 0.6em;
}
.legal a {
  color: var(--gold);
  overflow-wrap: anywhere;
}
.legal strong {
  overflow-wrap: anywhere;
}
.legal hr {
  border: 0;
  border-top: 1px solid var(--line-soft);
  margin: 40px 0;
}

/* Page 404 */

.not-found {
  text-align: center;
  padding: 120px 0 60px;
}
.not-found h1 {
  font-size: clamp(80px, 12vw, 160px);
  color: var(--gold);
  line-height: 1;
}
.not-found p {
  font-size: 20px;
  margin: 20px 0 40px;
}

/* Apparition au défilement */

.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .rotator-word {
    transition: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 80px 0;
  }
  .split-hero .lead,
  .about-hero .lead {
    font-size: 18px;
  }
  .contact-lines {
    font-size: 17px;
  }
  .post-nav {
    flex-direction: column;
  }
  .post-nav a {
    max-width: 100%;
  }
  .share {
    flex-wrap: wrap;
  }
}
