/* Page « La concession » (proposition B) — préfixe cc-. S'appuie sur commun.css + habillage du site. */
.cc-aide, .cc-note { font-size: .9rem; color: var(--encre-2); }
.cc-note { margin: .5rem 0 0; }
.cc-b h2 { margin-top: 0; }
.cc-b section { margin-block: 2.5rem; }
.cc-statut { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; margin: 0; padding: .55rem .8rem; background: #e6f4ea; color: #145a27; border-radius: 999px; width: fit-content; max-width: 100%; }
.cc-statut strong { color: inherit; }
.cc-pastille { width: .7rem; height: .7rem; border-radius: 50%; background: #1c8a3a; box-shadow: 0 0 0 3px #bfe3c8; flex: none; }
.cc-statut--ferme { background: var(--fond-teinte); color: var(--encre); }
.cc-statut--ferme .cc-pastille { background: #6b7280; box-shadow: 0 0 0 3px #d5d8dd; }
.cc-statut--inconnu { background: var(--fond-teinte); color: var(--encre); }
.cc-hor { display: grid; gap: 1rem; }
.cc-hor__bloc { background: var(--fond-teinte); border-radius: 10px; padding: .9rem 1rem; margin: 0; }
.cc-b .cc-hor__bloc { margin-block: 0; }
.cc-hor__bloc h3 { margin: 0 0 .2rem; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; color: var(--encre-2); }
.cc-hor__tel { margin: 0 0 .5rem; font-size: 1.25rem; font-weight: 800; }
.cc-hor__tel a, .cc-tel { color: var(--accent-texte); }
.cc-horaires div { padding: .35rem .5rem; border-radius: 6px; }
.cc-horaires .cc-jour { background: var(--accent-pale); font-weight: 700; }
.cc-horaires .cc-jour dt::after { content: " (aujourd'hui)"; font-weight: 600; font-size: .8rem; color: var(--encre-2); }
.cc-bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .55rem 1.1rem; border-radius: 999px; background: var(--accent-bouton); color: #fff; font-weight: 800; text-decoration: none; border: 2px solid var(--accent-bouton); }
.cc-bouton:hover { background: var(--accent-bouton-survol); border-color: var(--accent-bouton-survol); }
.cc-bouton--contour { background: #fff; color: var(--accent-texte); }
.cc-bouton--contour:hover { background: var(--accent-pale); color: var(--accent-texte); }

.cc-b__hero { position: relative; background: var(--sombre); color: #fff; min-height: 18rem; display: flex; align-items: flex-end; overflow: hidden; border-bottom: 4px solid var(--accent); }
.cc-b__hero--sans-photo { min-height: 10rem; }
.cc-b__hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-b__hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgb(0 0 0 / 82%), rgb(0 0 0 / 25%) 70%); }
.cc-b__titre { position: relative; z-index: 2; padding-block: 2rem; }
.cc-b__titre h1 { color: #fff; margin: 0 0 .4rem; }
.cc-b__titre .page__intro { color: #fff; margin: 0; }
.cc-b__barre { background: #fff; border-bottom: 1px solid var(--bord); box-shadow: var(--ombre); }
.cc-b__barre-in { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between; padding-block: .6rem; }
.cc-b__appels { display: flex; flex-wrap: wrap; gap: .4rem .6rem; align-items: center; margin: 0; font-size: .85rem; font-weight: 700; color: var(--encre-2); }
.cc-bande { list-style: none; margin: 1rem 0 0; padding: 0 0 .75rem; display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1rem; -webkit-overflow-scrolling: touch; }
.cc-bande li { position: relative; flex: 0 0 85%; scroll-snap-align: start; }
.cc-bande--1 li { flex-basis: min(100%, 40rem); }
.cc-bande a { display: block; border-radius: 12px; overflow: hidden; }
.cc-bande img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.cc-bande a:focus-visible { outline-offset: -3px; outline-color: #fff; box-shadow: 0 0 0 5px var(--accent-texte); }
.cc-bande:focus-visible { outline: 3px solid var(--accent-texte); outline-offset: 2px; }
@media (min-width: 640px) { .cc-hor { grid-template-columns: 1fr 1fr; } .cc-bande--2 li, .cc-bande--3 li { flex-basis: 48%; } }
@media (min-width: 1000px) { .cc-b__hero { min-height: 26rem; } .cc-b__hero--sans-photo { min-height: 10rem; } .cc-bande--3 li { flex-basis: 32%; } }

/* Nos services : panneau sombre, services en pastilles */
.cc-b .cc-b__services { margin-block: 2.5rem; padding: 1.5rem 1.25rem 1.6rem; background: var(--sombre); color: #fff; border-top: 4px solid var(--accent); border-radius: 12px; overflow-wrap: anywhere; }
.cc-b__services h2 { margin: 0 0 .75rem; color: #fff; }
.cc-serv-texte { margin: 0 0 .75rem; max-width: 60rem; color: #d9dce1; }
.cc-serv-pastilles { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.cc-serv-pastille { display: flex; align-items: flex-start; gap: .5rem; max-width: 100%; padding: .55rem .9rem; background: #25272b; border: 1px solid #3a3d42; border-radius: 1.2rem; color: #fff; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.cc-b__services .cc-serv-coche { flex: none; margin-top: .1em; color: var(--accent); }
@media (min-width: 640px) { .cc-b .cc-b__services { padding: 2rem 2rem 2.1rem; } }

/* Adresse et contact : carte de visite */
.cc-coord__carte { background: var(--fond-teinte); border: 1px solid var(--bord); border-radius: 14px; box-shadow: var(--ombre); overflow: hidden; border-top: 4px solid var(--accent); }
.cc-coord__tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; padding: 1rem 1.1rem .8rem; }
.cc-coord__nom { margin: 0; font-weight: 800; font-size: 1.1rem; line-height: 1.25; color: var(--encre); overflow-wrap: anywhere; min-width: 0; flex: 1 1 14rem; }
.cc-coord__tete .cc-statut { background-clip: padding-box; font-size: .9rem; }
.cc-coord__liste { margin: 0; padding: 0 1.1rem; background: #fff; border-top: 1px solid var(--bord); }
.cc-coord__ligne { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: .8rem; align-items: start; padding: .8rem 0; margin: 0; }
.cc-coord__ligne + .cc-coord__ligne { border-top: 1px solid var(--bord); }
.cc-coord__ico { margin: 0; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 10px; background: var(--accent-pale); color: var(--accent-texte); }
.cc-coord__val { margin: 0; min-width: 0; align-self: center; overflow-wrap: anywhere; color: var(--encre); }
.cc-coord__adr { font-style: normal; line-height: 1.45; }
.cc-coord__tels { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.cc-coord__tel, .cc-coord__mail { display: flex; flex-wrap: wrap; align-items: center; column-gap: .75rem; row-gap: 0; min-height: 44px; padding-block: .2rem; color: var(--accent-texte); text-decoration: none; border-radius: 8px; }
.cc-coord__mail { display: inline-flex; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.cc-coord__lib { flex: 1 1 8rem; min-width: 0; color: var(--encre-2); font-size: .9rem; }
.cc-coord__num { font-weight: 800; font-size: 1.05rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cc-coord__tel:hover .cc-coord__num, .cc-coord__mail:hover { text-decoration: underline; text-underline-offset: 3px; }
.cc-coord__pied { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; padding: .8rem 1.1rem; border-top: 1px solid var(--bord); }
.cc-coord__pied-titre { margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--encre-2); }
.cc-coord__res { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.cc-coord__reseau { display: inline-flex; align-items: center; min-height: 44px; padding: .3rem 1rem; border-radius: 999px; background: #fff; border: 1.5px solid var(--accent-texte); color: var(--accent-texte); font-weight: 700; text-decoration: none; }
.cc-coord__reseau:hover { background: var(--accent-bouton); border-color: var(--accent-bouton); color: #fff; }
@media (min-width: 720px) {
  .cc-coord__carte { max-width: 44rem; }
  .cc-coord__tete, .cc-coord__pied { padding-inline: 1.4rem; }
  .cc-coord__liste { padding-inline: 1.4rem; }
}

/* Nos partenaires (.cc-parts). Écrit en grille centrée : c'est l'affichage sans JavaScript, avec
   « moins d'animations » et pour 1 à 4 partenaires. À partir de 5, le script pose .cc-parts--ronde :
   les cartes s'empilent au centre de la scène et chacune reçoit UNE animation (Web Animations) qui
   la promène tout le long de la ronde — position, taille, opacité. Le navigateur la joue seul :
   le script n'écrit aucun style image par image (cf. app.js, « Partenaires : carrousel continu »). */
.cc-parts__liste { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.cc-parts__carte { position: relative; flex: 0 1 11rem; height: 5.5rem; margin: 0; background: var(--sombre-2); border-radius: 12px; color: #fff; font-weight: 700; text-align: center; }
.cc-parts__in { display: grid; place-items: center; width: 100%; height: 100%; padding: .6rem; border-radius: inherit; color: #fff; text-decoration: none; overflow: hidden; }
.cc-parts__in img { display: block; width: auto; height: auto; max-width: 84%; max-height: 64%; object-fit: contain; }
.cc-parts__nom { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; padding: 0 .3rem; line-height: 1.2; font-size: .95rem; overflow-wrap: anywhere; hyphens: auto; }
a.cc-parts__in:hover { outline: 2px solid var(--accent); outline-offset: -2px; }
a.cc-parts__in:focus-visible { outline: 3px solid #fff; outline-offset: -3px; box-shadow: 0 0 0 3px var(--accent-texte); }
@media (max-width: 479.98px) { .cc-parts__carte { flex-basis: calc(50% - .375rem); } }

.cc-parts__ctrl { display: flex; justify-content: center; align-items: center; gap: .75rem; margin-top: .9rem; }
.cc-parts__ctrl[hidden] { display: none; }
.cc-parts__btn { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; background: #fff; color: var(--encre); border: 1px solid var(--bord); border-radius: 999px; box-shadow: var(--ombre); cursor: pointer; }
.cc-parts__btn:hover { border-color: var(--accent-texte); color: var(--accent-texte); }
.cc-parts__btn svg { pointer-events: none; }
.cc-parts__ico--lecture, .cc-parts--pause .cc-parts__ico--pause { display: none; }
.cc-parts--pause .cc-parts__ico--lecture { display: block; }

/* Ronde : la largeur d'une carte (--w) et la hauteur de la scène sont posées par le script sur la
   SCÈNE seule (une écriture par redimensionnement), d'après la largeur disponible. Pas
   d'overflow:hidden : les cartes hors champ attendent, invisibles, à l'intérieur de la scène. */
.cc-parts--ronde .cc-parts__scene { --w: 10rem; position: relative; height: calc(var(--w) * .55 + 1rem); touch-action: pan-y; }
.cc-parts--ronde .cc-parts__liste { display: block; position: relative; height: 100%; }
.cc-parts--ronde .cc-parts__carte { position: absolute; top: .5rem; left: 50%; width: var(--w); height: calc(var(--w) * .55); margin-left: calc(var(--w) / -2); opacity: 0; }
.cc-parts--ronde .cc-parts__nom { font-size: clamp(.7rem, calc(var(--w) * .085), 1rem); }
