:root {
  --fond: #ffffff;
  --fond-2: #ffffff;
  --fond-3: #f4faf8;
  --fond-4: #e3f1ec;
  --beige: #f7f4f1;
  --trait: #dde9e5;
  --trait-fort: #cadfd9;
  --texte: #16403a;
  --texte-doux: #5c746e;
  --encre: #00302f;
  --accent: #00a36b;
  --accent-grand: #008a5b;
  --accent-deep: #0a6b48;
  --menthe-soft: #e6f7ef;
  --ambre: #f4a52b;
  --entete: 4.25rem;
  --rayon: 16px;
  --ombre-douce: 0 1px 2px rgba(0, 48, 47, 0.04), 0 14px 34px rgba(0, 48, 47, 0.06);
  --ombre-carte: 0 1px 2px rgba(0, 48, 47, 0.04), 0 10px 24px rgba(0, 48, 47, 0.05);
  --ombre-haute: 0 24px 50px rgba(0, 48, 47, 0.12);
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --titre: "Space Grotesk", var(--sans);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

main {
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font-family: inherit;
  color: inherit;
}

h1,
h2,
h3,
.couleurlogo {
  font-family: var(--titre);
  font-weight: 600;
  color: var(--encre);
}

h1,
h2 {
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h3 {
  letter-spacing: -0.01em;
  line-height: 1.3;
  font-size: 1.08rem;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--accent-deep);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: #ffffff;
}

.lecteurecran {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.lienpassage {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  background: transparent;
  color: var(--encre);
  text-decoration: none;
  border-radius: 0;
  font-weight: 700;
  z-index: -1;
}

.lienpassage:focus,
.lienpassage:focus-visible {
  position: fixed;
  left: 0.75rem;
  top: 0.65rem;
  z-index: 100;
  width: auto;
  height: auto;
  max-width: min(20rem, calc(100vw - 1.5rem));
  padding: 0.55rem 0.9rem;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  background: var(--encre);
  color: #ffffff;
  border-radius: 999px;
}

.surtitre {
  margin: 0 0 0.55rem;
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--menthe-soft);
  color: var(--accent-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.boutonaction,
.boutonfantome,
.etendreplan {
  cursor: pointer;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.lienquartier {
  cursor: pointer;
  border-radius: 999px;
  display: inline-block;
  text-decoration: none;
  text-align: left;
  line-height: 1.35;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.boutonaction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--encre);
  color: #ffffff;
  text-decoration: none;
  border: 0;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.72rem 1.1rem;
  box-shadow: 0 8px 20px rgba(0, 48, 47, 0.14);
}

.boutonaction:hover {
  background: #0a4a47;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 48, 47, 0.2);
}

.boutonfantome,
.lienquartier {
  background: #ffffff;
  color: var(--texte);
  border: 1px solid var(--trait-fort);
  font-size: 0.88rem;
  padding: 0.48rem 0.9rem;
}

.boutonfantome:hover,
.lienquartier:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
  background: var(--menthe-soft);
}

.cadrelecture {
  width: min(1500px, calc(100% - 3rem));
  margin: 0 auto;
}

/* Entête */

.enteteprincipal {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--entete);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--trait);
}

.bandeau {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.couleurlogo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--encre);
  text-decoration: none;
  font-size: 1.16rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
  flex: none;
}

.couleurlogo svg {
  display: block;
  flex: none;
}

.motmenthe {
  color: var(--accent-deep);
}

