/* =========================================================
   MERTI HOME — GALERIE
   ========================================================= */

:root {
  --galleryx-black: #090909;
  --galleryx-black-soft: #141414;
  --galleryx-card-black: #191919;
  --galleryx-red: #c52026;
  --galleryx-red-dark: #94181d;
  --galleryx-white: #ffffff;
  --galleryx-cream: #f5f1eb;
  --galleryx-beige: #e8dfd4;
  --galleryx-grey: #77716b;
  --galleryx-radius-xl: 40px;
  --galleryx-radius-lg: 30px;
  --galleryx-radius-md: 22px;
  --galleryx-radius-sm: 15px;
  --galleryx-shadow:
    0 25px 75px rgba(25, 18, 12, 0.11);
  --galleryx-shadow-hover:
    0 40px 105px rgba(25, 18, 12, 0.2);
}


.gallery-page {
  background: var(--galleryx-cream);
  color: var(--galleryx-black);
}


/* =========================================================
   ÉLÉMENTS COMMUNS
   ========================================================= */

.galleryx-eyebrow,
.galleryx-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--galleryx-red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.galleryx-eyebrow::before,
.galleryx-section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  flex: 0 0 auto;
  background: currentColor;
}


.galleryx-button {
  min-height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 25px;
  border: 0;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.79rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.galleryx-button:hover {
  transform: translateY(-3px);
}

.galleryx-button-primary {
  color: var(--galleryx-white);
  background: var(--galleryx-red);
  box-shadow: 0 16px 38px rgba(197, 32, 38, 0.3);
}

.galleryx-button-primary:hover {
  background: var(--galleryx-red-dark);
  box-shadow: 0 22px 48px rgba(197, 32, 38, 0.38);
}

.galleryx-button-secondary {
  color: var(--galleryx-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
}

.galleryx-button-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.galleryx-button-whatsapp {
  color: var(--galleryx-white);
  background: #249d5a;
}

.galleryx-button-whatsapp:hover {
  background: #1d8049;
}


/* =========================================================
   HERO
   ========================================================= */

.galleryx-hero {
  min-height: 820px;
  display: flex;
  align-items: center;
  padding: 150px 0 75px;
  color: var(--galleryx-white);
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(197, 32, 38, 0.14),
      transparent 31%
    ),
    linear-gradient(
      145deg,
      #151515 0%,
      #070707 72%
    );
  overflow: hidden;
}

.galleryx-hero-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 0.88fr)
    minmax(520px, 1.12fr);
  gap: 75px;
  align-items: center;
}

.galleryx-breadcrumb {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 48px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
  font-weight: 600;
}

.galleryx-breadcrumb a {
  color: inherit;
}

.galleryx-breadcrumb a:hover {
  color: var(--galleryx-white);
}

.galleryx-breadcrumb i {
  color: var(--galleryx-red);
  font-size: 0.55rem;
}

.galleryx-hero h1 {
  max-width: 780px;
  margin: 23px 0 26px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(4.2rem, 7vw, 7.4rem);
  font-weight: 700;
  line-height: 0.87;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.galleryx-hero h1 span {
  display: block;
  color: var(--galleryx-red);
}

.galleryx-hero-content > p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.69);
  font-size: 0.95rem;
  line-height: 1.86;
}

.galleryx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.galleryx-hero-information {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin-top: 48px;
}

.galleryx-hero-information article {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.galleryx-hero-information strong {
  display: block;
  color: var(--galleryx-white);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.galleryx-hero-information span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.59rem;
  line-height: 1.45;
}


/* =========================================================
   COLLAGE HERO
   ========================================================= */

.galleryx-hero-collage {
  position: relative;
  min-height: 610px;
}

.galleryx-hero-collage::before {
  content: "";
  position: absolute;
  top: 6%;
  right: -20%;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: rgba(197, 32, 38, 0.12);
  filter: blur(70px);
}

.galleryx-hero-collage figure {
  position: absolute;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background: #202020;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.36);
  overflow: hidden;
}

.galleryx-hero-collage figure::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 43%;
  background:
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.78),
      transparent
    );
  pointer-events: none;
}

.galleryx-hero-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.galleryx-hero-collage figcaption {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  left: 22px;
}

