/* TASHALA HOLDING — design system (complément Tailwind) */

.hold-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
  position: relative;
}
.hold-link:hover,
.hold-link.is-active { color: #14a38c; }
.hold-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 1px;
  background: #14a38c;
}

.hold-nav.is-solid {
  background: rgba(10, 16, 24, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hold-cta-primary {
  background: #0e7c6b;
  color: #fff;
  transition: background 0.25s ease, transform 0.25s ease;
}
.hold-cta-primary:hover {
  background: #14a38c;
  transform: translateY(-1px);
}

.hold-cta-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.hold-cta-ghost:hover {
  border-color: #14a38c;
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.hold-input {
  width: 100%;
  border: 1px solid #e2e6eb;
  background: #fff;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: #0a1018;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.hold-input:focus {
  border-color: #0e7c6b;
  box-shadow: 0 0 0 3px rgba(14, 124, 107, 0.18);
}

.hold-filter {
  border: 1px solid #e2e6eb;
  background: #fff;
  padding: 0.45rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s ease;
}
.hold-filter.is-active,
.hold-filter:hover {
  border-color: #0a1018;
  background: #0a1018;
  color: #fff;
}

.hold-hero-ken {
  animation: holdKen 32s ease-in-out infinite alternate;
}
@keyframes holdKen {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.2%, -0.8%, 0); }
}

.hold-hero-grain,
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.hold-hero-vignette,
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.5) 100%);
  opacity: 0.35;
  transition: opacity 0.15s linear;
}
.hero-slash {
  position: absolute;
  top: -25%;
  left: -55%;
  z-index: 5;
  width: 42%;
  height: 150%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 18%,
    rgba(255, 255, 255, 0.07) 38%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.07) 62%,
    rgba(255, 255, 255, 0) 82%,
    transparent 100%
  );
  transform: skewX(-22deg) translateX(0);
  opacity: 0;
}
.hero-slash.is-running {
  animation: holdLightSlash 1.35s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes holdLightSlash {
  0% { transform: skewX(-22deg) translateX(0); opacity: 0; }
  12% { opacity: 1; }
  78% { opacity: 0.85; }
  100% { transform: skewX(-22deg) translateX(320%); opacity: 0; }
}

[data-typewriter].is-typing {
  border-right: 2px solid rgba(20, 163, 140, 0.75);
  padding-right: 2px;
}

.hold-reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: holdIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hold-reveal-delay-1 { animation-delay: 0.12s; }
.hold-reveal-delay-2 { animation-delay: 0.24s; }
@keyframes holdIn {
  to { opacity: 1; transform: none; }
}

.hold-hero-title {
  text-align: left;
  font-style: normal;
}
.hold-hero-accent,
.hold-hero-title [data-typewriter] {
  display: block;
  font-style: normal;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  margin: 0;
  padding: 0;
}
.hold-hero .relative.z-10 {
  text-align: left;
  align-items: flex-start;
}
.hold-hero-ctas {
  justify-content: flex-start;
}

.hold-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  animation: holdIn 0.9s 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hold-scroll-cue span {
  width: 1px;
  height: 2rem;
  background: linear-gradient(to bottom, #14a38c, transparent);
  animation: holdCue 1.7s ease-in-out infinite;
}
@keyframes holdCue {
  0%, 100% { transform: scaleY(0.55); opacity: 0.35; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}
.hold-hero.is-scrolled .hold-scroll-cue {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.hold-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--hold-d, 0ms);
}
.hold-scroll.is-in {
  opacity: 1;
  transform: none;
}

.hold-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.hold-stagger.is-in > *:nth-child(1) { transition-delay: 0.04s; }
.hold-stagger.is-in > *:nth-child(2) { transition-delay: 0.1s; }
.hold-stagger.is-in > *:nth-child(3) { transition-delay: 0.16s; }
.hold-stagger.is-in > *:nth-child(4) { transition-delay: 0.22s; }
.hold-stagger.is-in > *:nth-child(5) { transition-delay: 0.28s; }
.hold-stagger.is-in > *:nth-child(6) { transition-delay: 0.34s; }
.hold-stagger.is-in > *:nth-child(7) { transition-delay: 0.4s; }
.hold-stagger.is-in > *:nth-child(8) { transition-delay: 0.46s; }
.hold-stagger.is-in > *:nth-child(9) { transition-delay: 0.52s; }
.hold-stagger.is-in > * {
  opacity: 1;
  transform: none;
}

.hold-section-head {
  text-align: left;
  width: 100%;
  max-width: 36rem;
}
.hold-section-head h2 {
  position: relative;
  display: block;
  margin: 0;
  text-align: left;
}
.hold-section-head h2::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 2px;
  margin-top: 0.85rem;
  margin-left: 0;
  background: #0e7c6b;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s 0.15s cubic-bezier(0.22, 1, 0.36, 1);
}
.hold-section-head.hold-scroll.is-in h2::after,
.hold-section-head.is-in h2::after,
.hold-scroll.is-in .hold-section-head h2::after {
  transform: scaleX(1);
}

/* ——— Panneaux filiales ——— */
.hold-filiale-grid {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .hold-filiale-grid {
    grid-template-columns: repeat(3, 1fr);
    min-height: 78vh;
  }
}

.hold-filiale-panel {
  position: relative;
  display: block;
  min-height: 58vh;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}
@media (min-width: 960px) {
  .hold-filiale-panel { min-height: 78vh; }
}

.hold-filiale-panel__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.hold-filiale-panel:hover .hold-filiale-panel__img,
.hold-filiale-panel:focus-visible .hold-filiale-panel__img {
  transform: scale(1.1);
}

.hold-filiale-panel__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 16, 24, 0.92) 0%, rgba(10, 16, 24, 0.35) 55%, rgba(10, 16, 24, 0.15) 100%);
  transition: background 0.4s ease;
}
.hold-filiale-panel--immo .hold-filiale-panel__shade {
  background: linear-gradient(to top, rgba(10, 61, 44, 0.92) 0%, rgba(10, 16, 24, 0.35) 60%, transparent 100%);
}
.hold-filiale-panel--voyages .hold-filiale-panel__shade {
  background: linear-gradient(to top, rgba(30, 106, 138, 0.92) 0%, rgba(10, 16, 24, 0.35) 60%, transparent 100%);
}
.hold-filiale-panel--events .hold-filiale-panel__shade {
  background: linear-gradient(to top, rgba(138, 74, 30, 0.92) 0%, rgba(10, 16, 24, 0.35) 60%, transparent 100%);
}

