/* Hallmark · pre-emit critique: P5 H4 E4 S5 R5 V4
 * Portfolio de directrice artistique ; reprise fidèle de la barre orange,
 * du fond anthracite, de la grille photographique et des pages éditoriales. */
@font-face {
  font-family: 'Open Sans';
  src: url('/fonts/open-sans-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'FontAwesome';
  src: url('/fonts/fontawesome-webfont.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: block;
}
:root {
  --color-accent: #f26330;
  --color-accent-overlay: rgb(242 99 48 / 82%);
  --color-ink: #1d1d1d;
  --color-black: #000;
  --color-text: #e6e6e6;
  --color-muted: #999;
  --color-card-text: #696969;
  --color-paper: #fff;
  --color-focus: #fff;
  --font-body: 'Open Sans', Arial, sans-serif;
  --font-icons: 'FontAwesome';
  --header-height: 90px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--color-ink); color: var(--color-text); font: 400 16px/1.5 var(--font-body); }
main { flex: 1; }
img, video { max-width: 100%; }
picture { display: inline; }
a { color: inherit; }
button, summary { font: inherit; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 20; padding: 10px 14px; background: var(--color-paper); color: var(--color-black); }
.skip-link:focus { top: 10px; }

/* The existing type logo and orange navigation remain the visual anchor. */
.site-header { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; min-height: var(--header-height); padding: 12px 25px 12px 16px; border-bottom: 5px solid var(--color-black); background: var(--color-accent); color: var(--color-black); }
.brand { display: block; flex: none; color: var(--color-black); text-decoration: none; line-height: 1.35; }
.brand-name { display: block; margin: 0; font-size: 20px; font-weight: 400; }
.brand strong { display: block; margin-top: 2px; font-size: 20px; font-weight: 700; letter-spacing: 2.5px; }
.desktop-nav { display: flex; align-items: center; gap: 20px; }
.desktop-nav a, .nav-disclosure nav a { color: var(--color-black); font-size: 16px; text-decoration: none; }
.desktop-nav a:hover, .desktop-nav a:focus-visible, .nav-disclosure nav a:hover, .nav-disclosure nav a:focus-visible { text-decoration: underline; text-underline-offset: 5px; }
.site-header :focus-visible { outline-color: var(--color-black); }
.desktop-nav a { text-underline-offset: 5px; }
.desktop-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.nav-disclosure { display: none; position: relative; }

/* Home: image size, gutters, order and hover colour follow the live site. */
.containerOwn { padding: 90px 25px; }
.containerOwn > .row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.box-height { position: relative; height: 370px; min-width: 0; }
.box-height > a { display: block; position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 5px; color: var(--color-black); text-decoration: none; transition: box-shadow .25s ease, transform .25s ease; }
.box-height picture, .box-height img { display: block; width: 100%; height: 100%; }
.box-height img { object-fit: cover; transition: transform .4s ease; }
.box-height a:hover { box-shadow: 0 12px 28px rgb(0 0 0 / 22%); transform: translateY(-2px); }
.box-height a:hover img { transform: scale(1.025); }
.overlay { position: absolute; inset: 0; display: grid; place-items: center; background: var(--color-accent-overlay); opacity: 0; transition: opacity .25s ease; }
.box-height a:hover .overlay, .box-height a:focus-visible .overlay { opacity: 1; }
.title-article { margin: 0; padding: 10px; color: var(--color-ink); font-size: 22px; font-weight: 700; letter-spacing: 2px; text-align: center; text-transform: uppercase; }

/* Existing portfolio cards and editorial galleries. */
.container { max-width: 1140px; margin: 16px auto 0; padding: 0 15px; }
.container > .row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.card { position: relative; overflow: hidden; min-height: 472px; margin-bottom: 16px; background: var(--color-paper); border: 1px solid rgb(0 0 0 / 5%); border-radius: 10px; color: var(--color-card-text); font-family: 'DM Sans', sans-serif; box-shadow: 0 4px 18px rgb(0 0 0 / 12%); transition: box-shadow .25s ease, transform .25s ease; }
.card:hover { box-shadow: 0 12px 28px rgb(0 0 0 / 20%); transform: translateY(-2px); }
.card :focus-visible { outline-color: var(--color-black); }
.card picture { display: block; }
.card-img-top { display: block; width: 100%; height: 250px; object-fit: cover; }
.card-body { position: relative; min-height: 220px; padding: 18px 20px 64px; }
.card-title { margin: 0 0 12px; color: #424242; font-size: 21px; font-weight: 600; line-height: 1.25; }
.card-text { margin: 0; color: #626262; font-size: 16px; font-weight: 400; line-height: 1.55; }
.card-text-ital { font-style: italic; font-size: .85em; }
.btn-primary-alt { position: absolute; left: 20px; right: auto; bottom: 18px; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 5px 6px 5px 17px; border: 1px solid #dedede; border-radius: 999px; background: var(--color-paper); color: #333; font-size: 15px; font-weight: 600; text-align: center; text-decoration: none; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.btn-primary-alt::after { content: '↗'; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--color-accent); color: var(--color-black); font-size: 16px; transition: transform .2s ease; }
.btn-primary-alt:hover { border-color: var(--color-ink); background: var(--color-ink); color: var(--color-paper); }
.btn-primary-alt:hover::after { transform: translate(1px, -1px); }
.btn-primary-alt:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

.fond, .wrap { max-width: 1200px; margin: 0 auto; }
.menu { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 20px; padding-top: 20px; text-align: center; }
.menu h1 { margin: 0; font-size: 32px; font-weight: 400; line-height: 1.25; }
.menu h1 span { font-weight: 300; }
.menu a { display: inline-flex; align-items: center; flex: none; padding: 4px; }
.menu a:hover { opacity: .65; }
.menu img { display: block; width: 20px; height: auto; }
.baseline { margin: 20px 10px 8px; font-size: 19px; font-weight: 300; text-align: center; }
.sousbaseline { margin: 8px 10px; color: var(--color-muted); font-size: 19px; font-weight: 700; text-align: center; }
.projet { margin: 18px 10px; font-size: 17px; text-align: center; }
.bold { font-weight: 700; font-style: italic; }
.ital { font-style: italic; }
.middle { position: relative; max-width: 100%; margin: 0 auto; padding: 0 20px; text-align: center; }
.middle img { max-width: 100%; height: auto; margin-bottom: 20px; }
.imgrecto { margin-right: 5px; margin-left: 5px; }
.middleprojets { position: relative; max-width: 50%; margin: 0 auto; padding: 0 20px; }
.middleprojets img { max-width: 100%; height: auto; margin-bottom: 20px; }
.alternatetablette { position: relative; }
.alternate, .alternate2, .alternate12 { position: absolute; top: 0; left: 0; animation: alternate-opacity 3s infinite alternate both; }
.alternate12 { animation-duration: 4s; }
.alternate3, .alternate5-1, .alternate7, .alternate9, .alternate11, .alternate13, .alternate15, .alternate17 { position: absolute; top: 0; left: 0; }
.alternate8, .alternate14 { padding-bottom: 235px; }
.alternate16 { padding-bottom: 205px; }
@keyframes alternate-opacity { from { opacity: 1; } to { opacity: 0; } }
video { height: auto; }
.interactive-page audio.audio { display: none; }
.no-js .interactive-page audio.audio { display: block; width: min(100%, 480px); margin: 10px auto 25px; }
.no-js .interactive-page img.alternate9,
.no-js .interactive-page img.alternate15,
.no-js .interactive-page img.alternate17 { display: none; }
.interactive-page img[role="button"] { cursor: pointer; }
.interactive-page img[role="button"]:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
.credit { text-align: center; }

/* Biography, skills and contact retain their source compositions. */
.about.container { max-width: 1140px; margin-top: 0; padding: 20px 15px; font-size: 16px; font-weight: 300; line-height: 2; }
.profil { margin-top: 10px; padding-top: 10px; }
.profil .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 0; margin: 0 -15px; }
.profil .row > div { min-width: 0; padding: 0 15px; }
.moi { display: block; width: 100%; height: auto; max-height: 50vh; margin-bottom: 2em; object-fit: contain; }
.presentation { margin: 0 20px 0; padding-bottom: 50px; color: var(--color-muted); font-size: 16px; font-weight: 300; line-height: 1.5; }
.about .skills-container { display: block; max-width: 75%; margin: 0 auto; }
.skills { display: flex; align-items: center; gap: .5em; padding: 0 15px 1em; font-size: 1.1em; line-height: 20px; }
.skills p { margin: 0; }
.skills .fa { font-size: 1.25em; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; min-height: calc(100vh - var(--header-height)); padding: 20px; color: var(--color-black); text-align: center; }
.carré-contact { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 45px; width: min(500px, 100%); min-width: 0; height: 500px; padding: 20px; border-radius: 8px; background: var(--color-paper); box-shadow: 0 12px 36px rgb(0 0 0 / 18%); font-size: 24px; }
.carré-contact :focus-visible { outline-color: var(--color-black); }
.carré-contact br { display: none; }
.carré-contact a { color: var(--color-black); text-decoration: none; }
.carré-contact .mail { overflow-wrap: anywhere; }
.carré-contact a[href^="tel"] { font-weight: 700; }
.carré-contact a:hover { text-decoration: underline; }
.reseaux { display: flex; gap: 8px; }
.reseaux a { font-size: 24px; }

.fa { display: inline-block; font-family: var(--font-icons); font-style: normal; font-weight: 400; line-height: 1; }
.fa-tablet::before { content: '\f10a'; }
.fa-leanpub::before { content: '\f212'; }
.fa-book::before { content: '\f02d'; }
.fa-camera::before { content: '\f030'; }
.fa-shopping-bag::before { content: '\f290'; }
.fa-users::before { content: '\f0c0'; }
.fa-image::before { content: '\f03e'; }
.fa-file-o::before { content: '\f016'; }
.fa-file-code-o::before { content: '\f1c9'; }
.fa-linkedin-square::before { content: '\f08c'; }
.fa-instagram::before { content: '\f16d'; }

.site-footer { padding: 22px 15px 34px; text-align: center; color: var(--color-text); font-size: 12px; }
.page-deco .site-footer { padding-top: 0; padding-bottom: 57px; }
.page-deco .middle img { margin-bottom: 15px; }
.site-footer p { margin: 0; }
.back-to-top { position: fixed; right: 15px; bottom: 15px; z-index: 5; display: block; width: 44px; height: 44px; padding: 2px; }
.back-to-top img { display: block; width: 100%; height: 100%; object-fit: contain; }
.back-to-top:hover { opacity: .7; }
.not-found { min-height: 60vh; max-width: 720px; margin: 0 auto; padding: 80px 24px; text-align: center; }

@media (max-width: 1199px) {
  .containerOwn > .row, .container > .row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  :root { --header-height: 86px; }
  .site-header { padding-right: 18px; }
  .desktop-nav { display: none; }
  .nav-disclosure { display: block; }
  .nav-disclosure summary { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; cursor: pointer; list-style: none; }
  .nav-disclosure summary::-webkit-details-marker { display: none; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 30px; height: 4px; background: var(--color-black); }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { position: absolute; content: ''; left: 0; }
  .nav-toggle-bars::before { top: -10px; }
  .nav-toggle-bars::after { top: 10px; }
  .nav-disclosure nav { display: none; position: absolute; top: calc(100% + 16px); right: -18px; width: min(320px, 100vw); padding: 14px 20px; background: var(--color-black); box-shadow: 0 10px 24px rgb(0 0 0 / 20%); }
  .nav-disclosure[open] nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-disclosure nav a { display: block; padding: 12px 4px; color: var(--color-paper); }
  .containerOwn { padding: 75px 12px 65px; }
  .containerOwn > .row, .container > .row { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .box-height { height: 400px; }
  .overlay { top: auto; height: 100px; opacity: 1; backdrop-filter: blur(4px); }
  .title-article { font-size: 20px; }
  .container { margin-top: 16px; }
  .card { max-width: 500px; margin: 0 auto 15px; }
  .menu { gap: 16px; }
  .menu h1 { font-size: 24px; }
  .baseline { font-size: 16px; }
  .sousbaseline { font-size: 16px; }
  .projet { font-size: 12px; }
  .middle img { max-width: 90%; }
  .middleprojets { max-width: 100%; }
  .profil .row { grid-template-columns: minmax(0, 1fr); }
  .about.container { padding: 20px; }
  .profil .row { margin: 0; }
  .profil .row > div { padding: 0; }
  .presentation { margin: 0 15px; padding-bottom: 50px; }
  .about .skills-container { max-width: 75%; }
  .carré-contact { font-size: clamp(16px, 4.9vw, 24px); }
  .alternate8, .alternate14 { padding-bottom: 130px; }
  .alternate16 { padding-bottom: 120px; }
}
@media (max-width: 390px) {
  .brand-name { font-size: 17px; }
  .brand strong { font-size: 17px; }
  .menu h1 { font-size: 16px; }
  .projet { margin: 14px 5px 16px; font-size: 9px; }
  .contact { padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms; transition-duration: .01ms; }
}
