/*!
 * afondlacom’ 2027 - styles de la page d’accueil (chargés après site.css)
 * Copyright Pascal Evrard - agence digitale afondlacom’ - toute reproduction interdite.
 *
 * Sommaire
 *   1. Mise en page de l’accueil
 *   2. Hero : visuel, cube numérique et accroche
 *   3. Références clientes défilantes
 *   4. Présentation de l’agence
 *   5. Offres : quatre panneaux empilés au défilement
 *   6. Réalisations récentes
 *   7. Digiblog : aperçu des derniers articles
 */

/* === Mise en page de l’accueil === */
.zone-defilement {
  min-height: 150vh;
  padding: 132px 14px 90px;
  background: #fff;
  width: min(100%,var(--largeur-site));
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--marge-page);
  padding-left: var(--marge-page);
  padding-top: 150px;
}

@media (max-width:720px) {
  .zone-defilement {
    min-height: 135vh;
    padding-right: var(--marge-page);
    padding-left: var(--marge-page);
  }
}

html[data-theme="dark"] .zone-defilement p {
  color: #aaa;
}
html[data-theme="dark"] .zone-defilement {
  background: #0b0b0c;
}

@media (max-width:1120px) {
  .zone-defilement {
    padding-top: 111px;
  }
}

/* === Hero : visuel, cube numérique et accroche === */
.hero-visuel {
  position: relative;
  height: clamp(560px,71vh,780px);
  background: #100d0d;
  color: #fff;
  isolation: isolate;
  clip-path: inset(0 round 20px);
  contain: paint;
}
.hero-visuel_image {
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1),filter .7s ease;
}
.hero-visuel:hover .hero-visuel_image {
  transform: scale(1.025);
  filter: saturate(1.08) contrast(1.04);
}
.hero-visuel::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg,rgba(0,0,0,.54),transparent 38%,transparent 66%,rgba(0,0,0,.34)),linear-gradient(0deg,rgba(0,0,0,.47),transparent 48%);
}
.hero-visuel::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  opacity: .22;
  background: repeating-linear-gradient(90deg,transparent 0,transparent calc(16.666% - 1px),rgba(255,255,255,.25) calc(16.666% - 1px),rgba(255,255,255,.25) 16.666%);
  pointer-events: none;
}
.hero-dessus {
  position: absolute;
  z-index: 4;
  inset: 0;
  padding: 34px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-haut,
.hero-bas {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}
.hero-lieu,
.hero-domaine {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.hero-lieu {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-lieu svg {
  width: 20px;
}
.hero-expertises {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  max-width: 650px;
}
.hero-expertises a {
  height: 54px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 28px;
  background: rgba(10,10,10,.18);
  font-size: 15px;
  font-weight: 500;
  backdrop-filter: blur(8px);
  transition: background .25s ease,border-color .25s ease,transform .25s ease;
}
.hero-expertises a:hover,
.hero-expertises a:focus-visible {
  background: #fff;
  color: #171717;
  border-color: #fff;
  transform: translateY(-2px);
}
.hero-preuve {
  align-self: flex-end;
  max-width: 245px;
  text-align: right;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
.hero-clients {
  margin-bottom: 13px;
  display: flex;
  justify-content: flex-end;
}
.hero-client {
  width: 40px;
  height: 40px;
  margin-left: -9px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #d9ff66;
  color: #111;
  font-size: 11px;
  font-weight: 700;
}
.hero-client:nth-child(2) {
  background: #ef542e;
}
.hero-client:nth-child(3) {
  background: #e8e1d2;
}
.hero-client:nth-child(4) {
  background: #fff;
}
.hero-client:nth-child(5) {
  background: #9b9b9b;
}
.hero-defiler {
  position: absolute;
  z-index: 4;
  right: 31px;
  top: 39%;
  display: flex;
  align-items: center;
  gap: 20px;
  writing-mode: vertical-rl;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.hero-defiler::before {
  width: 1px;
  height: 76px;
  content: "";
  background: rgba(255,255,255,.65);
}
.hero-texte {
  padding: 55px 26px 0;
  overflow: hidden;
}
.hero-titre {
  margin: 0;
  color: #191919;
  font-weight: 600;
  letter-spacing: -.085em;
  line-height: .83;
  white-space: nowrap;
}
.hero-signature {
  margin-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 500;
}
.hero-signature span {
  border-bottom: 1px solid currentColor;
}

@media (max-width:1120px) {
  .hero-visuel {
    height: 680px;
  }
  .hero-dessus {
    padding: 28px;
  }
  .hero-titre {
    white-space: normal;
    line-height: .88;
  }
  .hero-expertises {
    max-width: 540px;
  }
  .hero-preuve {
    max-width: 210px;
  }
  .hero-defiler {
    display: none;
  }
}

@media (max-width:720px) {
  .hero-visuel {
    height: calc(100svh - 105px);
    min-height: 620px;
  }
  .hero-visuel_image {
    object-position: center;
  }
  .hero-visuel::before {
    background: linear-gradient(0deg,rgba(0,0,0,.8),transparent 58%),linear-gradient(90deg,rgba(0,0,0,.48),transparent 80%);
  }
  .hero-visuel::after {
    background: repeating-linear-gradient(90deg,transparent 0,transparent calc(33.333% - 1px),rgba(255,255,255,.2) calc(33.333% - 1px),rgba(255,255,255,.2) 33.333%);
  }
  .hero-haut {
    align-items: center;
  }
  .hero-lieu,
  .hero-domaine {
    font-size: 11px;
  }
  .hero-domaine {
    max-width: 110px;
    text-align: right;
  }
  .hero-texte {
    padding: 34px 8px 0;
  }
  .hero-titre {
    letter-spacing: -.078em;
  }
  .hero-signature {
    margin-top: 18px;
    font-size: 12px;
  }
}

@media (max-width:390px) {
  .hero-visuel {
    min-height: 590px;
  }
}

html[data-theme="dark"] .hero-titre {
  color: #f5f5f2;
}
.hero-visuel_image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(0 round 20px);
}
.hero-titre {
  max-width: 100%;
  font-size: clamp(66px,6.65vw,144px);
}

@media (max-width:1120px) {
  .hero-titre {
    font-size: clamp(66px,10vw,108px);
  }
}

@media (max-width:720px) {
  .hero-titre {
    font-size: clamp(54px,17vw,94px);
  }
}

@media (max-width:390px) {
  .hero-titre {
    font-size: 50px;
  }
}

@media (max-width:720px) {
  .hero-visuel {
    clip-path: inset(0 round 18px);
  }
  .hero-visuel_image {
    clip-path: inset(0 round 18px);
  }
}

@media (min-width:1121px) {
  .hero-texte {
    overflow: visible;
  }
  .hero-titre {
    font-size: clamp(66px,6.3vw,138px);
  }
}

@media (max-width:720px) and (orientation:portrait) {
  .hero-visuel_image {
    object-position: center;
  }
}

.hero-visuel {
  overflow: clip;
  border-radius: 20px;
  -webkit-mask-image: -webkit-radial-gradient(#fff,#000);
  mask-image: radial-gradient(#fff,#fff);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transform: translateZ(0);
}
.hero-visuel_image {
  overflow: hidden;
  border-radius: 20px;
  -webkit-mask-image: -webkit-radial-gradient(#fff,#000);
  mask-image: radial-gradient(#fff,#fff);
  transform: translateZ(0);
}

@media (max-width:720px) {
  .hero-visuel,
  .hero-visuel_image {
    border-radius: 18px;
  }
}

.hero-texte {
  padding-right: 0;
  padding-left: 0;
}

@media (max-width:720px) {
  .hero-texte {
    padding-right: 0;
    padding-left: 0;
  }
}

.hero-texte,
.agence-courte_entete,
.agence-courte_grille,
.offres-empilees_entete,
.offres-empilees_pile {
  width: 100%;
  max-width: var(--largeur-contenu);
  margin-right: auto;
  margin-left: auto;
}

@media (min-width:1121px) {
  .hero-titre {
    position: relative;
    left: 50%;
    width: max-content;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    text-align: center;
    transform: translateX(-50%);
  }
}

.hero-expertises .fleche-svg {
  display: block;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
}
.hero-client .plus-svg {
  display: block;
  width: 15px;
  height: 15px;
}
.hero-clients .hero-client:nth-child(-n+4) {
  background: #fff;
  border-color: #d8d8d8;
}
.hero-client {
  overflow: hidden;
}
.hero-client img {
  display: block;
  width: 76%;
  height: 76%;
  object-fit: contain;
}

@media (max-width:720px) and (orientation:portrait) {
  .hero-statique .hero-visuel_image {
    object-position: 72% center;
  }
}

.hero-numerique {
  background: #050505;
}
.hero-numerique .hero-visuel_image {
  display: none;
}
.hero-digital {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.hero-numerique::before {
  background: linear-gradient(90deg,rgba(0,0,0,.44),transparent 43%,transparent 72%,rgba(0,0,0,.18)),linear-gradient(0deg,rgba(0,0,0,.42),transparent 46%);
}
.hero-accroche {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 40px;
  max-width: 50%;
  margin: 0;
  transform: translateY(-50%);
  color: #fff;
  font-size: clamp(42px,3.8vw,80px);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: .96;
  text-shadow: 0 3px 28px rgba(0,0,0,.28);
  pointer-events: none;
}
.hero-accroche span {
  display: block;
}
.hero-accroche_italique {
  display: inline-block;
  margin-left: .04em;
  margin-right: .08em;
  font-family: "Instrument Serif";
  font-size: 1.17em;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.065em;
  line-height: .78;
  transform: translateY(.035em) skewX(-7deg) scaleX(1.04);
  transform-origin: left center;
}

@media (max-width:1120px) {
  .hero-accroche {
    left: 28px;
    max-width: 52%;
    font-size: clamp(39px,6vw,66px);
  }
}

.hero-accroche_mouvement {
  display: inline-block;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  will-change: transform;
  animation: rebond-horizontal 10s ease-in-out infinite;
}

@keyframes rebond-horizontal {
  0%,
  3%,
  46%,
  100% {
    transform: translateX(0);
  }
  8% {
    transform: translateX(.52em);
  }
  13% {
    transform: translateX(-.18em);
  }
  17.5% {
    transform: translateX(.22em);
  }
  21.5% {
    transform: translateX(-.085em);
  }
  25% {
    transform: translateX(.095em);
  }
  28.5% {
    transform: translateX(-.042em);
  }
  31.5% {
    transform: translateX(.043em);
  }
  34.5% {
    transform: translateX(-.02em);
  }
  37% {
    transform: translateX(.019em);
  }
  39.5% {
    transform: translateX(-.009em);
  }
  41.5% {
    transform: translateX(.008em);
  }
  43.5% {
    transform: translateX(-.0035em);
  }
  45% {
    transform: translateX(.002em);
  }
}

@media (prefers-reduced-motion:reduce) {
  .hero-accroche_mouvement {
    animation: none;
    will-change: auto;
  }
}

@media (max-width:720px) {
  .hero-dessus {
    padding: 22px 18px 20px;
  }
  .hero-accroche {
    top: 23%;
    left: 20px;
    max-width: calc(100% - 40px);
    font-size: clamp(29px,8.35vw,36px);
    line-height: .96;
  }
  .hero-accroche span {
    white-space: nowrap;
  }
  .hero-accroche_italique {
    font-size: 1.14em;
  }
  .hero-bas {
    position: absolute;
    right: 18px;
    bottom: 20px;
    left: 18px;
    display: grid;
    gap: 20px;
  }
  .hero-expertises {
    max-width: none;
    display: flex;
    flex-wrap: nowrap;
    gap: 9px;
    margin-right: -18px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-right: 18px;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hero-expertises::-webkit-scrollbar {
    display: none;
  }
  .hero-expertises a {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 17px;
    font-size: 13px;
    scroll-snap-align: start;
    background: rgba(10,10,10,.32);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
  }
  .hero-preuve {
    display: grid;
    grid-template-columns: auto minmax(0,1fr);
    align-items: center;
    gap: 15px;
    max-width: none;
    margin: 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.18);
    text-align: left;
    font-size: 13px;
    line-height: 1.3;
  }
  .hero-clients {
    justify-content: flex-start;
    margin: 0;
  }
  .hero-client {
    width: 32px;
    height: 32px;
    margin-left: -8px;
  }
  .hero-client:first-child {
    margin-left: 0;
  }
}

@media (max-width:390px) {
  .hero-accroche {
    top: 22%;
    left: 18px;
    max-width: calc(100% - 36px);
    font-size: clamp(27px,8.1vw,32px);
  }
  .hero-bas {
    right: 16px;
    bottom: 17px;
    left: 16px;
    gap: 16px;
  }
  .hero-preuve {
    gap: 12px;
    padding-top: 15px;
    font-size: 12px;
  }
  .hero-expertises {
    margin-right: -16px;
    padding-right: 16px;
  }
  .hero-expertises a {
    height: 42px;
    padding: 0 15px;
    font-size: 12px;
  }
  .hero-client {
    width: 30px;
    height: 30px;
  }
}

/* === Références clientes défilantes === */
.references-defilantes {
  position: relative;
  height: 90px;
  margin-top: 70px;
  overflow: hidden;
  background: #fff;
  border-top: 1px solid #ededed;
  border-bottom: 1px solid #ededed;
  contain: layout paint;
}
.references-defilantes::before,
.references-defilantes::after {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: clamp(52px,8vw,150px);
  content: "";
  pointer-events: none;
}
.references-defilantes::before {
  left: 0;
  background: linear-gradient(90deg,#fff 12%,rgba(255,255,255,.92) 32%,rgba(255,255,255,0) 100%);
}
.references-defilantes::after {
  right: 0;
  background: linear-gradient(270deg,#fff 12%,rgba(255,255,255,.92) 32%,rgba(255,255,255,0) 100%);
}
.references-piste {
  display: flex;
  width: max-content;
  height: 100%;
  will-change: transform;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
}
.references-lot {
  display: flex;
  align-items: center;
  gap: 70px;
  height: 100%;
  padding-right: 70px;
}

/* Emplacements identiques, proportions conservées pour équilibrer les références. */
.logo-defilant {
  display: block;
  flex: 0 0 auto;
  width: 150px;
  height: 50px;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

@media (max-width:720px) {
  .references-defilantes {
    height: 90px;
    margin-top: 48px;
  }
  .references-lot {
    gap: 52px;
    padding-right: 52px;
  }
  .logo-defilant {
    width: 130px;
    height: 44px;
  }
}

/* === Présentation de l’agence === */
.agence-courte {
  padding: clamp(92px,8vw,160px) 0 clamp(88px,7vw,140px);
  background: #fff;
  color: #191919;
}
.agence-courte_entete {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: end;
  gap: 48px;
  margin-bottom: clamp(48px,5vw,86px);
}
.agence-courte_surtitre {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.agence-courte_surtitre svg {
  width: 15px;
  height: 15px;
}
.agence-courte_titre {
  max-width: 1260px;
  margin: 0;
  font-size: clamp(45px,4.5vw,92px);
  font-weight: 600;
  letter-spacing: -.065em;
  line-height: 1.02;
}
.agence-courte_titre span {
  display: block;
}
.agence-courte_grille {
  display: grid;
  grid-template-columns: minmax(0,1.03fr) minmax(440px,.97fr);
  align-items: stretch;
  gap: clamp(45px,5vw,96px);
}
.agence-courte_visuel {
  min-height: 590px;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #07100e;
}
.agence-courte_visuel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.agence-courte_contenu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 0;
}
.agence-courte_texte {
  max-width: 770px;
  margin: 0;
  font-size: clamp(20px,1.55vw,31px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.42;
}
.agence-courte_liste {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 22px 38px;
  margin: 48px 0 58px;
  padding: 0;
  list-style: none;
}
.agence-courte_liste li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}
.agence-courte_liste svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 2px;
}
.agence-courte_bouton {
  align-self: flex-start;
  height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: 28px;
  background: #191919;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: transform .22s ease,background .22s ease;
}
.agence-courte_bouton svg {
  width: 17px;
  height: 17px;
}
.agence-courte_bouton:hover,
.agence-courte_bouton:focus-visible {
  background: #343434;
  transform: translateY(-2px);
}
html[data-theme="dark"] .agence-courte {
  background: #0b0b0c;
  color: #f5f5f2;
}
html[data-theme="dark"] .agence-courte_bouton {
  background: #fff;
  color: #171717;
}

@media (max-width:1120px) {
  .agence-courte_entete {
    grid-template-columns: 1fr;
  }
  .agence-courte_grille {
    grid-template-columns: 1fr;
  }
  .agence-courte_visuel {
    min-height: 0;
    aspect-ratio: 4/3;
  }
  .agence-courte_contenu {
    padding: 0;
  }
  .agence-courte_texte {
    max-width: 850px;
  }
}

@media (max-width:720px) {
  .agence-courte {
    padding-top: 74px;
    padding-bottom: 88px;
  }
  .agence-courte_entete {
    margin-bottom: 36px;
  }
  .agence-courte_surtitre {
    margin-bottom: 13px;
    font-size: 11px;
  }
  .agence-courte_titre {
    font-size: clamp(35px,10vw,52px);
    line-height: 1.04;
  }
  .agence-courte_grille {
    gap: 34px;
  }
  .agence-courte_visuel {
    border-radius: 18px;
  }
  .agence-courte_texte {
    font-size: 19px;
    line-height: 1.48;
  }
  .agence-courte_liste {
    grid-template-columns: 1fr;
    gap: 17px;
    margin: 34px 0 40px;
  }
  .agence-courte_liste li {
    font-size: 15px;
  }
  .agence-courte_bouton {
    width: 100%;
    justify-content: center;
    padding: 0 18px;
    font-size: 13px;
  }
}

/* === Offres : quatre panneaux empilés au défilement === */
.offres-empilees {
  padding: clamp(88px,8vw,150px) 0 clamp(110px,10vw,190px);
  background: #fff;
  color: #191919;
}
.offres-empilees_entete {
  margin-bottom: clamp(48px,6vw,96px);
}
.offres-empilees_surtitre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.offres-empilees_surtitre span:last-child {
  font-weight: 500;
  text-decoration: underline;
  text-transform: none;
}
.offres-empilees_titre {
  max-width: 1220px;
  margin: 0;
  font-size: clamp(48px,5vw,96px);
  font-weight: 600;
  letter-spacing: -.07em;
  line-height: 1;
}
.offres-empilees_titre span {
  display: block;
}
.offres-empilees_pile {
  position: relative;
}
.offres-panneau {
  position: sticky;
  top: 22px;
  z-index: var(--niveau);
  min-height: min(690px,calc(100svh - 44px));
  margin-bottom: clamp(90px,14vh,170px);
  padding: clamp(32px,4.2vw,72px);
  overflow: hidden;
  border: 1px solid rgba(25,25,25,.1);
  border-radius: 34px;
  --panneau-fond: #f1f1f0;
  --panneau-texte: #191919;
  background: #f1f1f0;
  color: #191919;
  border-color: rgba(25,25,25,.09);
}
.offres-panneau:last-child {
  margin-bottom: 0;
}
.offres-panneau::after {
  position: absolute;
  content: attr(data-numero);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  right: clamp(28px,4vw,70px);
  top: clamp(25px,3vw,52px);
  color: #191919;
  opacity: .66;
}
.offres-panneau_interieur {
  gap: clamp(40px,7vw,130px);
}
.offres-panneau_liste li {
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
}
.offres-panneau_liste li::after {
  font-size: 17px;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  content: "";
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 18 18 6M9 6h9v9' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 18 18 6M9 6h9v9' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  display: none;
}
html[data-theme="dark"] .offres-empilees {
  background: #0b0b0c;
  color: #f5f5f2;
}
.offres-empilees_pile::after {
  display: block;
  content: "";
  pointer-events: none;
}

@media (max-width:1120px) {
  .offres-panneau {
    min-height: auto;
  }
  .offres-panneau_liste {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    column-gap: 30px;
  }
}

@media (max-width:720px) {
  .offres-empilees {
    padding-top: 76px;
  }
  .offres-empilees_entete {
    margin-bottom: 42px;
  }
  .offres-empilees_surtitre {
    font-size: 11px;
  }
  .offres-empilees_titre {
    font-size: clamp(38px,11vw,58px);
    line-height: 1.02;
  }
  .offres-panneau {
    top: 12px;
    min-height: calc(100svh - 24px);
    margin-bottom: 72px;
    border-radius: 24px;
  }
  .offres-panneau_interieur {
    flex-direction: column;
  }
  .offres-panneau::after {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .offres-panneau {
    position: relative;
    top: auto;
  }
  .offres-empilees_pile::after {
    display: none;
  }
}

html[data-theme="dark"] .offres-panneau {
  --panneau-fond: #f1f1f0;
  --panneau-texte: #191919;
  background: #f1f1f0;
  color: #191919;
  border-color: rgba(25,25,25,.09);
}
.offres-panneau_interieur {
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(240px,.55fr) minmax(420px,.95fr);
  grid-template-rows: auto minmax(0,1fr) clamp(220px,25vh,280px);
  column-gap: clamp(34px,4vw,78px);
  row-gap: clamp(18px,2.2vh,30px);
  align-items: start;
}
.offres-panneau_categorie {
  grid-column: 1/3;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  opacity: 1;
}
.offres-panneau_categorie svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}
.offres-panneau_titre {
  grid-column: 1/3;
  grid-row: 2;
  align-self: center;
  max-width: 100%;
  margin: 0;
  font-size: clamp(58px,5vw,100px);
  font-weight: 500;
  letter-spacing: -.075em;
  line-height: .92;
}
.offres-panneau_accroche {
  grid-column: 1;
  grid-row: 3;
  align-self: start;
  max-width: 620px;
  margin: 0;
  font-size: clamp(17px,1.12vw,22px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.42;
}
.offres-panneau_details {
  grid-column: 2;
  grid-row: 3;
  align-self: start;
  padding: 0;
}
.offres-panneau_liste {
  margin: 0;
  padding: 0 0 0 18px;
  border: 0;
  list-style: disc;
}
.offres-panneau_liste li {
  display: list-item;
  padding: 2px 0;
  border: 0;
  font-size: clamp(12px,.78vw,15px);
  font-weight: 500;
  line-height: 1.36;
}
.offres-panneau_note {
  margin: 17px 0 0;
  font-size: 11px;
  line-height: 1.48;
  opacity: .68;
}
.offres-panneau_visuel {
  grid-column: 3;
  grid-row: 2/4;
  align-self: center;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 16/9;
  background: #dfe2e3;
}
.offres-panneau_visuel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cadrage validé le 26/09/2026 : premier visuel zoomé à 132 %, centré à 60 % / 52 %. */
.offres-panneau:first-child .offres-panneau_visuel img {
  transform: scale(1.32);
  transform-origin: 60% 52%;
}

@media (max-width:1180px) {
  .offres-panneau_interieur {
    grid-template-columns: minmax(0,1fr) minmax(340px,.86fr);
    grid-template-rows: auto auto auto auto;
  }
  .offres-panneau_categorie {
    grid-column: 1;
    grid-row: 1;
  }
  .offres-panneau_titre {
    grid-column: 1/3;
    grid-row: 2;
    margin-top: 18px;
  }
  .offres-panneau_visuel {
    grid-column: 2;
    grid-row: 3/5;
  }
  .offres-panneau_accroche {
    grid-column: 1;
    grid-row: 3;
  }
  .offres-panneau_details {
    grid-column: 1;
    grid-row: 4;
  }
}

@media (max-width:780px) {
  .offres-panneau {
    padding: 28px 24px 30px;
  }
  .offres-panneau_interieur {
    min-height: calc(100svh - 82px);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto;
    gap: 22px;
  }
  .offres-panneau_categorie {
    grid-column: 1;
    grid-row: 1;
    padding-right: 72px;
    font-size: 10px;
  }
  .offres-panneau_categorie svg {
    width: 14px;
    height: 14px;
  }
  .offres-panneau_titre {
    grid-column: 1;
    grid-row: 2;
    margin: 4px 0 0;
    padding: 0;
    font-size: clamp(38px,11vw,55px);
    line-height: .98;
  }
  .offres-panneau_visuel {
    grid-column: 1;
    grid-row: 3;
    border-radius: 15px;
  }
  .offres-panneau_accroche {
    grid-column: 1;
    grid-row: 4;
    margin: 0;
    font-size: 15px;
    line-height: 1.42;
  }
  .offres-panneau_details {
    grid-column: 1;
    grid-row: 5;
    margin: 0;
  }
  .offres-panneau_liste {
    display: block;
    padding-left: 16px;
  }
  .offres-panneau_liste li {
    padding: 1px 0;
    font-size: 12px;
  }
  .offres-panneau_note {
    margin-top: 13px;
    font-size: 10px;
    line-height: 1.4;
  }
}

.offres-empilees {
  padding-bottom: clamp(34px,3vw,54px);
}
.offres-empilees_pile::after {
  height: clamp(72px,10vh,130px);
}

@media (max-width:720px) {
  .offres-empilees {
    padding-bottom: 28px;
  }
  .offres-empilees_pile::after {
    height: 58px;
  }
}

/* === Réalisations récentes === */
.realisation_cadre {
  width: 100%;
  margin: 0;
}
.realisations-recentes {
  width: min(1722px,calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(100px,9vw,170px) 0;
  background: #fff;
  color: #191919;
}
.realisations-recentes_grille {
  display: grid;
  grid-template-columns: minmax(300px,.72fr) minmax(0,1.28fr);
  gap: clamp(64px,8vw,150px);
  align-items: start;
}
.realisations-recentes_intro {
  position: sticky;
  top: 120px;
  padding-top: 18px;
}
.realisations-recentes_picto {
  display: grid;
  grid-template-columns: repeat(2,9px);
  gap: 3px;
  width: max-content;
  margin-bottom: 24px;
  transform: rotate(45deg);
}
.realisations-recentes_picto span {
  width: 9px;
  height: 9px;
  background: #ef5a24;
}
.realisations-recentes_titre {
  max-width: 600px;
  margin: 0;
  font-size: clamp(52px,5vw,96px);
  font-weight: 600;
  letter-spacing: -.068em;
  line-height: .93;
}
.realisations-recentes_texte {
  max-width: 540px;
  margin: 34px 0 38px;
  font-size: 17px;
  line-height: 1.48;
}
.realisations-recentes_bouton {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  height: 52px;
  padding: 0 24px;
  border-radius: 28px;
  background: #191919;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: transform .22s ease,background .22s ease;
}
.realisations-recentes_bouton svg {
  width: 17px;
  height: 17px;
}
.realisations-recentes_bouton:hover,
.realisations-recentes_bouton:focus-visible {
  background: #343434;
  transform: translateY(-2px);
}
.realisations-recentes_liste {
  display: grid;
  gap: clamp(62px,7vw,118px);
  grid-template-columns: minmax(0,1fr);
}
.realisation_lien {
  display: block;
  color: inherit;
}
.realisation_cadre {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #e7e7e7;
}
.realisation_image {
  position: absolute;
}
.realisation_meta {
  display: grid;
  gap: 30px;
}
.realisation_nom {
  letter-spacing: -.045em;
}
.realisation_description {
  margin: 0;
  color: #555;
  font-size: 15px;
}
.realisation_etiquettes {
  display: flex;
  max-width: 390px;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.realisation_etiquette {
  padding: 7px 13px;
  border: 1px solid #d6d6d6;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.realisation_lien:hover .realisation_cadre img,
.realisation_lien:focus-visible .realisation_cadre img {
  filter: saturate(1.05) contrast(1.02);
}
html[data-theme="dark"] .realisations-recentes {
  background: #0b0b0c;
  color: #f5f5f2;
}
html[data-theme="dark"] .realisations-recentes_texte,
html[data-theme="dark"] .realisation_description {
  color: #b8b8b8;
}
html[data-theme="dark"] .realisations-recentes_bouton {
  background: #fff;
  color: #171717;
}
html[data-theme="dark"] .realisation_etiquette {
  border-color: #393939;
}

@media (max-width:980px) {
  .realisations-recentes_grille {
    grid-template-columns: minmax(0,1fr);
    gap: 64px;
  }
  .realisations-recentes_intro {
    position: relative;
    top: auto;
    padding-top: 0;
  }
  .realisations-recentes_titre {
    max-width: 820px;
  }
  .realisations-recentes_texte {
    max-width: 700px;
  }
  .realisations-recentes_liste {
    gap: 72px;
  }
}

@media (max-width:720px) {
  .realisations-recentes {
    width: calc(100% - 36px);
    padding: 84px 0 96px;
  }
  .realisations-recentes_grille {
    gap: 52px;
  }
  .realisations-recentes_picto {
    margin-bottom: 20px;
  }
  .realisations-recentes_titre {
    font-size: clamp(43px,13vw,62px);
    line-height: .95;
  }
  .realisations-recentes_texte {
    margin: 25px 0 30px;
    font-size: 16px;
  }
  .realisations-recentes_bouton {
    width: 100%;
    justify-content: center;
  }
  .realisations-recentes_liste {
    gap: 58px;
  }
  .realisation_cadre {
    border-radius: 15px;
  }
  .realisation_description {
    font-size: 14px;
  }
  .realisation_etiquettes {
    justify-content: flex-start;
    gap: 6px;
  }
  .realisation_etiquette {
    padding: 6px 10px;
    font-size: 10px;
  }
}

.realisations-recentes {
  padding-top: clamp(58px,5vw,92px);
}
.realisation_cadre {
  aspect-ratio: 1348/926;
  border: .5px solid rgba(25,25,25,.24);
}
.realisation_image {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  transform: none;
  will-change: auto;
}
.realisation_meta {
  grid-template-columns: minmax(0,1fr) auto;
  align-items: start;
  padding-top: 20px;
}
.realisation_nom {
  margin: 0 0 7px;
  padding: 0;
  color: inherit;
  font-size: clamp(25px,2vw,36px);
  font-weight: 500;
  line-height: 1.05;
  text-shadow: none;
}
html[data-theme="dark"] .realisation_cadre {
  border-color: rgba(255,255,255,.3);
}

@media (max-width:720px) {
  .realisations-recentes {
    padding-top: 46px;
  }
  .realisation_cadre {
    aspect-ratio: 1348/926;
  }
  .realisation_meta {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 17px;
  }
  .realisation_nom {
    margin: 0 0 6px;
    padding: 0;
    font-size: 27px;
  }
}

@media (max-width:359px) {
  /* Très petits écrans : les noms de domaine longs tiennent dans la colonne (inchangé dès 360 px). */
  .realisation_nom {
    font-size: 6.8vw;
  }
}

/* === Digiblog : aperçu des derniers articles === */
.journal {
  width: min(1722px,calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(90px,8vw,150px) 0;
  background: #fff;
  color: #191919;
}
.journal_entete {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  padding-bottom: 44px;
  border-bottom: 1px solid #dedede;
}
.journal_sur-titre {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 22px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}
.journal_sur-titre svg,
.journal_bouton svg {
  width: 17px;
  height: 17px;
}
.journal_titre {
  margin: 0;
  font-size: clamp(68px,8vw,150px);
  font-weight: 600;
  letter-spacing: -.075em;
  line-height: .82;
}
.journal_bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  height: 52px;
  padding: 0 26px;
  border-radius: 28px;
  background: #191919;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: background .22s ease,transform .22s ease;
}
.journal_bouton:hover,
.journal_bouton:focus-visible {
  background: #343434;
  transform: translateY(-2px);
}
.journal_liste {
  padding-left: clamp(0px,17vw,300px);
}
.article-journal {
  display: grid;
  grid-template-columns: minmax(300px,1.25fr) minmax(310px,.9fr) minmax(270px,.85fr);
  gap: clamp(28px,3vw,58px);
  align-items: center;
  padding: 46px 0;
  border-bottom: 1px solid #dedede;
  position: relative;
}
.article-journal_categorie {
  display: inline-flex;
  width: max-content;
  margin-bottom: 28px;
  padding: 7px 16px;
  border: 1px solid #d7d7d7;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}
.article-journal_titre {
  max-width: 590px;
  margin: 0;
  font-size: clamp(23px,1.65vw,34px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.08;
}

/* Toute la carte est cliquable : le lien du titre s’étend sur la carte. */
.article-journal_lien::after {
  content: "";
  position: absolute;
  inset: 0;
}
.article-journal_lien:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}
.article-journal_image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 15px;
}
.article-journal_resume {
  margin: 0 0 44px;
  color: #5d5d5d;
  font-size: 16px;
  line-height: 1.48;
}
.article-journal_meta {
  margin: 0;
  font-size: 13px;
}
.article-journal_auteur {
  color: #ef5a24;
  font-weight: 600;
}
.article-journal:hover .article-journal_image {
  filter: saturate(1.08) contrast(1.03);
}
html[data-theme="dark"] .journal {
  background: #0b0b0c;
  color: #f5f5f2;
}
html[data-theme="dark"] .journal_entete,
html[data-theme="dark"] .article-journal {
  border-color: #2f2f31;
}
html[data-theme="dark"] .journal_bouton {
  background: #fff;
  color: #171717;
}
html[data-theme="dark"] .article-journal_resume {
  color: #b8b8b8;
}
html[data-theme="dark"] .article-journal_categorie {
  border-color: #3c3c3e;
}

@media (max-width:1180px) {
  .journal_liste {
    padding-left: 0;
  }
  .article-journal {
    grid-template-columns: minmax(260px,1fr) minmax(300px,1fr);
    gap: 34px;
  }
  .article-journal_contenu {
    grid-row: 1 / span 2;
  }
  .article-journal_details {
    grid-column: 2;
  }
  .article-journal_resume {
    margin-bottom: 22px;
  }
}

@media (max-width:720px) {
  .journal {
    width: calc(100% - 36px);
    padding: 78px 0 92px;
  }
  .journal_entete {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 34px;
  }
  .journal_titre {
    font-size: clamp(58px,20vw,88px);
  }
  .journal_bouton {
    width: 100%;
  }
  .article-journal {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 38px 0;
  }
  .article-journal_contenu {
    grid-row: auto;
  }
  .article-journal_categorie {
    margin-bottom: 18px;
  }
  .article-journal_titre {
    font-size: 27px;
  }
  .article-journal_image {
    grid-row: auto;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 13px;
  }
  .article-journal_details {
    grid-column: auto;
  }
  .article-journal_resume {
    margin-bottom: 18px;
    font-size: 15px;
  }
}
