/* Page d'accueil : hero, recherche rapide, points forts, sections éditoriales. */

/* ---------- Hero ---------- */
.home-hero.reveal-on-scroll {
  opacity: 1;
  transform: none;
}

.home-hero {
  position: relative;
  padding-bottom: 8rem;
}

.home-hero .hero-content {
  max-width: 700px;
}

.home-hero h1 {
  text-shadow: 0 2px 30px rgba(7, 20, 62, .35);
}

/* ---------- Recherche rapide (chevauche le bas du hero) ---------- */
.quick-request {
  position: relative;
  z-index: 5;
  margin-top: -4.5rem;
  padding: 0 clamp(1.25rem, 6vw, 6%);
}

.quick-request form {
  display: grid;
  gap: 1.1rem;
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 1.5rem;
  border: 1px solid rgba(217, 227, 239, .8);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 28px 70px rgba(11, 27, 87, .2);
}

.quick-services {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  min-width: 0;
  border: 0;
}

.quick-services label {
  position: relative;
  cursor: pointer;
}

.quick-services input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.quick-services span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--dark);
  font-size: .82rem;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.quick-services label:hover span {
  border-color: var(--dark);
}

.quick-services input:checked + span {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--white);
}

.quick-services input:focus-visible + span {
  outline: 3px solid rgba(179, 74, 0, .6);
  outline-offset: 2px;
}

.quick-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr auto;
  gap: .9rem;
  align-items: end;
}

.quick-field {
  display: grid;
  gap: .3rem;
  text-align: left;
}

.quick-field > span {
  color: var(--text);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.quick-field input {
  width: 100%;
  min-height: 48px;
  padding: .7rem .9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--dark);
}

.quick-field input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(179, 74, 0, .15);
}

.quick-row .button {
  min-height: 48px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}

/* ---------- Points forts ---------- */
.trust-strip {
  padding: 3.5rem clamp(1.25rem, 6vw, 6%) 1rem;
}

.trust-strip ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  max-width: 1080px;
  margin: 0 auto;
  list-style: none;
}

.trust-strip li {
  padding-left: 1rem;
  border-left: 2px solid var(--primary);
}

.trust-strip strong {
  display: block;
  color: var(--dark);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.2;
}

.trust-strip span {
  display: block;
  margin-top: .3rem;
  font-size: .84rem;
  line-height: 1.5;
}

/* ---------- Section « projet pris en main » ---------- */
.split-section {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  text-align: left;
}

.split-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 28px 60px rgba(11, 27, 87, .16);
}

.split-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.22, 1, .36, 1);
}

.split-media:hover img {
  transform: scale(1.04);
}

.split-media figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  max-width: 290px;
  padding: .9rem 1rem;
  border-left: 3px solid var(--primary);
  background: rgba(7, 20, 62, .8);
  color: var(--white);
  font-size: .8rem;
  backdrop-filter: blur(6px);
}

.split-media figcaption strong,
.split-media figcaption span {
  display: block;
}

.split-media figcaption span {
  color: rgba(255, 255, 255, .8);
}

.split-copy h2 {
  margin-bottom: 1rem;
}

.split-copy > p:not(.eyebrow) {
  margin-bottom: 1.25rem;
}

.check-list {
  display: grid;
  gap: .9rem;
  margin: 1.5rem 0 2rem;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  line-height: 1.55;
}

.check-list .ico {
  margin-top: .1em;
  color: var(--primary);
  font-size: 1.3rem;
}

.check-list strong {
  color: var(--dark);
}

.split-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

/* ---------- Étapes ---------- */
.process-section {
  background: var(--light);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  max-width: 1080px;
  margin: 2.5rem auto 0;
  list-style: none;
  text-align: left;
}

.process-steps li {
  position: relative;
  padding: 1.5rem 1rem 0 0;
  border-top: 2px solid var(--line);
}

.process-steps li::before {
  position: absolute;
  top: -2px;
  left: 0;
  width: 3rem;
  height: 2px;
  background: var(--primary);
  content: "";
}

.step-number {
  display: block;
  margin-bottom: .6rem;
  color: var(--primary);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 2.4rem;
  line-height: 1;
}

.process-steps h3 {
  margin-bottom: .4rem;
  color: var(--dark);
  font-size: 1.05rem;
}

.process-steps p {
  font-size: .9rem;
}

/* ---------- Destinations : survol ---------- */
.region-card {
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease;
}

.region-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(11, 27, 87, .16);
}

