@font-face { font-family: Fraunces; src: url(polices/fraunces.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Fraunces; font-style: italic; src: url(polices/fraunces-italique.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(polices/dm-sans.woff2) format("woff2"); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: "DM Sans"; font-style: italic; src: url(polices/dm-sans-italique.woff2) format("woff2"); font-weight: 100 1000; font-display: swap; }
/* Polices au choix dans les Paramètres : déclarées toutes, mais le navigateur ne télécharge que celles que la page utilise */
@font-face { font-family: "Playfair Display"; src: url(polices/playfair.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Playfair Display"; font-style: italic; src: url(polices/playfair-italique.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: Lora; src: url(polices/lora.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: Lora; font-style: italic; src: url(polices/lora-italique.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: Bitter; src: url(polices/bitter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Bitter; font-style: italic; src: url(polices/bitter-italique.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url(polices/jakarta.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: italic; src: url(polices/jakarta-italique.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: Nunito; src: url(polices/nunito.woff2) format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: Nunito; font-style: italic; src: url(polices/nunito-italique.woff2) format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(polices/source-sans.woff2) format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Source Sans 3"; font-style: italic; src: url(polices/source-sans-italique.woff2) format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
    --creme: #f6f0e4; --lin: #ebe1cd; --blanc: #fffdf8;
    --foret: #1e3a2b; --mousse: #55733f; --pre: #b9cc9a;
    --terre: #b4541f; --ble: #e7b752; --encre: #1b2620; --gris: #4d594a;
    --p-fraunces: Fraunces, Georgia, serif; --p-playfair: "Playfair Display", Georgia, serif; --p-lora: Lora, Georgia, serif; --p-bitter: Bitter, Georgia, serif;
    --p-jakarta: "Plus Jakarta Sans", system-ui, sans-serif; --p-dm-sans: "DM Sans", system-ui, sans-serif; --p-nunito: Nunito, system-ui, sans-serif; --p-source-sans: "Source Sans 3", system-ui, sans-serif;
    /* Trois rôles : grands titres, petits titres, texte courant */
    --titre: var(--p-fraunces); --titre2: var(--p-fraunces); --texte: var(--p-dm-sans);
    --rayon: 1.5rem; --marge: clamp(1.25rem, 5vw, 4rem);
}
/* Une classe par rôle, posée sur <html> par la page et sur l'aperçu du menu Paramètres */
.titres-fraunces { --titre: var(--p-fraunces); } .titres-playfair { --titre: var(--p-playfair); } .titres-lora { --titre: var(--p-lora); } .titres-bitter { --titre: var(--p-bitter); } .titres-jakarta { --titre: var(--p-jakarta); } .titres-dm-sans { --titre: var(--p-dm-sans); } .titres-nunito { --titre: var(--p-nunito); } .titres-source-sans { --titre: var(--p-source-sans); }
.petits-fraunces { --titre2: var(--p-fraunces); } .petits-playfair { --titre2: var(--p-playfair); } .petits-lora { --titre2: var(--p-lora); } .petits-bitter { --titre2: var(--p-bitter); } .petits-jakarta { --titre2: var(--p-jakarta); } .petits-dm-sans { --titre2: var(--p-dm-sans); } .petits-nunito { --titre2: var(--p-nunito); } .petits-source-sans { --titre2: var(--p-source-sans); }
.texte-dm-sans { --texte: var(--p-dm-sans); } .texte-jakarta { --texte: var(--p-jakarta); } .texte-nunito { --texte: var(--p-nunito); } .texte-source-sans { --texte: var(--p-source-sans); } .texte-lora { --texte: var(--p-lora); } .texte-bitter { --texte: var(--p-bitter); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.75rem; }
/* Chiffres alignés : certaines polices de titre les dessinent à hauteurs inégales, peu lisibles pour un téléphone ou un chiffre clé */
body { margin: 0; background: var(--creme); color: var(--encre); font: 1.0625rem/1.65 var(--texte); font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--titre); font-weight: 560; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 22ch; }
h3 { font-family: var(--titre2); font-size: 1.4rem; letter-spacing: -.01em; }
h1 em, h2 em { font-weight: 380; color: var(--terre); }
/* Gras posé par les fermiers : un cran au-dessus du texte, deux dans un titre déjà épais */
b { font-weight: 700; }
:is(h1, h2, h3, strong, summary) b { font-weight: 850; }
p { margin: 0 0 1rem; color: var(--gris); }
/* Les retours à la ligne saisis par les fermiers sont gardés tels quels */
main p, .annonce { white-space: pre-line; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ble); outline-offset: 3px; }

.sur-titre { margin-bottom: 1.1rem; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mousse); }
.chapo { margin-top: 1.5rem; max-width: 56ch; font-size: 1.2rem; line-height: 1.55; }
.petit { font-size: .85rem; }
/* Taille choisie pour un texte dans l'éditeur : le zoom part de sa taille d'origine, quelle qu'elle soit, et emporte interligne et marges */
.g-tres-petit { zoom: .75; } .g-petit { zoom: .875; } .g-grand { zoom: 1.2; } .g-tres-grand { zoom: 1.45; } .g-enorme { zoom: 1.75; }
.trait { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.bouton { display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.6rem; border: 0; border-radius: 99px; background: var(--foret); color: var(--creme); font: 600 1rem/1.2 var(--texte); text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.bouton:hover { transform: translateY(-2px); box-shadow: 0 .8rem 1.6rem -.8rem rgb(30 58 43 / .6); }
.bouton.clair { background: var(--creme); color: var(--foret); }
.bouton.terre { background: var(--terre); color: #fff; }
.bouton[disabled] { opacity: .6; pointer-events: none; }

.annonce { margin: 0; padding: .7rem var(--marge); background: var(--ble); color: var(--encre); text-align: center; font-weight: 600; }

.entete { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem var(--marge); background: color-mix(in srgb, var(--creme) 86%, transparent); backdrop-filter: blur(14px); }
.marque { display: inline-flex; align-items: center; gap: .7rem; color: var(--foret); font: 600 1.15rem/1.05 var(--titre); letter-spacing: -.01em; text-decoration: none; }
.marque svg { flex: none; width: 2.5rem; height: 2.5rem; }
/* Logo envoyé par les fermiers : hauteur fixe, largeur libre mais bornée pour un logo tout en longueur */
.marque img { flex: none; width: auto; height: 2.75rem; max-width: 11rem; object-fit: contain; }
.marque em { display: block; font-weight: 400; color: var(--terre); }
.entete nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.entete nav > a:not(.bouton) { font-weight: 500; text-decoration: none; }
.entete nav > a:not(.bouton):hover { color: var(--terre); }
.entete .bouton { padding: .7rem 1.3rem; }
/* Logo sans nom à côté : il prend le centre et de l'ampleur, le menu à sa gauche, le bouton de devis à sa droite.
   Le menu couvre toute la ligne sous le logo, ce qui garde le logo au centre exact quel que soit le nombre de liens. Page défilée, le logo reprend une taille de barre */
.entete.logo-seul { display: grid; grid-template-columns: 1fr auto 1fr; }
.entete.logo-seul .marque { grid-area: 1 / 2; z-index: 1; }
.entete.logo-seul nav { grid-area: 1 / 1 / 2 / -1; }
.entete.logo-seul nav .bouton { margin-left: auto; }
/* Avec des icônes de réseaux devant lui, ce sont elles qui partent à droite, et le bouton les suit */
.entete.logo-seul nav .reseaux + .bouton { margin-left: 0; }
.entete.logo-seul .marque img { height: clamp(3.75rem, 8vw, 6rem); max-width: min(48vw, 17rem); transition: height .3s; }
.defile .entete.logo-seul .marque img { height: 3rem; }
/* Ce que l'en-tête perd en hauteur, il le rend en marge, au même rythme : sinon toute la page remonte pendant le défilement et un lien du menu arrive sous l'en-tête */
.entete.logo-seul { transition: margin-bottom .3s; }
.defile .entete.logo-seul { margin-bottom: calc(clamp(3.75rem, 8vw, 6rem) - 3rem); }
.court { display: none; }

.m-accueil { position: relative; isolation: isolate; display: grid; align-items: end; min-height: min(84svh, 52rem); margin: 0 clamp(.5rem, 1.5vw, 1.25rem); overflow: hidden; border-radius: 2rem; background: var(--foret); }
.accueil-photo { position: absolute; inset: 0; z-index: -2; margin: 0; }
.accueil-photo img { object-position: center 35%; }
/* Deux voiles, par le bas et par la gauche : le titre reste lisible quelle que soit la photo choisie */
.m-accueil::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(14 30 20 / .82), rgb(14 30 20 / .1) 62%), linear-gradient(to right, rgb(14 30 20 / .62), rgb(14 30 20 / 0) 68%); }
.accueil-texte { max-width: 52rem; padding: clamp(1.5rem, 5vw, 4.5rem); }
.accueil-texte > * { color: var(--creme); }
.m-accueil .sur-titre { color: var(--ble); }
.m-accueil h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); }
.m-accueil h1 em { color: var(--ble); }
.m-accueil h1 + p { margin: 1.4rem 0 2rem; max-width: 40ch; font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.5; }
/* Logo repris au-dessus du titre (réglage du module). Sa hauteur se borne à ce que l'écran laisse une fois titre et boutons placés (environ 41,5 rem) :
   sur un petit portable il rapetisse plutôt que de pousser les boutons hors de vue. L'ombre le détache de la photo */
