/* Home page mock-up (2026-11-19). */
.accueil { gap: 2.2rem; }
.accueil-tete { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 0.6rem 1.5rem; border-bottom: 3px double var(--ink); padding-bottom: 1rem; }
.accueil-tete .kicker { grid-column: 1; grid-row: 1; margin: 0; align-self: center; }
.accueil-espace { grid-column: 2; grid-row: 1; justify-self: end; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 3rem; padding: 0.6rem 1.2rem; border-radius: 999px; background: var(--sign-red); color: #fff; text-decoration: none; font: 700 1.2rem/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; box-shadow: 0 4px 12px rgba(196,18,47,.28); }
.accueil-espace:hover { filter: brightness(1.08); }
.accueil-tete .devise { grid-column: 1 / -1; grid-row: 3; margin: 0.2rem 0 0; font: italic 700 clamp(1.15rem, 3.2vw, 1.5rem)/1.2 "Source Serif 4", Georgia, serif; }
.accueil-tete .devise span { color: var(--sign-red); }
.accueil-marque { justify-self: start; }
.accueil-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.3rem 1.2rem; font: 700 1.05rem/1.2 var(--display); text-transform: uppercase; letter-spacing: 0.06em; }
.accueil-nav a { color: var(--ink); text-decoration: none; }
.accueil-nav a:hover { text-decoration: underline; }
@media (max-width: 40rem) { .accueil-tete { grid-template-columns: 1fr auto; } .accueil-tete > .panneau, .accueil-nav { grid-column: 1 / -1; } .accueil-nav { justify-content: flex-start; } .accueil-espace { font-size: 1rem; padding: 0.5rem 0.9rem; min-height: 2.75rem; } }

.filet { display: flex; align-items: center; gap: 0.7rem; margin: 0 0 1rem; font: 700 clamp(1.7rem, 5vw, 2.2rem)/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; }
.filet::after { content: ""; flex: 1; border-top: 3px solid var(--ink); }
.filet.petit { font-size: 1.35rem; }

