/* Lacoloc.fr : éléments propres au site WordPress (menus déroulants, menu mobile, pages intérieures, formulaires, fenêtres) */

.evitement { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--jaune); color: var(--violet); font-weight: 800; text-decoration: none; transition: top .2s; }
.evitement:focus { top: 12px; }

/* ============ Menus déroulants ============ */
.nav { align-items: center; }
.nav__groupe { position: relative; }
.nav .a-sous {
	position: relative; display: inline-flex; align-items: center; padding: 10px 14px; border: 0; border-radius: 999px; background: none;
	font: inherit; font-weight: 600; font-size: 15.5px; color: rgba(255, 255, 255, .86); cursor: pointer; transition: background .25s, color .25s;
}
.nav .a-sous::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 9px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: translateY(-3px) rotate(45deg); opacity: .7; transition: transform .35s var(--ease); }
.nav .a-sous:hover, .nav .a-sous[aria-current], .nav__groupe:hover .a-sous, .nav__groupe.est-ouvert .a-sous { background: rgba(255, 255, 255, .1); color: #fff; }
.nav__groupe:hover .a-sous::after, .nav__groupe.est-ouvert .a-sous::after { transform: translateY(1px) rotate(-135deg); }
/* Entrées du menu toujours sur une ligne, resserrées sur les écrans de portable */
.nav > a, .nav > .nav__groupe > .a-sous { white-space: nowrap; }
@media (max-width: 1440px) {
	.entete__barre { gap: 18px; }
	.nav { margin-left: 2px; gap: 0; }
	.nav > a, .nav > .nav__groupe > .a-sous { padding-inline: 11px; font-size: 15px; }
}

.nav__sous {
	--decal: -50%;
	position: absolute; top: calc(100% + 16px); left: 50%; z-index: 60; display: grid; grid-template-columns: minmax(300px, 340px); gap: 10px;
	padding: 10px; border-radius: 26px; background: #fff; color: var(--violet);
	box-shadow: 0 0 0 1px rgba(43, 32, 81, .06), 0 40px 80px -30px rgba(20, 12, 50, .55), 0 18px 36px -24px rgba(20, 12, 50, .35);
	opacity: 0; visibility: hidden; transform: translate(var(--decal), 12px) scale(.98); transform-origin: top center;
	transition: opacity .25s, transform .4s var(--ease), visibility .25s;
}
.nav__sous--vedette { grid-template-columns: minmax(300px, 340px) 250px; }
.nav__sous::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; } /* pont invisible : le survol ne se perd pas entre le lien et le panneau */
.nav__sous::after { content: ""; position: absolute; top: -7px; left: calc(50% - 8px); width: 16px; height: 16px; border-radius: 4px 0 0 0; background: #fff; transform: rotate(45deg); }
.nav__groupe--droite .nav__sous { --decal: 0%; left: auto; right: -10px; }
.nav__groupe--droite .nav__sous::after { left: auto; right: 44px; }
.nav__groupe:hover .nav__sous, .nav__groupe:focus-within .nav__sous, .nav__groupe.est-ouvert .nav__sous { opacity: 1; visibility: visible; transform: translate(var(--decal), 0) scale(1); }

.nav__liste { display: grid; gap: 2px; align-content: start; }
.nav .nav__item {
	display: flex; align-items: flex-start; gap: 14px; padding: 12px 14px; border-radius: 18px; color: var(--violet); text-decoration: none; background: none;
	opacity: 0; transform: translateY(6px); transition: background .2s, opacity .35s calc(.04s * var(--i, 0) + .05s), transform .45s var(--ease) calc(.04s * var(--i, 0) + .05s);
}
.nav__groupe:hover .nav__item, .nav__groupe:focus-within .nav__item, .nav__groupe.est-ouvert .nav__item { opacity: 1; transform: none; }
.nav .nav__item:hover, .nav .nav__item:focus-visible, .nav .nav__item[aria-current] { background: var(--lavande); color: var(--violet); }
.nav__ico { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--lavande); color: var(--violet); transition: background .25s, color .25s, transform .4s var(--ease); }
.nav__ico .ico { width: 20px; height: 20px; }
.nav .nav__item:hover .nav__ico { background: var(--jaune); transform: rotate(-6deg) scale(1.05); }
.nav__texte { display: grid; gap: 3px; padding-top: 1px; }
.nav__texte b { font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.nav__texte small { font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--encre-douce); }

