/* saint-charles — surcharges : titres Anton en capitales serrées (interligne .92), cadres 3 px, angles vifs, étoiles de prix */
h1, h2, h3 { text-transform: uppercase; line-height: .92; letter-spacing: .005em; }
h3 { font-size: 1.9rem; }
a { text-decoration-color: var(--bleu); }
.entete { border-bottom-color: var(--orange); }
.marque { font-size: 1.5rem; text-transform: uppercase; letter-spacing: .02em; }
.marque small { color: var(--champ); text-transform: none; letter-spacing: 0; }
.menu a:hover, .menu a[aria-current] { border-color: var(--orange); }
.menu-bouton { background: var(--champ); }
.menu .bouton { background: var(--orange); border-color: var(--orange); color: #161616; }
.menu .bouton:hover { background: var(--champ); border-color: var(--champ); }
.bouton:hover { background: var(--orange); border-color: var(--orange); color: #161616; }
.hero { background: var(--champ); }
.hero h1 { max-width: 12ch; }
.hero-visuel .etiquette-photo { border-width: 3px; transform: rotate(1.5deg); }
.hero-visuel figcaption span:last-child { color: var(--rouge); }
.hero-visuel img { aspect-ratio: 4 / 3; }
.hero-actions .bouton-second { border-color: #161616; }

/* étoile de prix : le détail d'enseigne */
.etoile { display: grid; place-items: center; text-align: center; width: 148px; aspect-ratio: 1; background: var(--orange); color: #161616; font-family: var(--police-titre); text-transform: uppercase; line-height: .95; font-size: 1.25rem; clip-path: polygon(50% 0, 61% 14%, 79% 9%, 82% 27%, 99% 34%, 90% 50%, 99% 66%, 82% 73%, 79% 91%, 61% 86%, 50% 100%, 39% 86%, 21% 91%, 18% 73%, 1% 66%, 10% 50%, 1% 34%, 18% 27%, 21% 9%, 39% 14%); padding: 18px; }
.etoile small { display: block; font-family: var(--police-texte); font-weight: 800; font-size: .875rem; text-transform: none; margin-top: 2px; }
.hero .etoile { position: absolute; right: 26px; top: -34px; transform: rotate(8deg); z-index: 2; }
.pastille { display: none; }

/* recherche d'article : le premier clic */
.cherche { margin-top: var(--e-3); background: var(--papier); border: var(--cadre); padding: var(--e-2) var(--e-3) var(--e-3); max-width: 560px; }
.cherche label { display: block; font-family: var(--police-titre); text-transform: uppercase; font-size: 1.4rem; line-height: 1; margin-bottom: 10px; }
.cherche-champ { display: flex; gap: 8px; }
.cherche-champ input { flex: 1; min-width: 0; font: inherit; font-size: 1.05rem; padding: 12px 14px; border: 3px solid var(--filet); background: #fff; min-height: 50px; }
.cherche-champ input:focus { outline: 3px solid var(--bleu); outline-offset: 0; }
.cherche-champ .bouton { padding-inline: 18px; }
.cherche-exemples { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.cherche-exemples button { font: inherit; font-weight: 700; font-size: .875rem; padding: 6px 12px; min-height: 36px; background: var(--fond); border: 2px solid var(--filet); color: var(--encre); }
.cherche-exemples button:hover { background: var(--champ); }
.cherche-reponse { margin-top: 14px; padding-top: 12px; border-top: 3px solid var(--filet); min-height: 52px; }
.cherche-reponse p { margin: 0 0 6px; max-width: none; }
.cherche-reponse .rep-rayon { font-family: var(--police-titre); text-transform: uppercase; font-size: 1.5rem; line-height: 1; }
.cherche-reponse a { color: var(--lien); font-weight: 700; }
.cherche-reponse[data-actif] { animation: sos-entree 160ms var(--ease-sortie); }
@keyframes sos-entree { from { opacity: .2; transform: translateY(4px); } }

.offre { background: var(--fond); }
.rayons li { border-bottom-width: 3px; padding-inline: 0; transition: background-color 120ms linear; }
.rayons li.trouve { background: var(--champ); outline: 3px solid var(--filet); outline-offset: -3px; padding-inline: 14px; }
.rayons .repere { color: var(--encre); background: #fff; padding: 6px 10px; border: 2px solid var(--filet); justify-self: start; }
.rayons p { color: var(--encre-2); }
.offre-note { background: #fff; border: var(--cadre); }
.offre-note a { color: var(--encre); font-weight: 800; }

#preuve { background: var(--orange); color: #161616; }
#preuve h2 { color: #161616; }
#preuve .services figure { background: #fff; }
.services-liste .tarif { background: var(--champ); border-width: 3px; font-size: 1.15rem; }
.services-liste li { grid-template-columns: 78px 1fr; }
#preuve a { text-decoration-color: #161616; }
.galerie { background: var(--fond); }
/* mosaïque fond perdu : images bord à bord, sans carte ni cadre, légende en étiquette noire posée sur l'image */
.galerie .mosaique { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.galerie .mosaique li, .galerie .mosaique li:nth-child(n) { grid-column: auto; padding: 0; border: 0; background: transparent; position: relative; }
.galerie .mosaique figure { margin: 0; position: relative; }
.galerie .mosaique img, .galerie .mosaique li:nth-child(n) img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
.galerie .mosaique figcaption { position: absolute; left: 0; bottom: 0; background: var(--sombre); color: #fff; padding: 8px 14px; max-width: 85%; font-weight: 700; }
@media (min-width: 700px) {
  .galerie .mosaique { grid-template-columns: repeat(6, 1fr); }
  .galerie .mosaique li:nth-child(1), .galerie .mosaique li:nth-child(4) { grid-column: span 4; }
  .galerie .mosaique li:nth-child(2), .galerie .mosaique li:nth-child(3) { grid-column: span 2; }
  .galerie .mosaique li:nth-child(n) img { aspect-ratio: auto; height: 100%; min-height: 300px; position: absolute; inset: 0; }
  .galerie .mosaique li:nth-child(n) figure { height: 100%; min-height: 300px; }
}
.zone { background: var(--sombre); }
.ouvert { background: var(--champ); }
.horaires { border-top-color: var(--orange); }
.zone .etoile { margin-top: var(--e-3); background: var(--champ); }
.faq-liste summary::after { color: var(--encre); }
.faq-liste { border-top-width: 3px; }
.contact { background: var(--champ); }
.contact .formulaire { border-width: 3px; }
.contact .formulaire .confirmation { background: var(--champ); }
.contact .coordonnees a { color: #161616; }
.formulaire input, .formulaire textarea { border-color: #161616; }
.pied { border-top-width: 3px; }
.barre-mobile { display: none; }
@media (max-width: 699px) {
  .barre-mobile { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 30; border-top: 3px solid var(--filet); }
  .barre-mobile a { display: flex; align-items: center; justify-content: center; min-height: 54px; font-weight: 800; text-decoration: none; background: var(--champ); color: #161616; }
  .barre-mobile a:last-child { background: var(--sombre); color: #fff; }
  .pied { padding-bottom: 84px; }
  .hero .etoile { width: 124px; right: 14px; top: -26px; font-size: 1rem; padding: 12px; }
}
.hero .contenu > * { min-width: 0; }
.cherche-champ .bouton { flex: none; }
:root { --t-1: clamp(3rem, 1.4rem + 6vw, 5.2rem); }
.hero h1 { max-width: 15ch; }
.hero { padding-block: var(--e-4); }
@media (min-width: 700px) { .hero { padding-block: var(--e-6); } .hero .contenu { grid-template-columns: 1.25fr .75fr; } }
/* marges explicites des sections colorées */
section.hero, section.galerie, section.zone, section.contact, section#preuve { padding-left: 24px; padding-right: 24px; padding-top: 48px; padding-bottom: 64px; }
@media (min-width: 700px) { section.hero, section.galerie, section.zone, section.contact, section#preuve { padding-left: 40px; padding-right: 40px; padding-top: 72px; padding-bottom: 96px; } }
