/* Les rubriques éditoriales partagent la bannière, la grille et les caractères du catalogue. */
main:is([data-page=entreprises],[data-page=actualites],[data-page=article],[data-page=apropos],[data-page=contact],[data-page=devis],[data-page=recap]) { padding-top: 0; }
.ed-cover .cat-panorama img { object-position: var(--ed-position,center); }
.ed-cover .ed-label { color: white; margin: 0 0 .55rem; }
.ed-cover .cat-intro > p { max-width: 51ch; }
.ed-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; }
.ed-cover .ed-actions { margin-top: 19px; }
.ed-cover .btn.ed-primary { background: white; border: 0; color: var(--navy); gap: 8px; }
.ed-cover .ed-primary:is(:hover,:focus-visible) { background: white; box-shadow: inset 0 -4px var(--orange); }
.ed-hero-link,.ed-textlink,.ed-feature-link { font: 700 .98rem/1.4 var(--body); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.ed-hero-link { color: white; }
.ed-textlink { color: var(--navy); display: inline-flex; align-items: center; gap: 7px; }
.ed-actions .picto,.ed-textlink .picto { width: 20px; height: 20px; }
.ed-body { padding-block: clamp(35px,3.5vw,60px) clamp(45px,4vw,67px); }
.ed-body h2,.ed-body h3 { color: var(--navy); font-family: var(--display); font-weight: 700; letter-spacing: 0; line-height: 1.04; }
.ed-body p { margin: .7em 0 0; font: 400 1.02rem/1.58 var(--body); }
.ed-body em { font-family: var(--display); font-style: italic; font-weight: 800; }
.ed-body .ed-title { font-size: clamp(2.3rem,3.1vw,3.8rem); margin: 0; }
.ed-title > span,.ed-contact h2 > span { color: var(--orange); }
.ed-body a:focus-visible,.ed-body button:focus-visible,.ed-body summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
.ed-body .ed-textlink:is(:hover,:focus-visible),.ed-cover .ed-hero-link:is(:hover,:focus-visible) { text-decoration-thickness: 3px; }
.ed-report,.ed-quote-layout { display: grid; align-items: start; gap: clamp(24px,3.2vw,54px); }
.ed-business { display: grid; gap: clamp(38px,3.9vw,65px); }
.ed-examples,.ed-host-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(12px,1.3vw,22px); margin-top: 19px; }
.ed-example { display: flex; flex-direction: column; height: 100%; border-radius: 11px; text-decoration: none; background: #f0f5f8; color: var(--navy); }
.ed-example-photo { isolation: isolate; overflow: hidden; position: relative; display: flex; align-items: end; aspect-ratio: 2.06; min-height: 135px; padding: 15px clamp(16px,1.55vw,27px); border-radius: 11px 11px 0 0; background: var(--navy); }
.ed-example-photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#031d31f2 0%,#031d3177 27%,transparent 74%); }
.ed-example-photo h3 { margin: 0; color: white; font: 700 clamp(1.45rem,2vw,2.35rem)/1.08 var(--display); }
.ed-example-photo img,.ed-case img,.ed-news-tile img,.ed-related img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ed-example:is(:hover,:focus-visible) img,.ed-case:is(:hover,:focus-visible) img,.ed-news-tile:is(:hover,:focus-visible) img,.ed-related > a:hover img { transform: scale(1.035); }
.ed-example-copy { padding: clamp(15px,1.5vw,25px); flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.ed-example-copy strong { font: italic 800 clamp(1.95rem,2.6vw,3rem)/1.04 var(--display); }
.ed-example-copy p { margin: 7px 0 13px; line-height: 1.46; }
.ed-example-copy .ed-feature-link { margin-top: auto; }
.ed-example:is(:hover,:focus-visible) .ed-feature-link,.ed-case:is(:hover,:focus-visible) .ed-feature-link { text-decoration-thickness: 3px; }
.ed-host-grid { align-items: stretch; }
.ed-service { position: relative; padding: clamp(18px,1.8vw,30px); border-radius: 10px; background: #edf4f7; }
.ed-service.ed-rental { background: #ffede3; }
.ed-service > span { display: grid; place-items: center; background: white; width: 36px; height: 36px; border-radius: 50%; margin-bottom: 12px; }
.ed-service .picto { width: 21px; height: 21px; color: var(--navy); }
.ed-service h3,.ed-case h3 { font-size: clamp(1.6rem,2vw,2.3rem); margin: 0; }
.ed-service p { margin-top: 7px; max-width: 41ch; font-size: 1rem; line-height: 1.48; }
.ed-case,.ed-news-tile,.ed-related > a { position: relative; display: grid; align-items: end; overflow: hidden; isolation: isolate; color: white; background: var(--navy); border-radius: 10px; text-decoration: none; }
.ed-case { min-height: 165px; padding: clamp(18px,1.8vw,30px); }
.ed-case::before,.ed-news-tile::before,.ed-related > a::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#031c2efc 0%,#031c2eec 19%,#031c2ea6 43%,#031c2e25 74%,transparent 100%); }
.ed-case h3 { color: white; margin: 4px 0 9px; max-width: 18ch; }
.ed-meta { font: 700 .88rem/1.4 var(--body); color: inherit; }
.ed-references { padding: clamp(20px,2.2vw,36px); background: #edf4f7; border-radius: 12px; min-width: 0; }
.ed-refs-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 19px; }
.ed-refs-head .ed-title { font-size: clamp(1.9rem,2.5vw,3rem); }
.ed-refs-toggle { display: grid; place-items: center; flex: none; color: var(--navy); border: 1px solid var(--navy); border-radius: 50%; background: white; width: 42px; height: 42px; padding: 0; }
.ed-refs-toggle i { width: 9px; height: 13px; border-inline: 3px solid currentColor; }
.ed-references.is-paused .ed-refs-toggle i { height: 0; width: 0; border: solid transparent; border-width: 7px 0 7px 11px; border-left-color: currentColor; margin-left: 2px; }
.ed-logo-viewport { background: white; overflow: hidden; border-radius: 7px; }
.ed-logo-track { display: flex; width: max(120%, 865px); }
.ed-logo-track ul { list-style: none; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); flex: 0 0 100%; padding: 0; margin: 0; animation: ed-logos 32s linear infinite; }
.ed-logo-track li { display: grid; place-items: center; padding: 14px; min-height: 88px; }
.ed-logo-track img { width: 100%; max-width: 144px; height: 47px; object-fit: contain; }
.ed-references.is-paused .ed-logo-track ul,.ed-logo-viewport:hover ul { animation-play-state: paused; }
@keyframes ed-logos { to { transform: translateX(-100%); } }
.ed-news-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(12px,1.25vw,22px); }
.ed-news-grid article { min-width: 0; }
.ed-news-tile { height: 100%; aspect-ratio: 1.12; min-height: 215px; padding: clamp(15px,1.45vw,26px); }
.ed-news-tile h2,.ed-related h2 { font: italic 800 clamp(1.78rem,2vw,2.65rem)/1.04 var(--display); color: white; margin: 0; overflow-wrap: break-word; }
.ed-news-tile p { color: white; font: 700 clamp(.77rem,.83vw,.91rem)/1.45 var(--body); margin-top: 9px; }
.ed-news-tile p::before { content: ''; display: inline-block; width: 15px; height: 3px; margin: 0 7px 3px 0; background: var(--orange); transform: skewX(-20deg); }
.ed-news-tile:is(:hover,:focus-visible) h2 { text-decoration: underline var(--orange) 2px; text-underline-offset: 5px; }
.ed-archives { display: flex; justify-content: flex-end; margin-top: 20px; }
.ed-summary h3 { font-size: 1.55rem; margin: 0; }
.ed-report-cover h1 { max-width: 22ch; font-size: clamp(3.1rem,4.7vw,5.2rem); }
.ed-report { grid-template-columns: minmax(0,1.6fr) minmax(230px,.8fr); }
.ed-report article { max-width: 71ch; }
.ed-report article h2 { font-size: clamp(1.85rem,2.6vw,2.7rem); margin: 0; }
.ed-report article section + section { margin-top: 30px; }
.ed-report-links { display: flex; gap: 15px 25px; flex-wrap: wrap; margin-top: 32px; }
.ed-related > a { min-height: 230px; padding: 22px; align-items: end; }
.ed-related h2 { margin: 6px 0 10px; color: white; }
.ed-body .btn.ed-navy { color: white; background: var(--navy); border-color: var(--navy); border-radius: 6px; }
.btn.ed-navy:is(:hover,:focus-visible) { box-shadow: inset 0 -4px var(--orange); }
.ed-about { display: grid; gap: clamp(22px,2.2vw,38px); }
.ed-about-intro { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); background: #edf4f7; border-radius: 12px; overflow: hidden; }
.ed-about-copy { padding: clamp(22px,2.65vw,46px); align-self: center; }
.ed-about-copy p { max-width: 63ch; }
.ed-about-copy .btn { margin-top: 20px; }
.ed-about-photo { isolation: isolate; position: relative; min-height: 250px; margin: 0; background: var(--navy); display: grid; align-items: end; overflow: hidden; }
.ed-about-photo img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.ed-about-photo figcaption { padding: 40px clamp(18px,1.8vw,32px) 15px; background: linear-gradient(0deg,#032034cc,transparent); font: 600 .91rem/1.4 var(--body); color: white; }
.ed-about-photo figcaption em { font: inherit; }
.ed-about-practical { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(18px,2vw,32px); align-items: stretch; }
.ed-faq,.ed-park { padding: clamp(20px,2.25vw,36px); border-radius: 12px; }
.ed-faq { border: 1px solid #cedeE5; }
.ed-faq .ed-title { margin: 0 0 20px; }
.ed-faq details { background: #f0f5f8; border: 0; border-radius: 7px; padding: 0; margin-top: 8px; overflow: hidden; }
.ed-faq details[open] { background: #e8f1f5; }
.ed-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; padding: 16px 18px; color: var(--navy); font: 700 1.38rem/1.15 var(--display); }
.ed-faq summary::-webkit-details-marker { display: none; }
.ed-faq summary::after { content: ''; flex: none; width: 16px; height: 16px; background: linear-gradient(var(--navy),var(--navy)) center / 12px 2px no-repeat,linear-gradient(var(--navy),var(--navy)) center / 2px 12px no-repeat; }
.ed-faq details[open] summary::after { background-size: 12px 2px,0 0; }
.ed-faq summary:focus-visible { outline-offset: -4px; }
.ed-faq details p { margin: 0; max-width: 65ch; padding: 0 18px 17px; }
.ed-park { background: #ffede2; }
.ed-park > img { display: block; width: clamp(118px,10vw,160px); height: auto; margin-bottom: 18px; }
.ed-park h2,.ed-contact h2 { font-size: clamp(2rem,2.8vw,3.15rem); margin: 0; }
.ed-park p { max-width: 55ch; margin-top: 9px; }
.ed-park address { display: flex; gap: 10px; align-items: flex-start; margin-block: 16px; font: 400 .96rem/1.45 var(--body); }
.ed-park address .picto { width: 19px; height: 19px; flex: none; }
.ed-quote-layout { grid-template-columns: minmax(0,2fr) minmax(270px,.9fr); }
.ed-form { display: grid; gap: 23px; }
.ed-form label,.ed-form legend { font: 700 1.05rem/1.35 var(--body); color: var(--navy); }
.ed-form label { display: grid; align-content: start; gap: 8px; min-width: 0; }
.ed-form :is(select,input,textarea) { min-width: 0; width: 100%; min-height: 48px; border: 1px solid #b5c8d3; border-radius: 6px; background-color: white; font: 400 1rem/1.45 var(--body); }
.ed-form select { appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23013657' stroke-width='1.6'%3E%3Cpath d='m3 6 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; background-size: 17px; }
.ed-form-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
.ed-form fieldset { min-width: 0; margin: 0; }
.ed-form-modes .filter { display: inline-flex; gap: 6px; align-items: center; font: 700 1.18rem/1.1 var(--display); min-height: 44px; }
.ed-form-modes .filter[aria-pressed=true] { background: var(--navy); color: white; }
.ed-form-modes .picto { width: 19px; height: 19px; }
.ed-form-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.ed-form-bottom small { max-width: 48ch; font-size: .9rem; line-height: 1.45; color: #405c6b; }
.ed-contact { background: var(--navy); color: white; border-radius: 12px; overflow: hidden; }
.ed-contact > img { width: 100%; aspect-ratio: 2.25; max-height: 220px; object-fit: cover; display: block; }
.ed-contact > div { padding: clamp(19px,1.8vw,29px); border-top: 4px solid var(--orange); }
.ed-contact h2 { color: white; }
.ed-phone { display: inline-block; margin-top: 16px; color: white; font: 700 clamp(1.6rem,2.05vw,2.4rem)/1.15 var(--display); text-decoration-color: var(--orange); text-underline-offset: 6px; }
.ed-contact .ed-phone:focus-visible { outline-color: white; }
.ed-quote-context,.ed-summary { padding: clamp(18px,2vw,32px); border-radius: 10px; background: #edf4f7; }
.ed-quote-context h3 { margin: 0; font-size: 1.45rem; }
.ed-quote-context .recap { margin-block: 10px; }
.ed-summary { max-width: 870px; }
.ed-summary dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.ed-summary dt { color: #375b6d; font-size: .92rem; }
.ed-summary dd { margin: 3px 0 0; font-weight: 700; }
.ed-summary .ed-message { white-space: pre-line; overflow-wrap: anywhere; }
.ed-summary .ed-actions { margin-top: 16px; }
@media(max-width:1000px) {
  .ed-news-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ed-news-tile { aspect-ratio: 1.55; }
}
@media(max-width:900px) {
  .ed-quote-layout { grid-template-columns: 1.5fr .8fr; gap: 22px; }
}
@media(max-width:700px) {
  .ed-cover .cat-intro { padding-bottom: 35px; }
  .ed-cover .ed-label { margin-bottom: 2px; }
  .ed-cover .ed-actions { gap: 10px 18px; margin-top: 14px; }
  .ed-about-intro,.ed-about-practical,.ed-examples,.ed-report,.ed-quote-layout { grid-template-columns: 1fr; }
  .ed-about-photo { min-height: 0; aspect-ratio: 2; }
  .ed-body { padding-block: 33px 43px; }
  .ed-example-photo { aspect-ratio: 2.3; }
  .ed-host-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ed-case { grid-column: 1 / -1; min-height: 160px; }
  .ed-contact { display: grid; grid-template-columns: .65fr 1.35fr; }
  .ed-contact > img { height: 100%; max-height: none; aspect-ratio: auto; }
  .ed-contact > div { border-top: 0; border-left: 3px solid var(--orange); padding: 17px; }
  .ed-contact h2 { font-size: 1.75rem; }
  .ed-contact p { font-size: .93rem; }
  .ed-form { gap: 18px; }
  .ed-form-pair { gap: 12px; }
  .ed-form-pair:first-of-type { grid-template-columns: 1fr; }
}
@media(max-width:520px) {
  .ed-news-grid { grid-template-columns: 1fr; }
  .ed-news-tile { aspect-ratio: 1.58; min-height: 180px; }
  .ed-host-grid,.ed-form-pair { grid-template-columns: 1fr; }
  .ed-service { padding-left: 63px; }
  .ed-service > span { position: absolute; left: 15px; top: 16px; }
  .ed-refs-head .ed-title { font-size: 1.85rem; }
}
@media(prefers-reduced-motion: reduce) {
  .ed-news-tile img,.ed-example img,.ed-case img,.ed-related img { transition: none; }
  .ed-refs-toggle,.ed-logo-track ul[aria-hidden] { display: none; }
  .ed-logo-track { width: 100%; }
  .ed-logo-track ul { animation: none; grid-template-columns: repeat(auto-fit,minmax(min(115px,45%),1fr)); }
  .ed-logo-track li { min-height: 70px; }
}
@media print {
  main[data-page=recap] .ed-cover { display: none; }
  main[data-page=recap] .ed-summary { background: white; max-width: none; padding: 0; }
  main[data-page=recap] .noprint { display: none; }
}
/* Le deuxième intertitre de la bannière Entreprises laisse sa place aux deux actions. */
.ed-pro .cat-intro { padding-bottom: clamp(22px,1.7vw,33px); }
.ed-pro .ed-actions { margin-top: 15px; }
