/*
 * Page d'accueil « charte 2026-27 » : gabarit « Accueil 2026 » (template-accueil-2026.php).
 * Tout est préfixé par #main .sh-home pour ne pas toucher au menu ni au pied de page Avada.
 */
@font-face { font-family: "Exo 2"; src: url("media/exo2-black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Exo 2"; src: url("media/exo2-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Lato; src: url("media/lato-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Lato; src: url("media/lato-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

#main .sh-home {
  --red: #e6302b; 
  --blue: #0073bc;
  --navy: #00649b;
  --silver: #ededed;
  --ink: #171717;
  --muted: #414141;
  --line: #d3d3d3;
  --gutter: clamp(20px, 5vw, 80px);
  --headings: "Exo 2", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-family: Lato, Arial, sans-serif;
  font-synthesis: none;
}

#main .sh-home *, #main .sh-home *::before, #main .sh-home *::after { box-sizing: border-box; }
#main .sh-home a { color: inherit; }
#main .sh-home img { display: block; max-width: 100%; }
#main .sh-home h1, #main .sh-home h2, #main .sh-home h3, #main .sh-home h4, #main .sh-home p, #main .sh-home figure { margin: 0; }
#main .sh-home ul, #main .sh-home ol { margin: 0; padding: 0; list-style: none; }
#main .sh-home h1, #main .sh-home h2, #main .sh-home h3 { font-family: var(--headings); color: var(--ink); letter-spacing: normal; text-transform: none; }
#main .sh-home h2 { font-size: clamp(34px, 3.5vw, 54px); line-height: 1; font-weight: 900; }
#main .sh-home :focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
html { scroll-padding-top: 110px; }
#main .sh-home .sh-wrap { width: min(1400px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }

#main .sh-home .sh-button { display: inline-flex; width: fit-content; min-height: 48px; align-items: center; gap: 20px; padding: 12px 17px; border: 1px solid currentColor; color: var(--navy); font-weight: 700; line-height: 1.2; text-decoration: none; }
#main .sh-home .sh-button span,
#main .sh-home .sh-link span { font-size: 1.16em; }
#main .sh-home .sh-button:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
#main .sh-home .sh-primary { background: var(--navy); border-color: var(--navy); color: #fff; }
#main .sh-home .sh-primary:hover { background: var(--blue); border-color: var(--blue); }
#main .sh-home .sh-link { display: inline-flex; align-items: baseline; gap: 12px; color: var(--navy); font-weight: 700; text-underline-offset: 4px; }
#main .sh-home .sh-link span { display: inline-block; text-decoration: none; }
#main .sh-home .sh-link:hover { text-decoration-thickness: 2px; }
#main .sh-home .section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(18px, 2.2vw, 30px); }
#main .sh-home .section-note { color: var(--muted); font-size: 18px; }
#main .sh-home .hero { display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: clamp(18px, 3.6vw, 56px); padding-block: 32px 24px; }
#main .sh-home .hero-copy { container-type: inline-size; padding-block: 15px; }
#main .sh-home .heritage { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--navy); font-size: 15px; font-weight: 700; }
#main .sh-home .heritage::before { content: ""; width: 27px; height: 3px; background: var(--red); }
#main .sh-home .hero h1 { font-size: clamp(32px, 14.25cqi, 88px); font-weight: 900; letter-spacing: -.045em; line-height: .98; }
#main .sh-home .hero-intro { max-width: 31ch; margin-block: 23px 27px; color: var(--muted); font-size: clamp(18px, 1.65vw, 24px); line-height: 1.4; }
#main .sh-home .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
#main .sh-home .hero-photo { position: relative; isolation: isolate; min-width: 0; aspect-ratio: 1.41; }
#main .sh-home .hero-photo::before,
#main .sh-home .hero-photo::after,
#main .sh-home .hero-photo-frame { position: absolute; inset: 0; }
#main .sh-home .hero-photo::before { content: ""; z-index: -2; background: var(--red); clip-path: polygon(81% 68%, 100% 68%, 100% 100%, 81% 86%); }
#main .sh-home .hero-photo::after { content: ""; z-index: -1; background: var(--blue); clip-path: polygon(0 0, 100% 14%, 100% 86%, 0 72%); }
#main .sh-home .hero-photo-frame { clip-path: polygon(0 6%, 100% 20%, 100% 80%, 0 66%); }
#main .sh-home .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 35% center; transform: translateY(-7%); }
#main .sh-home .figures { padding-bottom: clamp(48px, 6vw, 88px); }
#main .sh-home .figures ul { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
#main .sh-home .figures li { display: grid; align-content: start; gap: 6px; padding: 22px clamp(14px, 2vw, 28px); }
#main .sh-home .figures li + li { border-left: 1px solid var(--line); }
#main .sh-home .figures strong { color: var(--navy); font: 900 clamp(34px, 4vw, 58px)/1 var(--headings); letter-spacing: -.03em; }
#main .sh-home .figures li:first-child strong::after { content: ""; display: block; width: 27px; height: 3px; margin-top: 10px; background: var(--red); }
#main .sh-home .figures span { max-width: 24ch; color: var(--muted); line-height: 1.4; }
#main .sh-home .ranges { padding-bottom: clamp(55px, 7vw, 104px); }
#main .sh-home .range-list { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
#main .sh-home .range-list li + li { border-left: 1px solid var(--line); }
#main .sh-home .range { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; min-height: 380px; height: 100%; gap: 15px; padding: 23px clamp(14px, 2.2vw, 32px) 26px; text-decoration: none; }
#main .sh-home .range-type { margin-bottom: 5px; color: var(--muted); font-size: 14px; }
#main .sh-home .range h3 { font-size: clamp(23px, 2.6vw, 40px); font-weight: 700; line-height: 1.05; }
#main .sh-home .range-text { max-width: 34ch; margin-top: 12px; color: var(--muted); line-height: 1.45; }
#main .sh-home .tags,
#main .sh-home .specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
#main .sh-home .tags li,
#main .sh-home .specs li { padding: 4px 9px; border: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.3; }
#main .sh-home .range-arrow { color: var(--navy); font-size: 25px; line-height: 1; }
#main .sh-home .range img { grid-column: 1 / -1; justify-self: center; align-self: end; width: 100%; height: clamp(145px, 15vw, 215px); object-fit: contain; }
#main .sh-home .range:hover h3 { color: var(--navy); text-decoration: underline; text-underline-offset: 5px; }
#main .sh-home .range:hover { background: #f8f8f8; }
#main .sh-home .models { padding-block: clamp(42px, 6vw, 88px); background: #f6f6f6; }
#main .sh-home .model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); }
#main .sh-home .model { display: grid; grid-template-rows: auto 1fr; height: 100%; background: #fff; border: 1px solid var(--line); border-bottom: 5px solid var(--blue); text-decoration: none; }
#main .sh-home .model img { width: 100%; height: clamp(190px, 18vw, 260px); padding: 18px; object-fit: contain; }
#main .sh-home .model-body { display: grid; align-content: start; gap: 6px; padding: 4px clamp(16px, 1.8vw, 26px) 22px; }
#main .sh-home .model-kind { color: var(--red); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
#main .sh-home .model h3 { font-size: clamp(21px, 2vw, 28px); line-height: 1.1; font-weight: 700; }
#main .sh-home .model-body > p:not(.model-kind) { color: var(--muted); line-height: 1.5; }
#main .sh-home .model:hover { border-bottom-color: var(--red); }
#main .sh-home .model:hover h3 { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
#main .sh-home .sectors { padding-block: clamp(55px, 7vw, 104px); }
#main .sh-home .sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 24px); }
#main .sh-home .sector { display: grid; grid-template-rows: auto 1fr; height: 100%; text-decoration: none; }
#main .sh-home .sector img { width: 100%; aspect-ratio: 1.2; object-fit: cover; border-bottom: 5px solid var(--blue); }
#main .sh-home .sector div { padding-top: 14px; }
#main .sh-home .sector-kind { margin-bottom: 4px; color: var(--red); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
#main .sh-home .sector h3 { font-size: clamp(21px, 1.9vw, 27px); line-height: 1.1; font-weight: 700; }
#main .sh-home .sector div > p:last-child { margin-top: 6px; color: var(--muted); line-height: 1.45; }
#main .sh-home .sector:hover h3 { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
#main .sh-home .pillars { padding-block: clamp(42px, 5.5vw, 80px); border-block: 1px solid var(--line); }
#main .sh-home .pillars h2 { margin-bottom: clamp(22px, 3vw, 40px); }
#main .sh-home .pillar-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3.4vw, 56px); }
#main .sh-home .pillar-num { display: block; margin-bottom: 14px; color: var(--red); font: 900 clamp(34px, 3.6vw, 52px)/1 var(--headings); }
#main .sh-home .pillar-list h3 { font-size: clamp(21px, 2vw, 28px); line-height: 1.15; font-weight: 700; }
#main .sh-home .pillar-list p { margin-top: 10px; color: var(--muted); line-height: 1.55; }
#main .sh-home .catalogues { padding-block: clamp(42px, 6vw, 93px); background: var(--silver); }
#main .sh-home .catalogues-layout { display: grid; grid-template-columns: 1.3fr 1fr 1fr; align-items: end; gap: clamp(20px, 3.8vw, 66px); }
#main .sh-home .catalogues-copy { align-self: center; }
#main .sh-home .catalogues-copy p,
#main .sh-home .service p { margin-top: 14px; max-width: 34ch; color: var(--muted); font-size: 18px; line-height: 1.55; }
#main .sh-home .catalogue { display: grid; justify-items: start; gap: 17px; color: var(--navy); text-decoration: none; }
#main .sh-home .catalogue img { display: block; width: min(100%, 244px); height: auto; border: 1px solid var(--line); }
#main .sh-home .catalogue > span { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; width: min(100%, 244px); font-size: clamp(16px, 1.6vw, 24px); font-weight: 700; }
#main .sh-home .catalogue:hover > span { text-decoration: underline; text-underline-offset: 4px; }
#main .sh-home .history { padding-block: clamp(42px, 5.7vw, 84px); color: #fff; background: var(--navy); }
#main .sh-home .history-layout { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(24px, 5vw, 72px); }
#main .sh-home .timeline { display: grid; max-width: 52ch; margin-block: 24px 28px; border-top: 1px solid rgba(255, 255, 255, .35); }
#main .sh-home .timeline li { display: grid; grid-template-columns: 8.5em 1fr; gap: 14px; padding-block: 14px; border-bottom: 1px solid rgba(255, 255, 255, .35); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.45; }
#main .sh-home .timeline strong { font: 900 clamp(20px, 1.8vw, 26px)/1.2 var(--headings); }
#main .sh-home .history .sh-link { color: #fff; }
#main .sh-home .history :focus-visible { outline-color: #fff; }
#main .sh-home .history h2 { color: #fff; }
#main .sh-home .history-archive { justify-self: center; width: min(100%, 235px); }
#main .sh-home .history-archive img { width: 100%; height: auto; }
#main .sh-home .history-archive figcaption { margin-top: 9px; font-size: 14px; }
#main .sh-home .network { padding-block: clamp(45px, 6vw, 92px) 0; }
#main .sh-home .network-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 28px); }
#main .sh-home .network-card { display: grid; align-content: start; justify-items: start; gap: 14px; padding: clamp(22px, 3vw, 44px); border: 1px solid var(--line); border-top: 5px solid var(--red); }
#main .sh-home .network-card:last-child { border-top-color: var(--blue); }
#main .sh-home .network-kind { color: var(--muted); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
#main .sh-home .network-card h3 { font-size: clamp(25px, 2.5vw, 36px); line-height: 1.1; font-weight: 700; }
#main .sh-home .network-card > p:not(.network-kind) { max-width: 44ch; margin-bottom: 8px; color: var(--muted); line-height: 1.55; }
#main .sh-home .service { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: clamp(45px, 6vw, 92px); }
#main .sh-home .service p { max-width: 52ch; }
#main .sh-home .service-links { display: grid; gap: 14px; }
#main .sh-home .service-links a { width: fit-content; }
@media (max-width: 1100px) {
#main .sh-home .model-grid { grid-template-columns: repeat(2, 1fr); }
#main .sh-home .sector-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
#main .sh-home .hero { grid-template-columns: 1fr 1.05fr; gap: 16px; }
#main .sh-home .hero-photo { aspect-ratio: 1.15; }
#main .sh-home .range { min-height: 340px; }
}
@media (max-width: 740px) {
#main .sh-home .hero { grid-template-columns: 1fr; gap: 18px; padding-block: 26px 16px; }
#main .sh-home .hero-copy { padding: 0; }
#main .sh-home .hero h1 { font-size: clamp(32px, 14.25cqi, 72px); }
#main .sh-home .hero-intro { margin-block: 16px 19px; }
#main .sh-home .hero-photo { aspect-ratio: 1.53; }
#main .sh-home .section-head { flex-direction: column; gap: 10px; }
#main .sh-home .figures ul { grid-template-columns: repeat(2, 1fr); }
#main .sh-home .figures li:nth-child(3) { border-left: 0; }
#main .sh-home .figures li:nth-child(n + 3) { border-top: 1px solid var(--line); }
#main .sh-home .range-list { grid-template-columns: 1fr; }
#main .sh-home .range-list li + li { border-top: 1px solid var(--line); border-left: 0; }
#main .sh-home .range { grid-template-columns: 1fr minmax(0, 32%) auto; grid-template-rows: auto; align-items: center; min-height: 150px; gap: 10px; padding: 18px 5px; }
#main .sh-home .range img { grid-column: 2; grid-row: 1; height: 110px; align-self: center; }
#main .sh-home .range-arrow { grid-column: 3; grid-row: 1; font-size: 20px; }
#main .sh-home .range-text { display: none; }
#main .sh-home .model-grid { grid-template-columns: 1fr; }
#main .sh-home .model { grid-template-columns: minmax(0, 38%) 1fr; grid-template-rows: auto; }
#main .sh-home .model img { height: 100%; min-height: 160px; padding: 12px; }
#main .sh-home .model-body { padding: 16px 16px 16px 0; }
#main .sh-home .pillar-list { grid-template-columns: 1fr; }
#main .sh-home .catalogues-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 14px; }
#main .sh-home .catalogues-copy { grid-column: 1 / -1; }
#main .sh-home .history-layout { grid-template-columns: 1fr; }
#main .sh-home .history-archive { justify-self: start; }
#main .sh-home .network-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
#main .sh-home .sector-grid { grid-template-columns: 1fr; }
#main .sh-home .timeline li { grid-template-columns: 1fr; gap: 2px; }
#main .sh-home .service { display: grid; gap: 17px; }
}
