/* ==========================================================================
   Univers CORPORATE — clair, aérien, éditorial
   ========================================================================== */

.u-corporate { font-family: var(--f-sans); }

.kicker {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
	color: var(--accent); margin-bottom: 22px;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }

.section { padding-block: clamp(70px, 10vw, 140px); }
.section--tight { padding-block: clamp(30px, 5vw, 60px) clamp(60px, 8vw, 120px); }
.wrap--narrow { max-width: 860px; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 900px; }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; max-width: none; flex-wrap: wrap; }
/* Titres en gris (noir à 80 %) plutôt qu'en noir pur */
.u-corporate { --title: #333; }
.u-corporate :is(h1, h2, h3, h4), .u-corporate :is(.footer-cta__title, .stat__num) { color: var(--title); }
/* Exceptions : titres posés sur un fond sombre ou coloré */
.u-corporate :is(.cta-band__title, .pnav__title, .site-footer__h), .service:hover .service__title, .metier:hover .metier__title { color: inherit; }

.section-title { font-size: clamp(36px, 5.2vw, 76px); line-height: 1; letter-spacing: -.045em; font-weight: 600; }
.section-title em, .c-hero__title em, .c-head__title em, .cta-band__title em, .footer-cta__title em, .project__title em, .contact__title em {
	font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--accent);
}
.section-sub { margin-top: 16px; color: var(--muted); font-size: 18px; max-width: 60ch; }
.prose--lead { font-size: clamp(18px, 1.5vw, 21px); color: #33363b; }

.btn--light { background: #fff; color: var(--ink); }
.btn--light .icon { background: var(--accent); color: #fff; }

/* Titres découpés mot à mot */
/* Masque mot par mot pour l'apparition. La fenêtre déborde de chaque côté (marges négatives équivalentes,
   donc mise en page inchangée) : accents, jambages, italique et dernière lettre resserrée ne sont plus rognés. */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .2em .14em .28em; margin: -.2em -.14em -.28em; }
.js [data-split] .w__i { display: inline-block; transform: translateY(150%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 45ms + .1s); }
.js [data-split].is-in .w__i { transform: none; }

/* --- Hero accueil --------------------------------------------------- */
.c-hero { padding-top: calc(var(--header-h) + clamp(30px, 6vw, 80px)); padding-bottom: clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.c-hero::before {
	content: ""; position: absolute; width: 70vw; aspect-ratio: 1; right: -25vw; top: -30vw; border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 185, 242, .14), transparent 65%); pointer-events: none;
}
.c-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.c-hero__title { font-size: clamp(50px, 7.4vw, 124px); line-height: .94; letter-spacing: -.055em; font-weight: 600; margin-bottom: 30px; }
.c-hero__lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); max-width: 46ch; margin-bottom: 36px; }
.c-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.c-hero__visual { position: relative; aspect-ratio: 4 / 5; }
.c-hero__main { position: absolute; inset: 0 0 12% 12%; border-radius: 28px 28px 28px 200px; overflow: hidden; background: var(--bg-2); }
.c-hero__main img, .c-hero__main video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 2.4s var(--ease-out); }
.c-hero__main.is-in img, .c-hero__main.is-in video { transform: scale(1); }
.c-hero__second { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; border: 8px solid var(--bg); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35); }
.c-hero__second img { width: 100%; height: 100%; object-fit: cover; }
.c-hero__badge { position: absolute; right: -10px; bottom: 4%; width: 128px; height: 128px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.c-hero__badge svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.c-hero__badge text { font-size: 9px; fill: #fff; font-weight: 700; } /* espacement réparti par textLength : jamais de chevauchement */
.c-hero__badge .icon { width: 38px; height: 38px; color: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
	.c-hero__grid { grid-template-columns: 1fr; }
	.c-hero__visual { aspect-ratio: 1 / 1; max-width: 560px; }
}

/* --- Bandeau défilant ------------------------------------------------ */
.ticker { border-block: 1px solid var(--line); padding-block: 22px; background: var(--ink); color: var(--bg); }
.ticker li { font-size: clamp(26px, 3.6vw, 54px); font-weight: 600; letter-spacing: -.03em; padding-inline: 26px; white-space: nowrap; }
.ticker li:nth-child(4n+3) { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.ticker__star { color: var(--accent); font-size: .6em !important; }

/* --- Services ------------------------------------------------------- */
.services__grid { display: flex; flex-wrap: wrap; background: var(--bg); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
/* Flex + filets en bordures/marge négative : la dernière ligne s'étire, pas de case vide. */
.service { flex: 1 1 230px; position: relative; background: var(--bg); padding: 34px 30px 40px; min-height: 320px; display: flex; flex-direction: column; border-left: 1px solid var(--line); border-top: 1px solid var(--line); margin: -1px 0 0 -1px; transition: background-color .5s, color .5s; }

/* Pastille d'icône duotone */
.service__icon {
	position: relative; width: 72px; height: 72px; margin: 0 0 30px;
	display: grid; place-items: center; border-radius: 20px;
	color: var(--ink);
	background: linear-gradient(145deg, #fff, color-mix(in srgb, var(--accent) 7%, var(--bg)));
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent), 0 10px 24px -14px color-mix(in srgb, var(--accent) 70%, transparent);
	transition: transform .7s var(--ease-out), background .5s, box-shadow .5s, color .5s;
}
.service__icon .icon { width: 40px; height: 40px; overflow: visible; }
.service__icon .duo-f { fill: var(--accent); stroke: none; opacity: .8; transition: transform .7s var(--ease-out), opacity .5s, fill .5s; }
.service__icon .duo-s > * { stroke-dasharray: 1; stroke-dashoffset: 0; }

.service__title { font-size: 26px; letter-spacing: -.03em; margin: 0 0 10px; }
.service__text { font-size: 15px; color: var(--muted); transition: color .5s; }

.service:hover { background: var(--ink); color: var(--bg); }
.service:hover .service__text { color: rgba(255, 255, 255, .65); }
.service:hover .service__icon {
	transform: translateY(-6px); color: #fff;
	background: linear-gradient(145deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #000));
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 18px 34px -12px color-mix(in srgb, var(--accent) 80%, transparent);
}
.service:hover .duo-f { fill: #fff; opacity: .28; transform: translate(-1.5px, -1.5px); }
:is(.service, .metier):hover .duo-s > * { animation: duo-draw 1.1s var(--ease-out) both; }
:is(.service, .metier):hover .duo-s > *:nth-child(2) { animation-delay: .08s; }
:is(.service, .metier):hover .duo-s > *:nth-child(3) { animation-delay: .16s; }
:is(.service, .metier):hover .duo-s > *:nth-child(n+4) { animation-delay: .24s; }
@keyframes duo-draw { from { stroke-dashoffset: 1; } }
@media (prefers-reduced-motion: reduce) { :is(.service, .metier):hover .duo-s > * { animation: none; } }

/* --- À propos / stats -------------------------------------------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.about__media { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__text > * + * { margin-top: 26px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; margin-top: clamp(60px, 8vw, 110px); }
.stat { border-top: 1px solid var(--ink); padding-top: 20px; text-align: center; }
.stat__num { display: block; font-size: clamp(56px, 6vw, 96px); font-weight: 600; letter-spacing: -.06em; line-height: 1; }
.stat__label { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } .about__media { aspect-ratio: 4 / 3; } }

/* --- Cartes projets ---------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 36px); }
.cards--home { grid-template-columns: repeat(2, 1fr); }
.cards--home .card:nth-child(4n+1), .cards--home .card:nth-child(4n+4) { --ratio: 4 / 3.4; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards, .cards--home { grid-template-columns: 1fr; } }
.card { display: block; position: relative; }
.card.is-hidden { display: none; }
.card__media { position: relative; aspect-ratio: var(--ratio, 4 / 3); border-radius: 20px; overflow: hidden; background: var(--bg-2); }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .8s; }
.card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); }
.card__placeholder .icon { width: 60px; height: 60px; }
.card__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transform: translate(-50%, -50%) scale(0); transition: transform .6s var(--ease-out); }
.card__play .icon { width: 24px; height: 24px; margin-left: 3px; }
.card:hover .card__img { transform: scale(1.06); }
.card:hover .card__play { transform: translate(-50%, -50%) scale(1); }
.card__body { position: relative; padding: 18px 60px 0 2px; }
.card__meta { display: flex; gap: 14px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; margin-bottom: 6px; }
.card__meta span + span::before { content: "·"; margin-right: 14px; }
.card__title { font-size: clamp(20px, 1.7vw, 26px); letter-spacing: -.025em; line-height: 1.15; }
.card__arrow { position: absolute; right: 0; top: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color .4s, color .4s, transform .5s var(--ease-out); }
.card__arrow .icon { width: 18px; height: 18px; }
.card:hover .card__arrow { background: var(--accent); color: #fff; border-color: var(--accent); transform: rotate(45deg); }

/* --- Filtres -------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.filters__btn { padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; transition: background-color .3s, color .3s, border-color .3s; }
.filters__btn sup { font-size: 10px; opacity: .6; margin-left: 2px; }
.filters__btn:hover { border-color: var(--ink); }
.filters__btn.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* --- Clients ------------------------------------------------------- */
.clients { padding-block: clamp(60px, 8vw, 110px); }
.clients__head { margin-bottom: 44px; }
.clients__track { --dur: 55s; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.clients__item { width: 200px; height: 110px; margin-right: 18px; flex: none; display: grid; place-items: center; padding: 22px 28px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.clients__item img { max-height: 62px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .4s, opacity .4s; }
.clients__item:hover img { filter: none; opacity: 1; }
.clients__item span { font-weight: 700; text-align: center; font-size: 14px; }

/* --- CTA --------------------------------------------------------- */
.cta-band {
	display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
	padding: clamp(36px, 6vw, 80px); border-radius: 32px;
	background: var(--accent); color: #fff; position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; width: 520px; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); right: -160px; top: -200px; box-shadow: 0 0 0 60px rgba(255, 255, 255, .05), 0 0 0 120px rgba(255, 255, 255, .04); }
.cta-band__title { font-size: clamp(34px, 4.6vw, 66px); line-height: 1; letter-spacing: -.045em; max-width: 16ch; }
.cta-band__title em { color: #fff; }
.cta-band p { margin-top: 14px; opacity: .85; max-width: 50ch; }
.cta-band .btn { position: relative; z-index: 1; }

/* --- En-tête des pages intérieures -------------------------------- */
.c-head { padding-top: calc(var(--header-h) + clamp(50px, 8vw, 120px)); padding-bottom: clamp(30px, 4vw, 60px); }
.c-head__title { font-size: clamp(48px, 8vw, 132px); line-height: .94; letter-spacing: -.055em; font-weight: 600; max-width: 14ch; }
.c-head__lead { margin-top: 26px; font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); max-width: 60ch; }
.c-head__media { margin-top: clamp(40px, 6vw, 80px); border-radius: 28px; overflow: hidden; aspect-ratio: 21 / 9; }
.c-head__media img { width: 100%; height: 100%; object-fit: cover; }

/* --- Split ------------------------------------------------------- */
.split { padding-top: 0; }
.split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.split__grid--text { align-items: start; grid-template-columns: 1.3fr .7fr; }
.split__media { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__text > * + * { margin-top: 30px; }
.split__grid--text .section-title { margin-bottom: 28px; font-size: clamp(30px, 3.4vw, 48px); }
@media (max-width: 860px) { .split__grid, .split__grid--text { grid-template-columns: 1fr; } .split__media { aspect-ratio: 4 / 3; } }

.checklist { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 34px; position: sticky; top: calc(var(--header-h) + 20px); }
.checklist__title { font-size: 20px; letter-spacing: -.02em; margin-bottom: 18px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.checklist .icon { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent); }

/* --- Métiers / équipe ------------------------------------------ */
.metiers { background: #808080; color: #fff; }
.u-corporate .metiers .section-title { color: #fff; }
.metiers .section-title em { color: #2bb9f2; }
.metiers__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 1100px) { .metiers__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .metiers__grid { grid-template-columns: repeat(2, 1fr); } }
.metier { background: #fff; color: var(--title); box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .5); border-radius: 20px; padding: 28px 22px; display: flex; flex-direction: column; gap: 40px; min-height: 200px; transition: background-color .4s, transform .5s var(--ease-out); }
.metier:hover { background: var(--accent); color: #fff; transform: translateY(-6px); }
/* Pastille duotone (carte blanche) */
.metier__icon {
	width: 60px; height: 60px; display: grid; place-items: center; border-radius: 18px; color: var(--ink);
	background: linear-gradient(145deg, #fff, color-mix(in srgb, var(--accent) 9%, #fff));
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent), 0 10px 22px -14px color-mix(in srgb, var(--accent) 70%, transparent);
	transition: background .5s, box-shadow .5s, color .5s;
}
.metier__icon .icon { width: 32px; height: 32px; overflow: visible; }
.metier__icon .duo-f { fill: var(--accent); stroke: none; opacity: .8; transition: transform .7s var(--ease-out), opacity .5s, fill .5s; }
.metier__icon .duo-s > * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.metier:hover .metier__icon { background: #fff; color: var(--ink); box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .45); }
.metier:hover .duo-f { transform: translate(-1.5px, -1.5px); }
.metier__title { margin-top: auto; font-weight: 700; font-size: 18px; line-height: 1.2; }

.team__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(24px, 3vw, 44px); }
.member { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: start; padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); }
.member__photo { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--bg-2); isolation: isolate; }
/* Noir & blanc lumineux teinté du bleu de la marque ; la couleur revient au survol. */
.member__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.98) contrast(1.26); transition: transform 1s var(--ease-out), filter .7s var(--ease-out); }
.member__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 55%, #fff), var(--accent)); mix-blend-mode: soft-light; opacity: .75; pointer-events: none; transition: opacity .7s var(--ease-out); }
.member:hover .member__photo img { transform: scale(1.06); filter: grayscale(0) brightness(1) contrast(1); }
.member:hover .member__photo::after { opacity: 0; }
.member__name { font-size: 26px; letter-spacing: -.03em; }
.member__role { display: block; color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .04em; margin: 4px 0 14px; }
.member__bio { color: var(--muted); font-size: 15px; }
@media (max-width: 560px) { .member { grid-template-columns: 1fr; } .member__photo { max-width: 200px; } }

/* --- Étapes ------------------------------------------------------ */
.steps .wrap { display: grid; gap: clamp(60px, 9vw, 130px); }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.step--rev .step__media { order: 2; }
.step__media { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); }
.step__media img { width: 100%; height: 100%; object-fit: cover; }
.step__ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: clamp(120px, 18vw, 260px); font-weight: 600; letter-spacing: -.08em; color: var(--accent); background: linear-gradient(135deg, #e7ecff, var(--bg-2)); }
.step__title { font-size: clamp(34px, 4vw, 58px); letter-spacing: -.045em; line-height: 1; margin: 0 0 22px; }
.step__text { color: #3b3e43; font-size: 18px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 30px; }
.pills li { padding: 8px 16px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
@media (max-width: 860px) { .step { grid-template-columns: 1fr; } .step--rev .step__media { order: 0; } }

/* --- Matériel ---------------------------------------------------- */
.gear { background: var(--bg-2); }
.gear__cat { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 50px 0 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.gear__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.gear__item { background: var(--card); border-radius: 22px; padding: 14px 14px 26px; }
.gear__img { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #fff; margin-bottom: 20px; }
.gear__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .9s var(--ease-out); }
.gear__item:hover .gear__img img { transform: scale(1.06); }
.gear__name { font-size: 19px; letter-spacing: -.02em; padding-inline: 10px; }
.gear__text { color: var(--muted); font-size: 15px; padding-inline: 10px; margin-top: 8px; }

/* --- Drones ------------------------------------------------------ */
.fleet__list { display: grid; gap: 24px; }
.drone-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 60px); align-items: center; padding: 18px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); }
.drone-row__img { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); }
.drone-row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.drone-row:hover .drone-row__img img { transform: scale(1.05); }
.drone-row__body { padding: 10px 20px 10px 0; }
.drone-row__cat { color: var(--accent); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.drone-row__name { font-size: clamp(26px, 2.8vw, 40px); letter-spacing: -.035em; line-height: 1.05; margin: 10px 0 16px; }
.drone-row__body p { color: var(--muted); }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 24px 0 0; }
.specs div { background: var(--card); padding: 14px 16px; }
.specs dt { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.specs dd { margin: 4px 0 0; font-weight: 700; font-size: 15px; }
@media (max-width: 800px) { .drone-row { grid-template-columns: 1fr; } .drone-row__body { padding: 4px; } }

.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; padding: 28px 0; font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; letter-spacing: -.03em; }
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; border: 1px solid var(--line); flex: none; transition: transform .5s var(--ease-out), background-color .3s; }
.accordion__item[open] summary .icon { transform: rotate(45deg); background: var(--ink); color: var(--bg); }
.accordion__item .prose { padding: 0 0 34px; max-width: 80ch; color: #3b3e43; }

/* --- Contact ----------------------------------------------------- */
.contact { padding-top: calc(var(--header-h) + clamp(50px, 8vw, 110px)); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); }
.contact__title { font-size: clamp(48px, 7vw, 110px); line-height: .94; letter-spacing: -.055em; font-weight: 600; }
.contact__lead { margin: 26px 0 36px; color: var(--muted); font-size: 18px; max-width: 46ch; }
.contact__info { display: grid; gap: 14px; margin-bottom: 30px; }
.contact__info li { display: flex; align-items: center; gap: 16px; font-size: 18px; font-weight: 600; }
.contact__info a:hover { color: var(--accent); }
.contact__ico { width: 50px; height: 50px; flex: none; border-radius: 50%; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent); }
.contact__ico .icon { width: 20px; height: 20px; }
.contact__form { background: var(--card); border-radius: 28px; padding: clamp(26px, 4vw, 50px); border: 1px solid var(--line); align-self: start; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

/* --- Projet ------------------------------------------------------- */
/* En-tête compact : la vidéo doit être visible dès l'arrivée sur la page */
.project__head { padding-top: calc(var(--header-h) + clamp(16px, 2.4vw, 34px)); padding-bottom: clamp(18px, 2vw, 28px); }
.project__head .back { display: flex; width: max-content; margin-bottom: 14px; }
.project__headrow { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 50px; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 40px; transition: color .3s, gap .3s; }
.back .icon { width: 18px; height: 18px; }
.back:hover { color: var(--ink); gap: 14px; }
.project__title { font-size: clamp(34px, 4.2vw, 68px); line-height: 1; letter-spacing: -.05em; font-weight: 600; max-width: 22ch; }
.project__meta { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 0; }
.project__meta dt { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.project__meta dd { margin: 4px 0 0; font-weight: 700; font-size: 17px; }
.project__media { border-radius: 28px; overflow: hidden; background: #000; }
/* Vidéo : la plus grande possible tout en tenant dans le premier écran */
/* Toute la page projet suit la largeur de la vidéo : la plus grande qui tienne dans le premier écran.
   Colonne centrée dans la page → en-tête, vidéo, texte, prestations et galerie alignés. */
.project { --colw: calc(max(560px, (100svh - var(--header-h) - 240px) * 16 / 9) + 2 * var(--gutter)); }
.project .wrap { max-width: min(var(--maxw), var(--colw)); margin-inline: auto; }
.project__media--video { border-radius: 20px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .45); animation: media-in 1s var(--ease-out) .1s both; }
@keyframes media-in { from { opacity: 0; transform: translateY(24px); } }
.project__media > img { width: 100%; }
.project__body { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(30px, 6vw, 100px); padding-block: clamp(50px, 7vw, 100px); align-items: start; }
@media (max-width: 860px) { .project__body { grid-template-columns: 1fr; } }
.project__accroche { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.035em; line-height: 1.1; margin-bottom: 18px; }
.project__videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 20px; }
.project__videos .embed { border-radius: 20px; background: #000; }
.project__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.project__gallery figure { border-radius: 20px; overflow: hidden; }
.project__gallery figure:nth-child(3n+1) { grid-column: 1 / -1; }
.project__gallery img { width: 100%; height: 100%; object-fit: cover; }

.pnav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(60px, 8vw, 110px); }
.pnav__link { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; padding: 30px; border-radius: 24px; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.pnav__link--next { text-align: right; align-items: flex-end; }
.pnav__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .35; transition: opacity .6s, transform 1.2s var(--ease-out); }
.pnav__link:hover .pnav__img { opacity: .6; transform: scale(1.05); }
.pnav__label { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; opacity: .7; }
.pnav__title { font-size: clamp(22px, 2.4vw, 34px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin-top: 8px; }
@media (max-width: 640px) { .pnav { grid-template-columns: 1fr; } }

.post-item + .post-item { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.post-item h2 { font-size: 30px; letter-spacing: -.03em; margin-bottom: 12px; }