.navigationhaute {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.navigationhaute a {
  color: var(--texte-doux);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.navigationhaute a:hover {
  color: var(--encre);
}

.actionsentete {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: none;
}

.lienappel {
  color: var(--texte-doux);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.lienappel:hover {
  color: var(--encre);
}

.actionsentete .lienappel {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.actionsentete .pictotelentete {
  flex: none;
  display: block;
}

.boutonsandwich {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  border: 1px solid var(--trait-fort);
  background: #ffffff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.barresandwich,
.barresandwich::before,
.barresandwich::after {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--encre);
  content: "";
}

.barresandwich {
  position: relative;
}

.barresandwich::before {
  position: absolute;
  top: -6px;
}

.barresandwich::after {
  position: absolute;
  top: 6px;
}

/* Recherche */

.section1hero {
  position: relative;
  padding: 1.5rem 0 1.25rem;
  background:
    radial-gradient(640px 220px at 8% -10%, rgba(0, 163, 107, 0.1), transparent 70%),
    radial-gradient(520px 200px at 100% 120%, rgba(0, 163, 107, 0.08), transparent 70%),
    var(--fond);
  border-bottom: 1px solid var(--trait);
}

.tetecarte {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.section1hero h1 {
  margin: 0;
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
}

.chapeauhero {
  margin: 0.5rem 0 0;
  color: var(--texte-doux);
  font-size: 1rem;
}

.barrefiltres {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.95rem;
}

.pastillefiltre,
.triannonces select,
.champ {
  background-color: #ffffff;
  border: 1px solid var(--trait-fort);
  color: var(--texte);
}

.pastillefiltre,
.triannonces select {
  appearance: none;
  max-width: 100%;
  border-radius: 999px;
  padding: 0.5rem 2rem 0.5rem 0.85rem;
  font-size: 0.88rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2300a36b' stroke-width='1.6' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.pastillefiltre:hover,
.triannonces select:hover {
  border-color: var(--accent);
}

.champ {
  width: 100%;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.champ:focus-visible {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 163, 107, 0.18);
}

textarea.champ {
  min-height: 8.5rem;
  resize: vertical;
}

select.champ {
  appearance: none;
  padding-right: 2.2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2300a36b' stroke-width='1.6' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
}

/* Annonces et plan */

#section2carte,
#section3texte,
#section4blog {
  scroll-margin-top: var(--entete);
}

#section5cta {
  scroll-margin-top: calc(var(--entete) + 1.15rem);
}

#listebiens {
  scroll-margin-top: calc(var(--entete) + 4.5rem);
}

.section2carte {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: start;
}

.colonneannonces {
  border-right: 1px solid var(--trait);
  padding-bottom: 2rem;
  min-width: 0;
}

.teteliste {
  position: sticky;
  top: var(--entete);
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem 0.8rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--trait);
}

.comptage {
  margin: 0;
  color: var(--texte-doux);
  font-size: 0.95rem;
}

.comptage strong {
  color: var(--encre);
  font-weight: 700;
}

.triannonces {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--texte-doux);
  font-size: 0.85rem;
  flex: none;
}

.listebiens {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.9rem 0.9rem 0;
}

.mentionliste {
  margin: 1rem 0.9rem 0;
  font-size: 0.82rem;
  color: var(--texte-doux);
}

.cartannonce {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 176px;
  scroll-margin-top: calc(var(--entete) + 4.5rem);
  background: var(--fond-2);
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--ombre-carte);
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.cartannonce:hover {
  border-color: var(--trait-fort);
  box-shadow: var(--ombre-haute);
  transform: translateY(-2px);
}

.cartannonce.selectionnee {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--ombre-haute);
}

.cartannonce.masquee {
  display: none;
}

.photobien {
  position: relative;
  min-height: 176px;
  background: var(--fond-4);
}

.photobien img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coeurfavori {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--encre);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 48, 47, 0.18);
  transition: color 0.2s ease, transform 0.2s ease;
}

.coeurfavori:hover {
  transform: scale(1.08);
}

.coeurfavori.aime,
.coeurfavori[aria-pressed="true"] {
  color: var(--accent);
}

.coeurfavori.aime path,
.coeurfavori[aria-pressed="true"] path {
  fill: var(--accent);
}

.badgedispo {
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.24rem 0.55rem;
  box-shadow: 0 4px 12px rgba(0, 163, 107, 0.3);
}

.badgedispo.bientot {
  background: var(--ambre);
  color: #3a2708;
  box-shadow: none;
}

.badgedispo.attente {
  background: rgba(255, 255, 255, 0.95);
  color: var(--encre);
  border: 1px solid var(--trait-fort);
  box-shadow: none;
}

.corpannonce {
  display: flex;
  flex-direction: column;
  padding: 0.95rem 1rem 1rem;
  min-width: 0;
}

.corpannonce h3 {
  margin: 0;
}

.naturebien,
.lignecles,
.prixmensuel,
.loyersecondaire {
  margin: 0;
}

.naturebien {
  margin-top: 0.25rem;
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 0.9rem;
}

.lignecles {
  margin-top: 0.12rem;
  color: var(--texte-doux);
  font-size: 0.92rem;
}

.prixmensuel {
  margin-top: auto;
  padding-top: 0.7rem;
}

.prixmensuel strong {
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--encre);
}

.uniteloyer,
.loyersecondaire {
  color: var(--texte-doux);
}

.uniteloyer {
  font-size: 0.9rem;
}

.loyersecondaire {
  margin-top: 0.12rem;
  font-size: 0.82rem;
}

.aucuneresultat {
  margin: 1rem 0.9rem 0;
  padding: 1.25rem;
  background: var(--fond-3);
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  color: var(--texte-doux);
}