.accueil-logo { display: none; width: clamp(11rem, 22vw, 29rem); max-height: min(22svh, 100svh - 41.5rem); margin-bottom: 1.5rem; object-fit: contain; object-position: left bottom; filter: drop-shadow(0 .5rem 1.2rem rgb(14 30 20 / .55)); }
.avec-logo .accueil-logo { display: block; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin: 0; }
.lien { font-weight: 600; text-underline-offset: .3em; }

/* Chaque module règle ses couleurs par ces variables : le fond vert les inverse d'un coup, quel que soit le module */
.module { overflow-wrap: anywhere; --c-titre: var(--encre); --c-texte: var(--gris); --c-sur: var(--mousse); --c-accent: var(--terre); --c-carte: var(--lin); --c-bord: transparent; }
.sombre { --c-titre: var(--creme); --c-texte: rgb(246 240 228 / .78); --c-sur: var(--pre); --c-accent: var(--ble); --c-carte: rgb(246 240 228 / .06); --c-bord: rgb(246 240 228 / .16); }
.sombre > .fond { background: var(--foret); }
.fond h2, .fond h3 { color: var(--c-titre); }
.fond h2 em { color: var(--c-accent); }
.fond p { color: var(--c-texte); }
.fond .sur-titre { color: var(--c-sur); }
/* « Couleur » de l'éditeur : partout dans un module, pas seulement dans les grands titres */
.fond em { color: var(--c-accent); }
.accueil-texte em { color: var(--ble); }

