/* ---------- Design tokens ---------- */
:root {
  --color-primary: #20479b;
  --color-primary-dark: #16326d;
  --color-accent: #d98a3d;
  --color-ink: #24211d;
  --color-text: #3d382f;
  --color-muted: #7a7266;
  --color-bg: #ffffff;
  --color-bg-alt: #f3f0e9;
  --color-border: #e4dcc8;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(30, 24, 10, .07);
  --container-width: 1180px;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Bricolage Grotesque', var(--font-body);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 18px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 {
  color: var(--color-ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.01em;
}
ul { list-style: none; margin: 0; padding: 0; }
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: .75rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-dark); }
.btn--ghost { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--ghost:hover { background: var(--color-bg-alt); }
.btn--phone { background: var(--color-bg-alt); color: var(--color-ink); font-size: .95rem; padding: .55rem 1rem; }
.btn--phone:hover { background: var(--color-border); }
.btn .icon { width: 1.1em; height: 1.1em; fill: currentColor; }

/* Téléphone / email : masqués tant que le script ne les a pas déchiffrés
   et injectés, pour ne jamais afficher un texte de remplacement. */
.js-obf-tel, .js-obf-mail { visibility: hidden; }
.js-obf-tel.is-ready, .js-obf-mail.is-ready { visibility: visible; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .6rem;
}
.brand { display: flex; align-items: center; }
.brand__logo { height: 52px; width: auto; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-ink); border-radius: 2px; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.primary-nav ul { display: flex; gap: 1.5rem; }
.primary-nav a:not(.btn) {
  text-decoration: none;
  font-weight: 600;
  color: var(--color-text);
}
.primary-nav a:not(.btn):hover { color: var(--color-primary); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 1rem;
    display: none;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav ul { flex-direction: column; gap: 1rem; }
  .primary-nav .btn--phone { justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--color-bg-alt) 0%, #fff 60%);
  padding: 2rem 0 5.5rem;
}
.hero__inner {
  max-width: var(--container-width);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  align-items: center;
  gap: 3rem;
}
.hero__eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 1rem;
}
.hero h1 { font-size: clamp(2rem, 3.4vw, 2.75rem); }
.hero__highlight {
  background: rgba(32, 71, 155, .13);
  border-radius: 6px;
  padding: 0 .2em;
  margin: 0 -.2em;
}
.hero__lead { font-size: 1.1rem; color: var(--color-text); margin-bottom: 2rem; max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__media { position: relative; }
.hero__photo {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3.3;
  box-shadow: 0 24px 48px rgba(30, 24, 10, .16);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
}
.hero__slide:first-child { opacity: 1; }
.hero__badge {
  position: absolute;
  left: 1.5rem;
  bottom: -1.25rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  background: #fff;
  padding: .7rem 1.1rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size: .85rem;
  white-space: nowrap;
}
.hero__badge-score { font-weight: 700; color: var(--color-primary); }
.hero__badge-google { display: inline-flex; align-items: center; }
.hero__badge-google svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__media { order: -1; width: 100%; max-width: 420px; margin: 0 auto; }
  .hero__lead { max-width: none; }
}

/* ---------- Trust bar ---------- */
.trustbar {
  background: var(--color-primary);
  padding: 1.5rem 0;
}
.trustbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2.5rem;
}
.trustbar__item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .92rem;
  font-weight: 600;
  color: #fff;
}
.trustbar__item strong { font-family: var(--font-display); }
.trustbar__icon { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }

/* ---------- Sections ---------- */
section { padding: 4.5rem 0; }
.section-title { font-size: 1.9rem; text-align: center; }
.section-subtitle {
  text-align: center;
  color: var(--color-muted);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 2.75rem;
}

