/* Lacoloc.fr : sections des pages de présentation (héros, cartes, raisons, tarifs, critères, trio, mosaïque…) */

.ancre { display: block; height: 0; scroll-margin-top: calc(var(--entete) + 10px); }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.sombre .boutons .btn--contour { --texte: #fff; }
.section-tete { max-width: 820px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-tete .chapo { margin-bottom: 0; }
.section-tete--large { max-width: none; }
.projets-zone .section-tete { max-width: 920px; } /* « Villeurbanne et Saint-Priest » tient sur une ligne sans réduire le titre */
.sombre .texte-riche .btn--contour { color: #fff; }
.section-tete { min-width: 0; } /* dans une rangée flex (titre + bouton), le titre ne doit pas élargir la page */
@media (min-width: 900px) { .insecable { white-space: nowrap; } }
.section-note { margin: 34px 0 0; max-width: 70ch; color: var(--encre-douce); font-size: 16px; }
.sombre .section-note { color: rgba(255, 255, 255, .7); }

/* ============ Héros de page ============ */
.heros-page { position: relative; overflow: hidden; padding: calc(var(--entete) + clamp(36px, 5vw, 70px)) 0 clamp(60px, 8vw, 110px); }
.heros-page__grille { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.heros-page--seul .heros-page__grille { grid-template-columns: minmax(0, 900px); }
.heros-page h1 { margin-bottom: 24px; }
.heros-page .chapo { margin-bottom: 0; }
.heros-page .ariane { color: rgba(255, 255, 255, .6); margin-bottom: 30px; }
.heros-page .ariane b { color: #fff; }
.heros-page__visuel { position: relative; aspect-ratio: 1 / 1.02; }
.heros-page__photo { position: absolute; margin: 0; overflow: hidden; border-radius: 30px; box-shadow: var(--ombre-forte); }
.heros-page__photo img { width: 100%; height: 100%; object-fit: cover; }
.heros-page__photo--1 { inset: 0 18% 22% 0; transform: rotate(-2deg); animation: flotte 9s ease-in-out infinite alternate; }
.heros-page__photo--2 { width: 46%; aspect-ratio: 4 / 5; right: 0; bottom: 0; border: 6px solid var(--violet); transform: rotate(3deg); animation: flotte 11s -3s ease-in-out infinite alternate; }
.heros-page__photo--3 { width: 30%; aspect-ratio: 1; left: 6%; bottom: 0; border-radius: 50%; border: 6px solid var(--violet); animation: flotte 10s -6s ease-in-out infinite alternate; }
.heros-page__badge { position: absolute; top: 8%; right: 4%; z-index: 3; display: flex; flex-direction: column; padding: 14px 18px; border-radius: 18px; background: var(--jaune); color: var(--violet); font-size: 13px; font-weight: 700; line-height: 1.2; box-shadow: var(--ombre-forte); transform: rotate(4deg); }
.heros-page__badge b { font-size: 30px; font-weight: 900; letter-spacing: -.03em; }
@keyframes flotte { to { translate: 0 -12px; } }
.heros-page .heros__preuves { margin-top: clamp(40px, 5vw, 60px); }

/* ============ Grille de cartes ============ */
.cartes-grille { display: grid; gap: 18px; }
.cartes-grille--2 { grid-template-columns: repeat(2, 1fr); }
.cartes-grille--3 { grid-template-columns: repeat(3, 1fr); }
.cartes-grille--4 { grid-template-columns: repeat(4, 1fr); }
.carte-info { position: relative; padding: 30px 28px; border-radius: 26px; background: #fff; box-shadow: 0 1px 0 var(--trait), 0 24px 50px -40px rgba(43, 32, 81, .45); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.carte-info:hover { transform: translateY(-6px); box-shadow: 0 1px 0 var(--trait), var(--ombre); }
.carte-info h3 { font-size: 21px; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; word-spacing: .05em; line-height: 1.1; margin-bottom: 12px; }
.carte-info p { margin: 0; color: var(--encre-douce); font-size: 15.5px; line-height: 1.55; }
.carte-info__ico { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; background: var(--jaune); color: var(--violet); margin-bottom: 24px; }
.carte-info__num { display: block; font-size: 56px; font-weight: 900; line-height: .9; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--violet-clair); margin-bottom: 16px; }
.carte-info__lien { display: inline-block; margin-top: 16px; font-weight: 800; color: var(--violet); text-decoration-color: var(--jaune); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.cartes-zone.sombre { background: var(--violet); }
.sombre .carte-info { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.sombre .carte-info p { color: rgba(255, 255, 255, .74); }
.sombre .carte-info__num { -webkit-text-stroke-color: rgba(255, 255, 255, .4); }
.cartes-zone .conteneur { position: relative; z-index: 2; }

/* ============ Étapes à 4 ou 5 ============ */
.etapes__liste--4 { grid-template-columns: repeat(4, 1fr); }
.etapes__liste--5 { grid-template-columns: repeat(5, 1fr); }
.etapes__liste--2 { grid-template-columns: repeat(2, 1fr); }
.etapes__liste--4 h3, .etapes__liste--5 h3 { font-size: 19px; }
.etapes__cta .boutons { margin-top: 0; }

/* ============ Raisons numérotées ============ */
.raisons__grille { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.raisons__cote { position: sticky; top: 110px; }
.raisons__photo { margin: 0; border-radius: 30px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--ombre); }
.raisons__photo img { width: 100%; height: 100%; object-fit: cover; }
.raisons__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.raisons__liste li { display: grid; grid-template-columns: 74px 1fr; gap: 22px; padding: 30px 0; border-bottom: 1.5px solid var(--trait); }
.raisons__liste li:first-child { padding-top: 0; }
.raisons__num { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: var(--jaune); font-size: 28px; font-weight: 900; }
.raisons__liste li:nth-child(even) .raisons__num { background: var(--jaune); color: var(--violet); }
.raisons__liste h3 { font-size: clamp(20px, 1.7vw, 24px); font-weight: 900; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 8px; }
.raisons__liste p { margin: 0; color: var(--encre-douce); }

/* ============ Reçu sur fond lavande ============ */
.inclus--lavande { background: var(--lavande); }

/* ============ Honoraires ============ */
.tarifs { display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px; align-items: stretch; }
.tarifs__vedette { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(30px, 4vw, 50px); display: flex; flex-direction: column; justify-content: center; background: radial-gradient(ellipse at 100% 0%, rgba(254, 209, 135, .5), transparent 60%), radial-gradient(ellipse at 0% 100%, rgba(189, 123, 154, .6), transparent 60%), var(--violet); }
.tarifs__vedette > * { position: relative; z-index: 2; }
.tarifs__chiffre { margin: 0; font-size: clamp(90px, 11vw, 170px); font-weight: 900; letter-spacing: -.06em; line-height: .85; color: var(--jaune); }
.tarifs__legende { margin: 14px 0 0; font-size: 20px; font-weight: 800; }
.tarifs__note { margin: 20px 0 0; padding-top: 18px; border-top: 1px dashed rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .75); font-size: 15px; }
.tarifs__table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 32px; overflow: hidden; box-shadow: 0 1px 0 var(--trait); }
.tarifs__table th, .tarifs__table td { padding: 26px 30px; border-bottom: 1.5px dashed var(--trait); text-align: left; vertical-align: middle; }
.tarifs__table tr:last-child th, .tarifs__table tr:last-child td { border-bottom: 0; }
.tarifs__table th b { display: block; font-size: 18px; font-weight: 900; }
.tarifs__table th small { display: block; margin-top: 4px; font-weight: 500; color: var(--encre-douce); font-size: 14.5px; }
.tarifs__table td { text-align: right; font-size: clamp(20px, 2vw, 28px); font-weight: 900; letter-spacing: -.02em; white-space: nowrap; color: var(--violet); }

/* ============ Critères d'éligibilité ============ */
.criteres-zone { background: var(--lavande); }
.criteres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.criteres__col { padding: 30px; border-radius: 28px; background: #fff; box-shadow: 0 1px 0 var(--trait); }
.criteres__col--plus { background: var(--violet); color: #fff; }
.criteres__num { display: block; font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--violet-clair); margin-bottom: 8px; }
.criteres__col--plus .criteres__num { color: var(--jaune); }
.criteres__col h3 { font-size: 22px; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.1; margin-bottom: 18px; }
.criteres__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.criteres__col li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; line-height: 1.4; }
.criteres__signe { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--jaune); color: var(--violet); font-weight: 900; }
.criteres__signe .ico { width: 15px; height: 15px; stroke-width: 2.6; }
.exclusions { margin-top: 18px; border-radius: 22px; background: #fff; box-shadow: 0 1px 0 var(--trait); }
.exclusions summary { cursor: pointer; padding: 20px 26px; font-weight: 800; list-style: none; display: flex; justify-content: space-between; }
.exclusions summary::-webkit-details-marker { display: none; }
.exclusions summary::after { content: "+"; font-weight: 900; font-size: 20px; line-height: 1; }
.exclusions[open] summary::after { content: "−"; }
.exclusions ul { list-style: none; margin: 0; padding: 0 26px 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 30px; }
.exclusions li { display: flex; gap: 10px; color: var(--encre-douce); }
.exclusions li span { color: #c0392b; font-weight: 900; }

/* ============ Trio ============ */
.section-trio { padding-bottom: clamp(70px, 9vw, 120px); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: 32px; overflow: hidden; box-shadow: var(--ombre); }
.trio__role { padding: 34px 32px; }
.trio__role p:last-child { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.4; }
.trio__role--1 { background: #fff; }
.trio__role--2 { background: var(--violet); color: #fff; }
.trio__role--2 .surtitre { color: var(--jaune); }
.trio__role--2 .surtitre::before { background-image: url("../img/symbole-blanc.svg"); }
.trio__role--3 { background: var(--jaune); }

/* ============ Mosaïque photo ============ */
.mosaique { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 210px; gap: 12px; }
.mosaique figure { margin: 0; border-radius: 24px; overflow: hidden; }
.mosaique img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaique figure:hover img { transform: scale(1.05); }
.mosaique__1 { grid-column: span 3; grid-row: span 2; }
.mosaique__2 { grid-column: span 3; }
.mosaique__3 { grid-column: span 1; }
.mosaique__4 { grid-column: span 2; }
.mosaique__5 { display: none; }

/* ============ Bandeau de chiffres ============ */
.section-chiffres { padding: 0 0 clamp(60px, 8vw, 100px); }
.chiffres-bande { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-radius: 30px; overflow: hidden; background: var(--violet); color: #fff; }
.chiffres-bande > div { padding: 30px 28px; border-right: 1px solid rgba(255, 255, 255, .12); }
.chiffres-bande > div:last-child { border-right: 0; }
.chiffres-bande b { display: block; font-size: clamp(36px, 4vw, 54px); font-weight: 900; letter-spacing: -.04em; color: var(--jaune); line-height: 1; margin-bottom: 8px; }
.chiffres-bande span { color: rgba(255, 255, 255, .75); font-size: 15px; }

/* ============ Texte sur deux colonnes ============ */
.texte-zone__grille { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.texte-zone .section-tete { position: sticky; top: 110px; margin-bottom: 0; }
.texte-zone .texte-riche { max-width: none; }
.sombre .texte-riche { color: rgba(255, 255, 255, .8); }
.sombre .texte-riche h3, .sombre .texte-riche strong { color: #fff; }
.texte-zone.sombre { background: var(--violet); }

/* ============ Liens « À lire aussi » ============ */
.liens-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.liens-cartes a { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 22px 24px; border-radius: 20px; background: #fff; text-decoration: none; font-weight: 800; box-shadow: 0 1px 0 var(--trait); transition: background .25s, transform .4s var(--ease); }
.liens-cartes a:hover { background: var(--jaune); transform: translateY(-3px); }
.liens-zone__mention { margin: 28px 0 0; font-size: 13.5px; color: var(--encre-douce); }

/* ============ Formulaire intégré ============ */
.formulaire-zone { background: var(--lavande); }
.formulaire-zone__grille { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.formulaire-zone .liste-ico { margin-top: 10px; }

/* ============ Rails simples (projets, colocs) ============ */
[data-rail-simple] { cursor: auto; }

@media (max-width: 1100px) {
	.cartes-grille--4 { grid-template-columns: repeat(2, 1fr); }
	.etapes__liste--4, .etapes__liste--5 { grid-template-columns: repeat(2, 1fr); }
	.etapes__liste--4 li::after, .etapes__liste--5 li::after { display: none; }
	.tarifs { grid-template-columns: 1fr; }
	.criteres { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.heros-page__grille, .raisons__grille, .texte-zone__grille, .formulaire-zone__grille { grid-template-columns: 1fr; }
	.heros-page__visuel { max-width: 520px; width: 100%; margin-inline: auto; }
	.raisons__cote, .texte-zone .section-tete { position: static; }
	.raisons__photo { display: none; }
	.cartes-grille--3 { grid-template-columns: 1fr 1fr; }
	.trio { grid-template-columns: 1fr; }
	.mosaique { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
	.mosaique__1 { grid-column: span 2; grid-row: span 2; }
	.mosaique__2, .mosaique__3, .mosaique__4 { grid-column: span 1; }
	.mosaique__2 { grid-column: span 2; }
}
@media (max-width: 720px) {
	.cartes-grille--2, .cartes-grille--3, .cartes-grille--4, .criteres, .etapes__liste--2, .etapes__liste--4, .etapes__liste--5 { grid-template-columns: 1fr; }
	.exclusions ul { grid-template-columns: 1fr; }
	.tarifs__table th, .tarifs__table td { padding: 20px 18px; }
	.tarifs__table td { font-size: 19px; white-space: normal; }
	.raisons__liste li { grid-template-columns: 52px 1fr; gap: 16px; }
	.raisons__num { width: 48px; height: 48px; font-size: 22px; }
	.chiffres-bande > div { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
	.heros-page__badge b { font-size: 24px; }
}

/* ============ Retouches ============ */
.page-sections .liste-ico { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.page-sections .liste-ico li { display: flex; align-items: center; gap: 14px; font-weight: 600; line-height: 1.35; }
.page-sections .liste-ico .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #fff; box-shadow: 0 1px 0 var(--trait); color: var(--violet); }
.page-sections .liste-ico a { color: var(--violet); }
.page-sections .recu-zone__tampon { top: auto; bottom: 12%; right: auto; left: 0; }
.recu__total--long { align-items: center; gap: 12px; }
.recu__total--long b { font-size: 30px; text-align: right; }
.heros-page + .ancre + .section-chiffres, .heros-page + .section-chiffres { margin-top: -46px; position: relative; z-index: 3; }
.dispo__tete .section-tete { margin-bottom: 0; }

/* ============ Tableaux ============ */
.tableau-zone--lavande { background: var(--lavande); }
.tableau-cadre { overflow-x: auto; border-radius: 28px; background: #fff; box-shadow: 0 1px 0 var(--trait), var(--ombre); }
.tableau { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 16px; }
.tableau th, .tableau td { padding: 18px 24px; text-align: left; border-bottom: 1px dashed var(--trait); }
.tableau thead th { background: var(--violet); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.tableau tbody th { font-weight: 800; }
.tableau tbody tr:last-child th, .tableau tbody tr:last-child td { border-bottom: 0; }
.tableau tbody tr:hover { background: var(--creme); }
.tableau--vedette th:last-child, .tableau--vedette td:last-child { background: rgba(254, 209, 135, .28); font-weight: 800; color: var(--violet); }
.tableau--vedette thead th:last-child { background: var(--jaune); color: var(--violet); }

/* Titres : en mobile on desserre encore un peu */
@media (max-width: 720px) {
	.affiche { line-height: 1.02; letter-spacing: -.01em; }
	h2.affiche, h1.affiche { margin-bottom: 24px; }
}
/* Les colonnes de grille ne s'élargissent jamais à cause d'un long bouton ou d'un long mot */
.heros-page__grille > *, .raisons__grille > *, .texte-zone__grille > *, .formulaire-zone__grille > *, .inclus__grille > *, .faq-zone__grille > * { min-width: 0; }
.affiche { overflow-wrap: break-word; hyphens: manual; }
@media (max-width: 720px) {
	.boutons .btn { white-space: normal; text-align: left; line-height: 1.25; }
	.heros-page__badge { right: 2%; }
}

/* ============ Page FAQ ============ */
.heros-faq { padding-bottom: clamp(56px, 7vw, 90px); }
.heros-faq .heros-page__grille { grid-template-columns: minmax(0, 980px); }
.heros-faq h1 { margin-bottom: 20px; }
.faq-recherche { position: relative; display: flex; align-items: center; max-width: 680px; margin-top: 34px; border-radius: 999px; background: #fff; box-shadow: 0 30px 60px -30px rgba(10, 6, 30, .7), 0 0 0 6px rgba(255, 255, 255, .08); }
.faq-recherche > .ico { position: absolute; left: 24px; width: 22px; height: 22px; color: var(--violet-clair); pointer-events: none; }
.faq-recherche input { flex: 1; min-width: 0; border: 0; background: none; padding: 20px 24px 20px 60px; font: inherit; font-size: 17px; font-weight: 500; color: var(--violet); border-radius: 999px; }
.faq-recherche input:focus { outline: 0; }
.faq-recherche input::placeholder { color: rgba(43, 32, 81, .45); }
.faq-recherche:focus-within { box-shadow: 0 30px 60px -30px rgba(10, 6, 30, .7), 0 0 0 6px rgba(254, 209, 135, .55); }
.faq-recherche__compte { flex: none; margin-right: 10px; padding: 8px 14px; border-radius: 999px; background: var(--lavande); color: var(--violet); font-size: 13px; font-weight: 800; white-space: nowrap; }
.faq-recherche__compte:empty { display: none; }
.faq-puces { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.faq-puces a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); color: #fff; text-decoration: none; font-weight: 700; font-size: 14.5px; transition: background .25s, color .25s; }
.faq-puces a:hover { background: var(--jaune); color: var(--violet); }
.faq-puces .ico { width: 17px; height: 17px; }
.faq-puces small { opacity: .65; font-weight: 600; }

.faq-page { padding-top: clamp(50px, 6vw, 80px); }
.faq-page__grille { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.faq-page__cote { position: sticky; top: calc(var(--entete) + 20px); display: grid; gap: 16px; }
.faq-sommaire { display: grid; gap: 4px; padding: 18px 12px 12px; border-radius: 26px; background: #fff; box-shadow: 0 1px 0 var(--trait), 0 24px 50px -40px rgba(43, 32, 81, .45); }
.faq-sommaire .surtitre { margin: 0 0 8px 10px; }
.faq-sommaire a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; text-decoration: none; color: var(--violet); transition: background .2s; }
.faq-sommaire a:hover { background: var(--creme); }
.faq-sommaire a.est-actif { background: var(--lavande); }
.faq-sommaire a.est-actif .nav__ico { background: var(--jaune); }
.faq-sommaire b { display: block; font-size: 15px; line-height: 1.2; }
.faq-sommaire small { display: block; font-size: 12.5px; color: var(--encre-douce); }
.faq-sommaire em { font-style: normal; font-size: 12.5px; font-weight: 800; color: var(--violet-clair); }
.faq-aide { position: relative; overflow: hidden; padding: 26px 24px; border-radius: 26px; color: #fff; background: radial-gradient(ellipse at 100% 0%, rgba(254, 209, 135, .45), transparent 60%), radial-gradient(ellipse at 0% 100%, rgba(189, 123, 154, .55), transparent 60%), var(--violet); }
.faq-aide > * { position: relative; z-index: 2; }
.faq-aide__titre { font-size: 20px; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.05; margin-bottom: 8px; }
.faq-aide p:not(.faq-aide__titre) { color: rgba(255, 255, 255, .78); font-size: 15px; margin-bottom: 18px; }

.faq-rubrique { scroll-margin-top: calc(var(--entete) + 20px); margin-bottom: clamp(40px, 5vw, 64px); }
.faq-rubrique[hidden] { display: none; }
.faq-rubrique__tete { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin-bottom: 20px; }
.faq-rubrique__ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--violet); color: var(--jaune); }
.faq-rubrique__groupe { margin: 0 0 4px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-clair); }
.faq-rubrique h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.02; }
.faq-rubrique__compte { padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--trait); font-size: 13px; font-weight: 700; color: var(--encre-douce); white-space: nowrap; }

.faq-cartes { display: grid; gap: 10px; }
.faq-carte { border-radius: 22px; background: #fff; box-shadow: 0 1px 0 var(--trait); transition: box-shadow .35s var(--ease), transform .35s var(--ease); interpolate-size: allow-keywords; }
.faq-carte[hidden] { display: none; }
.faq-carte:hover { box-shadow: 0 1px 0 var(--trait), 0 20px 40px -30px rgba(43, 32, 81, .45); }
.faq-carte[open] { box-shadow: inset 0 0 0 2px var(--jaune), 0 30px 60px -40px rgba(43, 32, 81, .5); }
.faq-carte summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 20px 22px; }
.faq-carte summary::-webkit-details-marker { display: none; }
.faq-carte__num { font-size: 13px; font-weight: 800; color: var(--violet-clair); font-variant-numeric: tabular-nums; }
.faq-carte__q { font-size: clamp(16.5px, 1.4vw, 18.5px); font-weight: 800; letter-spacing: -.01em; line-height: 1.35; color: var(--violet); }
.faq-carte summary i { position: relative; width: 38px; height: 38px; border-radius: 50%; background: var(--lavande); transition: background .3s, transform .45s var(--ease); }
.faq-carte summary i::before, .faq-carte summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; border-radius: 2px; background: var(--violet); transform: translate(-50%, -50%); transition: transform .45s var(--ease); }
.faq-carte summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-carte[open] summary i { background: var(--jaune); transform: rotate(180deg); }
.faq-carte[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq-carte::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq-carte[open]::details-content { block-size: auto; }
.faq-carte__r { padding: 0 22px 24px 63px; font-size: 16px; }
.faq-carte__r > * + * { margin-top: .7em; }
.faq-carte mark { background: rgba(254, 209, 135, .7); color: inherit; border-radius: 4px; padding: 0 2px; }
.faq-vide { padding: 40px; border-radius: 26px; background: #fff; text-align: center; box-shadow: 0 1px 0 var(--trait); }
.faq-vide .faq-aide__titre { color: var(--violet); }

@media (max-width: 960px) {
	.faq-page__grille { grid-template-columns: 1fr; }
	.faq-page__cote { position: static; order: 2; }
	.faq-sommaire { display: none; }
}
@media (max-width: 720px) {
	.faq-recherche input { padding: 17px 16px 17px 52px; font-size: 16px; }
	.faq-recherche > .ico { left: 20px; }
	.faq-recherche__compte { display: none; }
	.faq-rubrique__tete { grid-template-columns: auto 1fr; }
	.faq-rubrique__compte { display: none; }
	.faq-carte summary { gap: 12px; padding: 18px 16px; }
	.faq-carte__num { display: none; }
	.faq-carte summary { grid-template-columns: 1fr auto; }
	.faq-carte__r { padding: 0 16px 20px; }
	.faq-puces { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gouttiere)); padding-inline: var(--gouttiere); scrollbar-width: none; }
	.faq-puces a { white-space: nowrap; }
}
.faq-carte__r p, .faq-carte__r ul { margin-bottom: 0; }
.faq-carte__r > :last-child { margin-bottom: 0; }

/* Page Chambres disponibles */
.tete-page:has(+ #contenu .liste-chambres) { padding-bottom: clamp(30px, 4vw, 54px); }
.page-sections .section.liste-chambres { padding-top: clamp(26px, 3vw, 42px); }
.liste-chambres__filtres { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-bottom: 30px; scroll-margin-top: calc(var(--entete) + 14px); }
.liste-chambres__types { flex: 1 1 100%; }
.puce--studio:not([aria-pressed="true"]) { background: #FFF4DF; box-shadow: inset 0 0 0 1.5px var(--jaune); }
.liste-chambres__choix { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--encre-douce); }
.liste-chambres__choix select { padding: 10px 34px 10px 15px; border: 0; border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%232B2051' stroke-width='2'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") right 14px center no-repeat; box-shadow: inset 0 0 0 1.5px var(--trait); color: var(--violet); font: inherit; font-weight: 700; appearance: none; -webkit-appearance: none; cursor: pointer; }
.liste-chambres__compte { margin: 0 0 0 auto; font-weight: 800; }
.vues { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--trait); }
.vues[hidden], html:not(.js) .vues { display: none; }
.vues button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 0; border-radius: 999px; background: none; color: var(--violet); font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; transition: background .2s, color .2s; }
.vues button[aria-pressed="true"] { background: var(--violet); color: #fff; }
.vues .ico { width: 17px; height: 17px; }
.liste-chambres__grille[hidden], [data-zone-carte][hidden] { display: none; }
.carte-chambres { display: grid; grid-template-columns: minmax(0, 1fr) 390px; height: 680px; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: var(--ombre); }
.carte-chambres__cadre { min-height: 0; }
.carte-chambres__panneau { display: flex; flex-direction: column; min-height: 0; }
.carte-chambres__tete { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 20px 13px; border-bottom: 1px solid var(--trait); }
.carte-chambres__tete p { margin: 0; font-weight: 800; line-height: 1.25; }
.carte-chambres__tout { flex: none; padding: 0; border: 0; background: none; color: var(--violet-clair); font: inherit; font-size: 14px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.carte-chambres__liste { flex: 1; display: grid; align-content: start; gap: 4px; padding: 10px; overflow-y: auto; scrollbar-width: thin; }
.carte-chambres__note { margin: 14px 0 0; font-size: 13px; color: var(--encre-douce); }
.mini-chambre { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px; border-radius: 16px; color: inherit; text-decoration: none; transition: background .2s; }
.mini-chambre[hidden] { display: none; }
.mini-chambre:hover { background: var(--lavande); }
.mini-chambre img, .mini-chambre .carte-liste__vignette { display: block; width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.mini-chambre small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .03em; line-height: 1.25; text-transform: uppercase; color: var(--mauve-logo); }
.mini-chambre b { display: block; margin: 2px 0; font-size: 16px; font-weight: 800; line-height: 1.2; }
.mini-chambre em { display: block; font-size: 13px; font-style: normal; line-height: 1.3; color: var(--encre-douce); }
.mini-chambre strong { font-size: 15.5px; font-weight: 900; white-space: nowrap; }
.repere-prix { position: absolute; bottom: 9px; left: 0; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 2px solid #fff; border-radius: 999px; background: var(--violet); color: #fff; font: 800 13px/1 "Schibsted Grotesk", sans-serif; white-space: nowrap; box-shadow: 0 8px 18px -6px rgba(43, 32, 81, .65); transform: translateX(-50%); transition: transform .2s var(--ease), background .2s, color .2s; }
.repere-prix::after { content: ""; position: absolute; bottom: -8px; left: 50%; width: 0; height: 0; margin-left: -6px; border: solid transparent; border-width: 7px 6px 0; border-top-color: #fff; }
.repere-prix b { font-weight: 800; }
.repere-prix i { display: grid; place-items: center; min-width: 18px; height: 18px; border-radius: 50%; background: var(--jaune); color: var(--violet); font-size: 11px; font-style: normal; }
.repere-prix.est-actif, .repere-prix.est-survol { background: var(--jaune); color: var(--violet); transform: translateX(-50%) scale(1.1); }
.repere-prix.est-actif i, .repere-prix.est-survol i { background: var(--violet); color: #fff; }
.liste-chambres__grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 22px; }
.carte-chambre[hidden] { display: none; }
.carte-chambre .carte__titre { font-size: 26px; }
.carte-chambre__coloc { margin: 0 0 5px; font-size: 13px; font-weight: 800; letter-spacing: .04em; line-height: 1.25; text-transform: uppercase; color: var(--mauve-logo); }
.carte-chambre__desc { margin: 0 0 4px; font-size: 14.5px; line-height: 1.4; color: var(--encre-douce); }
.carte-chambre .carte__prix s { display: block; font-size: 14px; color: var(--encre-douce); }
/* Studios mis en avant : fond jaune pâle, liseré et étiquette */
.carte-chambre--studio { background: #FFF4DF; box-shadow: inset 0 0 0 2px var(--jaune), 0 24px 50px -36px rgba(43, 32, 81, .45); }
.carte-chambre--studio:hover { box-shadow: inset 0 0 0 2px var(--jaune), var(--ombre); }
.carte__photo .carte-chambre__etiquette { left: auto; right: 14px; }
.mini-chambre--studio { background: #FFF4DF; }
.mini-chambre--studio:hover { background: #FFEBC6; }
@media (max-width: 1000px) { .liste-chambres__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
	.carte-chambres { grid-template-columns: minmax(0, 1fr); height: auto; }
	.carte-chambres__cadre { height: 56svh; min-height: 320px; }
	.carte-chambres__panneau { scroll-margin-top: calc(var(--entete) + 10px); }
	.carte-chambres__liste { overflow: visible; }
}
@media (max-width: 640px) {
	.liste-chambres__grille { grid-template-columns: minmax(0, 1fr); }
	.liste-chambres__filtres .puces { flex-wrap: nowrap; width: calc(100% + 2 * var(--gouttiere)); margin-inline: calc(-1 * var(--gouttiere)); padding-inline: var(--gouttiere); overflow-x: auto; scrollbar-width: none; }
	.liste-chambres__filtres .puce { white-space: nowrap; }
	.liste-chambres__filtres .liste-chambres__types { flex-wrap: wrap; width: auto; margin-inline: 0; padding-inline: 0; overflow: visible; } /* tous les types restent visibles, Studio compris */
	.liste-chambres__choix { flex: 1 1 calc(50% - 7px); min-width: 0; flex-direction: column; align-items: stretch; gap: 4px; }
	.liste-chambres__choix select { width: 100%; }
	.liste-chambres__compte { flex: 1 1 auto; margin: 0; }
}

/* Rythme des pages intérieures : sections plus rapprochées que sur l'accueil */
.page-sections .section { padding-block: clamp(56px, 7vw, 96px); }
.page-sections .section--serree { padding-block: clamp(44px, 5vw, 72px); }
.page-sections .dispo { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(24px, 3vw, 48px); }
.page-sections .section-final { padding-top: clamp(56px, 7vw, 96px); }
.page-sections .inclus { padding-bottom: clamp(40px, 5vw, 72px); }
.page-sections .recu-zone { padding-bottom: 10px; }

/* Bandeau des médias : compact, et il resserre la section d'avis qui le précède */
.section-medias { padding-block: clamp(20px, 3vw, 40px); }
.section-medias .medias { margin-top: 0; }
.section:has(+ .section-medias) { padding-bottom: clamp(40px, 5vw, 64px); }
.section-medias + .section, .section-medias + .section-final { padding-top: clamp(40px, 5vw, 64px); }