.colonnemap {
  position: sticky;
  top: var(--entete);
  height: calc(100dvh - var(--entete));
  isolation: isolate;
  z-index: 1;
  background: var(--fond-4);
}

#zonecarte {
  height: 100%;
  width: 100%;
  background: var(--fond-4);
  isolation: isolate;
}

.etendreplan {
  position: absolute;
  z-index: 2;
  top: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: var(--encre);
  border: 1px solid var(--trait-fort);
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--ombre-douce);
}

.etendreplan:hover {
  background: var(--encre);
  color: #ffffff;
  border-color: var(--encre);
}

.carteabsente {
  margin: 0;
  padding: 2rem 1.2rem;
  color: var(--texte-doux);
}

/* Guide */

.section3texte {
  padding: 4.6rem 0 3rem;
  background: var(--beige);
  border-top: 1px solid var(--trait);
  border-bottom: 1px solid var(--trait);
}

.ouvreguide h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.38rem, 3vw, 2.15rem);
}

.chapeau {
  margin: 0;
  color: var(--texte);
  font-size: clamp(0.98rem, 1.2vw, 1.06rem);
  line-height: 1.65;
}

.grillesignaux {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.8rem 0 2.6rem;
}

.signal {
  background: #ffffff;
  border: 1px solid var(--trait);
  border-radius: 14px;
  padding: 1.1rem 1.1rem 1.15rem;
  box-shadow: var(--ombre-carte);
  min-width: 0;
}

.signal p {
  margin: 0;
  color: var(--texte-doux);
  font-size: 0.92rem;
  line-height: 1.5;
}

.signal .grandchiffre {
  margin: 0 0 0.45rem;
  color: var(--accent-grand);
  font-family: var(--titre);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
}

.miseenguide {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 2.6rem;
  align-items: start;
}

.sommaireguide {
  position: sticky;
  top: calc(var(--entete) + 0.8rem);
  padding: 1rem 1.1rem;
  background: #ffffff;
  border: 1px solid var(--trait);
  border-radius: 14px;
  box-shadow: var(--ombre-carte);
  min-width: 0;
}

.sommaireguide p {
  margin: 0 0 0.45rem;
  color: var(--accent-deep);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sommaireguide a {
  display: block;
  padding: 0.34rem 0;
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--texte-doux);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sommaireguide a:hover {
  color: var(--accent-deep);
}

.chapitres {
  min-width: 0;
}

.chapitres h2 {
  margin: 2.6rem 0 0.85rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  scroll-margin-top: calc(var(--entete) + 1rem);
}

.chapitres h2:first-child {
  margin-top: 0;
}

.chapitres h3 {
  margin: 1.65rem 0 0.45rem;
  font-size: 1.16rem;
}

.chapitres p {
  max-width: none;
}

.tableaucadre {
  margin: 1rem 0 1.2rem;
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  box-shadow: var(--ombre-carte);
}

.tableausecteurs {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}

.tableausecteurs th,
.tableausecteurs td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--trait);
  vertical-align: top;
}

.tableausecteurs thead th {
  background: var(--fond-3);
  color: var(--encre);
  font-family: var(--titre);
  font-weight: 600;
  font-size: 0.88rem;
}

.tableausecteurs tbody tr:last-child td {
  border-bottom: 0;
}

.grillefaq {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1rem;
}

.itemfaq {
  background: #ffffff;
  border: 1px solid var(--trait);
  border-radius: 14px;
  box-shadow: var(--ombre-carte);
  overflow: hidden;
}

.itemfaq summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 2.6rem 1rem 1.15rem;
  font-family: var(--titre);
  font-weight: 600;
  color: var(--encre);
  font-size: 1.02rem;
  line-height: 1.35;
  position: relative;
}

.itemfaq summary::-webkit-details-marker {
  display: none;
}

.itemfaq summary::after {
  content: "+";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-deep);
}

.itemfaq[open] summary::after {
  content: "-";
}

.itemfaq p {
  margin: 0;
  padding: 0 1.15rem 1.05rem;
  color: var(--texte-doux);
  font-size: 0.95rem;
  max-width: none;
}

.exempleloyer {
  background: var(--menthe-soft);
  border: 1px solid #c3ecd9;
  border-radius: var(--rayon);
  padding: 1.1rem 1.2rem;
  margin: 1.2rem 0 1.4rem;
}

.exempleloyer p {
  color: var(--texte);
}

.exempleloyer p:last-child {
  margin-bottom: 0;
}

.grillequartiers,
.grillemodes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.1rem 0 0.5rem;
}