/* ---------- Services ---------- */
.services { background: var(--color-bg-alt); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 2.4rem 1.5rem 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--color-primary);
}
.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  margin-bottom: 1.25rem;
}
.service-card__icon svg { width: 28px; height: 28px; fill: #fff; }
.service-card h3 { font-size: 1.15rem; }
.service-card p { color: var(--color-muted); margin: 0; }

/* ---------- Gallery ---------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
}
.gallery__item {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.gallery__item:hover img { transform: scale(1.06); }

.gallery__more { text-align: center; margin: 2.5rem 0 0; }
.btn--instagram {
  background: #fff;
  color: var(--color-ink);
  border-color: var(--color-border);
}
.btn--instagram:hover { background: var(--color-bg-alt); }
.btn--instagram img { width: 22px; height: 22px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 20, .9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox__content { max-width: min(90vw, 1000px); max-height: 85vh; text-align: center; }
.lightbox__content img { max-height: 75vh; margin: 0 auto; border-radius: 6px; }
.lightbox__caption { color: #fff; margin-top: 1rem; }
.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
}
.lightbox__nav--prev { left: 1.25rem; }
.lightbox__nav--next { right: 1.25rem; }

/* ---------- Avant / Après (comparateur) ---------- */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.compare-grid--intro { margin-bottom: 3rem; }
.compare { margin: 0; }
.compare__frame {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--color-border);
}
.compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.compare__after-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}
.compare__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .15);
  pointer-events: none;
}
.compare__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
}
.compare__handle svg { width: 20px; height: 20px; fill: var(--color-primary); }
.compare__label {
  position: absolute;
  top: 1rem;
  background: rgba(20, 18, 12, .6);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .35rem .8rem;
  border-radius: 999px;
  pointer-events: none;
}
.compare__label--before { left: 1rem; }
.compare__label--after { right: 1rem; }
.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}
.compare__range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 44px; }
.compare__range::-moz-range-thumb { width: 44px; height: 44px; border: none; background: transparent; }
.compare__range:focus-visible ~ .compare__handle { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.compare__caption {
  text-align: center;
  margin: .9rem 0 0;
  font-weight: 600;
  color: var(--color-ink);
}

/* ---------- Why choose us ---------- */
.why { background: var(--color-primary); color: #fff; }
.why .section-title { color: #fff; }
.why .section-subtitle { color: rgba(255, 255, 255, .82); }
.why__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  max-width: 980px;
  margin: 0 auto;
}
.why__list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  padding: 1.5rem;
  font-weight: 600;
  font-size: .98rem;
  line-height: 1.4;
  text-align: center;
}
.why__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  flex-shrink: 0;
}
.why__icon svg { width: 22px; height: 22px; fill: #fff; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--color-bg-alt); }

.testimonials__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  flex-wrap: wrap;
  width: max-content;
  margin: 0 auto 2.75rem;
  background: #fff;
  padding: .65rem 1.4rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.testimonials__rating-score { font-weight: 700; color: var(--color-primary); font-size: 1.1rem; }
.testimonials__rating-google { display: inline-flex; align-items: center; }
.testimonials__rating-google svg { width: 20px; height: 20px; }

.stars {
  position: relative;
  display: inline-block;
  letter-spacing: 2px;
  font-size: .95rem;
  line-height: 1;
}
.stars__track { color: var(--color-border); }
.stars__fill {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--rating, 100%);
  overflow: hidden;
  white-space: nowrap;
  color: #f5a623;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  background: #fff;
  margin: 0;
  padding: 1.6rem;
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testimonial__quote {
  display: block;
  font-size: 2.25rem;
  font-weight: 700;
  font-family: var(--font-body);
  line-height: 1;
  color: var(--color-primary);
  opacity: .55;
}
.testimonial__stars {
  color: #f5a623;
  letter-spacing: 2px;
  font-size: .9rem;
}
.testimonial p { margin: 0; color: var(--color-text); font-size: .95rem; line-height: 1.6; }
.testimonials__more { text-align: center; margin: 2.5rem 0 0; }
.testimonials__more a { color: var(--color-primary); font-weight: 600; text-decoration: none; }
.testimonials__more a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq__list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq__item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  transition: box-shadow .25s ease;
}
.faq__item[open] { box-shadow: var(--shadow); }
.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-ink);
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.3rem;
  color: var(--color-primary);
  display: inline-block;
  transition: transform .25s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin: .75rem 0 0; color: var(--color-muted); }

