/* Variante sport rétro — bleu marine et blanc, grotesque large et oblique, photo pleine page.
   S'ajoute à style.css : ne redéfinit que les tokens et les composants qui changent. */

@font-face { font-family: "Archivo Ed"; src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Archivo Ed"; src: url("../fonts/archivo-latin-wdth-italic.woff2") format("woff2-variations"); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }
@font-face { font-family: "Mono Ed"; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #ffffff;
  --soft: #eef1f8;
  --soft-2: #dde3f1;
  --navy: #0f2a6e;
  --navy-2: #0a1f55;
  --ink: #0d1733;
  --ink-2: #0f2a6e;
  --muted: #55607a;
  --line: #d5d9e3;
  --rule: #0f2a6e;
  --accent: #0f2a6e;
  --accent-ink: #0f2a6e;
  --accent-soft: #eef1f8;
  --cream: #ffffff;
  --cream-muted: #a9a9a6;
  --px: 0px;
  --display: "Archivo Ed", "Arial Narrow", Arial, sans-serif;
  --text: "Archivo Ed", Arial, sans-serif;
  --mono: "Mono Ed", ui-monospace, Menlo, monospace;
}

body.ed { font-family: var(--text); font-stretch: 100%; font-size: 16px; }

/* Typo : titres condensés, en capitales, serrés */
.ed h1, .ed h2, .ed h3 { font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 118%; text-transform: none; letter-spacing: -.035em; line-height: .95; color: var(--ink-2); }
.ed h1 { font-size: clamp(46px, 7.4vw, 108px); }
.ed h2 { font-size: clamp(34px, 4.6vw, 62px); }
.ed h3 { font-size: clamp(22px, 2.1vw, 27px); line-height: 1.02; letter-spacing: -.025em; }
.ed .page-head h1, .ed .center-page h1, .ed .page-head h1.about-title, .ed h2 { text-transform: none; max-width: 20ch; }
.ed .label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; color: var(--ink); }
.ed .lead, .ed .story .body p:first-child, .ed .intro p { font-family: var(--text); font-weight: 400; font-stretch: 100%; font-size: clamp(19px, 1.9vw, 23px); line-height: 1.4; color: var(--ink); letter-spacing: -.005em; }
.ed .muted, .ed .sec-head p { color: var(--muted); }

