.page-locale .locale-cadre {
  background: #17113b; }

.locale-defilement {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  color: #17113b;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 19px;
  line-height: 1.65; }

/* Le thème fixe la couleur et la taille de tous les paragraphes */
.locale-defilement p,
.locale-defilement address {
  color: inherit;
  font-family: "Source Sans Pro", sans-serif;
  font-size: inherit;
  line-height: inherit; }

.locale-defilement h1,
.locale-defilement h2 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  letter-spacing: 0; }

.locale-defilement h1 {
  font-size: clamp(36px, 5.4vw, 84px);
  line-height: 1.08;
  text-wrap: balance;
  color: #fff;
  margin: 0 0 32px; }

.locale-defilement h2 {
  display: block;
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1.15;
  color: inherit;
  margin: 0 0 28px; }

.locale-defilement h2:after,
.locale-defilement h2:before {
  display: none; }

/* Bandeau d'ouverture */
.locale-hero {
  min-height: 100%;
  display: flex;
  align-items: center;
  padding: 72px 8% 200px;
  color: #fff;
  background: linear-gradient(90deg, #17113b 38%, rgba(23, 17, 59, 0) 72%), #17113b url(../img/fumee-locale.jpg) 100% 50% / cover no-repeat; }

.locale-hero-texte {
  max-width: 820px; }

.locale-defilement .locale-surtitre {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-style: italic;
  letter-spacing: 1px;
  margin: 0 0 20px; }

.locale-surtitre:after {
  content: "";
  display: inline-block;
  width: 56px;
  height: 1px;
  margin-left: 14px;
  background: #fff;
  vertical-align: middle; }

.locale-defilement .locale-hero-texte p:not(.locale-surtitre) {
  max-width: 620px;
  font-size: 21px;
  margin: 0 0 24px; }

.locale-hero time {
  font-size: 15px;
  letter-spacing: 1px;
  opacity: .8; }

/* Carte blanche, comme sur les fiches projet */
.locale-carte {
  position: relative;
  width: 84%;
  max-width: 1180px;
  margin: -130px auto 0;
  padding: 72px 7%;
  background: #fff; }

.locale-carte > p {
  max-width: 760px;
  margin: 0 0 44px; }

.locale-carte ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0; }

.locale-carte li {
  border-top: 1px solid #17113b;
  padding-top: 20px;
  font-size: 17px; }

.locale-carte li strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 12px; }

/* Récit sur fond nuit, avec la lettrine de la page agence */
.locale-recit {
  max-width: 1180px;
  margin: 0 auto;
  padding: 112px 8%;
  color: #fff;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px; }

.locale-recit p {
  margin: 0 0 20px; }

.locale-recit p:first-of-type:first-letter {
  float: left;
  font-size: 84px;
  font-weight: 700;
  line-height: .8;
  padding: 8px 14px 0 0; }

/* Réalisations */
.locale-projets {
  padding: 96px 8%;
  background: #fff; }

.locale-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 16px; }

.locale-projet {
  display: block;
  color: #17113b;
  text-decoration: none; }

.locale-projet:hover,
.locale-projet:focus {
  color: #17113b;
  text-decoration: none; }

.locale-projet img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 20px;
  transition: opacity 300ms ease-out; }

.locale-projet:hover img {
  opacity: .85; }

.locale-projet span {
  display: block; }

.locale-metier {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase; }

.locale-client {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  line-height: 1.3; }

.locale-resume {
  font-size: 17px;
  margin: 6px 0 14px; }

.locale-lien {
  font-family: "Playfair Display", serif;
  font-style: italic; }

.locale-lien:after {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  margin-left: 10px;
  background: #17113b;
  vertical-align: middle;
  transition: width 300ms ease-out; }

.locale-projet:hover .locale-lien:after {
  width: 60px; }

/* Contact */
.locale-contact {
  padding: 112px 8%;
  color: #fff;
  background: #17113b;
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 64px;
  align-items: end; }

.locale-contact p {
  margin: 0 0 20px; }

.locale-contact a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px; }

.locale-contact a:hover,
.locale-contact a:focus {
  color: #fff; }

.locale-contact p:last-child a:first-child {
  font-family: "Playfair Display", serif;
  font-size: 30px;
  font-style: italic;
  text-decoration: none; }

.locale-contact p:last-child a:first-child:after {
  content: "";
  display: inline-block;
  width: 56px;
  height: 1px;
  margin-left: 12px;
  background: #fff;
  vertical-align: middle; }

.locale-contact address {
  font-size: 17px;
  line-height: 1.5;
  margin: 0; }

.locale-contact address strong {
  display: block;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase; }

@media only screen and (max-width: 991px) {
  .locale-defilement {
    font-size: 18px; }
  .locale-hero {
    min-height: 0;
    padding: 56px 24px 160px;
    background: linear-gradient(180deg, rgba(23, 17, 59, .78), rgba(23, 17, 59, .55)), #17113b url(../img/fumee-locale.jpg) 78% 50% / cover no-repeat; }
  .locale-defilement .locale-hero-texte p:not(.locale-surtitre) {
    font-size: 19px; }
  .locale-defilement .locale-surtitre {
    font-size: 19px; }
  .locale-surtitre:after {
    width: 32px; }
  .locale-carte {
    width: calc(100% - 32px);
    padding: 40px 24px; }
  .locale-carte ul,
  .locale-grille,
  .locale-recit,
  .locale-contact {
    grid-template-columns: 1fr; }
  .locale-carte ul {
    gap: 28px; }
  .locale-recit,
  .locale-contact {
    gap: 24px;
    padding: 64px 24px; }
  .locale-projets {
    padding: 64px 24px; } }