.galleryx-hero-collage figcaption span {
  display: block;
  color: var(--galleryx-red);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.galleryx-hero-collage figcaption strong {
  display: block;
  margin-top: 6px;
  color: var(--galleryx-white);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.galleryx-hero-main-image {
  top: 0;
  right: 0;
  width: 78%;
  height: 440px;
}

.galleryx-hero-secondary-image {
  bottom: 0;
  left: 0;
  width: 49%;
  height: 295px;
}

.galleryx-hero-tertiary-image {
  right: 2%;
  bottom: 2%;
  width: 45%;
  height: 250px;
}


/* =========================================================
   INTRODUCTION
   ========================================================= */

.galleryx-introduction {
  padding: 105px 0;
}

.galleryx-introduction-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(320px, 0.85fr);
  gap: 85px;
  align-items: start;
}

.galleryx-introduction h2 {
  max-width: 750px;
  margin-top: 18px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3rem, 5.3vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.galleryx-introduction-copy {
  padding-top: 27px;
}

.galleryx-introduction-copy p {
  color: var(--galleryx-grey);
  line-height: 1.84;
}

.galleryx-introduction-copy p + p {
  margin-top: 20px;
}


/* =========================================================
   TITRES
   ========================================================= */

.galleryx-heading-row {
  display: grid;
  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(290px, 0.8fr);
  align-items: end;
  gap: 55px;
  margin-bottom: 45px;
}

.galleryx-heading-row h2 {
  max-width: 740px;
  margin-top: 15px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.9rem, 5vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.galleryx-heading-row > p {
  color: var(--galleryx-grey);
  line-height: 1.8;
}


/* =========================================================
   GALERIE ET FILTRES
   ========================================================= */

.galleryx-showcase {
  padding: 110px 0 125px;
  background:
    linear-gradient(
      180deg,
      #141414 0%,
      #080808 100%
    );
}

.galleryx-showcase .galleryx-heading-row h2 {
  color: var(--galleryx-white);
}

.galleryx-showcase .galleryx-heading-row > p {
  color: rgba(255, 255, 255, 0.55);
}

.galleryx-search-row {
  margin-bottom: 16px;
}

.galleryx-search-box {
  min-height: 62px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 0 21px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.055);
}

.galleryx-search-box:focus-within {
  border-color: var(--galleryx-red);
  box-shadow: 0 0 0 4px rgba(197, 32, 38, 0.12);
}

.galleryx-search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--galleryx-white);
  background: transparent;
  font: inherit;
}

.galleryx-search-box input::placeholder {
  color: rgba(255, 255, 255, 0.33);
}

.galleryx-search-box button {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--galleryx-white);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.galleryx-toolbar {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 27px;
  background: rgba(255, 255, 255, 0.04);
}

.galleryx-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.galleryx-filter-tab {
  min-height: 43px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
  font-family: "Montserrat", sans-serif;
  font-size: 0.69rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.galleryx-filter-tab:hover,
.galleryx-filter-tab.active {
  color: var(--galleryx-white);
  border-color: var(--galleryx-red);
  background: var(--galleryx-red);
}

.galleryx-toolbar-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.galleryx-toolbar-bottom p {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.73rem;
}

.galleryx-toolbar-bottom strong {
  color: var(--galleryx-white);
}

.galleryx-reset-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.63);
  background: transparent;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
}

.galleryx-reset-button:hover {
  color: var(--galleryx-white);
}


/* =========================================================
   GRILLE ÉDITORIALE
   ========================================================= */

.galleryx-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 20px;
  margin-top: 32px;
}

.galleryx-card {
  min-width: 0;
  grid-column: span 4;
  height: 390px;
  border-radius: 27px;
  background: #222;
  overflow: hidden;
}

.galleryx-card.galleryx-card-wide {
  grid-column: span 8;
}

.galleryx-card.galleryx-card-tall {
  height: 540px;
}

.galleryx-card.galleryx-card-feature {
  grid-column: span 8;
  height: 540px;
}

.galleryx-card-button {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  border: 0;
  color: var(--galleryx-white);
  background: transparent;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
}

.galleryx-card-button::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: inherit;
  pointer-events: none;
  transition: border-color 0.3s ease;
}

.galleryx-card-button::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.86) 0%,
      rgba(0, 0, 0, 0.22) 51%,
      transparent 75%
    );
  pointer-events: none;
}