/* Boutons : rectangles, capitales, point final */
.ed .btn { font-family: var(--text); font-weight: 800; font-style: italic; font-stretch: 110%; text-transform: uppercase; letter-spacing: .02em; font-size: 14px; background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.ed .btn:hover { background: var(--ink-2); color: #fff; }
.ed .btn-ink, .ed .btn-accent { background: var(--ink-2); color: #fff; box-shadow: none; }
.ed .btn-ink:hover, .ed .btn-accent:hover { background: var(--navy-2); }
.ed .btn .arr { display: none; }

.ed .link { font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: .02em; border-bottom-width: 1.5px; }
.ed .link .arr { display: none; }


/* En-tête */
.ed .site-header { background: rgba(255, 255, 255, .96); border-bottom: 1.5px solid var(--rule); }
.ed .brand-logo { filter: brightness(0) invert(13%) sepia(60%) saturate(3200%) hue-rotate(218deg) brightness(88%); }
.ed .nav a { font-family: var(--text); font-weight: 600; font-stretch: 85%; text-transform: uppercase; font-size: 13.5px; letter-spacing: .03em; color: var(--ink); }
.ed .nav a:not(.btn)[aria-current="page"]::before { background: var(--ink-2); }
.ed .nav .btn { color: #fff; }
.ed .nav-toggle { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-2); text-transform: uppercase; font-weight: 700; }

/* Accueil : photo pleine page, texte en surimpression */
.ed .hero { padding-top: 0; }
.ed .hero-grid { position: relative; display: block; margin: 0 calc(50% - 50vw); padding: clamp(120px, 18vw, 220px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) clamp(40px, 6vw, 72px); color: #fff; isolation: isolate; }
.ed .hero-photo { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; background: var(--navy); }
.ed .hero-photo img { object-position: 50% 45%; filter: grayscale(.15) contrast(1.05); }
.ed .hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,31,85,.25) 0%, rgba(10,31,85,.35) 40%, rgba(10,31,85,.85) 100%); }
.ed .hero h1 { color: #fff; max-width: 13ch; }
.ed .hero .label { color: #fff; }
.ed .hero .lead { color: rgba(255,255,255,.9); max-width: 620px; }
.ed .hero .btn { color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.ed .hero .btn:hover { background: #fff; color: var(--navy); }
.ed .hero .btn-ink { background: #fff; color: var(--navy); box-shadow: none; }
.ed .hero .btn-ink:hover { background: #e6e6e6; }
@media (max-width: 900px) { .ed .hero-photo { aspect-ratio: auto; } }

/* Marques */
.ed .brands-row { border-top: 1.5px solid var(--rule); border-bottom: 1.5px solid var(--rule); }
.ed .hero .brands-row { margin-top: 0; }
.ed .brands li.has-logo img { filter: brightness(0) invert(13%) sepia(60%) saturate(3200%) hue-rotate(218deg) brightness(88%); opacity: 1; }

/* Têtes de section : filet noir */
.ed .sec-head { border-top: 1.5px solid var(--rule); padding-top: 18px; }
.ed .sec-head h2 { margin-top: 6px; }

/* Cartes projets */
.ed .card .media { aspect-ratio: 4 / 5; }
.ed .card-body { padding-top: 14px; }
.ed .card h3 { font-size: clamp(26px, 2.6vw, 34px); }
.ed .card p { color: var(--muted); }
.ed .card .role { font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.ed .card .role::before { background: var(--ink-2); }
.ed .card:hover h3 { color: var(--ink-2); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.ed .media { background: var(--soft); }
.ed .media .picto { color: var(--ink-2); opacity: .9; }
.ed .media.tone-3, .ed .media.tone-2 { background: var(--soft-2); }
.ed .media.tone-ink { background: var(--navy); }
.ed .media .media-cap { font-family: var(--mono); }

/* Offre */
.ed .offers { border-top: 0; }
.ed .offers > li { border-bottom: 1px solid var(--line); }
.ed .offers .num .mini { color: var(--ink-2); }
.ed .offers h3 { font-size: clamp(26px, 2.8vw, 36px); }
.ed .offer-card { background: transparent; border-top: 1.5px solid var(--rule); padding: 28px 0; }
.ed .steps li { background: transparent; border-top: 1.5px solid var(--rule); padding: 18px 0 0; }
.ed .steps li:last-child { background: transparent; }
.ed .steps li .n { font-family: var(--mono); color: var(--ink); }
.ed .tile { background: transparent; border-top: 1.5px solid var(--rule); padding: 18px 0 0; }
.ed .tiles, .ed .tiles.four { gap: 32px 28px; }
.ed .chips li, .ed .made li { background: transparent; box-shadow: inset 0 0 0 1px var(--ink-2); font-weight: 500; }

/* Piliers */
.ed .pillars { gap: 28px; }
.ed .pillar { background: transparent; border-top: 3px solid var(--rule); padding: 20px 0 0; }
.ed .pillar .n { display: none; }
.ed .pillar h3 { font-size: clamp(28px, 2.8vw, 36px); margin-bottom: 14px; }
.ed .pillar p { color: var(--ink); }
.ed .pillar .proof { color: var(--ink-2); border-top: 1px solid var(--line); }

/* Bandeau d'appel, pied de page */
.ed .cta-band { background: var(--navy); }
.ed .cta-band h2 { color: #fff; font-size: clamp(40px, 5.4vw, 72px); }
.ed .cta-band p { color: #c6cee3; }
.ed .cta-band .btn-accent { background: #fff; color: var(--navy); }
.ed .cta-band .btn-cream { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.ed .cta-band .btn-cream:hover { background: #fff; color: var(--navy); }
.ed .cta-band .picto { display: none; }
.ed .site-footer { background: var(--navy); color: #b9c3dc; }
.ed .ft .f-logo { filter: brightness(0) invert(1); }
.ed .ft .sig { font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 118%; letter-spacing: -.03em; font-size: 26px; line-height: 1; color: #fff; }
.ed .ft h4 { font-family: var(--mono); font-size: 11.5px; }

/* Pages projet */
.ed .proj-head .partners { font-family: var(--mono); font-style: normal; font-size: 13px; text-transform: uppercase; color: var(--ink); }
.ed .facts-dl { border-top: 1.5px solid var(--rule); }
.ed .facts-dl dd { font-weight: 600; }
.ed .proj-hero { aspect-ratio: 16 / 8; }
.ed .proj-facts div { background: transparent; border-top: 1.5px solid var(--rule); padding: 14px 0 0; }
.ed .proj-facts b { font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 118%; letter-spacing: -.03em; font-size: clamp(44px, 4.6vw, 64px); }
.ed .value { background: var(--navy); }
.ed .value p { font-family: var(--text); font-weight: 500; font-stretch: 100%; font-size: clamp(21px, 2.2vw, 28px); line-height: 1.3; color: #fff; max-width: 38ch; }
.ed .value .label { color: #b9c3dc; }
.ed .value .insta a { background: transparent; box-shadow: inset 0 0 0 1.5px #fff; text-transform: uppercase; font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.ed .value .insta a:hover { background: #fff; color: var(--navy); }
.ed .sq-list li::before { background: var(--ink-2); }
.ed .next-proj { border-top: 1.5px solid var(--rule); border-bottom: 1.5px solid var(--rule); }
.ed .next-proj h3 { font-size: clamp(32px, 4vw, 56px); }
.ed .next-proj:hover h3 { color: var(--ink-2); text-decoration: underline; }

/* Qui suis-je */
.ed .page-head h1.about-title { font-size: clamp(46px, 6.6vw, 96px); }
.ed .timeline li { border-top-color: var(--line); }
.ed .timeline .when { font-family: var(--mono); color: var(--ink); }
.ed .timeline b { font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 112%; letter-spacing: -.025em; font-size: 22px; }

/* Contact */
.ed .form { background: transparent; box-shadow: inset 0 0 0 1.5px var(--rule); }
.ed .form h2 { font-size: clamp(34px, 3.4vw, 46px); }
.ed .field input, .ed .field select, .ed .field textarea { background: #fff; border: 1.5px solid var(--ink-2); }
.ed .side-card { background: var(--soft); }
.ed .side-card.ink { background: var(--navy); }

/* À compléter */
.ed .todo { background: #fff2a8; color: #000; outline-color: #000; }

/* Coins nets partout */
.ed .px, .ed .px-lg { --px: 0px; }
.ed .nav a { font-style: italic; font-weight: 700; font-stretch: 110%; text-transform: none; font-size: 15px; letter-spacing: -.01em; }
.ed .todo { background: #fff2a8; color: #0d1733; }
.ed .hero .brands-row .label { color: var(--ink); }
.ed h2::first-letter, .ed .page-head h1::first-letter, .ed .center-page h1::first-letter { text-transform: uppercase; }
@media (max-width: 560px) { .ed .proj-facts b { font-size: 34px; } .ed .proj-head h1 { font-size: 40px; } }
@media (max-width: 560px) { .ed .page-head h1.about-title { font-size: 34px; } .ed .page-head h1, .ed .center-page h1 { font-size: 40px; } .ed .hero h1 { font-size: 42px; } }
.ed .proj-head > div { min-width: 0; }
.ed .proj-head h1 { font-size: clamp(36px, 4.4vw, 60px); overflow-wrap: anywhere; }

/* Logo v2 : déjà en marine, pas de filtre */
.ed .brand-logo { filter: none; height: 27px; }
.ed .ft .f-logo { filter: none; width: min(320px, 100%); }
@media (max-width: 820px) { .ed .brand-logo { height: 21px; } }
@media (max-width: 380px) { .ed .brand-logo { height: 18px; } }

/* Logo de l'événement sur la photo : grand, centré */
.media .ev-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 78%; max-width: 420px; height: auto; z-index: 1; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .5)); }
.media .ev-logo-lg { width: 52%; max-width: 620px; }
.media:has(.ev-logo)::after { content: ""; position: absolute; inset: 0; background: rgba(10, 31, 85, .38); pointer-events: none; }
.card:hover .media:has(.ev-logo)::after { background: rgba(10, 31, 85, .2); }
@media (max-width: 640px) { .media .ev-logo-lg { width: 72%; } }

/* Vignette sans photo : logo de l'événement sur fond marine */
.media.ev-only .ev-logo { width: 70%; max-width: 360px; filter: none; }
.media.ev-only .ev-logo-lg { width: 40%; max-width: 520px; }
.media.ev-only::after { display: none; }
/* Affiche : montrée en entier */
.media.fit-contain { background: #0b0b0b; }
.media.fit-contain img.photo { object-fit: contain; }
.ed .media.tone-ink .picto { color: #fff; }
.media.fit-contain { background: #0c1113; }
/* Logos hauts (ex. Reveal) : limités en hauteur pour laisser voir la photo */
.media .ev-logo { max-height: 62%; object-fit: contain; }
.media .ev-logo-lg { width: auto; max-width: 52%; max-height: 62%; }
@media (max-width: 640px) { .media .ev-logo-lg { max-width: 72%; } }
/* Portrait Qui suis-je : cadrage sur le visage et l'élan */
.ed .about-head .media { aspect-ratio: 3 / 4; }
.ed .about-head .media img.photo { object-position: 50% 30%; }
.ed .about-head > div { min-width: 0; }
.ed .page-head h1.about-title { font-size: clamp(40px, 4.6vw, 68px); overflow-wrap: break-word; }
@media (max-width: 560px) { .ed .about-head .media { aspect-ratio: 4 / 5; } }
/* numéros d'offre (remplacent les pictos pixel) */
.ed .offers .num { font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 118%; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.05; color: var(--navy); padding-top: 0; letter-spacing: -.01em; }
.ed .offer-card .offer-num { display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 118%; font-size: clamp(64px, 7vw, 104px); line-height: .85; color: var(--navy); letter-spacing: -.02em; }
@media (max-width: 520px) { .ed .offer-card .offer-num { font-size: 56px; } }
/* agenda Cal.com */

.ed .cal-inline { width: 100%; min-height: 560px; overflow: auto; margin-top: 24px; }
.ed .cal-fallback { margin-top: 14px; color: var(--muted); }
.ed .cal-fallback a { color: var(--navy); }
.ed .side-card.ink .btn-accent { background: #fff; color: var(--navy); }
.ed .side-card.ink .btn-accent:hover { background: #dfe5f3; }
/* Retours du 12 novembre */
.ed .hero .brands-row { border-bottom: 0; }
.ed .tiles-note { margin: 28px 0 0; font-family: var(--mono); font-size: 12.5px; color: var(--ink); }
.ed .acts { list-style: none; margin: 4px 0 0; padding: 0; }
.ed .acts li { font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 118%; letter-spacing: -.02em; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; color: var(--navy); }
.ed .poster-fig { margin: 0; max-width: 520px; }
.ed .poster-fig img { display: block; width: 100%; height: auto; box-shadow: 0 0 0 1px var(--line), 0 10px 30px rgba(13, 23, 51, .12); }
.ed .poster-fig figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.ed .value .insta + .insta { margin-top: 18px; }
.ed .chips li:last-child { min-width: 44px; text-align: center; }
/* Partage */
.site-header .hd { position: relative; }
.share-open { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; padding: 6px 0; cursor: pointer; font: inherit; color: var(--ink); }
.ed .share-open { font-family: var(--text); font-style: italic; font-weight: 700; font-stretch: 110%; font-size: 15px; letter-spacing: -.01em; }
.share-open svg, .share-btn svg, .share-deck svg { width: 18px; height: 18px; flex: none; }
.share-open:hover span { text-decoration: underline; text-underline-offset: 4px; }
.share-pop { position: absolute; right: var(--gutter); top: calc(100% + 8px); z-index: 60; width: min(340px, calc(100vw - 32px)); background: #fff; box-shadow: 0 0 0 1.5px var(--navy), 0 16px 40px rgba(13, 23, 51, .18); padding: 18px; display: grid; gap: 14px; }
.share-pop[hidden] { display: none; }
.share-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 12px; background: transparent; border: 0; box-shadow: inset 0 0 0 1.5px var(--navy); color: var(--navy); cursor: pointer; font: 600 14px var(--text); text-align: left; }
.share-btn:hover { background: var(--navy); color: #fff; }
.share-deck { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 12px; background: var(--navy); color: #fff; text-decoration: none; font: 700 14px var(--text); }
.share-deck:hover { background: var(--navy-2); }
.share-toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 100; background: var(--navy); color: #fff; padding: 12px 16px; font: 600 14px var(--text); transition: .25s; max-width: calc(100vw - 32px); }
.share-toast.on { opacity: 1; transform: translate(-50%, 0); }
.site-footer .ft-share { display: grid; grid-template-columns: 2fr 1fr; gap: 28px 40px; padding: 28px 0; margin-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); }
.site-footer .ft-share h4 { margin: 0 0 12px; }
.site-footer .share-row { grid-template-columns: repeat(4, minmax(0, max-content)); }
.site-footer .share-btn { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); color: #fff; }
.site-footer .share-btn:hover { background: #fff; color: var(--navy); }
.site-footer .share-deck { background: #fff; color: var(--navy); }
.site-footer .share-deck:hover { background: #dfe5f3; }
@media (max-width: 820px) {
  .share-open { padding: 14px 0; font-size: 17px; border-top: 1px solid var(--line); width: 100%; }
  .share-pop { left: var(--gutter); right: var(--gutter); width: auto; }
  .site-footer .ft-share { grid-template-columns: 1fr; }
  .site-footer .share-row { grid-template-columns: 1fr 1fr; }
}
.ed .site-footer .ft-share h4 { font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
@media (max-width: 820px) {
  .share-pop { position: static; width: auto; box-shadow: none; padding: 4px 0 16px; }
}
.ed .nav .share-deck, .ed .nav .share-deck:hover { color: #fff; font: 700 14px var(--text); font-style: normal; letter-spacing: 0; padding: 10px 12px; border-top: 0; }
.ed .nav .share-pop .label { color: var(--ink); }
.ed .ancrage { border-top: 1.5px solid var(--rule); padding-top: 18px; }
.ed .ancrage h3 { font-size: clamp(26px, 3vw, 40px); margin: 10px 0 12px; }
.ed .ancrage p { color: var(--muted); }
.ed .about-head .actions { margin-top: 26px; }
