/* « Nous contacter » en questions (24/09/2026).
   Même grammaire que les quatre questions de la page du salon (offres.css) :
   la jauge fine, le titre en capitales, des cartes au contour noir qui se
   remplissent au toucher, et « Retour · Continuer » en bas. */

.cq-page { max-width: 560px; margin: 0 auto; }
.cq-page .subtitle { margin-bottom: 34px; }

.cq { display: flex; flex-direction: column; gap: 0; scroll-margin-top: 90px; }
.cq__tete { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.cq__label { font-size: 10px; letter-spacing: .24em; font-weight: 700; color: var(--ink); white-space: nowrap; }
.cq__jauge { flex: 1; display: flex; gap: 3px; }
.cq__jauge i { flex: 1; height: 2px; background: var(--hairline); transition: background .4s cubic-bezier(.16,.84,.28,1); }
.cq__jauge i.on { background: var(--ink); }

.cq__step { display: flex; flex-direction: column; gap: 16px; min-height: 330px; animation: cq-entre .45s cubic-bezier(.16,.84,.28,1) both; }
.cq__step[hidden] { display: none; }
@keyframes cq-entre { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cq__step { animation: none; } }

.cq__h { margin: 0 0 4px; font-size: clamp(24px, 6vw, 30px); line-height: 1.05; font-weight: 700; text-transform: uppercase; color: var(--ink); }
.cq__aide { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.cq__micro { margin-top: 18px; font-size: 10px; letter-spacing: .2em; font-weight: 700; text-transform: uppercase; color: var(--ink); }

/* Les cartes : le vrai champ (radio ou case) est caché, la carte est son étiquette. */
.cq__cartes { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.cq__cartes input, .cq__cache { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.cq__carte {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 78px; padding: 18px 20px; cursor: pointer;
  border: 1px solid var(--ink); background: #fff; color: var(--ink);
  font-size: 17px; font-weight: 600;
  transition: background .3s cubic-bezier(.16,.84,.28,1), color .3s ease, transform .3s cubic-bezier(.16,.84,.28,1);
}
.cq__carte--petite { min-height: 56px; font-size: 15px; padding: 14px 18px; }
/* La petite ligne en capitales, comme les cartes de « Votre formule » (offres.css). */
.cq__carte-txt { display: flex; flex-direction: column; gap: 8px; text-align: left; min-width: 0; }
.cq__sous { font-size: 8px; letter-spacing: .22em; font-weight: 700; }
.cq__carte { min-height: 92px; }
.cq__carte--petite { min-height: 74px; }
.cq__puce { width: 12px; height: 12px; min-width: 12px; border: 1px solid currentColor; transition: background .25s ease; }
input:checked + .cq__carte { background: var(--ink); color: #fff; transform: translateX(6px); }
input:checked + .cq__carte .cq__puce { background: #fff; }
input:focus-visible + .cq__carte { outline: 2px solid var(--ink); outline-offset: 3px; }
.cq__carte:hover { transform: translateX(3px); }

/* Combien de jours : − 2 + */
/* Sans cadre (24/09, Lendry : « trop de cadre tue le cadre ») : une ligne comme
   les champs, le titre comme leurs étiquettes, − et + nus. */
.cq__compteur { display: flex; align-items: center; gap: 6px; padding: 2px 0 6px; border-bottom: 1px solid var(--hairline); animation: cq-entre .35s cubic-bezier(.16,.84,.28,1) both; }
.cq__compteur[hidden] { display: none; }
.cq__compteur-titre { flex: 1; font-size: 10px; letter-spacing: .2em; font-weight: 600; text-transform: uppercase; color: var(--muted); }
.cq__compteur button { width: 44px; height: 44px; border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }
.cq__compteur button:disabled { opacity: .25; cursor: default; }
.cq__compteur output { min-width: 2ch; text-align: center; font-size: 22px; font-weight: 700; }

/* Comment nous avez-vous connus : des pastilles, une seule à la fois. */
.cq__pastilles { display: flex; flex-wrap: wrap; gap: 6px; }
.cq__pastille {
  padding: 10px 14px; border: 1px solid #c9c6c1; background: #fff; color: var(--ink);
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.cq__pastille.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.cq .field input, .cq .field textarea { font-size: 17px; }

/* Retour · Continuer — la barre de la page du salon. */
.cq__nav { display: flex; margin-top: 28px; border-top: 1px solid var(--ink); }
.cq__nav button { min-height: 58px; border: 0; background: #fff; font: inherit; font-size: 10px; letter-spacing: .22em; font-weight: 700; text-transform: uppercase; cursor: pointer; }
.cq__retour { flex: 0 0 34%; color: var(--muted); border-right: 1px solid var(--ink) !important; }
.cq__retour:disabled { opacity: .35; cursor: default; }
.cq__suivant { flex: 1; color: var(--muted); transition: background .3s cubic-bezier(.16,.84,.28,1), color .3s ease; }
.cq__suivant.on { background: var(--ink); color: #fff; }
.cq__suivant[hidden] { display: none; }

.cq-aside { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--hairline); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ——— Les photos, une par question (24/09/2026) ———
   Au téléphone : un bandeau en haut, qui change en fondu à chaque question.
   Sur grand écran : la photo à gauche, les questions à droite, comme les
   pages de la page du salon. */
.page main.cq-page { padding-top: calc(var(--nav-h) + 14px); }
.cq-photo { position: relative; margin: 0 calc(-1 * clamp(18px, 5vw, 40px)) 26px; height: clamp(170px, 27vh, 260px); overflow: hidden; background: #111; }
.cq-photo picture { display: block; position: absolute; inset: 0; }
.cq-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos-m, var(--pos, 50% 40%)); opacity: 0; transform: scale(1.06); transition: opacity .8s cubic-bezier(.16,.84,.28,1), transform 6s cubic-bezier(.16,.84,.28,1); }
.cq-photo picture.on img { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .cq-photo picture, .cq-photo img { transition: none; } }

/* Le titre « Nous contacter » : à la première question seulement. */
.cq-intro { overflow: hidden; max-height: 260px; transition: max-height .5s cubic-bezier(.16,.84,.28,1), opacity .35s ease; }
.cq-page--suite .cq-intro { max-height: 0; opacity: 0; }

/* Sur grand écran (Mac, iPad) : la photo remplit toute la moitié gauche, sous
   l'en-tête, et reste immobile ; les questions sont à droite, sur le blanc
   (24/09, Lendry). Le plein écran avait été essayé : les photos (1 066 à
   2 000 px de large) y étaient étirées jusqu'à trois fois, floues sur un Mac.
   La hauteur minimale écarte l'iPhone tenu en largeur (932 × 430), qui garde
   son bandeau. */
@media (min-width: 900px) and (min-height: 600px) {
  .page main.cq-page { display: block; max-width: none; padding: calc(var(--nav-h) + 56px) 0 64px 50vw; }
  .cq-photo { position: fixed; top: var(--nav-h); left: 0; bottom: 0; width: 50vw; height: auto; margin: 0; z-index: 0; }
  .cq-photo img { object-position: var(--pos-d, var(--pos, 50% 40%)); }
  .cq-corps { max-width: 520px; margin: 0 auto; padding: 0 40px; }
}

/* L'en-tête sur la photo (téléphone) : « Menu » et le logo passent en blanc,
   comme sur la vidéo de la page d'accueil. */
.site-header.sur-photo { color: #fff; }
.site-header.sur-photo .menu-trigger { text-shadow: 0 0 10px rgba(0,0,0,.35); }
.site-header.sur-photo .wordmark img { filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(0,0,0,.3)); }

/* Les menus jour · mois · année : Safari sur Mac leur donnait son habit à lui
   (arrondi, ombre). Même trait que les autres champs, flèche dessinée. */
.cq .champ-fr select {
  -webkit-appearance: none; appearance: none; border: 0; border-bottom: 1px solid var(--hairline); border-radius: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23111' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 4px center;
  padding: 9px 20px 9px 2px; font: inherit; font-size: 17px; color: var(--ink); box-shadow: none;
}
.cq .champ-fr select:focus { outline: none; border-bottom-color: var(--ink); }

/* « Ou écrivez-nous » : une ligne discrète sous les boutons, pour qui préfère un mail. */
.cq-direct { margin: 22px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.cq-direct a { color: var(--ink); }