.galleryx-card:hover .galleryx-card-button::before {
  border-color: rgba(197, 32, 38, 0.68);
}

.galleryx-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.4s ease;
}

.galleryx-card:hover .galleryx-card-image {
  transform: scale(1.055);
  filter: saturate(1.04);
}

.galleryx-card-content {
  position: absolute;
  z-index: 3;
  right: 23px;
  bottom: 23px;
  left: 23px;
}

.galleryx-card-category {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--galleryx-white);
  background: var(--galleryx-red);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.galleryx-card h3 {
  max-width: 540px;
  margin-top: 12px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.65rem, 2.5vw, 2.55rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.galleryx-card p {
  max-width: 520px;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.69rem;
  line-height: 1.55;
}

.galleryx-card-open {
  position: absolute;
  z-index: 4;
  top: 19px;
  right: 19px;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  color: var(--galleryx-white);
  background: rgba(0, 0, 0, 0.47);
  backdrop-filter: blur(12px);
  transform: translateY(-5px);
  opacity: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    background-color 0.3s ease;
}

.galleryx-card:hover .galleryx-card-open,
.galleryx-card-button:focus-visible .galleryx-card-open {
  transform: translateY(0);
  opacity: 1;
}

.galleryx-card-open:hover {
  background: var(--galleryx-red);
}


/* =========================================================
   ÉTAT VIDE
   ========================================================= */

.galleryx-empty-state {
  max-width: 540px;
  margin: 70px auto 0;
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--galleryx-radius-lg);
  color: var(--galleryx-white);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.galleryx-empty-state > span {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border-radius: 22px;
  color: var(--galleryx-red);
  background: rgba(197, 32, 38, 0.11);
  font-size: 1.35rem;
}

.galleryx-empty-state h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.25rem;
  text-transform: uppercase;
}

.galleryx-empty-state p {
  margin: 9px 0 24px;
  color: rgba(255, 255, 255, 0.56);
}


/* =========================================================
   GUIDE
   ========================================================= */

.galleryx-guide {
  padding: 115px 0 125px;
}

.galleryx-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.galleryx-guide-card {
  position: relative;
  min-height: 315px;
  padding: 29px;
  border: 1px solid rgba(15, 15, 15, 0.08);
  border-radius: 27px;
  background: var(--galleryx-white);
  box-shadow: var(--galleryx-shadow);
  overflow: hidden;
  transition:
    transform 0.32s ease,
    box-shadow 0.32s ease;
}

.galleryx-guide-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--galleryx-shadow-hover);
}

.galleryx-guide-card > span {
  position: absolute;
  top: 17px;
  right: 21px;
  color: rgba(15, 15, 15, 0.08);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
}

.galleryx-guide-icon {
  position: relative;
  z-index: 2;
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--galleryx-white);
  background: var(--galleryx-black);
}

.galleryx-guide-card h3 {
  position: relative;
  z-index: 2;
  margin: 44px 0 13px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
  text-transform: uppercase;
}

.galleryx-guide-card p {
  position: relative;
  z-index: 2;
  color: var(--galleryx-grey);
  font-size: 0.73rem;
  line-height: 1.72;
}


/* =========================================================
   CTA
   ========================================================= */

.galleryx-cta {
  padding: 0 0 125px;
}

.galleryx-cta-card {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: flex-end;
  border-radius: var(--galleryx-radius-xl);
  overflow: hidden;
}

.galleryx-cta-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.galleryx-cta-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.96) 0%,
      rgba(5, 5, 5, 0.74) 53%,
      rgba(5, 5, 5, 0.2) 100%
    );
}

.galleryx-cta-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 64px;
  color: var(--galleryx-white);
}

.galleryx-cta-content > span {
  color: var(--galleryx-red);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.galleryx-cta-content h2 {
  margin: 17px 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.galleryx-cta-content p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.67);
  line-height: 1.8;
}

.galleryx-cta-content > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 29px;
}


/* =========================================================
   VISIONNEUSE
   ========================================================= */

.galleryx-dialog {
  width: min(1280px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 32px;
  color: var(--galleryx-black);
  background: var(--galleryx-white);
  box-shadow: 0 55px 155px rgba(0, 0, 0, 0.58);
  overflow: hidden;
}

.galleryx-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
}

