/* Aquitaine Chape Fluide - Realisations.
   Version lisible et compatible avec les editeurs CSS anciens.
   Styles limites a la rubrique realisations. */

.acf-realisations {
    background: #fff;
    color: #26242a;
    font: 400 16px/1.7 Roboto,Helvetica,Arial,sans-serif;
    text-align: left;
    overflow-wrap: break-word;
}

.acf-realisations * {
    box-sizing: border-box;
}

.acf-realisations .acf-shell {
    width: calc(100% - 48px);
    margin: 0 auto;
    padding: 24px 0 64px;
    max-width: 1400px;
}

.acf-realisations h1,.acf-realisations h2,.acf-realisations h3 {
    margin: 0;
    color: #26242a;
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -.025em;
    text-transform: none;
}

.acf-realisations h1 {
    font-size: 56px;
    font-weight: 900;
}

.acf-realisations h2 {
    font-size: 36px;
}

.acf-realisations h3 {
    font-size: 27px;
}

.acf-realisations p {
    margin: 0 0 14px;
    line-height: 1.7;
}

.acf-realisations p:last-child {
    margin-bottom: 0;
}

.acf-realisations a {
    color: #5d2a33;
    text-decoration: underline;
}

.acf-realisations a:hover {
    color: #362027;
}

.acf-realisations a:focus,.acf-realisations button:focus {
    outline: 3px solid #5d2a33;
    outline-offset: 4px;
}

.acf-realisations .acf-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13px;
    color: #615b5b;
    margin: 0 0 32px;
    margin-left: 0;
}

.acf-realisations .acf-breadcrumb a {
    text-decoration: none;
}

.acf-realisations .acf-eyebrow {
    font-size: 13px;
    letter-spacing: .105em;
    text-transform: uppercase;
    font-weight: 700;
    color: #5d2a33;
    margin: 0 0 12px;
}

.acf-realisations .acf-lead {
    font-size: 22px;
    line-height: 1.5;
    color: #615b5b;
    margin: 18px 0;
}

.acf-realisations .acf-index-head {
    padding: 24px 0 34px;
    border-bottom: 1px solid #ded8d2;
    max-width: 900px;
}

.acf-realisations .acf-index-section {
    padding: 38px 0 0;
}

.acf-realisations .acf-project-grid {
    display: flex;
    margin: 25px 0 48px;
    flex-wrap: wrap;
    margin-left: -13px;
    margin-right: -13px;
}

.acf-realisations .acf-project {
    display: flex;
    background: #f6f3ef;
    border: 1px solid #ded8d2;
    min-height: 320px;
    max-width: 790px;
    overflow: hidden;
    flex: 1 1 520px;
    min-width: 0;
    margin: 0 13px 26px;
}

.acf-realisations .acf-project-image {
    display: block;
    min-height: 320px;
    overflow: hidden;
    position: relative;
    flex: 0 0 42%;
}

.acf-realisations .acf-project-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
    transition: transform .25s;
}

.acf-realisations .acf-project-image:hover img {
    transform: scale(1.025);
}

.acf-realisations .acf-project-body {
    padding: 28px;
    align-self: center;
    flex: 1 1 auto;
    min-width: 0;
}

.acf-realisations .acf-project h3 {
    margin-bottom: 16px;
}

.acf-realisations .acf-project h3 a {
    text-decoration: none;
}

.acf-realisations .acf-tags {
    display: flex;
    flex-wrap: wrap;
    margin: 18px 0;
}

.acf-realisations .acf-tags span {
    font-size: 12px;
    padding: 4px 9px;
    border: 1px solid #d5ccc1;
    background: white;
}

.acf-realisations .acf-more {
    font-weight: 700;
}

.acf-realisations .acf-hero {
    display: flex;
    align-items: center;
    padding: 10px 0 34px;
    justify-content: space-between;
}

.acf-realisations .acf-hero-copy {
    padding: 10px 0;
}