.fichequartier,
.modebureau {
  background: #ffffff;
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: var(--ombre-carte);
  min-width: 0;
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.fichequartier {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.fichequartier:hover,
.modebureau:hover {
  box-shadow: var(--ombre-haute);
  transform: translateY(-2px);
}

.fichequartier h3,
.modebureau h3 {
  margin: 0 0 0.5rem;
}

.fichequartier p,
.modebureau p {
  margin: 0;
  color: var(--texte-doux);
  font-size: 0.95rem;
}

.fichequartier p {
  margin-bottom: 1rem;
}

.lienquartier {
  margin-top: auto;
  color: var(--accent-deep);
  border-color: #bfe6d5;
}

.bandebrief {
  margin-top: 1.8rem;
  padding: 1.3rem 1.4rem;
  background: #ffffff;
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  box-shadow: var(--ombre-carte);
}

.bandebrief p:first-child {
  margin-top: 0;
}

.bandebrief p:last-child {
  margin-bottom: 0;
}

/* Journal */

.section4blog {
  padding: 3.4rem 0 4.4rem;
}

.section4blog h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 2.05rem);
}

.introjournal {
  margin: 0.75rem 0 0;
  color: var(--texte-doux);
}

.grillejournal {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.cartarticle {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--fond-2);
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre-carte);
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.cartarticle:hover {
  box-shadow: var(--ombre-haute);
  transform: translateY(-3px);
}

.cartarticle img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: var(--fond-4);
}

.corpsarticle {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.1rem 1.2rem;
}

.corpsarticle .daterevue {
  margin: 0;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.corpsarticle h3 {
  margin: 0.45rem 0 0.5rem;
  font-size: 1.16rem;
  overflow-wrap: anywhere;
}

.corpsarticle p {
  margin: 0 0 0.85rem;
  color: var(--texte-doux);
  font-size: 0.95rem;
}

.lienarticle {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--accent-deep);
}

.lienarticle:hover {
  text-decoration: underline;
}

.signatureguide {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  color: var(--texte-doux);
}

.signatureguide a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Fondateur */

.sectionfondateur {
  padding: 0 0 3.2rem;
}

.cartefondateur {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  background: var(--fond-3);
  border: 1px solid var(--trait);
  border-radius: 22px;
  padding: 2rem 2.2rem;
  box-shadow: var(--ombre-carte);
}

.portraitfondateur {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.portraitfondateur img {
  width: 152px;
  height: 152px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid #ffffff;
  box-shadow: var(--ombre-douce);
  background: var(--fond-4);
}

.badgeexperience {
  display: inline-block;
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
  background: var(--menthe-soft);
  border: 1px solid var(--trait-fort);
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.infosfondateur h2 {
  margin: 0.45rem 0 0.75rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.infosfondateur p {
  margin: 0 0 0.75rem;
  color: var(--texte);
  font-size: 0.96rem;
}

.preuvesfondateur {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1rem 0 1.2rem;
  padding: 0;
}

.preuvesfondateur li {
  padding: 0.34rem 0.75rem;
  border-radius: 999px;
  background: var(--fond-2);
  border: 1px solid var(--trait);
  color: var(--encre);
  font-size: 0.84rem;
  font-weight: 600;
}

.actionsfondateur {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.35rem;
}

.lienlinkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--trait-fort);
  color: var(--encre);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.lienlinkedin:hover {
  border-color: var(--accent);
  box-shadow: var(--ombre-douce);
  transform: translateY(-1px);
}

.lientelfondateur {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-deep);
  text-decoration: none;
}

.lientelfondateur:hover {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .cartefondateur {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.35rem;
    padding: 1.5rem 1.35rem;
  }

  .portraitfondateur {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .portraitfondateur img {
    width: 88px;
    height: 88px;
    border-radius: 14px;
  }
}

/* Appel */

.section5cta {
  padding: 0 0 4.5rem;
}

.grilleappel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 2.5rem;
  align-items: center;
  background: radial-gradient(circle at 12% 18%, rgba(0, 163, 107, 0.18), transparent 48%), linear-gradient(135deg, #013f3c 0%, #002a29 100%);
  border: 1px solid rgba(143, 240, 198, 0.14);
  border-radius: 26px;
  padding: 2.6rem;
  box-shadow: var(--ombre-haute);
}

.grilleappel .surtitre {
  background: rgba(143, 240, 198, 0.12);
  border: 1px solid rgba(143, 240, 198, 0.22);
  color: #8ff0c6;
}

.grilleappel h2 {
  margin: 0 0 0.85rem;
  color: #ffffff;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
}

.appelcontenu > p:not(.surtitre) {
  color: rgba(231, 246, 239, 0.84);
  margin: 0 0 1.35rem;
  font-size: 0.99rem;
}

.listeengagement {
  list-style: none;
  margin: 0;
  padding: 1.15rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 0.65rem;
}

.listeengagement li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #e7f6ef;
  font-size: 0.94rem;
  font-weight: 500;
}

.listeengagement svg {
  flex: none;
}

.formulairebrief {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 22px 48px rgba(0, 18, 17, 0.28);
}

.teteform {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--trait);
}