.galleryx-dialog-close {
  position: absolute;
  z-index: 10;
  top: 17px;
  right: 17px;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--galleryx-white);
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.galleryx-dialog-navigation {
  position: absolute;
  z-index: 9;
  top: 50%;
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--galleryx-white);
  background: rgba(5, 5, 5, 0.65);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background-color 0.2s ease,
    opacity 0.2s ease;
}

.galleryx-dialog-navigation:hover {
  background: var(--galleryx-red);
}

.galleryx-dialog-navigation:disabled {
  cursor: default;
  opacity: 0.25;
}

.galleryx-dialog-previous {
  left: 18px;
}

.galleryx-dialog-next {
  left: calc(68% - 68px);
}

.galleryx-dialog-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1.42fr)
    minmax(380px, 0.58fr);
  max-height: calc(100vh - 32px);
}

.galleryx-dialog-visual {
  position: relative;
  min-width: 0;
  min-height: 720px;
  padding: 14px;
  background: #111;
}

.galleryx-dialog-visual img {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 60px);
  object-fit: contain;
  border-radius: 22px;
  background: #181818;
}

.galleryx-dialog-counter {
  position: absolute;
  right: 28px;
  bottom: 28px;
  min-height: 33px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--galleryx-white);
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(12px);
  font-size: 0.63rem;
  font-weight: 700;
}

.galleryx-dialog-content {
  padding: 55px 43px 42px;
  overflow-y: auto;
}

.galleryx-dialog-category {
  color: var(--galleryx-red);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.galleryx-dialog-content > h2 {
  margin: 12px 0 18px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.7rem, 4.6vw, 4.3rem);
  line-height: 0.91;
  text-transform: uppercase;
}

.galleryx-dialog-description {
  color: var(--galleryx-grey);
  line-height: 1.78;
}

.galleryx-dialog-details {
  display: grid;
  gap: 11px;
  margin-top: 28px;
}

.galleryx-dialog-details article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 17px;
  border-radius: 17px;
  background: var(--galleryx-cream);
}

.galleryx-dialog-details article > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--galleryx-white);
  background: var(--galleryx-black);
}

.galleryx-dialog-details h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.22rem;
  text-transform: uppercase;
}

.galleryx-dialog-details p {
  margin-top: 4px;
  color: var(--galleryx-grey);
  font-size: 0.72rem;
  line-height: 1.58;
}

.galleryx-dialog-notice {
  margin-top: 24px;
  padding: 14px;
  border-left: 3px solid var(--galleryx-red);
  color: var(--galleryx-grey);
  background: rgba(197, 32, 38, 0.06);
  font-size: 0.64rem;
  line-height: 1.62;
}

.galleryx-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.galleryx-dialog-whatsapp {
  min-height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 999px;
  color: var(--galleryx-white);
  background: #249d5a;
  font-size: 0.74rem;
  font-weight: 700;
}

.galleryx-dialog-whatsapp:hover {
  background: #1d8049;
}


/* =========================================================
   ACCESSIBILITÉ
   ========================================================= */

.galleryx-card-button:focus-visible,
.galleryx-filter-tab:focus-visible,
.galleryx-button:focus-visible,
.galleryx-dialog button:focus-visible,
.galleryx-dialog a:focus-visible {
  outline: 3px solid rgba(197, 32, 38, 0.55);
  outline-offset: 4px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1180px) {

  .galleryx-hero-layout {
    grid-template-columns:
      minmax(0, 0.92fr)
      minmax(430px, 1.08fr);
    gap: 45px;
  }

  .galleryx-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .galleryx-card {
    grid-column: span 6;
  }

  .galleryx-card.galleryx-card-wide,
  .galleryx-card.galleryx-card-feature {
    grid-column: span 12;
  }

  .galleryx-dialog-layout {
    grid-template-columns:
      minmax(0, 1fr)
      400px;
  }

  .galleryx-dialog-next {
    left: calc(100% - 468px);
  }

}


@media (max-width: 960px) {

  .galleryx-hero {
    padding-top: 130px;
  }

  .galleryx-hero-layout {
    grid-template-columns: 1fr;
  }

  .galleryx-hero-content {
    max-width: 760px;
  }

  .galleryx-hero-collage {
    min-height: 580px;
  }

  .galleryx-introduction-grid,
  .galleryx-heading-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .galleryx-introduction-copy {
    padding-top: 0;
  }

  .galleryx-dialog {
    overflow-y: auto;
  }

  .galleryx-dialog-layout {
    display: block;
    max-height: none;
  }

  .galleryx-dialog-visual {
    min-height: auto;
    height: min(72vh, 650px);
  }

  .galleryx-dialog-content {
    overflow: visible;
  }

  .galleryx-dialog-previous {
    left: 24px;
  }

  .galleryx-dialog-next {
    right: 24px;
    left: auto;
  }

}