/* ---------- Footer / Contact ---------- */
.site-footer { background: var(--color-ink); color: #e8e4da; padding: 4rem 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
}
.footer-logo { height: 44px; width: auto; margin-bottom: 1rem; border-radius: 4px; }
.footer-col p { color: #b3ac9c; }
.footer-contact { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .9rem; }
.footer-contact li { display: flex; align-items: center; gap: .6rem; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-contact .icon { width: 20px; height: 20px; fill: #9c9686; flex-shrink: 0; }
.footer-noscript { margin-top: 1rem; font-size: .85rem; color: #9c9686; }

.footer-col--form h2 { color: #fff; font-size: 1.5rem; }
.footer-form-intro { color: #b3ac9c; margin-bottom: 1.5rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field label { font-size: .9rem; color: #d9d4c5; }
.form-field input,
.form-field select,
.form-field textarea {
  padding: .7rem .85rem;
  border-radius: 8px;
  border: 1px solid #423c31;
  background: #2c2820;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}
.form-field--checkbox label {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  color: #d9d4c5;
}
.form-field--checkbox input { width: auto; margin-top: .2rem; }
.form-field--honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-form .btn--primary { align-self: flex-start; }
.form-feedback { font-size: .95rem; min-height: 1.2em; }
.form-feedback.is-success { color: #7be2a0; }
.form-feedback.is-error { color: #ff9b9b; }

.footer-bottom {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid #3d3730;
  font-size: .85rem;
  color: #9c9686;
  text-align: center;
}

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Motion / animations ---------- */
.site-header {
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 2px 14px rgba(30, 24, 10, .09);
}

@media (prefers-reduced-motion: no-preference) {

  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes heroPhotoIn {
    from { opacity: 0; transform: scale(.95) translateY(14px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
  }
  @keyframes heroSlide {
    0%   { opacity: 1; }
    22%  { opacity: 1; }
    25%  { opacity: 0; }
    97%  { opacity: 0; }
    100% { opacity: 1; }
  }

  /* Hero: orchestrated entrance — text staggers in, then the photo, then the badge */
  .hero__text > * {
    opacity: 0;
    animation: fadeInUp .7s ease both;
  }
  .hero__text > *:nth-child(1) { animation-delay: .05s; }
  .hero__text > *:nth-child(2) { animation-delay: .15s; }
  .hero__text > *:nth-child(3) { animation-delay: .28s; }
  .hero__text > *:nth-child(4) { animation-delay: .4s; }

  .hero__media {
    opacity: 0;
    animation: heroPhotoIn .8s ease .3s both;
  }
  .hero__slide {
    animation: heroSlide 16s ease-in-out infinite;
  }
  .hero__slide:nth-child(1) { animation-delay: 0s; }
  .hero__slide:nth-child(2) { animation-delay: -4s; }
  .hero__slide:nth-child(3) { animation-delay: -8s; }
  .hero__slide:nth-child(4) { animation-delay: -12s; }
  .hero__badge {
    opacity: 0;
    animation: fadeInUp .6s ease .9s both;
  }

  /* Scroll-triggered reveals (see noscript fallback in header.php for no-JS safety) */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s ease, transform .55s ease;
  }
  .reveal-stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .04s; }
  .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .10s; }
  .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
  .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .22s; }
  .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .28s; }
  .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .34s; }
  .reveal-stagger.is-visible > *:nth-child(7) { transition-delay: .40s; }
  .reveal-stagger.is-visible > *:nth-child(8) { transition-delay: .46s; }
  .reveal-stagger.is-visible > *:nth-child(9) { transition-delay: .52s; }
  .reveal-stagger.is-visible > *:nth-child(10) { transition-delay: .58s; }
  .reveal-stagger.is-visible > *:nth-child(11) { transition-delay: .64s; }
  .reveal-stagger.is-visible > *:nth-child(12) { transition-delay: .70s; }
  .reveal-stagger.is-visible > *:nth-child(13) { transition-delay: .76s; }
  .reveal-stagger.is-visible > *:nth-child(14) { transition-delay: .82s; }
  .reveal-stagger.is-visible > *:nth-child(15) { transition-delay: .88s; }
  .reveal-stagger.is-visible > *:nth-child(16) { transition-delay: .94s; }
}

/* Buttons: slightly stronger hover */
.btn { transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease; }
.btn--primary:hover { box-shadow: 0 6px 16px rgba(32, 71, 155, .3); }

/* Service cards: lift + icon pop on hover */
.service-card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(30, 24, 10, .12);
}
.service-card__icon {
  transition: transform .3s ease;
}
.service-card:hover .service-card__icon {
  transform: scale(1.12) rotate(-6deg);
}

/* Gallery: caption slides up on hover/focus */
.gallery__item {
  position: relative;
}
.gallery__item::after {
  content: attr(data-caption);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: .75rem .9rem;
  background: linear-gradient(to top, rgba(10, 12, 20, .85), transparent);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.3;
  transform: translateY(100%);
  transition: transform .3s ease;
}
.gallery__item:hover::after,
.gallery__item:focus-visible::after {
  transform: translateY(0);
}

/* Testimonials: subtle lift */
.testimonial {
  transition: transform .25s ease, box-shadow .25s ease;
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(30, 24, 10, .12);
}

/* Why list: card lift on hover */
.why__list li { transition: transform .2s ease, background-color .2s ease; }
.why__list li:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .14); }
