@font-face {
    font-family: "Bizmeud";
    src: url("typos/bizmeud-webfont.woff") format("woff");
}

@font-face {
    font-family: "Atkinson";
    src: url("typos/Atkinson-Hyperlegible-Regular-102a.woff2") format("woff2");
    font-style: normal;
}

@font-face {
    font-family: "Atkinson";
    src: url("typos/Atkinson-Hyperlegible-Italic-102a.woff2") format("woff2");
    font-style: italic;
}

@font-face {
    font-family: "Atkinson";
    src: url("typos/Atkinson-Hyperlegible-Bold-102a.woff2") format("woff2");
    font-style: normal;
    font-weight: bold;
}
@font-face {
    font-family: "Atkinson";
    src: url("typos/Atkinson-Hyperlegible-BoldItalic-102a.woff2")
        format("woff2");
    font-style: italic;
    font-weight: bold;
}
:root {
    font-size: calc(12px + 1vh);
    line-height: 1.23;
    --jaune: rgb(255, 215, 0);
    --sombre: rgb(43, 0, 0);
    --dimmed: rgb(97, 92, 92);
    --sanguine: rgb(246, 126, 29);
    --rouge: rgb(191, 8, 8);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Atkinson, Tahoma, Verdana, Segoe, sans-serif;
    background-color: var(--jaune);
}

nav {
    position: sticky;
    top: 0px;
    background-color: var(--sombre);
    color: whitesmoke;
    padding: 0.25em 1rem;
    text-align: center;
    font-size: 1.21rem;
    border-top: 1px solid var(--dimmed);
    border-bottom: 1px solid var(--dimmed);
    font-family: bizmeud;
    text-transform: lowercase;
}

nav a {
    color: inherit;
}

nav a:hover {
    text-decoration-color: var(--jaune);
}

nav :not(a) {
    color: var(--dimmed);
}

[id] {
    scroll-margin-top: 1.45rem;
}

.heroique {
    display: grid;
    height: 66vh;
    max-height: 600px;
    overflow: hidden;
    grid-template-areas: "complet";
    place-items: center;
    font-family: bizmeud;
}

.heroique > * {
    grid-area: complet;
}

.heroique div {
    background-color: rgba(255, 255, 255, 0.45);
    border-radius: 4px;
    padding: 1rem;
    place-self: end center;
    transform: translateY(-2.5rem);
}

.heroique div > * {
    margin: 0;
}

.heroique ul {
    list-style: none;
    margin-top: 1em;
    line-height: 1.45;
    padding-left: 1.618rem;
    font-size:1.5rem;
}

.heroique li::before {
    display: inline-block;
    content: "";
    mask: url("chevrond.svg");
    mask-position: top left;
    mask-size: cover;
    height: 0.66em;
    width: 0.66em;
    background-repeat: no-repeat;
    vertical-align: middle;
    background-size: contain;
    margin-right: 0.21em;
    background-color: currentcolor;
}
.heroique li u {
    text-decoration-color: var(--sanguine);
    text-underline-offset: 0.2em;
    text-decoration-thickness: 2px;
}
.heroique li strong {
    box-sizing: content-box;
    display: inline-block;
    border-bottom: 3px solid var(--sanguine);
    font-weight: 500;
}
.heroique .en_avant {
    background-color: var(--rouge);
    color: #fff;
    width: max-content;
    padding-right: 0.55555ch;
    border-color: currentcolor;
    border-width: 1px;
    border-radius: 4px;
    margin: 1rem 0;
    padding-inline: 1ex;
}
.en_avant.secondaire {
    background-color: var(--jaune);
    color: var(--sombre);
}
.heroique .resultats {
    color: var(--sombre);
    font-weight: bold;
}
.heroique .resultats a {
    color: var(--sombre);
    display: inline-block;
    text-decoration: none;
    padding: 1px 9px 2px 4px;
    clip-path: polygon(
        0% 0%,
        calc(100% - 7px) 0%,
        100% 50%,
        calc(100% - 7px) 100%,
        0% 100%
    );
    background-color: var(--jaune);
}
.resultats a::after {
    display: none;
}
.heroique::before {
    display: block;
    content: "";
    background-image: url("logo-c-et-d.png");
    background-color: #fff;
    z-index: 100;
    width: 132px;
    height: 132px;
    place-self: start;
    grid-area: complet;
    background-size: contain;
    border-radius: 0 0 50% 50%;
    margin-left: 1.618rem;
    border: 2px solid var(--sombre);
    border-top-width: 0;
}