/* Espace entre modules : resserré d'un tiers le 29/11/2026 (à l'origine clamp(4rem, 9vw, 7.5rem), et moitié moins sur fond vert) */
.bloc { max-width: 80rem; margin: 0 auto; padding: clamp(2.7rem, 6vw, 5rem) var(--marge); }
.sombre .bloc { padding-block: clamp(1.35rem, 3.3vw, 2.7rem); }
.colle .bloc { padding-top: 0; }
.deux { display: grid; align-items: center; gap: clamp(2.5rem, 6vw, 5.5rem); }

.atouts { display: grid; gap: 1.4rem 2rem; margin: 2.5rem 0 0; padding: 0; list-style: none; color: var(--c-texte); }
.atouts li { padding-left: 1.6rem; position: relative; line-height: 1.5; }
/* Puce en forme de feuille */
.atouts li::before { content: ""; position: absolute; left: 0; top: .4rem; width: .8rem; height: .8rem; border-radius: 0 70% 0 70%; background: var(--c-accent); }
.atouts strong { display: block; color: var(--c-titre); font: 600 1.15rem/1.3 var(--titre2); }

/* Cadre d'une photo : c'est lui qui la rogne, à la forme de sa figure. Une photo agrandie n'en sort pas, et la figure ne rogne ni la légende ni les boutons de l'éditeur */
.cadre { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.cadre img { width: 100%; height: 100%; object-fit: cover; }
.arche { position: relative; margin: 0 1.25rem 1.25rem 0; aspect-ratio: 4 / 5; max-height: 40rem; justify-self: center; width: min(100%, 30rem); border-radius: 20rem 20rem var(--rayon) var(--rayon); box-shadow: 1.25rem 1.25rem 0 var(--pre); }

.pas, .cartes, .nombres { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; margin: 3rem 0 0; padding: 0; list-style: none; }
.pas li, .cartes article, .nombres > div, .question { padding: 2rem 2rem 1.25rem; border: 1px solid var(--c-bord); border-radius: var(--rayon); background: var(--c-carte); }
/* Numéro posé par le navigateur : les étapes se renumérotent seules quand on les déplace */
.pas { counter-reset: pas; }
.pas li::before { counter-increment: pas; content: counter(pas); display: block; margin-bottom: 1.25rem; color: var(--c-accent); font: italic 380 3.6rem/1 var(--titre); }
/* Photo d'une étape : en tête de sa carte, au-dessus du numéro (qui, posé par ::before, viendrait sinon en premier) */
.pas li { display: flex; flex-direction: column; }
.pas-photo { position: relative; order: -1; margin: 0 0 1.5rem; aspect-ratio: 3 / 2; border-radius: 1rem; }
.pas h3, .cartes h3 { margin-bottom: .6rem; }
.cartes .trait { width: 2.4rem; height: 2.4rem; margin-bottom: 1.5rem; color: var(--c-accent); stroke-width: 1.4; }
.nombres strong { display: block; margin-bottom: .5rem; color: var(--c-accent); font: 380 clamp(2.6rem, 5vw, 3.8rem)/1 var(--titre); }

/* Vague resserrée d'un tiers avec l'espace entre modules (à l'origine clamp(2.5rem, 6vw, 5.5rem)) */
.colline { display: block; width: 100%; height: clamp(1.7rem, 4vw, 3.7rem); margin-bottom: -1px; fill: var(--foret); }
.colline.envers { margin: -1px 0 0; transform: scale(-1); }

.grande { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: 2rem; background: var(--c-carte); }
/* Défilement natif (doigt, molette, clavier) ; les flèches ne font que l'accompagner */
.carrousel { position: relative; margin-top: 3rem; }
.piste { display: flex; align-items: center; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--rayon); }
.vue { position: relative; flex: 0 0 min(86%, 52rem); margin: 0; aspect-ratio: 3 / 2; border-radius: var(--rayon); background: var(--c-carte); scroll-snap-align: center; }
.fleche { position: absolute; top: 50%; translate: 0 -50%; width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: var(--creme); color: var(--foret); box-shadow: 0 .6rem 1.4rem -.6rem rgb(30 58 43 / .7); font: 600 1.2rem/1 var(--texte); cursor: pointer; }
.fleche[data-pas="-1"] { left: .75rem; }
.fleche[data-pas="1"] { right: .75rem; }

