/* ---------------------------------------------------------------------------
   La page d'accueil du thème
   ---------------------------------------------------------------------------
   Une seule feuille, chargée uniquement par le gabarit « Accueil Châteaux
   France ». Les blocs partagent trois mesures : la largeur de lecture, le pas
   vertical entre deux sections, et le vert du site. Tout le reste en découle.
   ------------------------------------------------------------------------ */

.ikn-home {
  --ikn-h-max: 1240px;
  --ikn-h-pas: 72px;
  --ikn-h-vert: #49714b;
  --ikn-h-vert-fonce: #2f4a31;
  --ikn-h-encre: #2f3a2e;
  --ikn-h-gris: #6f786d;
}

.ikn-home-inner {
  max-width: var(--ikn-h-max);
  margin: 0 auto;
  padding: 0 20px;
}

.ikn-home-section {
  padding: var(--ikn-h-pas) 0;
}

.ikn-home-titre {
  position: relative;
  margin: 0 0 12px;
  color: var(--ikn-h-encre);
  font-size: clamp(1.6rem, 1.1rem + 1.7vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* Un filet court sous les titres : il rythme la page sans ajouter de bruit. */
.ikn-home-section .ikn-home-titre::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 14px;
  border-radius: 2px;
  background: var(--ikn-h-vert);
}

.ikn-home-proprio .ikn-home-titre::after {
  background: rgba(255, 255, 255, 0.5);
}

.ikn-home-accroche {
  max-width: 720px;
  margin: 0 0 28px;
  color: var(--ikn-h-gris);
  font-size: 1.02rem;
  line-height: 1.6;
}

.ikn-home-titre--clair,
.ikn-home-accroche--clair {
  color: #fff;
}

.ikn-home-accroche--clair {
  color: rgba(255, 255, 255, 0.88);
}

/* -- Le bouton commun ----------------------------------------------------- */

.ikn-home .ikn-home-bouton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border: 2px solid var(--ikn-h-vert);
  border-radius: 30px;
  background: var(--ikn-h-vert);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

/* Un lien déjà visité reprend la couleur du thème : sur un bouton plein, le
   libellé devenait vert sombre sur vert, donc illisible. La règle vit ici,
   collée à la définition du bouton, pour ne plus disparaître dans une refonte
   de section. */
.ikn-home .ikn-home-bouton,
.ikn-home .ikn-home-bouton:visited,
.ikn-home .ikn-home-bouton:active {
  color: #fff;
}

.ikn-home a.ikn-home-bouton--clair,
.ikn-home a.ikn-home-bouton--clair:visited,
.ikn-home a.ikn-home-bouton--clair:active {
  color: var(--ikn-h-vert-fonce);
}

.ikn-home .ikn-home-bouton:hover {
  background: var(--ikn-h-vert-fonce);
  border-color: var(--ikn-h-vert-fonce);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.ikn-home .ikn-home-bouton--clair {
  border-color: #fff;
  background: #fff;
  color: var(--ikn-h-vert-fonce);
}

.ikn-home .ikn-home-bouton--clair:hover {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.88);
  color: var(--ikn-h-vert-fonce);
}

/* -- Le bandeau ----------------------------------------------------------- */

.ikn-home-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 640px;
  padding: 96px 0 84px;
  background: #2c4430;
  color: #fff;
  overflow: hidden;
}

/* Les photographies se succèdent en fondu, et chacune dérive très lentement :
   assez pour que la page soit vivante au premier regard, trop peu pour qu'on
   la remarque pendant la lecture. */
.ikn-home-hero__fonds {
  position: absolute;
  inset: 0;
}

.ikn-home-hero__fond {
  position: absolute;
  inset: -3%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
  will-change: opacity, transform;
}

/* La première est servie visible par le gabarit : si le script ne tourne pas,
   le bandeau garde une photographie au lieu d'un fond noir. */
.ikn-home-hero__fond.is-visible {
  opacity: 1;
  animation: ikn-home-derive 26s ease-in-out infinite alternate;
}

@keyframes ikn-home-derive {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .ikn-home-hero__fond {
    animation: none;
    transition: none;
  }
}

/* Sans photographie, un aplat pâle faisait un bandeau mort. Un dégradé profond
   et une trame discrète tiennent la page jusqu'à ce qu'une image soit posée. */