/* ---------- Témoignages ---------- */
.testimonial {
  position: relative;
  padding: 2rem 1.75rem 1.5rem;
  text-align: left;
}

.testimonial::before {
  position: absolute;
  top: .5rem;
  right: 1.25rem;
  color: rgba(179, 74, 0, .18);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  content: "\201C";
}

.testimonial blockquote {
  font-size: 1rem;
  line-height: 1.7;
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.25rem;
}

.avatar {
  display: grid;
  flex: none;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.testimonial figcaption strong {
  display: block;
  color: var(--dark);
  font-size: .88rem;
}

.testimonial figcaption small {
  display: block;
  font-size: .76rem;
  font-weight: 500;
}

/* ---------- Bandeau « à venir » plus discret ---------- */
.opportunity-section {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.opportunity-card {
  padding: 1.4rem 1.6rem;
}

.opportunity-card h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .quick-row {
    grid-template-columns: 1fr 1fr;
  }

  .quick-row .button {
    grid-column: 1 / -1;
  }

  .trust-strip ul,
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-section {
    grid-template-columns: 1fr;
  }

  .split-media img {
    min-height: 260px;
    max-height: 380px;
  }
}

@media (max-width: 560px) {
  /* 3.5rem chevauchés par la recherche rapide + la place des commandes du diaporama. */
  .home-hero {
    padding-bottom: 7rem;
  }

  .quick-request {
    margin-top: -3.5rem;
  }

  .quick-request form {
    padding: 1rem;
    border-radius: 16px;
  }

  .quick-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-services span {
    width: 100%;
    justify-content: center;
    padding-inline: .5rem;
  }

  .quick-row {
    grid-template-columns: 1fr;
  }

  .trust-strip ul {
    gap: 1.25rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- Mosaïque « Le Cameroun » ---------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: .8rem;
  max-width: 1180px;
  margin: 2.5rem auto 2rem;
}

.mosaic-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: var(--dark);
  color: var(--white);
  text-decoration: none;
}

.mosaic-item.m-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.mosaic-item.m-wide {
  grid-column: 1 / -1;
  grid-row: span 1;
}

.mosaic-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.22, 1, .36, 1);
}

.mosaic-item:hover img,
.mosaic-item:focus-visible img {
  transform: scale(1.07);
}

.mosaic-item::after {
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(0deg, rgba(7, 20, 62, .82), rgba(7, 20, 62, 0));
  content: "";
  pointer-events: none;
}

.mosaic-item span {
  position: absolute;
  right: 1rem;
  bottom: .9rem;
  left: 1rem;
  z-index: 1;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-align: left;
}

@media (max-width: 720px) {
  .mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }

  .mosaic-item.m-feature {
    grid-row: span 2;
  }

  .mosaic-item.m-wide {
    grid-column: 1 / -1;
  }
}

/* ============================================================
   ACCUEIL — parti pris éditorial
   ============================================================ */

/* ---------- Hero : diaporama en fondu enchaîné ----------
   Les images vivent dans une couche dédiée (.hero-slides) : elles bougent sans
   emporter le texte. Chaque image s'affiche --hero-interval, avec un lent
   recul de la caméra (elle finit sur son cadre le plus large, pour montrer le
   paysage), puis la suivante apparaît en fondu PAR-DESSUS
   (la précédente reste opaque dessous : pas de creux de luminosité).
   Horloge : la barre de progression du point actif. À la fin de son animation,
   script.js passe à l'image suivante ; mettre l'animation en pause (bouton,
   onglet masqué, hero hors écran) met donc aussi le défilement en pause. */