.titreform {
  margin: 0;
  font-family: var(--titre);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--encre);
  letter-spacing: -0.015em;
}

.badgeform {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--menthe-soft);
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
}

.grillageform {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 0.9rem;
}

.pleine {
  grid-column: 1 / -1;
}

.blocchamp {
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
  min-width: 0;
}

.blocchamp label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--encre);
  line-height: 1.3;
}

.formulairebrief .champ {
  background-color: #f8fbfa;
  border: 1px solid var(--trait-fort);
  color: var(--encre);
  padding: 0.72rem 0.88rem;
  font-size: 0.96rem;
}

.formulairebrief .champ::placeholder {
  color: #6c837d;
}

.formulairebrief .champ:hover {
  border-color: #9ec4b8;
}

.formulairebrief .champ:focus-visible {
  background-color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 163, 107, 0.2);
}

.formulairebrief textarea.champ {
  min-height: 6.6rem;
}

.formulairebrief .boutonaction {
  width: 100%;
  margin-top: 0.15rem;
  padding: 0.92rem 1.25rem;
  font-size: 1rem;
  background: #00b074;
  color: var(--encre);
  box-shadow: 0 10px 24px rgba(0, 163, 107, 0.26);
}

.formulairebrief .boutonaction:hover {
  background: #00c482;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 163, 107, 0.34);
}

.mentionform {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--texte-doux);
  text-align: center;
}

.mentionform svg {
  flex: none;
  color: var(--accent-deep);
}

.piegeabot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.fenetrecontact {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.25rem;
  overflow-y: auto;
  background: rgba(0, 48, 47, 0.62);
  backdrop-filter: blur(4px);
}

.fenetrecontact[hidden] {
  display: none;
}

html.modaleouverte,
html.modaleouverte body {
  overflow: hidden;
}

.boitecontact {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: auto;
}

.boitecontact .formulairebrief {
  margin: 0;
}

.boitecontact .teteform {
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding-right: 2.4rem;
  padding-bottom: 0.75rem;
}

.photomodale {
  width: 84px;
  height: 63px;
  object-fit: cover;
  border-radius: 10px;
  flex: none;
  background: var(--fond-3);
  box-shadow: 0 0 0 1px rgba(0, 48, 47, 0.08);
}

.photomodale[hidden] {
  display: none;
}

.textemodale {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
}

.boitecontact .titreform {
  font-size: 1.08rem;
  line-height: 1.25;
}

.boitecontact .badgeform {
  margin-top: 0.22rem;
}

@media (max-width: 560px) {
  .photomodale {
    width: 64px;
    height: 48px;
  }

  .boitecontact .titreform {
    font-size: 1rem;
  }
}

.fermercontact {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--fond-3);
  color: var(--encre);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fermercontact:hover {
  background: var(--fond-4);
}

.annoncemodale {
  margin: 0;
  max-width: 100%;
  overflow: hidden;
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--texte-doux);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.annoncemodale[hidden] {
  display: none;
}

/* Pied */

.sectionfinale {
  background: var(--encre);
  color: rgba(231, 246, 239, 0.72);
  padding: 2.8rem 0 1.4rem;
}

.sectionfinale .couleurlogo {
  color: #ffffff;
}

.sectionfinale .motmenthe {
  color: #4fe0a4;
}

.grillagepied {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr 0.8fr 1.1fr;
  gap: 1.5rem;
}

.grillagepied p {
  margin: 0 0 0.7rem;
  color: rgba(231, 246, 239, 0.68);
  font-size: 0.92rem;
}

.titrepied {
  margin: 0 0 0.6rem;
  color: #ffffff;
  font-weight: 700;
}

.colpied a {
  display: block;
  padding: 0.22rem 0;
  color: rgba(231, 246, 239, 0.86);
  text-decoration: none;
  transition: color 0.2s ease;
}

.colpied a:hover {
  color: #4fe0a4;
}