.acf-realisations figure {
    margin: 0;
}

.acf-realisations .acf-hero-image img {
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: contain;
    display: block;
    background: #f6f3ef;
}

.acf-realisations figcaption {
    color: #615b5b;
    font-size: 13px;
    line-height: 1.45;
    margin: 8px 0 0;
}

.acf-realisations .acf-facts {
    margin: 4px 0 0;
    display: flex;
    background: #f6f3ef;
    border-top: 4px solid #5d2a33;
    padding: 8px 16px;
    flex-wrap: wrap;
}

.acf-realisations .acf-facts div {
    padding: 17px 18px;
    border-bottom: 1px solid #ded8d2;
    width: 33.3333%;
}

.acf-realisations .acf-facts div:nth-last-child(-n/**/+3) {
    border-bottom: 0;
}

.acf-realisations .acf-facts dt {
    font-size: 13px;
    color: #615b5b;
    font-weight: 400;
}

.acf-realisations .acf-facts dd {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.3;
    margin: 4px 0 0;
    color: #5d2a33;
}

.acf-realisations .acf-toc {
    display: flex;
    flex-wrap: wrap;
    padding: 22px 0;
    border-bottom: 1px solid #ded8d2;
    margin: 0 0 8px;
}

.acf-realisations .acf-toc a {
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.acf-realisations .acf-step {
    padding: 42px 0;
    border-bottom: 1px solid #ded8d2;
}

.acf-realisations .acf-step-copy {
    max-width: 810px;
    margin: 0 0 24px;
}

.acf-realisations .acf-step-copy h2 {
    margin-bottom: 18px;
}

.acf-realisations .acf-gallery {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 0 -11px;
}


.acf-realisations .acf-photo a {
    display: block;
    position: relative;
    cursor: zoom-in;
}

.acf-realisations .acf-photo a:after {
    content: "+";
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(38,36,42,.8);
    color: #fff;
    font-size: 20px;
    line-height: 34px;
    text-align: center;
    width: 34px;
    height: 34px;
}

.acf-realisations .acf-photo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background: #f6f3ef;
}

.acf-realisations .acf-note {
    border-left: 4px solid #c6b79a;
    background: #f6f3ef;
    padding: 18px 22px;
    max-width: 810px;
    margin: 22px 0 0;
}

.acf-realisations .acf-note strong {
    color: #5d2a33;
    display: block;
    margin-bottom: 5px;
}

.acf-realisations .acf-video {
    display: flex;
    align-items: center;
    background: #f6f3ef;
    padding: 24px;
    margin-top: 30px;
    max-width: 810px;
    justify-content: space-between;
}

.acf-realisations .acf-video h3 {
    margin-bottom: 12px;
}

.acf-realisations video {
    display: block;
    width: 100%;
    max-height: 420px;
    background: #26242a;
}

.acf-realisations .acf-cta {
    margin-top: 42px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #5d2a33;
    color: #fff;
    justify-content: space-between;
}

.acf-realisations .acf-cta h2 {
    color: #fff;
    font-size: 31px;
    margin-bottom: 10px;
}

.acf-realisations .acf-cta p {
    color: #fff;
}

.acf-realisations .acf-button {
    flex-shrink: 0;
    display: inline-block;
    background: #fff;
    color: #5d2a33;
    font-weight: 700;
    padding: 13px 20px;
    text-decoration: none;
    border: 2px solid #fff;
}

.acf-realisations .acf-button:hover {
    background: #c6b79a;
    border-color: #c6b79a;
}

.acf-realisations .acf-button:focus {
    outline-color: #fff;
}

.acf-realisations .acf-back {
    margin-top: 22px;
}

.acf-realisations .acf-lightbox {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    background: #211c20;
    color: #fff;
    border: 0;
    padding: 16px;
    z-index: 2000;
    overflow: auto;
    width: auto;
}

.acf-realisations .acf-lightbox::backdrop {
    background: rgba(0,0,0,.86);
}