@keyframes zen-kenburns {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

@keyframes zen-hero-progress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.home-hero {
  --hero-interval: 7s;
  --hero-fade: 1.6s;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--dark);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-slide,
.hero-slide img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide {
  opacity: 0;
  transition: opacity var(--hero-fade) ease;
}

.hero-slide img {
  object-fit: cover;
}

/* Sur grand écran, le hero est plus large que la photo (3:2) : on perd une bande
   en haut et en bas. Sujet posé bas (pilotis du bungalow) : on garde le bas. */
.hero-slide.focus-bottom img {
  object-position: 50% 85%;
}

/* L'animation ne redémarre pas quand .is-active devient .is-leaving (même nom) :
   l'image sortante continue son mouvement pendant que la suivante l'efface. */
.hero-slide.is-active,
.hero-slide.is-leaving {
  animation: zen-kenburns calc(var(--hero-interval) + var(--hero-fade)) linear both;
}

.hero-slide.is-active {
  z-index: 2;
  opacity: 1;
}

.hero-slide.is-leaving {
  z-index: 1;
  opacity: 1;
  transition: none;
}

/* Commandes : au-dessus de la zone que chevauche la recherche rapide (-4.5rem),
   dans une pastille translucide (sans elle, les barres blanches disparaissent
   sur le sable). */
.hero-slider-controls {
  position: absolute;
  right: clamp(1.25rem, 7vw, 7%);
  bottom: 6rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .1rem;
  padding: 0 .1rem 0 .45rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(4, 12, 40, .4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero-slider-controls[hidden] {
  display: none;
}

.hero-dots {
  display: flex;
}

/* 44 px de haut : la cible tactile minimale imposée à tous les boutons (style.css).
   36 px de large : six points et le bouton pause tiennent sur un téléphone. */
.hero-dot {
  position: relative;
  width: 2.25rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.hero-dot::before,
.hero-dot span {
  position: absolute;
  top: 50%;
  right: .25rem;
  left: .25rem;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 3px;
  content: "";
}

.hero-dot::before {
  background: rgba(255, 255, 255, .38);
  transition: background .25s ease;
}

.hero-dot:hover::before,
.hero-dot[aria-current="true"]::before {
  background: rgba(255, 255, 255, .65);
}

.hero-dot span {
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left center;
}

.hero-dot[aria-current="true"] span {
  animation: zen-hero-progress var(--hero-interval) linear both;
}

.hero-slider-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #ffffff;
  font-size: .95rem;
  cursor: pointer;
  transition: background .25s ease;
}

.hero-slider-toggle:hover {
  background: rgba(255, 255, 255, .14);
}

.hero-dot:focus-visible,
.hero-slider-toggle:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* En pause (bouton, onglet masqué, hero hors écran) : tout mouvement s'arrête. */
.home-hero.is-paused .hero-slide,
.home-hero.is-paused .hero-dot span {
  animation-play-state: paused;
}

/* Mouvement réduit : pas de défilement automatique ni de zoom, les points
   restent utilisables pour changer d'image à la main. */
.home-hero.is-static .hero-slide {
  animation: none;
  transition-duration: .01s;
}

.home-hero.is-static .hero-dot span {
  animation: none;
}

.home-hero.is-static .hero-dot[aria-current="true"] span {
  transform: none;
}

.home-hero.is-static .hero-slider-toggle {
  display: none;
}

.home-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Voile limité à la colonne de texte : la moitié droite de la photo reste
     lumineuse (plage, lagon), le texte reste lisible à gauche. */
  background:
    linear-gradient(95deg, rgba(4, 12, 40, .86) 0%, rgba(4, 12, 40, .62) 32%, rgba(4, 12, 40, .14) 60%, rgba(4, 12, 40, 0) 80%),
    linear-gradient(0deg, rgba(4, 12, 40, .5), transparent 35%);
  content: "";
}

.home-hero .eyebrow {
  margin-bottom: 1.4rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  max-width: max-content;
}

.home-hero h1 {
  margin-bottom: 1.5rem;
}

.home-hero .hero-content > p:not(.eyebrow) {
  color: rgba(255, 255, 255, .88);
}

/* ---------- Points forts : le chiffre d'abord ---------- */
.trust-strip strong {
  font-size: clamp(2rem, 1.4rem + 2vw, 3.1rem);
  line-height: 1;
  letter-spacing: -.02em;
}

.trust-strip li {
  padding-left: 1.4rem;
  border-left-width: 1px;
  border-left-color: rgba(11, 27, 87, .18);
}

.trust-strip span {
  margin-top: .7rem;
  font-size: var(--t-small);
}

/* ---------- Section éditoriale : l'image déborde vers le bord ---------- */
.split-section {
  align-items: stretch;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-inline: 0 clamp(1.25rem, 7vw, 7%);
}

.split-media {
  border-radius: 0 22px 22px 0;
}

.split-copy {
  align-self: center;
  padding-block: clamp(1rem, 3vw, 2.5rem);
}

/* ---------- Étapes : grands chiffres en filigrane ---------- */
.process-steps li {
  padding-top: 2rem;
}

.step-number {
  font-size: clamp(3rem, 2rem + 4vw, 4.6rem);
  line-height: .9;
  color: transparent;
  -webkit-text-stroke: 1px var(--primary);
  opacity: .55;
}

/* ---------- Témoignages : composition asymétrique ---------- */
.testimonial {
  padding: 2.4rem 2rem 1.8rem;
  border-color: rgba(11, 27, 87, .1);
  background: var(--white);
}

.testimonial::before {
  top: 1rem;
  font-size: 6rem;
  opacity: .9;
}

.testimonial .stars {
  font-size: .9rem;
  letter-spacing: .22em;
}

@media (min-width: 900px) {
  /* La première citation prend plus de place : le regard entre par elle. */
  .testimonial-grid > .testimonial:first-child {
    grid-row: span 2;
    align-content: center;
  }

  .testimonial-grid {
    align-items: stretch;
  }
}

@media (max-width: 900px) {
  .split-section {
    padding-inline: clamp(1.25rem, 7vw, 7%);
  }

  .split-media {
    border-radius: 22px;
  }
}

/* En portrait, le dégradé diagonal couvrait presque toute la largeur visible et
   masquait la photo. On passe à un voile vertical : le texte reste lisible en bas,
   l'image respire en haut. */
@media (max-width: 760px) {
  /* Le haut de l'écran, sans texte, montre la photo presque intacte ;
     le voile s'épaissit là où commence le texte (vers 30 % de la hauteur). */
  .home-hero::after {
    background:
      linear-gradient(180deg, rgba(4, 12, 40, .1) 0%, rgba(4, 12, 40, .03) 14%, rgba(4, 12, 40, .5) 36%, rgba(4, 12, 40, .78) 64%, rgba(4, 12, 40, .9) 100%);
  }

  /* Voile un peu plus léger derrière le texte (le paysage reste deviné) :
     une ombre portée garde les petits textes lisibles. */
  .home-hero .hero-content > p {
    text-shadow: 0 1px 14px rgba(4, 12, 40, .75);
  }

  .home-hero {
    align-items: flex-end;
  }

  .home-hero h1 {
    text-shadow: 0 2px 24px rgba(4, 12, 40, .5);
  }

  /* Le texte descend en bas du hero : les commandes se glissent entre les boutons
     et la recherche rapide (dont le cadre blanc commence ~3rem au-dessus du bas du
     hero), alignées à gauche avec le texte : à droite, le bouton WhatsApp
     flottant les couvrirait. */
  .hero-slider-controls {
    right: auto;
    bottom: 4.25rem;
    left: clamp(1.25rem, 7vw, 7%);
  }
}

@media (max-width: 560px) {
  /* Chevauchement réduit à 3.5rem (cadre blanc ~2rem au-dessus du bas du hero). */
  .hero-slider-controls {
    bottom: 3rem;
  }

  /* Points plus étroits : la pastille doit s'arrêter avant le bouton WhatsApp
     flottant, jusque sur les téléphones de 360 px. */
  .hero-dot {
    width: 2rem;
  }
}

@media (max-width: 359px) {
  .hero-dot {
    width: 1.6rem;
  }
}

/* ---------- Destinations : la photo porte la carte ----------
   Auparavant : vignette de 190 px puis texte en dessous, avec un effet de survol
   scintillant et un fond dégradé. On passe à une composition image pleine, texte incrusté. */
.destination-regions-grid .region-card {
  position: relative;
  min-height: clamp(260px, 30vw, 380px);
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(11, 27, 87, .14);
}

.destination-regions-grid .region-image {
  position: absolute;
  inset: 0;
  height: auto;
  transition: transform 1.1s cubic-bezier(.22, 1, .36, 1);
}

.destination-regions-grid .region-card:hover .region-image {
  transform: scale(1.08);
}

.destination-regions-grid .region-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 12, 40, .88) 0%, rgba(4, 12, 40, .35) 42%, rgba(4, 12, 40, .05) 100%);
  content: "";
}