.lienpagequartier {
  display: inline-block;
  margin-top: 0.7rem;
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.lienpagequartier:hover {
  color: var(--encre);
}

.maillagevoisins {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  margin: 1.15rem 0 0.2rem;
}

.maillagevoisins a {
  font-weight: 700;
  text-decoration: none;
}

.maillagevoisins a:hover {
  text-decoration: underline;
}

.maillagepied {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  align-items: baseline;
  margin-top: 1.5rem;
}

.maillagepied .titrepied {
  width: 100%;
  margin-bottom: 0.15rem;
}

.maillagepied a {
  color: rgba(231, 246, 239, 0.86);
  text-decoration: none;
}

.maillagepied a:hover {
  color: #4fe0a4;
}

.basdepied {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(231, 246, 239, 0.14);
  color: rgba(231, 246, 239, 0.6);
  font-size: 0.84rem;
}

.basdepied p {
  margin: 0;
}

.basdepied .lienslegaux {
  margin-top: 0.55rem;
  color: rgba(231, 246, 239, 0.72);
}

.basdepied .lienslegaux a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(231, 246, 239, 0.45);
}

.basdepied .lienslegaux a:hover {
  color: #4fe0a4;
  text-decoration-color: currentColor;
}

.basdepied .lienslegaux .sepied {
  margin: 0 0.4rem;
  opacity: 0.65;
}

/* Page de remerciement */

.corpsmerci {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
}

.pagecalme {
  width: min(36rem, 100%);
}

.pagecalme h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.pagecalme p {
  margin: 0 0 1.3rem;
  color: var(--texte-doux);
}

.entetelegere {
  height: 3.6rem;
  border-bottom: 1px solid var(--trait);
  background: #ffffff;
}

.bandeaulegere {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lienretour {
  color: var(--texte);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.lienretour:hover {
  color: var(--accent-deep);
}

.piedleger {
  border-top: 1px solid var(--trait);
  padding: 1.15rem 0 1.4rem;
  color: var(--texte-doux);
  font-size: 0.86rem;
}

.piedleger p {
  margin: 0;
}

.piedleger p + p {
  margin-top: 0.35rem;
}

.piedleger a {
  color: var(--texte);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.piedleger a:hover {
  color: var(--accent-deep);
}

/* Plan Leaflet */

.leaflet-container {
  background: var(--fond-4);
  font-family: var(--sans);
}

.leaflet-container img {
  max-width: none;
  max-height: none;
}

.leaflet-container .leaflet-div-icon.marqueurcarte {
  background: transparent;
  border: 0;
}

.pastillecarte {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 28px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--encre);
  border: 1px solid var(--trait-fort);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 22px rgba(0, 48, 47, 0.22);
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.marqueurcarte:hover .pastillecarte {
  border-color: var(--accent);
  transform: scale(1.04);
}

.marqueurcarte.actif .pastillecarte {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: #ffffff;
  color: var(--texte);
  box-shadow: 0 10px 30px rgba(0, 48, 47, 0.18);
}

.leaflet-popup-content-wrapper {
  border: 1px solid var(--trait);
  border-radius: 12px;
}

.leaflet-popup-content {
  margin: 0.7rem 0.85rem;
  font-size: 0.92rem;
  line-height: 1.4;
}

.titrepopup,
.prixpopup {
  margin: 0;
}

.titrepopup {
  font-weight: 700;
  color: var(--encre);
}

.prixpopup {
  margin: 0.15rem 0 0.55rem;
  color: var(--accent-deep);
  font-weight: 600;
}

.leaflet-container .lienpopup,
.lienpopup {
  display: inline-block;
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--accent-deep);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.leaflet-container a.leaflet-popup-close-button {
  color: var(--texte-doux);
}

.leaflet-bar {
  border: 1px solid var(--trait-fort);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--ombre-douce);
}

.leaflet-bar a,
.leaflet-bar a:hover {
  background: #ffffff;
  color: var(--encre);
  border-bottom-color: var(--trait);
}

.leaflet-bar a:hover {
  background: var(--menthe-soft);
  color: var(--accent-deep);
}

.leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.86);
  color: var(--texte-doux);
  font-size: 0.68rem;
}

.leaflet-control-attribution a {
  color: var(--accent-deep);
}

/* Écrans étroits */