.acf-realisations .acf-lightbox img {
    display: block;
    max-height: 72vh;
    max-width: 85vw;
    width: auto;
    height: auto;
    margin: auto;
    object-fit: contain;
}

.acf-realisations .acf-lightbox p {
    color: #fff;
    margin: 12px 0 0;
    text-align: center;
    font-size: 14px;
}

.acf-realisations .acf-lightbox-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.acf-realisations .acf-lightbox button {
    border: 1px solid #bbb;
    background: transparent;
    color: #fff;
    padding: 6px 12px;
    font-size: 15px;
}

.acf-realisations .acf-lightbox button:focus {
    outline-color: #fff;
}

.acf-realisations .acf-breadcrumb > * {
    margin-right: 10px;
}

.acf-realisations .acf-project-grid > .acf-project {
    flex-basis: calc(50% - 26px);
}

.acf-realisations .acf-project-grid > .acf-project:only-child {
    flex-basis: 100%;
}

.acf-realisations .acf-tags span {
    margin: 0 7px 7px 0;
}

.acf-realisations .acf-hero-copy {
    width: 51%;
}

.acf-realisations .acf-hero-image {
    width: 43%;
}

.acf-realisations .acf-gallery > .acf-photo {
    width: 25%;
    padding: 0 11px;
    margin-bottom: 22px;
    min-width: 0;
}

.acf-realisations #preparation .acf-gallery, .acf-realisations #niveaux .acf-gallery {
    max-width: 802px;
}

.acf-realisations #preparation .acf-gallery > .acf-photo, .acf-realisations #niveaux .acf-gallery > .acf-photo {
    width: 50%;
}

.acf-realisations .acf-photo img {
    max-width: 100%;
}

.acf-realisations .acf-toc a {
    margin: 0 26px 8px 0;
}

.acf-realisations .acf-video > div {
    width: 48%;
}

.acf-realisations .acf-video video {
    width: 48%;
    max-width: 360px;
}

.acf-realisations .acf-cta > div {
    margin-right: 24px;
}

.acf-realisations .acf-lightbox-controls > * {
    margin: 0 4px;
}

.acf-realisations .acf-lightbox:not([open]) {
    display: none;
}

@media screen and (max-width: 1100px) {
    .acf-realisations .acf-project-grid > .acf-project {
        flex-basis: 100%;
}
}

@media screen and (max-width:850px) {
    .acf-realisations .acf-cta {
        align-items: flex-start;
        flex-direction: column;
}
    .acf-realisations h1 {
        font-size: 42px;
}
    .acf-realisations h2 {
        font-size: 30px;
}
    .acf-realisations h3 {
        font-size: 23px;
}
    .acf-realisations .acf-lead {
        font-size: 20px;
}
    .acf-realisations .acf-facts dd {
        font-size: 21px;
}
    .acf-realisations .acf-cta h2 {
        font-size: 27px;
}
    .acf-realisations .acf-gallery > .acf-photo {
        width: 50%;
}
    .acf-realisations .acf-cta .acf-button {
        margin-top: 20px;
}
}