.ikn-home-hero:not(.ikn-home-hero--photo) {
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(123, 161, 120, 0.55), transparent 60%),
    radial-gradient(900px 500px at 95% 110%, rgba(73, 113, 75, 0.5), transparent 55%),
    linear-gradient(160deg, #2f4a33 0%, #243a28 55%, #1c2e20 100%);
}

/* Le voile ne sert qu'aux photographies : un ciel clair avale le texte. */
.ikn-home-hero__voile {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(16, 28, 17, 0.78) 0%, rgba(16, 28, 17, 0.46) 55%, rgba(16, 28, 17, 0.2) 100%);
}

.ikn-home-hero:not(.ikn-home-hero--photo) .ikn-home-hero__voile {
  display: none;
}

.ikn-home-hero__corps {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
}

.ikn-home-hero__sur-titre {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ikn-home-hero__titre {
  max-width: 16ch;
  margin: 0 0 18px;
  color: inherit;
  font-size: clamp(2.3rem, 1.2rem + 3.4vw, 4.1rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.015em;
}

.ikn-home-hero__accroche {
  max-width: 44ch;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.18rem);
  line-height: 1.6;
}

/* -- La recherche du bandeau ---------------------------------------------- */

.ikn-home-hero__recherche {
  max-width: 760px;
  margin-bottom: 22px;
}

/* Le bloc de recherche du site porte son propre titre et sa propre mise en
   forme, pensés pour une page intérieure. Dans le bandeau, on ne garde que le
   champ et son bouton, posés dans une barre blanche. */
/* Le bloc de recherche se centre dans sa largeur maximale : sur l'accueil il
   doit occuper toute la colonne, sans quoi un vide de quatre-vingts pixels
   s'ouvrait à gauche du champ. */
.ikn-home-hero__recherche .ikn-search-form-wrapper,
.ikn-home-hero__recherche .ikn-search-header,
.ikn-home-hero__recherche .ikn-search-results {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* Le champ est rangé dans le même conteneur que le titre : masquer le
   conteneur emportait la recherche avec lui. On ne retire que le titre. */
.ikn-home-hero__recherche .ikn-search-title {
  display: none;
}

.ikn-home-hero__recherche .ikn-search-header {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

.ikn-home-hero__recherche .ikn-search-combined {
  max-width: none;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.ikn-home-hero__recherche .ikn-search-form-wrapper {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(10, 22, 12, 0.3);
}

.ikn-home-hero__recherche .ikn-search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 54px;
  margin: 0;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ikn-h-encre);
  font-size: 1.02rem;
}

.ikn-home-hero__recherche .ikn-search-input:focus {
  outline: none;
  box-shadow: none;
}

.ikn-home-hero__recherche .ikn-search-submit {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--ikn-h-vert);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.ikn-home-hero__recherche .ikn-search-submit:hover,
.ikn-home-hero__recherche .ikn-search-submit:focus {
  background: var(--ikn-h-vert-fonce);
  color: #fff;
  transform: scale(1.04);
}

/* Les résultats s'ouvrent sous la barre : sur un fond sombre, il leur faut
   leur propre carte blanche pour rester lisibles. */
.ikn-home-hero__recherche .ikn-search-results {
  margin-top: 12px;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  color: var(--ikn-h-encre);
  box-shadow: 0 18px 44px rgba(10, 22, 12, 0.28);
  max-height: 60vh;
  overflow-y: auto;
}

/* -- L'appel à l'action du bandeau ---------------------------------------- */

.ikn-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin: 0;
}

.ikn-home-hero__compte {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.ikn-home-hero__compte strong {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
}

/* -- Les univers ---------------------------------------------------------- */

.ikn-home-univers__grille {
  display: grid;
  /* Cinq univers dans une rangée de quatre laissaient une carte seule à la
     ligne suivante. On range donc par nombre d'éléments, jamais par place
     disponible. */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (min-width: 760px) {
  .ikn-home-univers__grille {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) {
  .ikn-home-univers__grille--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ikn-home-univers__grille--5,
  .ikn-home-univers__grille--6 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Une carte seule sur sa ligne saute aux yeux : elle prend toute la largeur
   plutôt que de flotter dans un coin. */
.ikn-home-univers__carte:last-child:nth-child(odd) {
  grid-column: auto;
}

/* Une carte claire, l'icône de marque en tête : c'est ce que portait l'ancienne
   page, et c'est ce qui distingue un univers d'un autre en un coup d'œil. */
.ikn-home .ikn-home-univers__carte {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 30px 22px 26px;
  border: 1px solid #e6ece4;
  border-radius: 22px;
  background: #fff;
  color: var(--ikn-h-encre);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.ikn-home .ikn-home-univers__carte:hover {
  border-color: var(--ikn-h-vert);
  box-shadow: 0 18px 38px rgba(40, 70, 40, 0.16);
  color: var(--ikn-h-encre);
  text-decoration: none;
  transform: translateY(-4px);
}

.ikn-home .ikn-home-univers__carte:hover .ikn-home-univers__icone {
  background: linear-gradient(160deg, #e2ebe0 0%, #d3e0d0 100%);
}

.ikn-home .ikn-home-univers__carte,
.ikn-home .ikn-home-univers__carte:visited {
  color: var(--ikn-h-encre);
}

.ikn-home-univers__icone {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 24px;
  background: linear-gradient(160deg, #eef3ec 0%, #e2ebe0 100%);
  transition: background 0.2s;
}

.ikn-home .ikn-home-univers__carte:hover .ikn-home-univers__icone {
  background: #e2ebe0;
}

.ikn-home-univers__icone img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.ikn-home .ikn-home-univers__carte:hover .ikn-home-univers__icone img {
  transform: scale(1.08);
}

.ikn-home-univers__corps {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ikn-home-univers__nom {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.25;
}

.ikn-home-univers__sous {
  color: var(--ikn-h-gris);
  font-size: 0.9rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ikn-home-univers__compte {
  margin-top: 6px;
  color: var(--ikn-h-vert);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Le chevron, dessiné plutôt qu'écrit, pour ne dépendre d'aucune police. */
.ikn-home-univers__fleche {
  position: absolute;
  top: 30px;
  right: 24px;
  width: 9px;
  height: 9px;
  border-top: 2px solid #c3cfc0;
  border-right: 2px solid #c3cfc0;
  transform: rotate(45deg);
  transition: border-color 0.2s, right 0.2s;
}

.ikn-home .ikn-home-univers__carte:hover .ikn-home-univers__fleche {
  border-color: var(--ikn-h-vert);
  right: 17px;
}

/* -- Les actualités ------------------------------------------------------- */

.ikn-home-actus .ikn-latest-news-section {
  padding: 0;
  background: none;
}

.ikn-home-actus .ikn-latest-news-container {
  max-width: none;
  padding: 0;
}

.ikn-home-actus .ikn-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.ikn-home-actus .ikn-news-card {
  overflow: hidden;
  border: 1px solid #e6ece4;
  border-radius: 18px;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
}

.ikn-home-actus .ikn-news-card:hover {
  box-shadow: 0 16px 34px rgba(40, 70, 40, 0.13);
  transform: translateY(-3px);
}

.ikn-home-actus .ikn-news-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef3ec;
}

.ikn-home-actus .ikn-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ikn-home-actus .ikn-news-content {
  padding: 18px 20px 22px;
}

.ikn-home-actus .ikn-news-title {
  margin: 0 0 8px;
  color: var(--ikn-h-encre);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.ikn-home-actus .ikn-news-date {
  margin-bottom: 8px;
  color: var(--ikn-h-vert);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ikn-home-actus .ikn-news-excerpt {
  color: var(--ikn-h-gris);
  font-size: 0.95rem;
  line-height: 1.6;
}

.ikn-home-actus .ikn-latest-news-footer {
  margin-top: 28px;
  text-align: center;
}

.ikn-home-actus .ikn-view-all-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 26px;
  border: 1px solid #d7e0d4;
  border-radius: 30px;
  background: #fff;
  color: var(--ikn-h-encre);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.ikn-home-actus .ikn-view-all-btn:hover {
  border-color: var(--ikn-h-vert);
  background: #f4f8f3;
  text-decoration: none;
}

/* -- L'appel à la carte --------------------------------------------------- */

.ikn-home-carte {
  background:
    radial-gradient(800px 400px at 85% 15%, rgba(123, 161, 120, 0.25), transparent 60%),
    #f2f6f1;
  border-top: 1px solid #e6ece4;
  border-bottom: 1px solid #e6ece4;
}

.ikn-home-carte__corps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 44px;
}

.ikn-home-carte__compte {
  margin: 0 0 22px;
  color: var(--ikn-h-encre);
  font-size: 1rem;
}

.ikn-home-carte__compte strong {
  font-size: 1.6rem;
  color: var(--ikn-h-vert);
}

.ikn-home-carte__actions {
  margin: 0;
}

/* La carte et l'étiquette qui la survole. */
.ikn-home-carte__scene {
  position: relative;
}

.ikn-home-carte__carte {
  aspect-ratio: 4 / 3;
  min-height: 300px;
  border-radius: 22px;
  overflow: hidden;
  background: #e8eee6;
  box-shadow: 0 18px 40px rgba(40, 70, 40, 0.14);
}

/* Leaflet pose ses propres fonds et bordures : on les neutralise pour que la
   vignette reste une image dans la page, pas un outil. */
.ikn-home-carte__carte.leaflet-container {
  background: #e8eee6;
  font: inherit;
}

/* L'attribution d'OpenStreetMap est obligatoire : on la garde, en tout petit,
   dans le coin, plutôt que de la supprimer. */
.ikn-home-carte__carte .leaflet-control-attribution {
  padding: 1px 6px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 9px;
}

.ikn-home .ikn-home-carte__vedette {
  position: absolute;
  opacity: 1;
  /* Au-dessus des calques de Leaflet, qui montent jusqu'à huit cents : sans
     rang déclaré, l'étiquette passait sous la carte. */
  z-index: 900;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 36px);
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ikn-h-encre);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(20, 40, 20, 0.22);
  backdrop-filter: blur(3px);
}

.ikn-home .ikn-home-carte__vedette:hover {
  color: var(--ikn-h-vert-fonce);
  text-decoration: none;
}

.ikn-home-carte__puce {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ikn-h-vert);
  box-shadow: 0 0 0 0 rgba(73, 113, 75, 0.55);
  animation: ikn-home-pulse 2.4s infinite;
}

.ikn-home-carte__nom {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* L'étiquette change de château toutes les trois secondes : un fondu court
   signale le changement sans faire clignoter la page. */
.ikn-home-carte__vedette.is-neuf {
  animation: ikn-home-apparait 0.45s ease;
}

/* L'étiquette ne doit jamais tirer sa visibilité d'une animation : un onglet
   en arrière-plan fige les animations à leur première image, et elle restait
   invisible. On n'anime donc que le déplacement. */
@keyframes ikn-home-apparait {
  from { transform: translateY(7px); }
  to   { transform: none; }
}

@keyframes ikn-home-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(73, 113, 75, 0.5); }
  70%  { box-shadow: 0 0 0 12px rgba(73, 113, 75, 0); }
  100% { box-shadow: 0 0 0 0 rgba(73, 113, 75, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .ikn-home-carte__puce,
  .ikn-home-carte__vedette.is-neuf {
    animation: none;
  }
}

/* -- Les listes : châteaux et actualités ---------------------------------- */

/* La grille suit le nombre de fiches, posé en classe par le gabarit. Régler la
   largeur minimale d'une colonne laissait un trou à droite dès qu'il manquait
   une fiche — c'est ce qu'on voyait sur les nouveaux lieux. */
.ikn-home-liste__grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}

@media (min-width: 640px) {
  .ikn-home-liste__grille--2,
  .ikn-home-liste__grille--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ikn-home-liste__grille--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .ikn-home-liste__grille--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ikn-home-liste__grille--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Une fiche impaire finissant seule occupe les deux colonnes plutôt que de
   laisser un blanc à côté d'elle. */
@media (min-width: 640px) and (max-width: 999px) {
  .ikn-home-liste__grille--3 .ikn-home-fiche:last-child:nth-child(odd) {
    grid-column: span 2;
  }
}

.ikn-home-fiche {
  /* L'ombre vit sur la fiche, pas sur un cadre qui la rogne : le conteneur ne
     coupe rien, et l'agrandissement au survol déborde proprement. */
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(40, 70, 40, 0.08), 0 10px 24px rgba(40, 70, 40, 0.07);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ikn-home-fiche:hover {
  box-shadow: 0 6px 14px rgba(40, 70, 40, 0.1), 0 22px 46px rgba(40, 70, 40, 0.16);
  transform: translateY(-5px);
}

.ikn-home .ikn-home-fiche__lien,
.ikn-home .ikn-home-fiche__lien:visited {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  color: var(--ikn-h-encre);
  text-decoration: none;
}

.ikn-home .ikn-home-fiche__lien:hover {
  color: var(--ikn-h-encre);
  text-decoration: none;
}

.ikn-home-fiche__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(165deg, #e9efe7 0%, #dde6da 100%);
}

.ikn-home-fiche--actu .ikn-home-fiche__media {
  aspect-ratio: 16 / 10;
}

.ikn-home-fiche__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ikn-home-fiche:hover .ikn-home-fiche__media img {
  transform: scale(1.05);
}

.ikn-home-fiche__corps {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 5px;
  padding: 18px 20px 22px;
}

.ikn-home-fiche__nom {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.ikn-home-fiche__lieu,
.ikn-home-fiche__extrait {
  color: var(--ikn-h-gris);
  font-size: 0.92rem;
  line-height: 1.5;
}

.ikn-home-fiche__date {
  color: var(--ikn-h-vert);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ikn-home-fiche__offres {
  margin-top: auto;
  padding-top: 12px;
  color: var(--ikn-h-vert);
  font-size: 0.82rem;
  font-weight: 700;
}

.ikn-home-actus__actions {
  margin: 30px 0 0;
  text-align: center;
}

/* Le sélecteur descend d'un cran supplémentaire : à égalité de poids avec la
   règle générale des boutons, ce bouton clair héritait du texte blanc et
   disparaissait sur son fond blanc. */
.ikn-home a.ikn-home-bouton--fin,
.ikn-home a.ikn-home-bouton--fin:visited,
.ikn-home a.ikn-home-bouton--fin:active {
  border-color: #d7e0d4;
  background: #fff;
  color: var(--ikn-h-encre);
}

.ikn-home a.ikn-home-bouton--fin:hover {
  border-color: var(--ikn-h-vert);
  background: #f4f8f3;
  color: var(--ikn-h-encre);
}

/* -- L'appel aux propriétaires -------------------------------------------- */

.ikn-home-proprio {
  position: relative;
  background:
    radial-gradient(700px 360px at 20% 0%, rgba(123, 161, 120, 0.4), transparent 60%),
    var(--ikn-h-vert-fonce);
}

/* Avec photographie : elle passe sous un voile vert très dense. On doit la
   deviner, pas la regarder — le texte reste le sujet. */
.ikn-home-proprio--photo {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.ikn-home-proprio--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31, 50, 33, 0.94) 0%, rgba(31, 50, 33, 0.82) 55%, rgba(47, 74, 49, 0.88) 100%);
}

.ikn-home-proprio__corps {
  position: relative;
  z-index: 1;
}

/* Le bloc est centré : son filet doit l'être aussi. */
.ikn-home-proprio .ikn-home-titre::after {
  margin-left: auto;
  margin-right: auto;
}

.ikn-home-proprio__corps {
  text-align: center;
}

.ikn-home-proprio .ikn-home-accroche {
  margin-left: auto;
  margin-right: auto;
}

.ikn-home-proprio__actions {
  margin: 0;
}

/* -- La citation ---------------------------------------------------------- */

.ikn-home-citation {
  padding: 48px 0;
}

.ikn-home-citation__corps {
  margin: 0 auto;
  text-align: center;
}

.ikn-home-citation__texte {
  margin: 0 0 8px;
  color: var(--ikn-h-encre);
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.4rem);
  font-style: italic;
  line-height: 1.5;
}

.ikn-home-citation__auteur {
  color: var(--ikn-h-gris);
  font-size: 0.92rem;
  font-style: normal;
}

/* -- Le texte de la page -------------------------------------------------- */

.ikn-home-texte__body {
  max-width: 840px;
  color: var(--ikn-h-gris);
  line-height: 1.7;
}

/* -- Petits écrans -------------------------------------------------------- */

@media (max-width: 900px) {
  .ikn-home {
    --ikn-h-pas: 48px;
  }

  .ikn-home-hero {
    min-height: 0;
    padding: 64px 0 52px;
  }

  .ikn-home-hero__titre {
    max-width: none;
  }

  .ikn-home-hero__recherche .ikn-search-form-wrapper {
    border-radius: 18px;
  }

  .ikn-home-hero__recherche .ikn-search-input,
  .ikn-home-hero__recherche .ikn-search-submit {
    height: 48px;
  }

  .ikn-home-univers__grille {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
  }

  .ikn-home-carte__corps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ikn-home-carte__carte {
    min-height: 240px;
    aspect-ratio: 3 / 2;
  }
}
