/* AMALDA — pages éditoriales, en complément de style.css */
.ed-page { overflow-x: hidden; }
.ed-shell { width: min(1400px, calc(100% - 120px)); margin-inline: auto; }
.ed-header { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid #e5ebe5; }
.ed-header-inner { display: flex; min-height: 102px; align-items: center; justify-content: space-between; gap: 35px; }
.ed-brand { flex: 0 0 150px; }
.ed-brand img { width: 150px; height: 68px; object-fit: contain; }
.ed-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px clamp(14px, 1.55vw, 24px); }
.ed-nav a { display: inline-flex; min-height: 44px; align-items: center; color: #23494a; font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.ed-nav a:not(.ed-nav-contact):hover, .ed-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.ed-nav .ed-nav-contact { gap: 16px; padding: 8px 14px; border: 1px solid #b7c7bf; }
.ed-nav .ed-nav-contact:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.ed-breadcrumb { display: flex; gap: 11px; align-items: center; min-height: 66px; color: #526f69; font-size: 11px; letter-spacing: .025em; }
.ed-breadcrumb a { color: var(--ink); text-underline-offset: 3px; }
.ed-hero { display: grid; grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr); align-items: stretch; background: #eef2eb; }
.ed-hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(46px, 5.7vw, 90px); }
.ed-kicker, .ed-section-number, .ed-aside-kicker { margin: 0 0 25px; color: #547d73; font-size: 10px; font-weight: 700; letter-spacing: .17em; line-height: 1.5; text-transform: uppercase; }
.ed-kicker span { color: #315e58; }
.ed-hero h1 { max-width: 650px; margin: 0 0 24px; font-size: clamp(44px, 4.7vw, 69px); line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.ed-intro { max-width: 530px; margin-bottom: 31px; color: #3f615c; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.75; }
.ed-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 25px; }
.ed-text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 15px; color: var(--ink); font-size: 12px; font-weight: 700; text-underline-offset: 5px; }
.ed-hero-figure { display: flex; min-width: 0; flex-direction: column; margin: 0; padding: 0; background: #dce8df; }
.ed-hero-figure img { width: 100%; min-height: 430px; height: 100%; flex: 1 1 auto; object-fit: cover; object-position: center; }
.ed-hero-figure figcaption { display: flex; justify-content: space-between; gap: 14px; padding: 12px 17px; color: #395c55; font-size: 10px; line-height: 1.5; }
.ed-ribbon { margin-top: clamp(36px, 5vw, 72px); background: #dcebe2; }
.ed-ribbon .ed-shell { display: flex; min-height: 65px; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 25px; padding-block: 15px; color: #385e56; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.ed-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); align-items: start; gap: clamp(60px, 9vw, 140px); padding-block: clamp(65px, 8vw, 110px); }
.ed-article { min-width: 0; max-width: 850px; }
.ed-section + .ed-section { margin-top: clamp(58px, 6.5vw, 88px); padding-top: clamp(45px, 5.2vw, 70px); border-top: 1px solid #d6e0d7; }
.ed-section-number { margin-bottom: 17px; }
.ed-section h2 { max-width: 800px; margin-bottom: 24px; font-size: clamp(34px, 3.5vw, 49px); line-height: 1.12; letter-spacing: -.04em; }
.ed-section > p:not(.ed-section-number):not(.ed-note) { max-width: 740px; color: #385950; font-size: 16px; line-height: 1.85; }
.ed-section > p a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.ed-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 30px 0 18px; }
.ed-choice { display: flex; flex-direction: column; min-width: 0; padding: 25px 22px 22px; border: 1px solid #d7e2d8; background: #fff; }
.ed-choice h3 { margin: 0 0 13px; font-size: 27px; letter-spacing: -.035em; line-height: 1.2; }
.ed-choice p { flex: 1; margin: 0 0 20px; color: #47675d; font-size: 13px; line-height: 1.7; }
.ed-choice a { display: inline-flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 9px; border-bottom: 1px solid #a2bcb0; color: var(--ink); font-size: 11px; font-weight: 700; line-height: 1.5; text-decoration: none; }
.ed-choice a:hover { border-color: var(--ink); }
.ed-note { max-width: 740px; margin: 15px 0 0; color: #506d63; font-size: 12px; line-height: 1.7; }
.ed-inline-actions { display: flex; flex-wrap: wrap; gap: 20px 30px; margin-top: 30px; }
.ed-aside { position: sticky; top: 24px; }
.ed-aside-card { padding: clamp(25px, 2.8vw, 37px); background: #e4efe7; }
.ed-aside-kicker { margin-bottom: 16px; }
.ed-aside-title { margin: 0 0 22px; color: var(--ink); font-family: var(--serif); font-size: 29px; letter-spacing: -.035em; line-height: 1.2; }
.ed-aside-card ul { margin: 0; padding: 0; list-style: none; }
.ed-aside-card li { padding: 11px 0; border-top: 1px solid #c4d8ca; color: #36574e; font-size: 12px; line-height: 1.5; }
.ed-aside-card > a { display: inline-flex; min-height: 44px; align-items: center; gap: 20px; margin-top: 16px; color: var(--ink); font-size: 12px; font-weight: 700; text-underline-offset: 4px; }
.ed-aside-source { margin: 17px 0 0; color: #526e65; font-size: 11px; line-height: 1.7; }
.ed-inset-figure { margin: 35px 0 0; }
.ed-inset-figure img { width: 100%; max-height: 390px; aspect-ratio: 2 / 1; object-fit: cover; }
.ed-inset-figure figcaption { margin-top: 10px; color: #526e65; font-size: 10px; letter-spacing: .04em; }
.ed-closing { padding-block: clamp(60px, 7vw, 95px); background: var(--ink-deep); color: #fff; }
.ed-closing-inner { display: flex; justify-content: space-between; align-items: end; gap: 35px; }
.ed-closing .ed-kicker { margin-bottom: 15px; color: #b9d7c9; }
.ed-closing-title { margin: 0 0 15px; font-family: var(--serif); font-size: clamp(36px, 4vw, 56px); letter-spacing: -.04em; line-height: 1.1; }
.ed-closing-inner > div > p:last-child { max-width: 550px; margin: 0; color: #d3e5dc; font-size: 15px; }
.ed-closing .button { flex: 0 0 auto; }
.ed-footer { padding: 65px 0 24px; background: #f4f4ed; }
.ed-footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 45px; padding-bottom: 55px; }
.ed-footer-brand img { width: 150px; height: 65px; object-fit: contain; object-position: left center; }
.ed-footer-brand p { margin: 18px 0 0; color: #526e65; font-family: var(--serif); font-size: 16px; line-height: 1.5; }
.ed-footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; color: #456259; font-size: 12px; overflow-wrap: anywhere; }
.ed-footer-column strong { margin-bottom: 10px; color: var(--ink); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.ed-footer-column a, .ed-footer-bottom a { text-decoration: none; }
.ed-footer-column a:hover, .ed-footer-bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ed-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding-top: 22px; border-top: 1px solid #d9e1d7; color: #526e65; font-size: 11px; }
.ed-footer-bottom div { display: flex; gap: 22px; }
@media (max-width: 1100px) {
  .ed-shell { width: calc(100% - 72px); }
  .ed-header-inner { align-items: flex-start; padding-block: 12px; gap: 20px; }
  .ed-nav { padding-block: 4px; }
  .ed-hero-copy { padding: 45px 38px; }
  .ed-content { gap: 55px; }
  .ed-choice-grid { grid-template-columns: 1fr; }
  .ed-choice { padding: 22px; }
  .ed-choice p { margin-bottom: 10px; }
}
@media (max-width: 820px) {
  .ed-shell { width: calc(100% - 48px); }
  .ed-header-inner { display: block; }
  .ed-brand { display: inline-flex; }
  .ed-brand img { width: 135px; height: 58px; }
  .ed-nav { justify-content: flex-start; gap: 0 18px; padding: 0 0 5px; }
  .ed-nav a { font-size: 12px; }
  .ed-hero { grid-template-columns: 1fr; }
  .ed-hero-copy { padding: 50px 38px; }
  .ed-hero-figure img { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
  .ed-content { grid-template-columns: 1fr; gap: 50px; }
  .ed-aside { position: static; max-width: 650px; }
  .ed-choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 590px) {
  .ed-page { padding-bottom: 0; }
  .ed-shell { width: calc(100% - 40px); }
  .ed-header-inner { padding-block: 8px 14px; }
  .ed-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
  .ed-nav a { min-width: 0; min-height: 42px; border-top: 1px solid #e6ece6; white-space: normal; line-height: 1.35; }
  .ed-nav .ed-nav-contact { justify-content: space-between; padding: 7px 10px; border: 1px solid #b7c7bf; }
  .ed-breadcrumb { min-height: 53px; }
  .ed-hero-copy { padding: 38px 24px 42px; }
  .ed-hero h1 { font-size: clamp(39px, 10vw, 53px); }
  .ed-intro { font-size: 16px; }
  .ed-hero-figure img { aspect-ratio: 4 / 3; }
  .ed-hero-figure figcaption { flex-wrap: wrap; }
  .ed-ribbon { margin-top: 30px; }
  .ed-ribbon .ed-shell { flex-direction: column; align-items: flex-start; }
  .ed-choice-grid { grid-template-columns: 1fr; }
  .ed-section h2 { font-size: clamp(33px, 8.7vw, 43px); }
  .ed-section > p:not(.ed-section-number):not(.ed-note) { font-size: 15px; line-height: 1.8; }
  .ed-closing-inner { align-items: flex-start; flex-direction: column; }
  .ed-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding-bottom: 40px; }
  .ed-footer-brand { grid-column: 1 / -1; }
  .ed-footer-bottom { flex-direction: column; }
}