@media screen and (max-width:650px) {
    .acf-realisations .acf-shell {
        width: calc(100% - 32px);
        padding-bottom: 40px;
}
    .acf-realisations .acf-breadcrumb {
        margin-bottom: 22px;
}
    .acf-realisations .acf-hero {
        padding-top: 0;
}
    .acf-realisations .acf-hero-image img {
        max-height: 500px;
}
    .acf-realisations .acf-facts {
        padding: 5px;
}
    .acf-realisations .acf-facts div {
        padding: 12px 10px;
}
    .acf-realisations .acf-facts div:nth-last-child(3) {
        border-bottom: 1px solid #ded8d2;
}
    .acf-realisations .acf-step {
        padding: 30px 0;
}
    .acf-realisations .acf-project-image {
        min-height: 0;
}
    .acf-realisations .acf-project-body {
        padding: 22px;
}
    .acf-realisations .acf-video {
        padding: 18px;
}
    .acf-realisations .acf-cta {
        padding: 23px;
}
    .acf-realisations .acf-index-head {
        padding: 10px 0 25px;
}
    .acf-realisations h1 {
        font-size: 34px;
}
    .acf-realisations h2 {
        font-size: 26px;
}
    .acf-realisations h3 {
        font-size: 21px;
}
    .acf-realisations .acf-lead {
        font-size: 18px;
}
    .acf-realisations .acf-facts dd {
        font-size: 18px;
}
    .acf-realisations .acf-cta h2 {
        font-size: 24px;
}
    .acf-realisations .acf-hero, .acf-realisations .acf-project, .acf-realisations .acf-video {
        display: block;
}
    .acf-realisations .acf-hero-copy, .acf-realisations .acf-hero-image {
        width: 100%;
}
    .acf-realisations .acf-hero-image {
        margin-top: 20px;
}
    .acf-realisations .acf-facts div {
        width: 50%;
}
    .acf-realisations .acf-gallery {
        margin: 0 -6px;
}
    .acf-realisations .acf-gallery > .acf-photo {
        padding: 0 6px;
        margin-bottom: 12px;
}
    .acf-realisations .acf-project-image {
        height: 0;
        padding-bottom: 75%;
}
    .acf-realisations .acf-project-image img {
        top: 0;
        left: 0;
}
    .acf-realisations .acf-video > div, .acf-realisations .acf-video video {
        width: 100%;
}
    .acf-realisations .acf-video video {
        margin: 20px auto 0;
}
    .acf-realisations .acf-cta > div {
        margin-right: 0;
}
    .acf-realisations .acf-lightbox-controls button {
        padding: 6px 8px;
}
}

@media (prefers-reduced-motion: reduce) {
    .acf-realisations * {
        transition: none !important;
}
}

/* Reportages : composition large, sans modifier le HTML.
   Flexbox classique pour conserver la compatibilite Dreamweaver. */
.acf-realisations .acf-step-copy,
.acf-realisations .acf-note,
.acf-realisations .acf-video {
    max-width: none;
}

.acf-realisations #preparation .acf-gallery,
.acf-realisations #niveaux .acf-gallery {
    max-width: none;
}

@media screen and (min-width: 1000px) {
    .acf-realisations .acf-shell {
        width: 94%;
    }

    .acf-realisations .acf-step {
        padding: 48px 0;
    }

    .acf-realisations #preparation,
    .acf-realisations #niveaux,
    .acf-realisations #suivi {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }

    .acf-realisations #preparation > .acf-step-copy,
    .acf-realisations #niveaux > .acf-step-copy {
        width: 42%;
        margin: 0;
        padding-right: 36px;
    }

    .acf-realisations #preparation > .acf-gallery,
    .acf-realisations #niveaux > .acf-gallery {
        width: 58%;
        margin: 0;
    }

    .acf-realisations #preparation > .acf-gallery > .acf-photo,
    .acf-realisations #niveaux > .acf-gallery > .acf-photo {
        padding: 0 0 0 18px;
        margin-bottom: 0;
    }

    .acf-realisations #suivi > .acf-step-copy {
        width: 66%;
        margin: 0;
        padding-right: 40px;
    }

    .acf-realisations #suivi > .acf-note {
        width: 34%;
        margin: 0;
    }
}

@media screen and (max-width: 999px) {
    .acf-realisations .acf-step-copy {
        max-width: 810px;
    }

    .acf-realisations .acf-note {
        max-width: 810px;
    }

    .acf-realisations .acf-video {
        max-width: 810px;
    }
}
/* Section 04 - Texte pleine largeur */

#suivi {
    display: block;
    width: 100%;
    max-width: 100%;
}

#suivi .acf-step-copy {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

#suivi .acf-step-copy p {
    max-width: none;
}