.nav .nav__vedette {
	position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 100%; padding: 0; border-radius: 20px; text-decoration: none; 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);
}
.nav__vedette img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; transition: transform 1.2s var(--ease), opacity .4s; }
.nav__vedette::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(43, 32, 81, .15) 0%, rgba(43, 32, 81, .92) 70%); }
.nav .nav__vedette:hover img { transform: scale(1.06); opacity: .5; }
.nav__vedette-texte { position: relative; z-index: 2; display: grid; gap: 8px; padding: 22px 20px 20px; }
.nav__vedette-texte small { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--jaune); }
.nav__vedette-texte b { font-size: 22px; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.02; }
.nav__vedette-texte span { font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, .8); }
.nav__vedette-texte em { margin-top: 6px; justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--jaune); color: var(--violet); font-style: normal; font-weight: 800; font-size: 13.5px; }
.nav__vedette-texte em .ico { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.nav .nav__vedette:hover em .ico { transform: translateX(4px); }

/* ============ Menu mobile ============ */
/* Menu mobile : rubriques en accordéon (une ouverte à la fois), boutons et réseaux en bas, sans défilement */
.menu-mobile { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; padding: calc(var(--entete) + clamp(2px, 1.2svh, 12px)) 0 max(16px, env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; background: var(--violet); }
.menu-mobile[hidden] { display: none; }
.menu-mobile__halo { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 80% 40% at 100% 0%, rgba(254, 209, 135, .2), transparent 70%), radial-gradient(ellipse 70% 40% at 0% 100%, rgba(189, 123, 154, .32), transparent 70%); }
.menu-mobile__corps { position: relative; flex: 1; display: flex; flex-direction: column; }
.menu-mobile__liens { list-style: none; margin: 0; padding: 0; }
.menu-mobile__groupe { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.menu-mobile__lien {
	width: 100%; display: flex; align-items: center; gap: 14px; padding: clamp(8px, 1.95svh, 20px) 0; border: 0; background: none; cursor: pointer; text-align: left; text-decoration: none;
	font: inherit; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; font-size: clamp(15px, min((100vw - 122px) / 13, 3.6svh), 26px); line-height: 1.05; color: #fff; transition: color .25s;
}
.menu-mobile__num { min-width: 22px; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--jaune); opacity: .75; }
.menu-mobile__mot { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu-mobile__lien > .ico { width: 20px; height: 20px; color: rgba(255, 255, 255, .45); transition: transform .3s var(--ease), color .3s; }
.menu-mobile__lien:hover > .ico, .menu-mobile__lien:focus-visible > .ico { transform: translateX(4px); color: var(--jaune); }
.menu-mobile__lien[aria-current], .menu-mobile__lien[aria-expanded="true"] { color: var(--jaune); }
.menu-mobile__plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background .3s, color .3s, transform .45s var(--ease); }
.menu-mobile__plus::before, .menu-mobile__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); }
.menu-mobile__plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .45s var(--ease); }
.menu-mobile__lien[aria-expanded="true"] .menu-mobile__plus { background: var(--jaune); color: var(--violet); transform: rotate(180deg); }
.menu-mobile__lien[aria-expanded="true"] .menu-mobile__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.menu-mobile__sous { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .45s var(--ease), visibility 0s .45s; }
.menu-mobile__sous > div { min-height: 0; overflow: hidden; }
.est-ouvert > .menu-mobile__sous { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .45s var(--ease), visibility 0s; }
.menu-mobile__grille { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; padding: 0 0 clamp(8px, 1.7svh, 18px) 36px; }
.menu-mobile__grille a { display: flex; align-items: center; gap: 10px; padding: clamp(3px, .95svh, 10px) 0; color: rgba(255, 255, 255, .82); text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.2; }
.menu-mobile__grille a[aria-current] { color: #fff; }
.menu-mobile__grille .nav__ico { flex: none; width: 30px; height: 30px; border-radius: 10px; background: rgba(255, 255, 255, .1); color: var(--jaune); }
.menu-mobile__grille .nav__ico .ico { width: 15px; height: 15px; }
.menu-mobile__pied { margin-top: auto; padding-top: clamp(12px, 2.6svh, 26px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.menu-mobile__pied .btn { padding-block: clamp(11px, 1.9svh, 14px); }
.menu-mobile__pied .btn--contour { padding-inline: 18px; }
.menu-mobile__pied .btn--jaune { flex: 1 1 100%; justify-content: center; }
.menu-mobile__pied .btn--contour { color: #fff; }
.menu-mobile__pied .reseaux { margin: 0 0 0 auto; gap: 4px; }
.menu-mobile__pied .reseaux a { width: 34px; height: 34px; }
.menu-mobile__pied .reseaux svg { width: 16px; height: 16px; }
.menu-mobile:not([hidden]) .menu-mobile__groupe, .menu-mobile:not([hidden]) .menu-mobile__pied { animation: menu-mobile-entre .55s var(--ease) both; animation-delay: calc(var(--i, 5) * 45ms + 40ms); }
@keyframes menu-mobile-entre { from { opacity: 0; transform: translateY(14px); } }
body.menu-ouvert { overflow: hidden; }
body.menu-ouvert .entete { background: var(--violet); }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.burger span::before, .burger span::after { transition: transform .3s var(--ease), top .3s var(--ease); }

/* ============ En-tête de page intérieure ============ */
.tete-page { position: relative; overflow: hidden; padding: calc(var(--entete) + clamp(40px, 6vw, 80px)) 0 clamp(60px, 8vw, 110px); }
.tete-page .conteneur { position: relative; z-index: 2; }
.tete-page .chapo { margin-bottom: 0; }
.tete-page h1 { max-width: 16ch; }
.tete-page__halo { position: absolute; width: 760px; height: 760px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(189, 123, 154, .55), rgba(116, 98, 151, .2) 55%, transparent); pointer-events: none; }
.tete-page--image .tete-page__fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.tete-page--image::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(43, 32, 81, .96) 30%, rgba(43, 32, 81, .55)); }
.ariane { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--encre-douce); margin-bottom: 20px; }
.ariane a { text-decoration: none; }
.ariane a:hover { text-decoration: underline; }
.ariane b { font-weight: 700; color: var(--encre); }
.ariane span { opacity: .4; }
.sombre .ariane { color: rgba(255, 255, 255, .6); margin-bottom: 34px; }
.sombre .ariane b { color: #fff; }
.section--serree { padding-block: clamp(56px, 7vw, 100px); }

/* ============ Contenu de page ============ */
.contenu-page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 50px; }
.contenu-page:has(.contenu-page__formulaire) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.conteneur--texte { width: min(820px, 100% - 2 * var(--gouttiere)); }
.texte-riche { color: var(--encre-douce); font-size: 18px; max-width: 78ch; }
.texte-riche > * + * { margin-top: 1em; }
.texte-riche h2 { color: var(--encre); font-size: clamp(26px, 2.6vw, 36px); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.05; margin-top: 1.6em; }
.texte-riche h3 { color: var(--encre); font-size: clamp(20px, 1.8vw, 24px); margin-top: 1.4em; }
.texte-riche a { color: var(--violet); font-weight: 600; text-decoration-color: var(--jaune); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.texte-riche img { border-radius: var(--rayon-s); height: auto; }
.texte-riche ul, .texte-riche ol { padding-left: 1.2em; }
.texte-riche blockquote { margin: 1.4em 0; padding: 20px 24px; border-radius: var(--rayon-s); background: var(--lavande); color: var(--encre); font-weight: 600; }
.contenu-page__formulaire { background: #fff; border-radius: var(--rayon); padding: clamp(24px, 3vw, 40px); box-shadow: 0 1px 0 var(--trait), var(--ombre); }
.a-reprendre { padding: 18px 22px; border-radius: var(--rayon-s); background: var(--lavande); color: var(--violet-clair); font-weight: 700; }
.page-404 { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============ Liste des colocations ============ */
.liste-colocs { padding-top: clamp(50px, 6vw, 80px); }
.liste-colocs__filtres { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 26px; margin-bottom: 30px; }
.liste-colocs__budget { margin: 0; font-weight: 700; }
.liste-colocs__grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 22px; }
.liste-colocs__grille .carte[hidden] { display: none; }
.interrupteur { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; cursor: pointer; }
.interrupteur input { position: absolute; opacity: 0; }
.interrupteur span { width: 46px; height: 28px; border-radius: 28px; background: var(--encre-pale); position: relative; transition: background .25s; }
.interrupteur span::after { content: ""; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); box-shadow: 0 2px 4px rgba(0, 0, 0, .15); }
.interrupteur input:checked + span { background: var(--violet); }
.interrupteur input:checked + span::after { transform: translateX(18px); background: var(--jaune); }
.interrupteur input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.carte__photo .carte__theme { top: auto; }
.carte__alerte { font-size: 16px !important; color: var(--violet-clair) !important; }
.rail .carte[hidden] { display: none; }
.liste-colocs__grille .carte--projet[hidden] { display: none; }
.billet--projet .billet__plus a { color: var(--violet); font-weight: 700; text-decoration-color: var(--jaune); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.billet--projet .billet__plus li { list-style: none; }

/* ============ Fiche : compléments ============ */
.chambre__sans-photo { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--lavande); color: var(--violet-clair); }
.chambre__sans-photo .ico { width: 42px; height: 42px; }
.chambre__prix del { color: var(--encre-douce); margin-right: 4px; }
.chambre__precision { margin: 0; font-size: 13.5px; color: var(--encre-douce); }
.chambre { scroll-margin-top: calc(var(--entete) + 20px); }
.galerie--courte { grid-template-columns: 2fr 1fr; }
.billet__complet { font-size: 14.5px; color: var(--encre-douce); margin: 0 0 14px; }
button.billet__cta { width: 100%; justify-content: center; }
.quartier--sans-carte { grid-template-columns: 1fr; }
.ligne-a--ico .ico { width: 18px; height: 18px; }
.visite__autres { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.formulaire__piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ============ Formulaires ============ */
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.champ { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--encre); }
.champ--large { grid-column: 1 / -1; }
.champ input, .champ select, .champ textarea {
	width: 100%; border: 0; border-radius: 14px; padding: 13px 16px; font: inherit; font-weight: 500; font-size: 16px; color: var(--encre);
	background: var(--creme); box-shadow: inset 0 0 0 1.5px var(--trait); transition: box-shadow .2s;
}
.champ textarea { resize: vertical; min-height: 90px; }
.champ select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232B2051' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--violet); }
.case { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--encre-douce); line-height: 1.45; }
.case input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--violet); }
/* Case reCAPTCHA : vide tant que personne n'a touché au formulaire */
.captcha { grid-column: 1 / -1; min-width: 0; }
.captcha:empty { display: none; }
.captcha__sans-js { grid-column: 1 / -1; margin: 0; font-size: 14px; color: #b42318; }
@media (max-width: 372px) {
	.captcha:not(:empty) { height: 64px; }
	.captcha > div { transform: scale(.82); transform-origin: left top; }
}
.formulaire__pied { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
.formulaire__retour { margin: 0; font-weight: 700; color: var(--violet); }
.formulaire__retour.est-erreur { color: #b42318; }
.formulaire.est-envoi button[type=submit] { opacity: .6; pointer-events: none; }
.formulaire.est-envoye > :not(.formulaire__pied) { display: none; }
.formulaire.est-envoye .formulaire__pied button { display: none; }
.formulaire.est-envoye .formulaire__retour { font-size: 18px; }

/* ============ Fenêtres (candidature, visite) ============ */
.fenetre { width: min(680px, 100% - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--rayon); background: #fff; color: var(--encre); box-shadow: var(--ombre-forte); overflow: auto; overscroll-behavior: contain; }
/* Non modale (voir lacoloc.js) : la grille d'images de reCAPTCHA doit rester au-dessus */
.fenetre[open] { position: fixed; inset: 0; z-index: 110; margin: auto; height: fit-content; }
.fenetre-voile { position: fixed; inset: 0; z-index: 105; background: rgba(20, 12, 50, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.fenetre-voile[hidden] { display: none; }
.fenetre[open] { animation: fenetre .45s var(--ease); }
@keyframes fenetre { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.fenetre__tete { position: relative; padding: 30px 34px 22px; background: var(--violet); color: #fff; }
.fenetre__tete .surtitre { color: var(--jaune); margin-bottom: 10px; }
.fenetre__tete .surtitre::before { background-image: url("../img/symbole-blanc.svg"); }
.fenetre__titre { font-size: clamp(30px, 4vw, 44px); font-weight: 900; text-transform: uppercase; letter-spacing: -.015em; line-height: 1; margin-bottom: 10px; }
.fenetre__tete p:last-of-type { margin: 0; color: rgba(255, 255, 255, .75); font-size: 15px; max-width: 52ch; }
.fenetre__fermer { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; background: rgba(255, 255, 255, .12); }
.fenetre__fermer:hover { background: var(--jaune); color: var(--violet); }
.fenetre .formulaire { padding: 26px 34px 32px; }

/* ============ Blog ============ */
.articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 24px; }
.article-carte { display: flex; flex-direction: column; background: #fff; border-radius: var(--rayon); padding: 10px; text-decoration: none; color: var(--encre); box-shadow: 0 1px 0 var(--trait), 0 24px 50px -36px rgba(43, 32, 81, .45); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.article-carte:hover { transform: translateY(-6px); box-shadow: 0 1px 0 var(--trait), var(--ombre); }
.article-carte__photo { aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: var(--lavande); }
.article-carte__photo img { width: 100%; height: 100%; object-fit: cover; }
.article-carte__corps { padding: 18px 12px 12px; }
.article-carte__date { font-size: 13px; font-weight: 700; color: var(--violet-clair); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .08em; }
.article-carte__titre { font-size: 22px; font-weight: 900; letter-spacing: -.02em; margin-bottom: 10px; }
.article-carte p:last-child { color: var(--encre-douce); font-size: 15px; margin: 0; }
.pagination { margin-top: 40px; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 10px 16px; border-radius: 999px; background: #fff; text-decoration: none; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--trait); }
.pagination .current { background: var(--violet); color: #fff; box-shadow: none; }

@media (max-width: 900px) {
	.contenu-page:has(.contenu-page__formulaire) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
	.formulaire { grid-template-columns: 1fr; }
	.fenetre__tete { padding: 26px 22px 20px; }
	.fenetre .formulaire { padding: 22px; }
	.texte-riche { font-size: 17px; }
	.liste-colocs__filtres .puces { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gouttiere)); padding-inline: var(--gouttiere); scrollbar-width: none; }
	.liste-colocs__filtres .puce { white-space: nowrap; }
}

/* FAQ dans une page */
.texte-riche .faq { margin: 0 0 2.4em; }
.texte-riche .faq summary { color: var(--encre); }
.texte-riche .faq details > * + * { margin-top: 0; }
.texte-riche .faq__reponse > * + * { margin-top: .8em; }

/* ============ Articles ============ */
.article figure, .texte-riche figure { margin: 2em 0; }
.article figure img { width: 100%; height: auto; border-radius: var(--rayon-s); }
.article h2:first-child { margin-top: 0; }
.article strong { color: var(--encre); }
.article table { width: 100%; border-collapse: collapse; font-size: 16px; }
.article th, .article td { padding: 10px 12px; border-bottom: 1px solid var(--trait); text-align: left; }
.autres-articles { padding-top: 0; }
.tete-page .surtitre + h1 { margin-top: 0; }
.galerie > * { min-width: 0; min-height: 0; } /* une grande photo ne doit jamais élargir la grille */
.nav .nav__vedette:hover { 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); }

/* Bandeau de consentement : deux boutons de même poids, comme le demande la CNIL */
.bandeau-cookies { position: fixed; left: 20px; bottom: 20px; z-index: 95; width: min(430px, calc(100vw - 40px)); padding: 22px 24px; background: var(--blanc); color: var(--violet); border-radius: var(--rayon-s); box-shadow: var(--ombre-forte); animation: bc-entre .4s var(--ease) both; }
.bandeau-cookies[hidden] { display: none; }
@keyframes bc-entre { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.bandeau-cookies__titre { margin: 0 0 6px; font-size: 19px; font-weight: 700; line-height: 1.2; color: var(--violet); }
.bandeau-cookies__texte { margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: var(--encre-douce); }
.bandeau-cookies__texte a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.bandeau-cookies__choix { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bandeau-cookies__choix .btn { width: 100%; justify-content: center; }
.pied__cookies { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.pied__cookies:hover { color: #fff; }
body.bandeau-cookies-ouvert .barre-mobile { visibility: hidden; }
@media (max-width: 640px) {
	.bandeau-cookies { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); width: auto; padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .bandeau-cookies { animation: none; } }