blockquote { max-width: 52rem; margin: 0 auto; text-align: center; }
blockquote p { color: var(--c-titre); font: italic 380 clamp(1.5rem, 3vw, 2.3rem)/1.3 var(--titre); text-wrap: balance; }
blockquote p::before { content: "« "; color: var(--c-accent); }
blockquote p::after { content: " »"; color: var(--c-accent); }
blockquote footer { color: var(--c-sur); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.questions-liste { display: grid; gap: .75rem; max-width: 56rem; margin-top: 3rem; }
.question { padding: 1.25rem 1.75rem; }
.question summary, .question h3 { color: var(--c-titre); font: 560 1.25rem/1.3 var(--titre2); cursor: pointer; }
.question p { margin: .8rem 0 0; }

.encadre { display: grid; justify-items: center; padding: clamp(2rem, 6vw, 4.5rem); border: 1px solid var(--c-bord); border-radius: 2rem; background: var(--c-carte); text-align: center; }
.encadre p:last-child { margin: 1rem 0 0; }

/* Carrés recadrés : la mosaïque reste rangée quels que soient le nombre et le format des photos envoyées */
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 42vw), 1fr)); align-items: center; gap: 1rem; margin-top: 3rem; }
.galerie figure { position: relative; margin: 0; aspect-ratio: 1; border-radius: var(--rayon); background: var(--c-carte); }
.galerie img { transition: transform .6s; }
.galerie figure:hover img { transform: scale(1.04); }
.grande figcaption, .vue figcaption, .galerie figcaption { position: absolute; left: .8rem; bottom: .8rem; max-width: calc(100% - 1.6rem); padding: .3rem .9rem; border-radius: 1rem; background: var(--creme); color: var(--foret); font-size: .9rem; font-weight: 600; line-height: 1.35; }

