:where(.am-layout-realisations) h1, :where(.am-layout-realisations) h2, :where(.am-layout-realisations) p, :where(.am-layout-realisations) figure {margin: 0;}
:where(.am-layout-realisations) .intro {display: grid; grid-template-columns: var(--am-intro-columns); align-items: end; gap: var(--am-intro-gap); padding-block: var(--am-intro-top) var(--am-intro-bottom);}
:where(.am-layout-realisations) .kicker {display: flex; align-items: center; gap: 13px; color: #085bfa; font: var(--am-repere); letter-spacing: .13em; text-transform: uppercase;}
:where(.am-layout-realisations) .kicker::before {content: ""; display: block; width: 27px; height: 1px; background: currentColor;}
:where(.am-layout-realisations) h1 {font: var(--am-h1); letter-spacing: -.05em; margin-top: 13px;}
:where(.am-layout-realisations) h1 span {display: block; color: #085bfa;}
:where(.am-layout-realisations) .intro > p:not(.kicker) {max-width: 37ch; padding-left: 24px; border-left: 1px solid #c8d3e6;}
:where(.am-layout-realisations) .feature {display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: center; column-gap: 43px; padding: 24px; background: white; border: 1px solid #e5e0e5; border-radius: 24px;}
:where(.am-layout-realisations) .feature .project-media {background: #dbe6fe; padding: 18px; border-radius: 16px;}
:where(.am-layout-realisations) .screen {overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 10px 24px #091f401a;}
:where(.am-layout-realisations) .screen-bar {display: flex; align-items: center; gap: 5px; height: 23px; padding-inline: 10px;}
:where(.am-layout-realisations) .screen-bar::before {width: 6px; height: 6px; border-radius: 50%; background: #b9c8e1;}
:where(.am-layout-realisations) .screen img {width: 100%; aspect-ratio: 1.85; object-fit: cover; object-position: center top;}
:where(.am-layout-realisations) .feature-copy {padding-right: 12px;}
:where(.am-layout-realisations) .project-type {font-size: 13px; font-weight: 800; color: #063e7d;}
:where(.am-layout-realisations) h2 {font: var(--am-h2); letter-spacing: -.045em;}
:where(.am-layout-realisations) .feature h2 {margin: 10px 0 13px;}
:where(.am-layout-realisations) .feature p {font-size: 16px; line-height: 1.58; margin-bottom: 22px;}
@media(max-width: 1000px) {
:where(.am-layout-realisations) .intro {gap: 25px;}
:where(.am-layout-realisations) .feature {gap: 23px;}
}
@media(max-width: 767px) {
:where(.am-layout-realisations) .intro {grid-template-columns: 1fr; gap: 15px; padding-block: var(--am-intro-top) var(--am-intro-bottom);}
:where(.am-layout-realisations) .intro > p:not(.kicker) {padding: 0; border: 0;}
:where(.am-layout-realisations) .feature {grid-template-columns: 1fr; gap: 13px; padding: 15px; border-radius: 18px;}
:where(.am-layout-realisations) .feature-copy {display: contents;}
:where(.am-layout-realisations) .project-type, :where(.am-layout-realisations) .feature h2 {grid-column: 1;}
:where(.am-layout-realisations) .project-type {grid-row: 1;}
:where(.am-layout-realisations) .feature h2 {grid-row: 2; margin: -5px 0 0;}
:where(.am-layout-realisations) .feature .project-media {grid-row: 3; padding: 10px;}
:where(.am-layout-realisations) .feature p {margin-bottom: 0;}
:where(.am-layout-realisations) .feature :is(.am-bouton,.am-action .wp-block-button__link) {justify-self: start;}
}
:where(.am-layout-realisations) .switcher {display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 4px;
    margin-bottom: 21px;
    border: 1px solid #c8d3e6;
    border-radius: 999px;
    background: #fff;}
:where(.am-layout-realisations) .concept-note {color: var(--am-texte-secondaire); font-size: 13px; font-weight: 700;}
:where(.am-layout-realisations) .concept-image {overflow: hidden; border-radius: 10px;}
:where(.am-layout-realisations) .concept-image img {width: 100%; aspect-ratio: 1.85; object-fit: cover;}
@media (max-width: 767px) {
:where(.am-layout-realisations) .switcher {margin-bottom: 15px;}
}

:where(.am-layout-realisations) .project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
:where(.am-layout-realisations) .feature + .project-grid { margin-top: 26px; }

:where(.am-layout-realisations) .portfolio-card {
    display: grid;
    grid-template-rows: auto 1fr;
    min-width: 0;
    border: 1px solid #e5e0e5;
    border-radius: 19px;
    background: white;
}
:where(.am-layout-realisations) .portfolio-card .project-media {
    position: relative;
    min-width: 0;
}
:where(.am-layout-realisations) .portfolio-card .screen {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 10;
    border-radius: 18px 18px 0 0;
    background: var(--am-brume);
    box-shadow: none;
}
:where(.am-layout-realisations) .portfolio-card .screen img {
    aspect-ratio: 16 / 10;
}
:where(.am-layout-realisations) .portfolio-card .project-type {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 11px;
    border-radius: 999px;
    color: var(--am-profond);
    background: white;
    box-shadow: 0 2px 8px #091f401f;
    font-size: 12px;
    line-height: 1.4;
}
:where(.am-layout-realisations) .portfolio-card-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
}
:where(.am-layout-realisations) .portfolio-card h2 {
    font: var(--am-h3);
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}
:where(.am-layout-realisations) .portfolio-card-copy p {
    color: var(--am-texte-secondaire);
    font-size: 15px;
    line-height: 1.55;
}
:where(.am-layout-realisations) .portfolio-card .am-bouton { margin-top: auto; }

@media (max-width: 900px) {
    :where(.am-layout-realisations) .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 590px) {
    :where(.am-layout-realisations) .project-grid { grid-template-columns: minmax(0, 1fr); }
    :where(.am-layout-realisations) .feature + .project-grid { margin-top: 18px; }
}