@media (max-width: 1100px) {
  .grilleappel {
    grid-template-columns: minmax(0, 1fr);
  }

  .cartannonce {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .photobien {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}

@media (max-width: 1040px) {
  .boutonsandwich {
    display: inline-flex;
  }

  .navigationhaute {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 0.6rem 0.8rem;
    background: #ffffff;
    border-bottom: 1px solid var(--trait);
    box-shadow: var(--ombre-douce);
  }

  .enteteprincipal.menuouvert .navigationhaute {
    display: flex;
  }

  .navigationhaute a {
    padding: 0.75rem 0.6rem;
  }
}

@media (max-width: 980px) {
  .grillesignaux,
  .grillequartiers,
  .grillemodes,
  .grillejournal,
  .grillagepied {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .miseenguide {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .sommaireguide {
    position: static;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.35rem 1rem;
    overflow: auto;
    padding: 0.7rem 0.9rem;
  }

  .sommaireguide p {
    flex: none;
    align-self: center;
    margin: 0;
  }

  .sommaireguide a {
    white-space: nowrap;
    padding: 0.35rem 0;
  }
}

@media (max-width: 900px) {
  .section2carte {
    grid-template-columns: 1fr;
  }

  .colonneannonces {
    border-right: 0;
  }

  .colonnemap {
    position: relative;
    top: auto;
    height: 44vh;
    min-height: 280px;
    max-height: 420px;
    order: -1;
  }

  .teteliste {
    position: static;
  }

  .cartannonce {
    scroll-margin-top: calc(var(--entete) + 0.75rem);
  }
}

@media (max-width: 720px) {
  .actionsentete .numerotelentete {
    display: none;
  }

  .actionsentete .lienappel {
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    padding: 0;
    border-radius: 12px;
    border: 1px solid var(--trait-fort);
    background: #ffffff;
    color: var(--encre);
  }

  .actionsentete .lienappel:hover {
    color: var(--accent-deep);
    border-color: var(--accent);
  }

  .actionsentete .pictotelentete {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 680px) {
  .cadrelecture {
    width: min(1500px, calc(100% - 2rem));
  }

  .grillesignaux,
  .grillequartiers,
  .grillemodes,
  .grillejournal,
  .grilleappel,
  .grillageform,
  .grillagepied {
    grid-template-columns: minmax(0, 1fr);
  }

  .grilleappel {
    padding: 1.35rem;
    gap: 1.6rem;
  }

  .formulairebrief {
    padding: 1.25rem;
  }

  .section3texte .boutonaction,
  .section5cta .boutonaction {
    white-space: normal;
    text-align: center;
  }

  .teteliste {
    flex-direction: column;
    align-items: flex-start;
  }

  .listebiens {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
}

@media (max-width: 480px) {
  .enteteprincipal {
    background: #ffffff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .bandeau {
    gap: 0.5rem;
  }

  .couleurlogo {
    font-size: 1.05rem;
    gap: 0.45rem;
  }

  .couleurlogo svg {
    width: 28px;
    height: 28px;
  }

  .actionsentete {
    gap: 0.5rem;
  }

  .actionsentete .boutonaction {
    font-size: 0.82rem;
    padding: 0.52rem 0.78rem;
    box-shadow: none;
  }

  .boutonsandwich {
    width: 2.35rem;
    height: 2.35rem;
  }
}

@media (max-width: 420px) {
  .boutonsandwich {
    display: none;
  }
}

@media (max-width: 380px) {
  .bandeau {
    gap: 0.35rem;
  }

  .actionsentete {
    gap: 0.35rem;
  }

  .actionsentete .boutonaction {
    font-size: 0.78rem;
    padding: 0.48rem 0.55rem;
  }
}

@media (max-width: 340px) {
  .couleurlogo {
    font-size: 0.88rem;
    gap: 0.3rem;
  }

  .couleurlogo svg {
    width: 22px;
    height: 22px;
  }

  .actionsentete .lienappel {
    width: 2.15rem;
    height: 2.15rem;
  }

  .actionsentete .boutonaction {
    font-size: 0.72rem;
    padding: 0.4rem 0.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Pages du journal */

.corpsarticle h3 a {
  color: inherit;
  text-decoration: none;
}

.corpsarticle h3 a:hover {
  color: var(--accent-deep);
}

.photoarticle {
  display: block;
  color: inherit;
}

.blocarticle {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.introarticle {
  padding: 2.5rem 0 2.2rem;
  background:
    radial-gradient(640px 240px at 12% -30%, rgba(0, 163, 107, 0.14), transparent 70%),
    var(--fond-3);
  border-bottom: 1px solid var(--trait);
}

.introarticle h1 {
  margin: 0.85rem 0 0;
  max-width: 18em;
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
}

.chapoarticle {
  margin: 1.05rem 0 0;
  max-width: 68ch;
  color: var(--texte);
  font-size: 1.06rem;
  line-height: 1.7;
}

.metaarticle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.4rem;
  margin: 1.35rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--trait-fort);
  list-style: none;
  color: var(--texte-doux);
  font-size: 0.9rem;
}

.metaarticle li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.metaarticle svg {
  flex: none;
  color: var(--accent-deep);
}

.metaarticle strong {
  color: var(--encre);
  font-weight: 700;
}

.corpsjournal {
  padding: 2.5rem 0 3.5rem;
}

.grillelecture {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 2.5rem;
  align-items: start;
}

.colonnelecture {
  min-width: 0;
}

.visuelarticle {
  margin: 0 0 1.8rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--trait);
  background: var(--fond-4);
  box-shadow: var(--ombre-carte);
}

.visuelarticle img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.prosejournal p,
.prosejournal li {
  font-size: 1.045rem;
  line-height: 1.72;
  color: var(--texte);
}

.prosejournal p {
  margin: 0 0 1.1rem;
}

.prosejournal h2 {
  margin: 2.5rem 0 0.85rem;
  font-size: clamp(1.38rem, 2.2vw, 1.82rem);
  scroll-margin-top: calc(var(--entete) + 0.8rem);
}

.prosejournal h2:first-child {
  margin-top: 0;
}

.prosejournal strong {
  color: var(--encre);
  font-weight: 700;
}

.prosejournal a {
  font-weight: 700;
  color: var(--accent-deep);
  text-underline-offset: 3px;
}

.prosejournal ul,
.prosejournal ol {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
}

.prosejournal li {
  margin: 0.45rem 0;
  padding-left: 0.2rem;
  overflow-wrap: anywhere;
}

.prosejournal li::marker {
  color: var(--accent-deep);
  font-weight: 700;
}

.encartjournal {
  margin: 0 0 1.2rem;
  padding: 1rem 1.1rem;
  background: var(--menthe-soft);
  border: 1px solid #b7e4cf;
  border-radius: 14px;
}

.encartjournal p {
  margin: 0;
}

.encartjournal a {
  color: var(--accent-deep);
  font-weight: 700;
}

.colonnelaterale {
  position: sticky;
  top: calc(var(--entete) + 1rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blocsommaire,
.relaislateral {
  padding: 1.15rem 1.15rem 1.2rem;
  background: #ffffff;
  border: 1px solid var(--trait);
  border-radius: 16px;
  box-shadow: var(--ombre-carte);
}

.titrelateral {
  margin: 0 0 0.75rem;
  font-family: var(--titre);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--encre);
}

.sommairearticle {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: sommaire;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.sommairearticle a {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.38rem 0.35rem;
  border-radius: 10px;
  color: var(--texte);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
}

.sommairearticle a::before {
  counter-increment: sommaire;
  content: counter(sommaire);
  flex: none;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.05rem;
  border-radius: 50%;
  background: var(--menthe-soft);
  color: var(--accent-deep);
  font-size: 0.74rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sommairearticle a:hover {
  background: var(--fond-3);
  color: var(--encre);
}

.relaislateral {
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 163, 107, 0.22), transparent 55%),
    var(--encre);
  border-color: transparent;
}

.relaislateral .titrelateral,
.relaislateral p {
  color: #ffffff;
}

.relaislateral p {
  margin: 0 0 0.95rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(231, 246, 239, 0.84);
}

.relaislateral .boutonaction {
  width: 100%;
  background: #00b074;
  color: var(--encre);
  box-shadow: none;
}

.relaislateral .boutonaction:hover {
  background: #00c482;
}

.relaislateral .lienappel {
  display: block;
  margin-top: 0.75rem;
  text-align: center;
  color: #8ff0c6;
}

.relaislateral .lienappel:hover {
  color: #ffffff;
}

.suitelire {
  padding: 0 0 1rem;
}

.suitelire h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.bandearticle {
  padding: 1.6rem 0 4.2rem;
}

.bandearticle .grilleappel {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.bandearticle .boutonaction {
  background: #00b074;
  color: var(--encre);
  box-shadow: none;
}

.bandearticle .boutonaction:hover {
  background: #00c482;
}

@media (max-width: 980px) {
  .grillelecture {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
  }

  .colonnelaterale {
    position: static;
  }

  .blocsommaire {
    display: none;
  }

  .bandearticle .grilleappel {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .introarticle {
    padding: 1.7rem 0 1.6rem;
  }

  .introarticle h1 {
    max-width: none;
  }

  .chapoarticle,
  .prosejournal p,
  .prosejournal li {
    font-size: 1rem;
  }

  .corpsjournal {
    padding: 1.7rem 0 2.4rem;
  }

  .visuelarticle img {
    aspect-ratio: 4 / 3;
  }

  .metaarticle {
    gap: 0.45rem 1rem;
    font-size: 0.84rem;
  }

  .bandearticle .boutonaction {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }
}
