/* Delgarde — orange / anthracite / ivoire */
@font-face { font-family: "Outfit"; src: url("fonts/outfit-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
	--orange: #f26a21; --orange-fonce: #c44d0c; --anthracite: #1e262b; --ivoire: #f6f2ea; --papier: #fdfbf7;
	--trait: #e2dbcf; --gris: #5a6166; --largeur: 1280px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--ivoire); color: var(--anthracite); font-family: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.5; }
img { max-width: 100%; height: auto; }
a { color: var(--orange-fonce); }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.02em; font-weight: 800; margin: 0; text-wrap: balance; }
h1 em, h2 em { font-style: normal; color: var(--orange); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--anthracite); outline-offset: 2px; }
.conteneur { width: 100%; max-width: var(--largeur); margin-inline: auto; padding-inline: 20px; }
.conteneur-etroit { max-width: 820px; }
.lecteur { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.evitement { position: absolute; left: 8px; top: -60px; background: var(--anthracite); color: #fff; padding: 10px 14px; z-index: 100; }
.evitement:focus { top: 8px; }
.bandeau-preprod { margin: 0; padding: 6px 20px; background: #fbd9c4; color: #6f2e04; font-size: .875rem; font-weight: 600; text-align: center; }
.tiret { display: block; width: 44px; height: 6px; background: var(--orange); margin-bottom: 18px; }
.fleche { display: inline-block; margin-left: 6px; }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 24px; background: var(--orange); border: 2px solid var(--orange); border-radius: 3px; color: #1a1205; font-weight: 700; font-size: 1.0625rem; text-decoration: none; }
.bouton:hover { background: #ff7d36; border-color: #ff7d36; }
.bouton-contour { background: none; border-color: #fff; color: #fff; }
.bouton-contour:hover { background: #fff; border-color: #fff; color: var(--anthracite); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* En-tête */
.entete { background: var(--ivoire); border-bottom: 1px solid var(--trait); position: sticky; top: 0; z-index: 40; }
.entete-ligne { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--anthracite); }
.logo-nom { font-size: 1.75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: linear-gradient(var(--orange), var(--orange)) left bottom / 28px 5px no-repeat; padding-bottom: 6px; }
.logo-base { display: none; font-size: .6875rem; letter-spacing: .32em; text-transform: uppercase; border-left: 1px solid var(--orange); padding-left: 16px; max-width: 12em; line-height: 1.5; }
.menu-bouton { width: 48px; height: 48px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.menu-bouton-traits, .menu-bouton-traits::before, .menu-bouton-traits::after { display: block; width: 26px; height: 2px; background: var(--anthracite); content: ""; position: relative; }
.menu-bouton-traits::before { position: absolute; top: -8px; } .menu-bouton-traits::after { position: absolute; top: 8px; }
.menu { display: none; flex-basis: 100%; padding-bottom: 18px; }
.menu.est-ouvert { display: block; }
.menu ul { list-style: none; margin: 0 0 14px; padding: 0; }
.menu li a { display: block; padding: 13px 0; border-top: 1px solid var(--trait); color: var(--anthracite); text-decoration: none; font-weight: 500; font-size: 1.125rem; }
.menu .current-menu-item > a { color: var(--orange-fonce); font-weight: 700; }
@media (min-width: 980px) {
	.menu-bouton { display: none; }
	.logo-base { display: block; }
	.menu { display: flex; align-items: center; gap: 28px; flex-basis: auto; padding: 0; }
	.menu ul { display: flex; gap: 32px; margin: 0; }
	.menu li a { border: 0; padding: 24px 0; font-size: 1.0625rem; }
	.menu li a:hover, .menu .current-menu-item > a { box-shadow: inset 0 -3px var(--orange); }
}

/* Hero accueil */
.hero { display: grid; background: var(--anthracite); color: #fff; }
.hero-texte { padding: 44px 20px 48px; align-self: center; }
.hero h1 { font-size: clamp(2.75rem, 6vw, 4.75rem); line-height: .98; }
.hero p { font-size: 1.1875rem; margin: 22px 0 0; max-width: 28em; }
.hero-image { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 240px; }
@media (min-width: 900px) {
	.hero { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); min-height: 520px; }
	.hero-texte { padding: 72px 48px 72px max(20px, calc((100vw - var(--largeur)) / 2 + 20px)); }
}

/* Sections */
.section { padding-block: 56px; }
.section + .section { padding-top: 0; }
.section-tete { display: grid; gap: 12px 48px; margin-bottom: 28px; align-items: end; }
.section-tete h2 { font-size: clamp(1.875rem, 4.4vw, 3rem); }
.section-tete p { margin: 0; color: #3a4348; max-width: 34em; }
@media (min-width: 900px) { .section-tete { grid-template-columns: 1.4fr 1fr; } }

.familles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.famille { display: flex; flex-direction: column; background: var(--papier); border: 1px solid var(--trait); color: var(--anthracite); text-decoration: none; }
.famille:hover { border-color: var(--anthracite); }
.famille img { width: 100%; aspect-ratio: 346 / 160; object-fit: cover; display: block; }
.famille-corps { padding: 18px 20px 22px; display: grid; gap: 10px; }
.famille strong { font-size: 1.25rem; display: flex; justify-content: space-between; gap: 12px; background: linear-gradient(var(--orange), var(--orange)) left bottom / 22px 3px no-repeat; padding-bottom: 10px; }
.famille-corps > span { font-size: .9375rem; color: #3a4348; }

.bande-config { background: var(--anthracite); color: #fff; padding-block: 48px; }
.bande-config-ligne { display: grid; gap: 24px; align-items: center; }
.bande-config h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 12px; }
.bande-config p { margin: 0; max-width: 44em; color: #d5d9db; }
@media (min-width: 900px) { .bande-config-ligne { grid-template-columns: 1fr auto; } }

.projet { list-style: none; margin: 0; padding: 22px 24px; background: #ece6da; display: grid; gap: 20px; }
.projet li { display: flex; gap: 16px; align-items: baseline; }
.projet-num { color: var(--orange-fonce); font-weight: 800; font-size: 1.375rem; font-variant-numeric: tabular-nums; }
.projet strong { font-size: 1.1875rem; } .projet p { margin: 2px 0 0; font-size: .9375rem; color: #3a4348; }
@media (min-width: 900px) { .projet { grid-template-columns: repeat(3, 1fr); } }

/* En-tête de page, fiche modèle */
.entete-page { background: var(--anthracite); color: #fff; padding-block: 44px; }
.entete-page h1, .fiche-texte h1 { font-size: clamp(2.25rem, 6vw, 4rem); }
.chapeau { font-size: 1.1875rem; margin: 16px 0 0; max-width: 36em; }
.fil { font-size: .875rem; margin-bottom: 22px; color: #c3c9cc; }
.fil a { color: #c3c9cc; } .fil span { color: #fff; }
.fiche-hero { display: grid; background: var(--anthracite); color: #fff; }
.fiche-image { width: 100%; height: 100%; object-fit: cover; display: block; max-height: 560px; }
.fiche-texte { padding: 40px 20px 48px; align-self: center; }
.fiche-mode { display: inline-block; margin: 20px 0 0; padding: 6px 12px; border: 1px solid #55626a; font-size: .875rem; font-weight: 600; letter-spacing: .04em; }
@media (min-width: 900px) { .fiche-hero { grid-template-columns: 1fr 1fr; } .fiche-texte { padding: 56px 48px; } }
.usages { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 32px; }
.usages > div { border-top: 3px solid var(--orange); padding-top: 14px; }
.usages strong { font-size: 1.1875rem; } .usages p { margin: 6px 0 0; color: #3a4348; font-size: .9375rem; }

.texte { max-width: 100%; }
.texte > p, .texte > ul, .texte > ol, .texte > h2, .texte > h3 { max-width: 70ch; }
.texte h2 { font-size: 1.625rem; margin: 1.4em 0 .5em; } .texte h3 { font-size: 1.25rem; margin: 1.2em 0 .4em; }

/* Pied */
.pied { background: var(--anthracite); color: #d5d9db; padding-top: 48px; margin-top: 24px; }
.pied .logo-nom { color: #fff; display: inline-block; margin-bottom: 14px; }
.pied-grille { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pied strong { color: #fff; display: block; margin-bottom: 8px; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li a { color: #d5d9db; text-decoration: none; display: inline-block; padding: 6px 0; }
.pied li a:hover { color: #fff; text-decoration: underline; }
.pied-bas { border-top: 1px solid #36424a; margin-top: 32px; padding-block: 18px; font-size: .875rem; }