.villages-suite { margin: 0.8rem 0 0; max-width: 46rem; font-size: 1rem; }
.carte-bloc { margin-top: 1.4rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; background: var(--surface); border: 3px solid var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.carte-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.carte-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; transition: transform .4s ease; }
.carte-bloc:hover .carte-image img { transform: scale(1.03); }
.carte-texte { padding: 1.1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.7rem; }
.carte-kicker { margin: 0; font: 700 0.9rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--sign-red); }
.carte-texte h2 { margin: 0; font: 700 clamp(1.6rem, 4.5vw, 2.3rem)/1.02 var(--display); text-transform: uppercase; }
.carte-texte > p { margin: 0; font-size: 1.08rem; line-height: 1.45; }
.carte-label { font-weight: 700; display: block; margin-bottom: .35rem; }
.carte-champ { display: flex; flex-wrap: wrap; gap: .5rem; }
.carte-champ input { flex: 1 1 12rem; min-height: 3rem; font: inherit; font-size: 1.05rem; padding: .6rem .8rem; border: 2px solid var(--ink); border-radius: 8px; background: var(--field); color: var(--ink); }
.carte-champ button { flex: 0 0 auto; min-height: 3rem; font: 700 1.05rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase; background: var(--sign-red); color: #fff; border: 0; border-radius: 8px; padding: .7rem 1.1rem; cursor: pointer; }
.secteurs-puces { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; }
.secteurs-puces a { text-decoration: none; font-weight: 700; color: var(--ink); border: 2px solid var(--rule); border-radius: 999px; padding: .45rem .9rem; background: var(--ground); }
.secteurs-puces a:hover, .secteurs-puces a:focus-visible { border-color: var(--ink); }
.secteurs-editions { margin: 0; max-width: 46rem; font-size: 1rem; line-height: 2; }
.secteurs-sous { margin: 1.1rem 0 .5rem; font: 700 1rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .05em; color: var(--soft); }
.carte-puces { display: flex; flex-wrap: wrap; gap: .45rem; }
.carte-puces a { text-decoration: none; font-weight: 700; color: var(--ink); border: 2px solid var(--rule); border-radius: 999px; padding: .35rem .8rem; background: var(--ground); }
.carte-puces a:hover { border-color: var(--ink); }
@media (min-width: 760px) { .carte-bloc { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } .carte-image { aspect-ratio: auto; min-height: 100%; } .carte-texte { padding: 1.5rem; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .carte-image img { transition: none; } .carte-bloc:hover .carte-image img { transform: none; } }
.recherche { position: relative; max-width: none; padding: clamp(1.1rem, 4vw, 2rem) clamp(1.1rem, 4vw, 2.4rem); background: var(--yellow); color: #15181C; border: 3px solid #15181C; border-radius: 0.6rem; box-shadow: 0.35rem 0.35rem 0 #15181C; }
.recherche-label { display: block; margin: 0 0 0.7rem; font: 700 clamp(1.4rem, 4.5vw, 1.9rem)/1.15 var(--display); text-transform: uppercase; letter-spacing: 0.04em; color: #15181C; }
.recherche-champ { display: flex; gap: 0.6rem; }
.recherche-champ input { flex: 1; min-width: 0; padding: 1.05rem 1.2rem; font-family: inherit; font-size: clamp(1.25rem, 4vw, 1.5rem); line-height: 1.2; color: #15181C; background: #fff; border: 3px solid #15181C; border-radius: 0.4rem; }
.recherche-champ input::placeholder { color: #6b6f75; }
.recherche-champ input:focus-visible { outline: 4px solid var(--sign-red); outline-offset: 2px; }
.recherche-champ button { padding: 1.05rem 1.6rem; font: 700 clamp(1.2rem, 3.6vw, 1.4rem)/1 var(--display); text-transform: uppercase; letter-spacing: 0.05em; color: #fff; background: var(--sign-red); border: 3px solid #15181C; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.recherche-champ button:hover, .recherche-champ button:focus-visible { background: #15181C; color: #fff; outline: none; }
.recherche-nb { min-height: 0; margin: 0.5rem 0 0; font-size: 1rem; color: #15181C; }
.recherche-nb:empty { display: none; }
.recherche-liste { list-style: none; margin: 0.2rem 0 0; padding: 0; background: #fff; border: 3px solid #15181C; border-radius: 0.4rem; overflow: hidden; }
.recherche-liste li + li { border-top: 1px solid #d9d9d9; }
.recherche-liste a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 1.1rem; color: #15181C; text-decoration: none; font-size: 1.25rem; }
.recherche-liste a:hover, .recherche-liste a:focus-visible { background: #15181C; color: #fff; outline: none; }
.recherche-liste small { color: inherit; opacity: 0.7; font-size: 1rem; }
@media (max-width: 30rem) { .recherche-champ { flex-direction: column; } .recherche-champ button { width: 100%; } }

.rubrique { margin: 0; display: inline-block; font: 700 0.95rem/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; background: var(--ink); color: var(--ground); padding: 0.35rem 0.6rem; }
.titre-journal { margin: 0.6rem 0 0.5rem; font: 700 clamp(2rem, 6vw, 3.2rem)/1.05 "Source Serif 4", Georgia, serif; text-wrap: balance; }
.idee .chapo, .commerces .chapo { border-bottom: 1px solid var(--ink); padding-bottom: 1rem; margin-bottom: 1.3rem; }
.colonnes { display: grid; gap: 1.2rem 2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.colonnes article + article { border-left: 0; }
@media (min-width: 60rem) { .colonnes { grid-template-columns: repeat(4, minmax(0, 1fr)); } .colonnes article + article { border-left: 1px solid var(--rule); padding-left: 1.2rem; margin-left: -1rem; } }
.colonnes h3, .services h3 { margin: 0 0 0.35rem; font: 700 1.3rem/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; }
.colonnes p, .services p { margin: 0; font-size: 1.02rem; hyphens: auto; }
.citation { margin: 1.8rem auto 1rem; max-width: 46rem; text-align: center; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); padding: 1rem 0.5rem; }
.citation p { margin: 0; font: italic 400 clamp(1.35rem, 4vw, 1.8rem)/1.3 "Source Serif 4", Georgia, serif; }
.citation p::before { content: "« "; } .citation p::after { content: " »"; }
.regle { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }

.services { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.services li { counter-increment: s; background: var(--surface); border: 1px solid var(--rule); border-top: 4px solid var(--ink); padding: 1rem 1.1rem 1.1rem; }
.services li::before { content: counter(s, decimal-leading-zero); display: block; font: 700 1.8rem/1 var(--display); color: var(--sign-red); margin-bottom: 0.3rem; }
.etapes { margin-top: 2rem; }
.etapes ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); counter-reset: e; }
.etapes li { counter-increment: e; display: flex; flex-direction: column; gap: 0.2rem; padding-left: 3rem; position: relative; }
.etapes li::before { content: counter(e); position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--yellow); color: var(--yellow-ink); border: 2px solid var(--ink); display: grid; place-items: center; font: 700 1.2rem/1 var(--display); }
.etapes strong { font: 700 1.2rem/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; }

.partenaire { border: 3px solid var(--ink); background: var(--surface); padding: 1.4rem 1.4rem 1.5rem; box-shadow: 6px 6px 0 var(--yellow); }
.partenaire .chapo { border-bottom: 1px solid var(--ink); padding-bottom: 1rem; margin-bottom: 1.3rem; }
.avantages { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.avantages h3 { margin: 0 0 0.3rem; font: 700 1.2rem/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; }
.avantages h3::before { content: "✓ "; color: var(--sign-red); }
.avantages p { margin: 0; font-size: 1.02rem; }
.partenaire-fin { margin: 1.3rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; }
.partenaire-fin .bouton { border: 2px solid var(--ink); }


/* Comment ça marche: a path that fills as you scroll, with Autour's little « de » sign travelling along it. */
.chemin { position: relative; margin-top: 1.5rem; --x: 1.6rem; }
.chemin-ligne { position: absolute; top: 0.5rem; bottom: 0.5rem; left: var(--x); width: 6px; margin-left: -3px; background: repeating-linear-gradient(to bottom, var(--rule) 0 10px, transparent 10px 18px); border-radius: 3px; }
.chemin-rempli { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--p, 0) * 100%); background: var(--sign-red); border-radius: 3px; }
.chemin-panneau { position: absolute; left: 50%; top: calc(var(--p, 0) * 100%); width: 3.4rem; height: 1.5rem; transform: translate(-50%, -50%) rotate(-6deg); cursor: grab; touch-action: none; filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); z-index: 2; }
.chemin-panneau svg { width: 100%; height: 100%; display: block; }
.chemin-panneau:active { cursor: grabbing; }
.etapes-chemin { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2.2rem; }
.etape { position: relative; display: grid; grid-template-columns: calc(var(--x) * 2) minmax(0, 1fr); gap: 1rem; align-items: start; }
.etape-icone { width: 3.2rem; height: 3.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--ink); border: 3px solid var(--ink); position: relative; z-index: 1; transition: transform .45s cubic-bezier(.3,1.6,.5,1), background .3s, color .3s; }
.etape-texte { background: var(--surface); border: 1px solid var(--rule); border-left: 5px solid var(--ink); padding: 0.8rem 1rem; max-width: 34rem; transition: opacity .5s, transform .5s; }
.etape-num { font: 700 0.9rem/1 var(--display); letter-spacing: .1em; color: var(--sign-red); }
.etape h3 { margin: 0.2rem 0 0.3rem; font: 700 1.35rem/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; }
.etape p { margin: 0; font-size: 1.02rem; }
html:not(.sans-js) .etape:not(.on) .etape-texte { opacity: 0.25; transform: translateX(14px); }
html:not(.sans-js) .etape:not(.on) .etape-icone { transform: scale(0.75); color: var(--ink-soft); border-color: var(--rule); }
.etape.on .etape-icone { background: var(--yellow); color: #15181C; }
.etape.on .etape-icone::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--sign-red); animation: onde .8s ease-out 1 forwards; }
@keyframes onde { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.etape:last-child.on .etape-icone { background: var(--sign-red); color: #fff; animation: battement 1.2s ease-in-out 2; }
@keyframes battement { 50% { transform: scale(1.15); } }
@media (min-width: 60rem) {
  .chemin { --x: 50%; }
  .chemin-ligne { left: 50%; }
  .etape { grid-template-columns: minmax(0, 1fr) 4rem minmax(0, 1fr); gap: 1.5rem; }
  .etape-icone { grid-column: 2; grid-row: 1; justify-self: center; }
  .etape:nth-child(odd) .etape-texte { grid-column: 1; grid-row: 1; justify-self: end; border-left: 1px solid var(--rule); border-right: 5px solid var(--ink); text-align: right; }
  .etape:nth-child(even) .etape-texte { grid-column: 3; grid-row: 1; }
  html:not(.sans-js) .etape:nth-child(odd):not(.on) .etape-texte { transform: translateX(-14px); }
}
.slogan { margin: 2.2rem 0 0; text-align: center; font: 700 clamp(1.8rem, 6vw, 3rem)/1.1 "Source Serif 4", Georgia, serif; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.2rem 0.7rem; }
.slogan span:last-child { color: var(--sign-red); }
html:not(.sans-js) .slogan:not(.on) span { opacity: 0; transform: translateY(10px); }
.slogan span { transition: opacity .6s, transform .6s; }
.slogan.on span:nth-child(2) { transition-delay: .25s; } .slogan.on span:nth-child(3) { transition-delay: .5s; }
@media (prefers-reduced-motion: reduce) { .etape-icone, .etape-texte, .slogan span { transition: none !important; animation: none !important; } }

.contact { display: flex; gap: 1.5rem; align-items: center; background: var(--ink); color: var(--ground); padding: 1.5rem; border-radius: 0.3rem; }
.contact img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid var(--ground); }
.contact h2 { margin: 0 0 0.4rem; font: 700 clamp(1.7rem, 5vw, 2.3rem)/1.05 var(--display); text-transform: uppercase; letter-spacing: 0.03em; }
.contact p { margin: 0 0 0.9rem; max-width: 40rem; }
.contact-boutons { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 0 !important; }
.bouton { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.1rem; border-radius: 999px; background: var(--yellow); color: #15181C; font-weight: 700; text-decoration: none; }
.bouton-clair { background: var(--ground); color: var(--ink); }
.commerces-annonce .bouton-clair { border: 2px solid var(--ink); }
.commerces-annonce { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 1rem 0 1.5rem; }
.bouton-clair svg { color: #25D366; }
.bouton:hover span { text-decoration: underline; }
@media (max-width: 40rem) { .contact { flex-direction: column; align-items: flex-start; } .contact img { width: 110px; height: 110px; } }