@media (max-width: 720px) {

  .galleryx-hero {
    min-height: auto;
    padding: 120px 0 70px;
  }

  .galleryx-hero h1 {
    font-size: clamp(3.7rem, 16vw, 5.2rem);
  }

  .galleryx-hero-actions {
    display: grid;
  }

  .galleryx-button {
    width: 100%;
  }

  .galleryx-hero-information {
    grid-template-columns: 1fr;
  }

  .galleryx-hero-collage {
    min-height: 480px;
  }

  .galleryx-hero-main-image {
    width: 92%;
    height: 330px;
  }

  .galleryx-hero-secondary-image {
    width: 54%;
    height: 220px;
  }

  .galleryx-hero-tertiary-image {
    width: 50%;
    height: 195px;
  }

  .galleryx-introduction,
  .galleryx-guide {
    padding-top: 80px;
    padding-bottom: 85px;
  }

  .galleryx-showcase {
    padding-top: 85px;
    padding-bottom: 90px;
  }

  .galleryx-cta {
    padding-bottom: 85px;
  }

  .galleryx-toolbar {
    padding: 18px;
  }

  .galleryx-filter-tabs {
    flex-wrap: nowrap;
    padding-bottom: 5px;
    overflow-x: auto;
  }

  .galleryx-filter-tab {
    flex: 0 0 auto;
  }

  .galleryx-toolbar-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .galleryx-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .galleryx-card,
  .galleryx-card.galleryx-card-wide,
  .galleryx-card.galleryx-card-tall,
  .galleryx-card.galleryx-card-feature {
    grid-column: auto;
    height: 390px;
  }

  .galleryx-card-open {
    transform: none;
    opacity: 1;
  }

  .galleryx-guide-grid {
    grid-template-columns: 1fr;
  }

  .galleryx-guide-card {
    min-height: 270px;
  }

  .galleryx-cta-card {
    min-height: 640px;
    border-radius: 28px;
  }

  .galleryx-cta-overlay {
    background:
      linear-gradient(
        0deg,
        rgba(5, 5, 5, 0.96) 0%,
        rgba(5, 5, 5, 0.68) 100%
      );
  }

  .galleryx-cta-content {
    padding: 32px 25px;
  }

  .galleryx-cta-content > div {
    display: grid;
  }

  .galleryx-dialog {
    width: calc(100% - 14px);
    max-height: calc(100vh - 14px);
    border-radius: 22px;
  }

  .galleryx-dialog-visual {
    height: 55vh;
    padding: 7px;
  }

  .galleryx-dialog-visual img {
    border-radius: 17px;
  }

  .galleryx-dialog-content {
    padding: 37px 22px 29px;
  }

  .galleryx-dialog-navigation {
    top: calc(27.5vh + 7px);
    width: 43px;
    height: 43px;
  }

  .galleryx-dialog-previous {
    left: 14px;
  }

  .galleryx-dialog-next {
    right: 14px;
  }

  .galleryx-dialog-actions {
    display: grid;
  }

  .galleryx-dialog-whatsapp {
    width: 100%;
  }

}


@media (max-width: 460px) {

  .galleryx-hero h1 {
    font-size: 3.5rem;
  }

  .galleryx-hero-collage {
    min-height: 420px;
  }

  .galleryx-hero-main-image {
    height: 285px;
  }

  .galleryx-hero-secondary-image {
    height: 180px;
  }

  .galleryx-hero-tertiary-image {
    height: 165px;
  }

  .galleryx-card,
  .galleryx-card.galleryx-card-wide,
  .galleryx-card.galleryx-card-tall,
  .galleryx-card.galleryx-card-feature {
    height: 340px;
  }

  .galleryx-card p {
    display: none;
  }

}


@media (prefers-reduced-motion: reduce) {

  .galleryx-card-image,
  .galleryx-card-open,
  .galleryx-button,
  .galleryx-guide-card {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }

}