.hold-filiale-panel__body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 2rem 1.5rem 2.25rem;
  text-align: left;
}
@media (min-width: 960px) {
  .hold-filiale-panel__body { padding: 2.5rem 2rem 2.75rem; }
}

.hold-filiale-panel__tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.65rem;
}

.hold-filiale-panel__cta {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.85;
  transition: opacity 0.25s ease, gap 0.25s ease;
}
.hold-filiale-panel:hover .hold-filiale-panel__cta {
  opacity: 1;
  gap: 0.65rem;
}

/* Pourquoi */
.hold-why-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .hold-why-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (min-width: 1024px) {
  .hold-why-grid { grid-template-columns: repeat(4, 1fr); }
}
.hold-why {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
}

/* Portfolio */
.real-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.real-reveal.is-revealed,
.hold-stagger.is-in .real-reveal {
  clip-path: inset(0 0 0 0);
}

.hold-btn-shine,
.btn-shine {
  position: relative;
  overflow: hidden;
}
.hold-btn-shine::after,
.btn-shine::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -60%;
  width: 40%;
  height: 140%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-22deg) translateX(0);
  opacity: 0;
  pointer-events: none;
}
.hold-btn-shine:hover::after,
.btn-shine:hover::after {
  animation: holdBtnShine 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes holdBtnShine {
  0% { transform: skewX(-22deg) translateX(0); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: skewX(-22deg) translateX(280%); opacity: 0; }
}

.real-item {
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.real-item.is-hiding {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
}
.real-item.is-showing {
  animation: holdRealIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes holdRealIn {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: none; }
}

.hold-brand { min-width: 0; white-space: nowrap; }

.hold-drawer {
  padding-top: env(safe-area-inset-top, 0);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.hold-drawer-nav {
  max-height: 100dvh;
  max-height: 100vh;
  -webkit-overflow-scrolling: touch;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Témoignages / news (remplis par JS) */
#holdTestimonials .hold-quote,
#holdNews .hold-news {
  border: 1px solid #e2e6eb;
  background: #fff;
  padding: 1.35rem;
  height: 100%;
}
#holdTestimonials .hold-quote p,
#holdNews .hold-news p {
  color: #5a6570;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hold-hero .relative.z-10 { padding-bottom: 5.5rem; }
  .hold-scroll-cue { bottom: 0.85rem; }
  .hold-filter {
    min-height: 2.75rem;
    padding: 0.55rem 0.95rem;
  }
  #realFilters {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
    max-width: 100%;
  }
  #realFilters::-webkit-scrollbar { display: none; }
  #realFilters .hold-filter { flex: 0 0 auto; }
  #holdContactForm { padding: 1.15rem !important; }
  #contact iframe { height: 14rem; }
}

@media (max-width: 640px) {
  .hold-hero-ctas > a { width: 100%; }
  .hold-cta-primary,
  .hold-cta-ghost { min-height: 3rem; }
  .hold-input {
    font-size: 16px;
    min-height: 2.85rem;
  }
  textarea.hold-input { min-height: 7rem; }
}

@media (max-width: 380px) {
  .hold-brand { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hold-hero-ken,
  .hold-reveal,
  .hold-scroll-cue,
  .hold-scroll-cue span,
  .real-item.is-showing,
  .hero-slash,
  .hold-btn-shine::after,
  .btn-shine::after,
  .hold-filiale-panel__img { animation: none; }
  .hero-slash { opacity: 0; }
  .hold-reveal,
  .hold-scroll,
  .hold-stagger > *,
  .hold-scroll-cue { opacity: 1; transform: none; }
  .hold-section-head h2::after { transform: scaleX(1); transition: none; }
  .real-reveal { clip-path: none; }
  .hold-hero-grain,
  .hero-grain { opacity: 0.12; }
  .hold-filiale-panel__img { transform: none; transition: none; }
}