/* Forme choisie pour une photo dans l'éditeur : proportion et contour de sa figure, dans n'importe quel module (d'où la place de ces règles, après celles des modules).
   Les boutons de l'éditeur portent les mêmes classes : chacun montre la forme qu'il donne */
:is(figure, i).f-paysage { aspect-ratio: 3 / 2; border-radius: var(--rayon); }
:is(figure, i).f-carre { aspect-ratio: 1; border-radius: var(--rayon); }
:is(figure, i).f-portrait { aspect-ratio: 4 / 5; border-radius: var(--rayon); }
:is(figure, i).f-rond { aspect-ratio: 1; border-radius: 50%; }
:is(figure, i).f-arche { aspect-ratio: 4 / 5; border-radius: 20rem 20rem var(--rayon) var(--rayon); }
:is(figure, i).f-feuille { aspect-ratio: 1; border-radius: 60% 8%; }
/* Logo ou label : ce n'est pas une photo. Montré entier et en petit, sans cadre ni ombre ; son fond blanc se fond dans la page claire (multiply),
   et sur fond vert il garde une plaque blanche, sans quoi il s'y noierait */
figure.f-logo { aspect-ratio: 3 / 2; width: min(100%, 17rem); margin-inline: auto; border-radius: 0; background: none; box-shadow: none; }
/* Le blanc d'un logo photographié ou compressé n'est jamais tout à fait blanc : un rien de clarté le pousse au blanc pur, sinon son rectangle se devinerait */
.f-logo .cadre img { object-fit: contain; mix-blend-mode: multiply; filter: brightness(1.07) contrast(1.05); }
.sombre .f-logo .cadre img { mix-blend-mode: normal; filter: none; }
.sombre .f-logo .cadre { border-radius: var(--rayon); background: #fff; }
/* Une forme haute ne prend pas toute la largeur d'une grande photo ou d'une vue de carrousel : elle dépasserait de l'écran */
.grande:is(.f-carre, .f-rond, .f-feuille) { max-width: 40rem; margin-inline: auto; }
.grande:is(.f-portrait, .f-arche) { max-width: 32rem; margin-inline: auto; }
.vue:is(.f-carre, .f-rond, .f-feuille) { flex-basis: min(70%, 32rem); }
.vue:is(.f-portrait, .f-arche) { flex-basis: min(60%, 26rem); }
/* Sur un rond ou une feuille, la légende dépasse de la photo : une ombre la détache de la page. Sur le rond elle se centre en bas, où son coin serait dans le vide */
:is(.f-rond, .f-feuille) figcaption { box-shadow: 0 .3rem .9rem -.3rem rgb(30 58 43 / .55); }
.f-rond figcaption { left: 0; right: 0; bottom: 0; width: fit-content; max-width: 100%; margin-inline: auto; text-align: center; }

/* Mosaïque à légendes longues : posées sur la photo elles la cacheraient, surtout sur téléphone. Chaque vignette devient alors une carte, comme une étape :
   la photo en haut dans son cadre, la légende dessous dans le flux. La figure n'est plus que la carte ; la forme choisie pour la photo
   (proportion et contour) est redite sur son cadre. Cartes d'une même rangée à la même hauteur ; min-width : la photo ne doit pas élargir la colonne */
.galerie.legendes-dessous { align-items: stretch; }
.galerie.legendes-dessous figure { min-width: 0; aspect-ratio: auto; padding: clamp(.55rem, 1.2vw, .9rem); padding-bottom: 1rem; border: 1px solid var(--c-bord); border-radius: var(--rayon); }
.galerie.legendes-dessous .cadre { position: relative; display: block; aspect-ratio: 1; border-radius: calc(var(--rayon) - .5rem); }
.galerie.legendes-dessous .f-paysage .cadre { aspect-ratio: 3 / 2; }
.galerie.legendes-dessous :is(.f-portrait, .f-arche) .cadre { aspect-ratio: 4 / 5; }
.galerie.legendes-dessous .f-rond .cadre { border-radius: 50%; }
.galerie.legendes-dessous .f-arche .cadre { border-radius: 20rem 20rem calc(var(--rayon) - .5rem) calc(var(--rayon) - .5rem); }
.galerie.legendes-dessous .f-feuille .cadre { border-radius: 60% 8%; }
.galerie.legendes-dessous figcaption { position: static; max-width: none; padding: .7rem .2rem 0; border-radius: 0; background: none; box-shadow: none; color: var(--c-titre); }

.m-contact .deux { align-items: start; }
/* Photo du contact : sur grand écran elle prend la hauteur que le formulaire laisse à la colonne de gauche, et les réseaux sociaux arrivent ainsi
   au niveau du bas du formulaire. Une forme choisie dans l'éditeur lui rend ses proportions ; les réseaux restent en bas quand même */
.contact-photo { position: relative; aspect-ratio: 3 / 2; width: min(100%, 32rem); margin: 1.75rem 0; border-radius: var(--rayon); background: var(--c-carte); }
.m-contact .reseaux { margin-bottom: 0; }
.infos { display: grid; grid-template-columns: auto 1fr; gap: .9rem 1.75rem; margin: 2.5rem 0 2rem; }
.infos dt { padding-top: .35rem; color: var(--mousse); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.infos dd { margin: 0; font: 500 1.3rem/1.35 var(--titre2); }
.infos a { text-decoration: none; }
.infos a:hover { color: var(--terre); }
.reseaux { display: flex; gap: .75rem; }
.reseaux a { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--foret); color: var(--creme); transition: transform .2s, background .2s; }
.reseaux a:hover { transform: translateY(-2px); background: var(--terre); }
/* Dans l'en-tête : plus petites, juste avant le bouton de contact */
.entete .reseaux { gap: .4rem; margin-left: auto; }
.entete .reseaux a { width: 2.4rem; height: 2.4rem; }
.entete .reseaux .trait { width: 1.2rem; height: 1.2rem; }

#formulaire { display: grid; gap: 1.1rem; padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: 2rem; background: var(--blanc); box-shadow: 0 2rem 4rem -2.5rem rgb(30 58 43 / .45); }
#formulaire label { display: grid; gap: .4rem; align-content: start; font-size: .92rem; font-weight: 600; }
#formulaire small { font-weight: 400; color: var(--gris); white-space: nowrap; }
#formulaire label:has(small) { grid-template-columns: auto 1fr; column-gap: .5rem; }
/* Le champ est désigné par sa nature et non par sa place : un gestionnaire de mots de passe glisse son icône après lui dans le libellé */
#formulaire label:has(small) > :is(input, select, textarea) { grid-column: 1 / -1; }
input, select, textarea { width: 100%; padding: .8rem 1rem; border: 1.5px solid #dcd2bd; border-radius: .85rem; background: var(--creme); color: var(--encre); font: 400 1rem/1.4 var(--texte); }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgb(85 115 63 / .3); border-color: var(--mousse); }
#formulaire p { margin: 0; }
.retour:empty { display: none; }
.retour { color: var(--terre); font-weight: 600; }
/* Message parti : il ne reste que le remerciement */
.envoye > :not(.retour) { display: none; }
.envoye .retour { padding: 2rem 0; color: var(--foret); font: 500 1.5rem/1.35 var(--titre2); }
/* Champ piège pour les robots : hors écran plutôt que display:none, que certains robots ignorent */
.miel { position: absolute; left: -200vw; }

.pied { padding: 3.5rem var(--marge) 2.5rem; background: var(--foret); text-align: center; }
.pied .marque { color: var(--creme); text-align: left; }
.pied .marque em { color: var(--ble); }
/* Sur le vert du pied de page, un logo sombre disparaîtrait : il garde un fond clair */
.pied .marque img { height: 3.2rem; padding: .3rem; border-radius: .7rem; background: var(--creme); }
.pied.logo-seul .marque img { height: 6rem; max-width: min(70vw, 17rem); padding: .6rem .9rem; border-radius: 1.1rem; }
.pied p { margin: 1.25rem 0 0; color: rgb(246 240 228 / .75); }
.pied .petit a { color: inherit; text-underline-offset: .25em; }
/* Page des mentions légales : une colonne de lecture étroite, des titres plus discrets que ceux des modules */
.legal { max-width: 46rem; }
.legal h1 { margin-bottom: 1.5rem; font-size: clamp(2rem, 4.4vw, 3rem); }
.legal h2 { margin: 2rem 0 .4rem; font-family: var(--titre2); font-size: 1.3rem; letter-spacing: -.01em; }
.legal .note { padding: .8rem 1rem; border-left: 4px solid var(--terre); border-radius: 0 var(--rayon) var(--rayon) 0; background: var(--c-carte); font-weight: 600; }
.legal .bouton { margin-top: 1.5rem; }

dialog { width: min(44rem, 92vw); max-height: 86vh; padding: clamp(1.5rem, 4vw, 2.5rem); border: 0; border-radius: var(--rayon); background: var(--creme); color: var(--encre); }
dialog::backdrop { background: rgb(14 30 20 / .6); backdrop-filter: blur(3px); }
/* Le titre reçoit le focus à l'ouverture, sinon la fenêtre s'ouvre défilée jusqu'au premier lien */
dialog h2 { margin-bottom: 1rem; font-size: 2rem; outline: none; }
dialog h3 { margin: 1.5rem 0 .4rem; font-size: 1.15rem; }
dialog ul { margin: 0 0 1.5rem; padding-left: 1.2rem; color: var(--gris); font-size: .9rem; }
dialog form { margin-top: 1.5rem; }

.js .apparait { opacity: 0; transform: translateY(1.75rem); transition: opacity .8s, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .apparait.vu { opacity: 1; transform: none; }

@media (min-width: 56rem) {
    .deux { grid-template-columns: 1.1fr .9fr; }
    .atouts { grid-template-columns: 1fr 1fr; }
    #formulaire { grid-template-columns: 1fr 1fr; }
    .large { grid-column: 1 / -1; }
    /* Sans photo, la colonne de gauche accompagne le défilement du formulaire, comme avant ; avec, les deux colonnes font bloc */
    .m-contact .deux > div:not(:has(.contact-photo)) { position: sticky; top: 6rem; }
    .m-contact .deux:has(.contact-photo) { align-items: stretch; }
    .m-contact .deux > div:has(.contact-photo) { display: flex; flex-direction: column; }
    .m-contact .deux > div:has(.contact-photo) .reseaux { margin-top: auto; }
    .contact-photo:not([class*=" f-"]) { flex: 1 1 14rem; min-height: 14rem; aspect-ratio: auto; }
    .image-gauche .deux > figure { order: -1; margin: 0 0 1.25rem 1.25rem; box-shadow: -1.25rem 1.25rem 0 var(--pre); }
}
@media (max-width: 56rem) {
    .entete nav > a:not(.bouton) { display: none; }
    /* Téléphone : les icônes passent à gauche du logo centré, le bouton reste à droite. Sans logo centré, la place manque : elles restent au module Contact */
    .entete.logo-seul .reseaux { gap: .35rem; margin: 0 auto 0 0; }
    .entete.logo-seul .reseaux a { width: 2rem; height: 2rem; }
    .entete:not(.logo-seul) .reseaux { display: none; }
}
@media (max-width: 26rem) {
    .long { display: none; }
    .court { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .apparait { opacity: 1; transform: none; transition: none; }
    .bouton, .galerie img, .reseaux a, .marque img { transition: none; }
    .piste { scroll-behavior: auto; }
}
/* Le rond du logo est de la couleur du pied de page : un liseré le détache */
.pied .marque svg { border-radius: 50%; box-shadow: 0 0 0 1.5px rgb(246 240 228 / .3); }