.destination-regions-grid .region-card h3,
.destination-regions-grid .region-card p {
  position: relative;
  z-index: 1;
  padding-inline: 1.5rem;
  color: var(--white);
  text-align: left;
}

.destination-regions-grid .region-card h3 {
  margin-top: auto;
  margin-bottom: .3rem;
  padding-top: 0;
}

.destination-regions-grid .region-card p {
  padding-bottom: 1.5rem;
  color: rgba(255, 255, 255, .82);
  font-size: var(--t-small);
}

.destination-regions-grid .region-card {
  display: flex;
  flex-direction: column;
}

/* Le survol scintillant et le fond sable ne servent plus la composition. */
.destination-regions-grid .region-card::before {
  display: none;
}

.destination-regions-grid .region-card:hover {
  border-color: transparent;
  box-shadow: 0 24px 54px rgba(11, 27, 87, .24);
  background: none;
}

/* ---------- Expériences : mêmes proportions généreuses ---------- */
.experience-card {
  min-height: clamp(280px, 32vw, 400px);
  border-radius: 18px;
}

.experience-card h3 {
  font-size: var(--t-h3);
}

.experience-card p {
  font-size: var(--t-small);
}

/* ---------- Appel final : un vrai moment, pas un bandeau uni ---------- */
.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.final-cta::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  /* Cadrage haut pour garder le ciel et les palmiers, et exclure le bord d'un
     véhicule visible au tout bas du cliché d'origine. */
  background: url("images/hero-cameroun-kribi.jpg") center 35% / cover;
  content: "";
}

