/* BF Architecture — feuille de style du site public
   Reproduction de la charte du site d'origine (thème « Prague ») : Roboto, noir #111, gris texte #7e7d7d,
   lavande rgba(79,32,87,.18), violet #46255b, orange #cd5c39. Sans dépendance, sans service tiers. */

@font-face { font-family: "Roboto"; src: url("../fonts/roboto-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; src: url("../fonts/roboto-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --noir: #111; --gris-texte: #6f6e6e; --gris-clair: #f2f2f2; --gris-bande: #b3b3b3;
  --lavande: #dfd7e1; --violet: #46255b; --orange: #cd5c39;
  --conteneur: 1170px; --marge: 15px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; font: 400 16px/32px "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--noir); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: inherit; text-decoration: none; transition: color .3s ease-in, opacity .3s ease-in; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 10px; top: -60px; z-index: 1000; background: var(--noir); color: #fff; padding: 10px 16px; font-size: 14px; }
.evitement:focus { top: 10px; }
main:focus { outline: none; }

.conteneur { width: 100%; max-width: calc(var(--conteneur) + 2 * var(--marge)); margin: 0 auto; padding: 0 var(--marge); }
.conteneur--etroit { max-width: calc(970px + 2 * var(--marge)); }

/* ------------------------------------------------------------------ typographie commune */
.sur-titre { font-size: 14px; line-height: 18px; font-weight: 300; letter-spacing: 4.5px; margin: 0; }
.sur-titre--trait { position: relative; display: inline-block; margin-bottom: 10px; }
.sur-titre--trait::after { content: ""; position: absolute; left: 50%; top: calc(100% + 14px); width: 85px; height: 4px; transform: translateX(-50%); background: var(--gris-clair); }
.titre-bloc--gauche .sur-titre--trait::after { left: 0; transform: none; }
.sur-titre--clair { color: #fff; }
.sur-titre--clair::after { background: rgba(255, 255, 255, .4); }
.grand-titre { font-size: 54px; line-height: 56px; font-weight: 700; letter-spacing: .9px; margin-top: 18px; }
.grand-titre--moyen { font-size: 40px; line-height: 46px; }
.texte { color: var(--gris-texte); margin-top: 26px; }
.texte p { margin: 0 0 0; }
.texte p + p { margin-top: 0; }
.texte--centre { text-align: center; }
.texte--justifie p { text-align: justify; margin-bottom: 32px; }
.texte strong { color: #333; font-weight: 700; }
.texte a { text-decoration: underline; text-underline-offset: 3px; }
.texte a:hover { color: var(--noir); }
.texte--courant { color: #555; }
.texte--courant h2, .texte--courant h3 { color: var(--noir); font-size: 22px; line-height: 30px; margin: 34px 0 10px; }
.texte--courant p { margin-bottom: 16px; }
.texte--courant ul { padding-left: 1.2em; }

/* ------------------------------------------------------------------ bouton « créatif » (cadre fin + traits latéraux) */
.btn-creatif { position: relative; display: inline-block; margin-top: 40px; padding: 15px 46px; font-size: 11px; line-height: 18px; font-weight: 500; letter-spacing: 2px;
  border: 1px solid currentColor; background: transparent; cursor: pointer; transition: color .3s ease-in, background-color .3s ease-in; }
.btn-creatif__ligne::before, .btn-creatif__ligne::after { content: ""; position: absolute; top: 50%; width: 22px; height: 1px; background: currentColor; }
.btn-creatif__ligne::before { left: -12px; }
.btn-creatif__ligne::after { right: -12px; }
.btn-creatif--fonce { color: var(--noir); }
.btn-creatif--fonce:hover, .btn-creatif--fonce:focus-visible { background: var(--noir); color: #fff; }
.btn-creatif--fonce:hover .btn-creatif__ligne::before, .btn-creatif--fonce:hover .btn-creatif__ligne::after { background: #fff; }
.btn-creatif--clair { color: #fff; }
.btn-creatif--clair:hover, .btn-creatif--clair:focus-visible { background: #fff; color: var(--noir); }
.btn-creatif--clair:hover .btn-creatif__ligne::before, .btn-creatif--clair:hover .btn-creatif__ligne::after { background: var(--noir); }
.btn-creatif + .btn-creatif { margin-left: 30px; }

.lien-fleche { position: relative; display: inline-block; padding-right: 50px; font-size: 11px; line-height: 30px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--noir); }
.lien-fleche span { position: absolute; right: 0; top: 50%; width: 36px; height: 1px; background: currentColor; transition: width .3s ease-in; }
.lien-fleche span::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.lien-fleche:hover span { width: 46px; }
.lien-fleche--bouton { background: none; border: 0; cursor: pointer; }
.lien-fleche--retour { padding-right: 0; padding-left: 50px; }
.lien-fleche--retour span { right: auto; left: 0; }
.lien-fleche--retour span::after { right: auto; left: 0; transform: rotate(-135deg); }

/* ------------------------------------------------------------------ en-tête */
.entete { position: absolute; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 24px 30px; height: 121px; transition: background-color .3s ease-in, height .3s ease-in, padding .3s ease-in, box-shadow .3s ease-in; }
.entete__logo img { width: 115px; height: 73px; object-fit: contain; }
.entete-blanc .entete { position: relative; }
body.entete-fixe .entete { position: fixed; height: 90px; padding-top: 8px; padding-bottom: 8px; background: rgba(255, 255, 255, .97); box-shadow: 0 1px 12px rgba(0, 0, 0, .08); }
body.entete-fixe.entete-transparent main { padding-top: 0; }
.menu-principal { display: flex; list-style: none; margin: 0; padding: 0; }
.menu-principal > li { position: relative; margin-left: 12px; }
.menu-principal > li > a { display: block; padding: 5px 0 5px 15px; font-size: 12px; line-height: 18px; font-weight: 300; letter-spacing: 2px; text-transform: uppercase; color: var(--noir); opacity: .7; }
.menu-principal > li > a:hover, .menu-principal > li.actif > a, .menu-principal > li:focus-within > a { opacity: 1; }
.sous-menu { position: absolute; top: calc(100% + 14px); left: 0; z-index: 60; min-width: 196px; margin: 0; padding: 7px 0; list-style: none; background: var(--noir);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s ease-in, visibility .25s ease-in, transform .25s ease-in; }
.sous-menu .sous-menu { top: -7px; left: 100%; }
.sous-menu li { position: relative; }
.sous-menu a { display: block; padding: 0 15px; font-size: 11px; line-height: 25px; font-weight: 300; letter-spacing: 2px; text-transform: uppercase; color: #fff; opacity: .7; white-space: nowrap; }
.sous-menu a:hover, .sous-menu li.actif > a { opacity: 1; }
.menu-principal li:hover > .sous-menu, .menu-principal li:focus-within > .sous-menu, .menu-principal li.ouvert > .sous-menu { opacity: 1; visibility: visible; transform: none; }
.sous-menu-bouton { display: none; }
.burger { display: none; position: relative; z-index: 70; width: 34px; height: 34px; padding: 0; border: 1px solid rgba(17, 17, 17, .4); background: transparent; cursor: pointer; }
.burger__trait, .burger__trait::before, .burger__trait::after { position: absolute; left: 8px; width: 16px; height: 1px; background: var(--noir); transition: transform .2s ease-in, background-color .2s ease-in; }
.burger__trait { top: 16px; }
.burger__trait::before, .burger__trait::after { content: ""; left: 0; }
.burger__trait::before { top: -4px; }
.burger__trait::after { top: 4px; }
.burger[aria-expanded="true"] .burger__trait { background: transparent; }
.burger[aria-expanded="true"] .burger__trait::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__trait::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1023px) {
  .entete { height: 100px; padding: 15px 20px; position: fixed; }
  .entete-blanc main { padding-top: 100px; }
  .entete-blanc .entete { position: fixed; background: #fff; }
  .entete__logo img { width: 100px; height: 64px; }
  .burger { display: block; }
  .entete__nav { position: fixed; inset: 0; z-index: 65; overflow-y: auto; padding: 110px 30px 40px; background: #fff; opacity: 0; visibility: hidden; transition: opacity .25s ease-in, visibility .25s ease-in; }
  .entete__nav.ouvert { opacity: 1; visibility: visible; }
  .menu-principal { display: block; }
  .menu-principal > li { margin: 0; border-bottom: 1px solid #eee; }
  .menu-principal > li > a { padding: 14px 44px 14px 0; font-size: 14px; opacity: 1; }
  .sous-menu, .sous-menu .sous-menu { position: static; display: none; opacity: 1; visibility: visible; transform: none; background: none; padding: 0 0 10px 14px; min-width: 0; }
  .menu-principal li.ouvert > .sous-menu { display: block; }
  .sous-menu a { color: var(--noir); font-size: 12px; line-height: 34px; opacity: .8; white-space: normal; }
  .sous-menu-bouton { display: block; position: absolute; right: 0; top: 6px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; }
  .sous-menu .sous-menu-bouton { top: -3px; }
  .sous-menu-bouton span::before { content: ""; position: absolute; left: 15px; top: 14px; width: 8px; height: 8px; border-right: 1px solid var(--noir); border-bottom: 1px solid var(--noir); transform: rotate(45deg); transition: transform .2s; }
  .sous-menu-bouton[aria-expanded="true"] span::before { transform: rotate(225deg); top: 18px; }
  body.menu-ouvert { overflow: hidden; }
}

/* ------------------------------------------------------------------ bannières, diaporama */
.banniere { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--gris-bande); }
.banniere--plein { min-height: 100vh; min-height: 100svh; }
.banniere--grand { min-height: 80vh; }
.banniere--moyen { min-height: 370px; }
.banniere__image, .banniere img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banniere__voile { position: absolute; inset: 0; background: rgba(0, 0, 0, .3); }
.banniere__contenu { position: relative; z-index: 2; max-width: calc(var(--conteneur) + 2 * var(--marge)); width: 100%; padding: 140px var(--marge); text-align: center; }
.banniere__titre { font-size: 54px; line-height: 56px; font-weight: 700; margin-top: 24px; }
.banniere--fonce { color: var(--noir); }
.banniere--clair { color: #fff; }
.banniere--clair .banniere__titre { text-shadow: 0 1px 20px rgba(0, 0, 0, .15); }
.banniere--contour .banniere__titre { font-size: clamp(56px, 9vw, 130px); line-height: 1; font-weight: 900; letter-spacing: 4px; color: transparent; -webkit-text-stroke: 2px #fff; text-shadow: none; }

.diaporama { position: relative; height: 100vh; height: 100svh; min-height: 420px; overflow: hidden; background: #ddd; }
.diaporama__vue { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.diaporama__vue.est-active { opacity: 1; }
.diaporama__image, .diaporama__vue img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.diaporama__vue.est-active img { animation: zoom-lent 9s ease-out both; }
@keyframes zoom-lent { from { transform: scale(1.06); } to { transform: scale(1); } }
.diaporama__puces { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; z-index: 3; }
.diaporama__puces button { width: 12px; height: 12px; padding: 0; border: 2px solid rgba(255, 255, 255, .8); border-radius: 50%; background: transparent; cursor: pointer; }
.diaporama__puces button[aria-current="true"] { background: #fff; }
.diaporama__pause { position: absolute; right: 18px; bottom: 22px; z-index: 3; width: 22px; height: 22px; border: 0; background: none; cursor: pointer; opacity: .8; }
.diaporama__pause::before, .diaporama__pause::after { content: ""; position: absolute; top: 4px; width: 4px; height: 14px; background: #fff; }
.diaporama__pause::before { left: 5px; }
.diaporama__pause::after { left: 13px; }
.diaporama__pause.en-pause::before { left: 6px; width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #fff; background: none; }
.diaporama__pause.en-pause::after { display: none; }
.defilement { position: absolute; z-index: 3; left: 50%; bottom: 50px; width: 35px; height: 55px; margin-left: -17px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 23px; }
.defilement span { position: absolute; left: 50%; top: 12px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: molette 1.6s ease-in-out infinite; }
@keyframes molette { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ------------------------------------------------------------------ bandeau d'introduction (lavande) */
.intro { padding: 120px 0; text-align: center; }
.intro--grand { min-height: 680px; display: flex; align-items: center; }
.intro--lavande { background: var(--lavande); }
.intro--gris { background: var(--gris-clair); }
.intro__titre { font-size: 54px; line-height: 56px; font-weight: 700; margin-top: 24px; }
.intro .texte p { margin: 0; }

/* ------------------------------------------------------------------ titre de section */
.titre-bloc { padding: 65px 0 30px; }
.titre-bloc--serre { padding-bottom: 0; }
.titre-bloc--centre { text-align: center; }
.titre-bloc--gauche { text-align: left; }
.titre-bloc--lavande { background: var(--lavande); padding: 34px 0 14px; margin-top: 40px; }
.titre-bloc--lavande .sur-titre--trait::after { background: #fff; }
.titre-bloc--lavande .grand-titre { font-size: 40px; line-height: 44px; }
.titre-bloc--lavande .texte { font-size: 14px; line-height: 26px; max-width: 760px; margin: 12px auto 0; }
.titre-bloc + .projets { margin-top: 32px; }
.page-seule { padding-top: 100px; padding-bottom: 120px; }

/* ------------------------------------------------------------------ image + texte (L'agence) */
.image-texte__grille { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.image-texte__images { display: grid; gap: 70px; align-content: start; padding-top: 65px; }
.image-texte__image { margin: 0; }
.image-texte__texte { padding-top: 65px; }
.image-texte__texte .texte { margin-top: 32px; }
.image-large { padding-bottom: 65px; }
.image-large .sur-titre { padding-top: 65px; }
.image-large__figure { margin: 30px 0 0; }
.image-large__figure img { width: 100%; }
.image-large figcaption { font-size: 13px; color: var(--gris-texte); margin-top: 6px; }

/* ------------------------------------------------------------------ cartes (Nos projets) */
.cartes { position: relative; padding: 63px 0 0; margin-top: 0; text-align: center; }
.cartes__fond { position: absolute; left: 0; right: 0; top: 0; height: 468px; background: var(--gris-bande); }
.cartes .conteneur { position: relative; }
.cartes__titre { font-size: 40px; line-height: 44px; font-weight: 700; letter-spacing: .9px; color: #fff; margin-top: 18px; }
.cartes__liste { list-style: none; margin: 62px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.carte { position: relative; min-height: 493px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #777; }
.carte__image, .carte img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.carte:hover img { transform: scale(1.04); }
.carte::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .12); }
.carte__contenu { position: relative; z-index: 2; padding: 60px 20px; color: #fff; }
.carte__titre { font-size: 40px; line-height: 44px; font-weight: 700; text-shadow: 0 1px 14px rgba(0, 0, 0, .25); }

/* ------------------------------------------------------------------ tuiles de projets */
.projets { padding: 0 4px; }
.tuiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.tuile { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #e8e8e8; }
.tuile[hidden] { display: none; }
.tuile__lien { position: absolute; inset: 0; display: block; }
.tuile__image, .tuile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tuile__voile { position: absolute; inset: 10px; background: rgba(17, 17, 17, .62); opacity: 0; transform: scale(.75); transition: opacity .25s ease, transform .3s ease-in-out; }
.tuile__titre { position: absolute; left: 28px; right: 28px; top: 50%; transform: translateY(-50%); text-align: center; color: #fff; font-size: 20px; line-height: 26px; font-weight: 600; opacity: 0; transition: opacity .25s ease; }
.tuile__lien:hover .tuile__voile, .tuile__lien:focus-visible .tuile__voile { opacity: 1; transform: none; }
.tuile__lien:hover .tuile__titre, .tuile__lien:focus-visible .tuile__titre { opacity: 1; }
.tuile__lien:hover img { transform: scale(1.03); }
.tuile__lien:focus-visible { outline-offset: -4px; }
@media (hover: none) { .tuile__voile { opacity: 1; transform: none; inset: auto 0 0 0; height: 46%; background: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0)); }
  .tuile__titre { opacity: 1; top: auto; bottom: 14px; transform: none; font-size: 16px; line-height: 21px; left: 14px; right: 14px; } }

.filtres { display: flex; flex-wrap: wrap; padding: 0 1px 5px; }
.filtres[hidden] { display: none; }
.filtres button { position: relative; padding: 0 0 0 15px; margin: 0 5px 0 0; border: 0; background: none; font-size: 14px; line-height: 30px; font-weight: 600; color: var(--violet); cursor: pointer; }
.filtres button + button::before { content: "/"; position: absolute; left: -2px; color: var(--violet); font-weight: 400; }
.filtres button[aria-pressed="true"] { color: var(--orange); }
.filtres button:hover { color: var(--orange); }

/* ------------------------------------------------------------------ fiche projet */
.fiche { padding: 100px 0 0; }
.fiche .conteneur--etroit { text-align: center; }
.fiche .grand-titre { margin-top: 24px; }
.fiche__texte { text-align: left; margin-top: 26px; }
.fiche__texte p { margin-bottom: 0; }
.infos-projet { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 30px; margin: 35px 0 0; padding: 0; }
.infos-projet__case { background: var(--gris-clair); padding: 48px 30px 38px 50px; }
.infos-projet dt { position: relative; font-size: 11px; line-height: 18px; font-weight: 500; letter-spacing: 1.6px; margin-bottom: 16px; }
.infos-projet dt::before { content: ""; position: absolute; top: 50%; right: calc(100% + 15px); width: 50px; height: 1px; background: var(--noir); }
.infos-projet dd { margin: 0; color: var(--gris-texte); }

.galerie { list-style: none; margin: 34px 0 0; padding: 0 5px; display: flex; flex-wrap: wrap; gap: 10px; }
.galerie__item { flex: 1 1 300px; height: 400px; overflow: hidden; background: #eee; }
.galerie__item a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.galerie__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.galerie__item a:hover img { transform: scale(1.03); }
.galerie--article { max-width: 970px; margin: 34px auto 0; padding: 0; gap: 6px; }
.galerie--article .galerie__item { height: 240px; }

.avant-apres { position: relative; height: 100vh; height: 100svh; min-height: 420px; overflow: hidden; background: #ddd; user-select: none; }
.avant-apres img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.avant-apres__apres, .avant-apres__avant { position: absolute; inset: 0; }
.avant-apres__avant { clip-path: inset(0 50% 0 0); }
.avant-apres__etiquette { position: absolute; bottom: 30px; padding: 4px 14px; background: rgba(17, 17, 17, .6); color: #fff; font-size: 11px; line-height: 22px; letter-spacing: 2px; text-transform: uppercase; }
.avant-apres__etiquette--avant { left: 30px; }
.avant-apres__etiquette--apres { right: 30px; }
.avant-apres__curseur { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.avant-apres__poignee { position: absolute; z-index: 3; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.avant-apres__poignee::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border: 2px solid #fff; border-radius: 50%; background: rgba(17, 17, 17, .35); color: #fff; font-size: 18px; line-height: 40px; text-align: center; letter-spacing: 2px; }
.avant-apres__curseur:focus-visible ~ .avant-apres__poignee::after { outline: 2px solid var(--orange); outline-offset: 3px; }

.voisins { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; padding-top: 50px; padding-bottom: 90px; font-size: 14px; line-height: 22px; }
.voisins__lien { color: var(--noir); font-weight: 500; }
.voisins__lien:hover { opacity: .7; }
.voisins__lien--suiv { text-align: right; }
.voisins__sens { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 400; color: var(--gris-texte); }
.voisins__tous { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; border-bottom: 1px solid; }

/* ------------------------------------------------------------------ actualités */
.actu { position: relative; display: flex; min-height: 560px; overflow: hidden; }
.actu__image { position: absolute; top: 0; bottom: 0; right: 0; width: 55%; overflow: hidden; border-radius: 3% 0 0 58% / 82% 0 0 390%; background: #ddd; }
.actu--inverse .actu__image { right: auto; left: 0; border-radius: 0 3% 58% 0 / 0 82% 390% 0; }
.actu__image img { width: 100%; height: 100%; object-fit: cover; }
.actu__contenu { position: relative; width: 100%; max-width: calc(var(--conteneur) + 2 * var(--marge)); margin: 0 auto; padding: 130px var(--marge); }
.actu__contenu > * { max-width: 306px; }
.actu--inverse .actu__contenu > * { margin-left: auto; margin-right: 0; }
.actu--inverse .actu__contenu { display: flex; flex-direction: column; align-items: flex-end; }
.actu--inverse .actu__contenu > * { width: 306px; }
.actu__date { position: relative; font-size: 12px; line-height: 26px; font-weight: 300; margin-bottom: 21px; }
.actu__date::after { content: ""; display: inline-block; vertical-align: middle; width: 60px; height: 1px; margin-left: 15px; background: var(--noir); }
.actu__titre { font-size: 26px; line-height: 28px; font-weight: 700; }
.actu__titre a:hover { opacity: .7; }
.actu__extrait { margin-top: 24px; color: var(--gris-texte); font-size: 14px; line-height: 30px; }

.article { padding-top: 40px; padding-bottom: 60px; }
.article__entete { position: relative; padding-right: 110px; }
.article__titre { font-size: 30px; line-height: 38px; font-weight: 700; letter-spacing: .9px; }
.article__date { position: absolute; right: 0; top: 4px; font-size: 12px; line-height: 26px; font-weight: 300; margin: 0; }
.article__date::after { content: ""; position: absolute; right: 14px; top: 32px; width: 1px; height: 60px; background: var(--noir); }
.article__image { margin: 30px 0 0; }
.article__image img { width: 100%; }
.article__corps { max-width: 970px; margin: 0 auto; padding-top: 86px; text-align: center; }
.article__corps .grand-titre { font-size: 40px; line-height: 44px; margin-top: 24px; }
.etiquettes { max-width: 970px; margin: 50px auto 0; }
.etiquettes__titre { font-size: 11px; line-height: 18px; font-weight: 500; letter-spacing: 2.2px; text-transform: uppercase; }
.etiquettes ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 15px 0 0; padding: 0; }
.etiquettes a { color: var(--gris-texte); }
.etiquettes a:hover { color: var(--noir); }
.article__retour { max-width: 970px; margin: 40px auto 0; }

.archive { padding-top: 120px; padding-bottom: 120px; }
.cartes-archive { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px 30px; }
.carte-archive__image { display: block; aspect-ratio: 2 / 1; overflow: hidden; background: #eee; }
.carte-archive__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.carte-archive__image:hover img { transform: scale(1.04); }
.carte-archive__contenu { position: relative; padding: 20px 20px 0; }
.carte-archive__contenu::before { content: ""; position: absolute; left: 30px; top: -20px; width: 1px; height: 30px; background: var(--noir); }
.carte-archive__date { font-size: 12px; line-height: 26px; font-weight: 300; margin-top: 6px; }
.carte-archive__titre { font-size: 22px; line-height: 26px; font-weight: 700; margin: 10px 0 14px; }
.carte-archive__titre a:hover { opacity: .7; }

/* ------------------------------------------------------------------ contact */
.contact { padding: 70px 0 0; }
.contact .grand-titre { font-size: 40px; line-height: 44px; margin: 0 0 30px; }
.formulaire__note { font-size: 13px; color: var(--gris-texte); margin-bottom: 18px; }
.formulaire__ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.champ { margin: 0 0 22px; }
.champ label, .champ__legende { display: block; font-size: 10px; line-height: 18px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 8px; }
.champ input[type="text"], .champ input[type="email"], .champ input[type="tel"], .champ textarea { width: 100%; min-height: 38px; padding: 8px 14px; border: 1px solid transparent; background: var(--gris-clair); font: 400 15px/22px "Roboto", sans-serif; color: var(--noir); border-radius: 0; }
.champ textarea { min-height: 82px; resize: vertical; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--noir); background: #fff; }
.champ--case label { font-size: 12px; line-height: 20px; font-weight: 400; letter-spacing: 0; text-transform: none; color: #333; display: flex; gap: 10px; align-items: flex-start; }
.champ--case input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--noir); }
.champ--case a { text-decoration: underline; }
.champ__legende { font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 400; color: #2c3e50; }
.requis { color: #c0392b; }
.champ--erreur input, .champ--erreur textarea { border-color: #c0392b; background: #fff; }
.champ__erreur { display: block; color: #a8231a; font-size: 13px; line-height: 20px; margin: -4px 0 6px; }
.erreurs { border-left: 4px solid #a8231a; background: #fbf0ef; padding: 12px 18px; margin-bottom: 24px; font-size: 14px; line-height: 24px; }
.erreurs ul { margin: 4px 0 0; padding-left: 1.2em; }
.erreurs a { text-decoration: underline; }
.formulaire__envoi { text-align: right; margin: 40px 0 0; }
.formulaire__pdt { margin: 16px 0 0; font-size: 14px; line-height: 22px; text-align: right; }
.formulaire__pdt:empty { display: none; }
.piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.coordonnees { padding-bottom: 20px; }
.coordonnees .titre-bloc { margin-top: 40px; }
.coordonnees__grille { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 23px; }
.coordonnees__cases { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case-info { position: relative; background: var(--gris-clair); padding: 47px 33px 30px; color: var(--gris-texte); }
.case-info--large { grid-column: 1 / -1; }
.case-info::before { content: ""; position: absolute; left: 33px; top: 31px; width: 47px; height: 1px; background: var(--noir); }
.case-info__titre { font-size: 10px; line-height: 18px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--noir); margin: 12px 0 14px; }
.case-info p { margin: 0; line-height: 22px; font-size: 14px; }
.case-info a:hover { color: var(--noir); }
.carte-plan { position: relative; min-height: 306px; background: #f5f5f5; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; text-align: center; color: var(--gris-texte); font-size: 14px; line-height: 22px; }
.carte-plan .btn-creatif { margin-top: 10px; }
.carte-plan__liens { margin-top: 22px; font-size: 13px; }
.carte-plan__liens a { text-decoration: underline; }
.carte-plan iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.page-texte { padding: 70px 0 100px; }
.entete-blanc .page-texte { padding-top: 40px; }

/* ------------------------------------------------------------------ pied de page */
.pied { background: #000; color: #fff; padding: 140px 0 140px; margin-top: 0; }
.pied__haut, .pied__bas { max-width: calc(var(--conteneur) + 2 * var(--marge)); margin: 0 auto; padding-left: var(--marge); padding-right: var(--marge); }
.pied__haut { display: flex; justify-content: flex-end; padding-bottom: 33px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.pied__haut::after { content: none; }
.pied__bloc { width: 50%; text-align: right; padding-top: 28px; }
.pied__titre { font-size: 14px; line-height: 18px; font-weight: 300; letter-spacing: 4.5px; margin-bottom: 37px; }
.pied p { font-size: 13px; line-height: 26px; margin: 0; }
.pied a:hover { opacity: .7; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding-top: 47px; }
.pied .pied__copyright, .pied__liens { margin: 0; font-size: 10px; line-height: 18px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.pied__liens { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; padding: 0; }
.projets + .pied, .galerie + .voisins { margin-top: 0; }
main > section:last-child.projets { padding-bottom: 4px; }

/* ------------------------------------------------------------------ visionneuse */
.visionneuse { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(10, 10, 10, .94); }
.visionneuse[hidden] { display: none; }
.visionneuse__figure { margin: 0; max-width: 92vw; max-height: 88vh; text-align: center; }
.visionneuse__figure img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; margin: 0 auto; }
.visionneuse__figure figcaption { color: #ddd; font-size: 14px; line-height: 22px; margin-top: 10px; }
.visionneuse button { position: absolute; border: 0; background: none; color: #fff; cursor: pointer; font-size: 46px; line-height: 1; padding: 10px 16px; opacity: .8; }
.visionneuse button:hover { opacity: 1; }
.visionneuse__fermer { top: 10px; right: 14px; }
.visionneuse__nav--prec { left: 6px; top: 50%; transform: translateY(-50%); }
.visionneuse__nav--suiv { right: 6px; top: 50%; transform: translateY(-50%); }
.visionneuse__compteur { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: #aaa; font-size: 12px; letter-spacing: 2px; margin: 0; }

/* ------------------------------------------------------------------ apparition au défilement */
.js .apparait { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .apparait.vu { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ adaptatif */
@media (max-width: 1199px) {
  :root { --conteneur: 970px; }
  .tuiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  :root { --conteneur: 750px; }
  .grand-titre, .banniere__titre, .intro__titre { font-size: 40px; line-height: 44px; }
  .image-texte__grille { grid-template-columns: 1fr; }
  .image-texte__images { padding-top: 40px; gap: 30px; }
  .cartes__liste { grid-template-columns: 1fr 1fr; }
  .cartes-archive { grid-template-columns: 1fr 1fr; }
  .coordonnees__grille { grid-template-columns: 1fr; }
  .actu { display: block; min-height: 0; }
  .actu__image, .actu--inverse .actu__image { position: relative; width: 100%; height: 300px; border-radius: 0; }
  .actu__contenu, .actu--inverse .actu__contenu { display: block; padding: 30px var(--marge) 60px; }
  .actu__contenu > *, .actu--inverse .actu__contenu > * { max-width: none; width: auto; margin-left: 0; }
}
@media (max-width: 767px) {
  :root { --conteneur: 100%; }
  body { font-size: 15px; line-height: 30px; }
  .grand-titre, .banniere__titre, .intro__titre { font-size: 32px; line-height: 38px; }
  .grand-titre--moyen, .contact .grand-titre, .cartes__titre, .titre-bloc--lavande .grand-titre, .article__corps .grand-titre { font-size: 28px; line-height: 34px; }
  .banniere--contour .banniere__titre { -webkit-text-stroke-width: 1px; }
  .banniere__contenu { padding: 120px 20px 80px; }
  .intro { padding: 90px 0; }
  .intro--grand { min-height: 0; }
  .titre-bloc { padding-top: 50px; }
  .tuiles { grid-template-columns: 1fr 1fr; }
  .cartes__liste, .cartes-archive { grid-template-columns: 1fr; }
  .carte { min-height: 340px; }
  .cartes__fond { height: 380px; }
  .fiche { padding-top: 60px; }
  .infos-projet { grid-template-columns: 1fr 1fr; gap: 14px; }
  .infos-projet__case { padding: 30px 16px 22px 32px; }
  .infos-projet dt::before { width: 22px; right: calc(100% + 6px); }
  .galerie__item { flex-basis: 100%; height: auto; }
  .galerie__item a { height: auto; }
  .galerie--article .galerie__item { height: auto; }
  .formulaire__ligne { grid-template-columns: 1fr; gap: 0; }
  .coordonnees__cases { grid-template-columns: 1fr; }
  .pied { padding: 70px 0; }
  .pied__haut { justify-content: flex-start; }
  .pied__bloc { width: 100%; text-align: left; }
  .voisins { grid-template-columns: 1fr; text-align: center; }
  .voisins__lien--suiv { text-align: center; }
  .article__entete { padding-right: 0; }
  .article__date { position: static; }
  .article__date::after { display: none; }
  .article__titre { font-size: 24px; line-height: 31px; }
  .article__corps { padding-top: 40px; }
  .diaporama__puces { right: 12px; }
}
@media (max-width: 420px) {
  .tuiles { grid-template-columns: 1fr; }
  .infos-projet { grid-template-columns: 1fr; }
}
@media print {
  .entete, .pied, .diaporama, .defilement, .visionneuse, .filtres, .voisins { display: none !important; }
  .banniere { min-height: 0 !important; }
}