.heroique img {
    z-index: -1;
    object-fit: cover;
    height: min(66vh, 600px);
    width: 100%;
    transition: opacity 1.2s ease-in-out;
}

section {
    padding: 0 calc((100vw - 35rem) / 2);
}

section :is(h2, h3) {
    font-family: bizmeud;
}

h2 {
    font-size: 2.618rem;
    margin-bottom: 0;
    margin-top: 2rem;
}

h3 {
    font-size: 1.618rem;
    margin-bottom: 0;
    margin-top: 1rem;
}

h2 + h3 {
    margin-top: 0;
}

section :is(p, figure, ul, ol) {
    font-size: 1rem;
}

section figure {
    margin: 0%;
}

section figure + figure {
    margin-top: 1.618rem;
}

figcaption {
    border-left: 1rem solid var(--dimmed);
    margin-top: 0.25rem;
    padding-left: 0.33rem;
    border-bottom-left-radius: 7px;
}

figure img {
    max-width: 35rem;
    height: auto;
    border: 1px solid var(--dimmed);
    border-top-right-radius: 7px;
}

section a {
    color: var(--sanguine);
    text-decoration-color: var(--dimmed);
}

section a:hover {
    text-decoration-color: var(--sombre);
    text-decoration-thickness: 2px;
}

section [href]::before {
    display: inline-block;
    content: "";
    text-decoration: none;
    width: 15px;
    height: 15px;
    background-size: contain;
    vertical-align: middle;
    margin-right: 0.21em;
}

section [href^="http"]::before {
    background-image: url(link.svg);
}

section [href^="mailto:"]::before {
    background-image: url(mail.svg);
}

section [href$=".pdf"]::before {
    background-image: url(download.svg);
}

section [href^="#"]::before {
    display: none;
}

section:target {
    padding-top: 30px;
}

section li::marker {
    content: "■ ";
    color: var(--sanguine);
}

footer {
    text-align: center;
    font-style: italic;
    background-color: black;
    padding: 1em 0;
    font-size: 0.618em;
}

footer p {
    color: #fff;
    margin: 0;
}

footer a {
    color: currentcolor;
    margin-inline: 0.124ch;
}
.retour_haut {
    font-family: bizmeud;
    position: sticky;
    margin-top: 110vh;
    bottom: 0;
    left: 90vw;
    background-color: rgba(255, 255, 255, 0.75);
    padding: 0 1.15ch;
}
.plusGros {
    background-color: var(--sanguine);
    padding-inline: 1ex;
    padding-block: 0.67lh;
    color: var(--sombre);
    border-radius: 1ex;
    font-size: 0.86rem;
    border: 2px solid var(--dimmed);
}
.insert_ext {
    display:grid;
    grid-template-columns:1fr 300px;
    gap:1rem;
    }
.lien_bouton {
    display:grid;
    place-items:center;
    background-color:var(--sanguine);
    color:var(--sombre);
    height:2rem;
    padding-inline:.75rem;
    width:max-content;
    margin-inline:auto;
    border:2px solid var(--jaune);
    text-decoration:none;
    border-radius:4px;
    outline:3px solid var(--dimmed);
    text-transform:uppercase;
    padding-top:.25rem;
}
a.lien_bouton::before{
    content:"";
    display:none;
}
.lien_bouton:hover{
    background-color:var(--rouge);
    outline-color:var(--sombre);
    color:var(--jaune)
}