.final-cta::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(95deg, rgba(4, 12, 40, .93) 0%, rgba(4, 12, 40, .78) 50%, rgba(4, 12, 40, .58) 100%);
  content: "";
}

.final-cta {
  padding-block: var(--space-wide);
}

/* ---------- Carnet : deux articles réels, portés par l'image ---------- */
.blog-grid {
  max-width: 1080px;
  margin-inline: auto;
}

.blog-card {
  overflow: hidden;
  border: 1px solid rgba(11, 27, 87, .1);
  border-radius: 18px;
  background: var(--white);
  text-align: left;
}

.blog-card > a {
  display: grid;
  height: 100%;
  grid-template-rows: auto 1fr;
  text-decoration: none;
}

.blog-card img {
  display: block;
  width: 100%;
  height: clamp(190px, 22vw, 260px);
  object-fit: cover;
  transition: transform 1s cubic-bezier(.22, 1, .36, 1);
}

.blog-card:hover img {
  transform: scale(1.06);
}

.blog-card .blog-tag {
  display: inline-block;
  margin: 1.4rem 1.5rem .7rem;
  color: var(--primary);
  font-size: var(--t-micro);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.blog-card h3 {
  margin: 0 1.5rem .9rem;
  color: var(--dark);
}

.blog-card .text-link {
  margin: 0 1.5rem 1.5rem;
}

.blog-section > .button-outline {
  margin-top: 2.5rem;
}

/* Neutralise l'ancienne carte blog (liseré orange, fond bleuté, marge interne)
   qui empêchait l'image d'atteindre les bords. */
.blog-grid .blog-card {
  padding: 0;
  border-top: 1px solid rgba(11, 27, 87, .1);
  border-radius: 18px;
  background: var(--white);
}

.blog-grid .blog-card h3 {
  min-height: 0;
  font-size: var(--t-lead);
}

.blog-grid {
  grid-template-columns: repeat(2, 1fr);
}

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

/* Section packs de l'accueil (generee par tools/build-packs.js) */
.hp-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; margin: 0 auto 1.6rem; }
.hp-tabs button { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.2rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--dark); font: inherit; font-weight: 700; cursor: pointer; }
.hp-tabs button span { min-width: 1.5rem; padding: .05rem .4rem; border-radius: 999px; background: var(--light); font-size: .8rem; text-align: center; }
.hp-tabs button[aria-selected="true"] { border-color: var(--dark); background: var(--dark); color: #fff; }
.hp-tabs button[aria-selected="true"] span { background: rgba(255, 255, 255, .2); }
.hp-panel { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.hp-panel[hidden] { display: none; }
.hp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; width: 100%; }
.hp-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 10px 30px rgba(11, 27, 87, .08); transition: transform .25s ease, box-shadow .25s ease; }
.hp-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(11, 27, 87, .16); }
.hp-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.hp-body { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1.2rem 1.3rem; }
.hp-badge { align-self: flex-start; padding: .25rem .7rem; border-radius: 999px; background: var(--sand); color: var(--primary); font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.hp-body strong { color: var(--dark); font-size: 1.15rem; }
.hp-days, .hp-from { color: var(--text); font-size: .9rem; }
.hp-price { color: var(--primary); font-size: 1.15rem; font-weight: 800; }
@media (max-width: 1100px) { .hp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .hp-grid { grid-template-columns: 1fr; max-width: 460px; } }
.hp-tabs button .hp-soon { width: 1em; height: 1em; color: #f4b400; }
.hp-tabs button[aria-selected="true"] .hp-soon { color: #ffd45c; }
.hp-body .pk-soon { align-self: flex-start; }
