/* ==============================================
   TAYCHOU COUTURE — style.css
   Bootstrap 5 + Tailwind CSS — Agadez, Niger
   ============================================== */

:root {
  --gold:      #dfc248;
  --gold-dk:   #c4a833;
  --navy:      #1e2430;
  --navy-dark: #141b26;
  --cream:     #faf8f5;
  --border:    #e9e5de;
  --text:      #1f2937;
  --muted:     #6b7280;
}

/* ── RESET BOOTSTRAP visuel minimal ── */
a { text-decoration: none !important; }
.form-control:focus,
.btn:focus,
.navbar-toggler:focus { box-shadow: none !important; outline: none !important; }
.shadow, .shadow-sm, .shadow-lg { box-shadow: none !important; }

/* ── NAVBAR ─────────────────────────────────── */
#main-navbar {
  padding: .8rem 1.5rem;
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
#main-navbar.scrolled,
#main-navbar.solid {
  background: rgba(255,255,255,.97) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0,0,0,.09);
  padding: .45rem 1.5rem;
}

.navbar-brand img {
  height: 42px; width: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  transition: transform .25s;
}
.navbar-brand img:hover { transform: scale(1.07); }

.navbar-brand-text {
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
  margin-left: .55rem;
  letter-spacing: .02em;
  transition: color .25s;
}
#main-navbar.scrolled .navbar-brand-text,
#main-navbar.solid   .navbar-brand-text { color: var(--navy); }

.nav-link-tc {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: rgba(255,255,255,.88) !important;
  padding: .4rem .6rem !important;
  border-radius: 4px;
  transition: color .2s, background .2s;
}
#main-navbar.scrolled .nav-link-tc,
#main-navbar.solid   .nav-link-tc { color: var(--text) !important; }
.nav-link-tc:hover,
.nav-link-tc.active-link { color: var(--gold) !important; }

.navbar-toggler {
  border: 2px solid var(--gold) !important;
  border-radius: 6px !important;
  padding: .3rem .5rem;
  background: none;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23dfc248' stroke-width='2.2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

@media (max-width: 991px) {
  #navMenu {
    background: #fff;
    border-top: 2px solid var(--gold);
    padding: .75rem .5rem;
    margin-top: .4rem;
  }
  .nav-link-tc { color: var(--text) !important; }
}

/* ── BOUTONS ─────────────────────────────────── */
.btn-gold {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--gold);
  color: #fff;
  padding: .65rem 1.5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  border-radius: 3px;
  transition: background .22s, color .22s, border-color .22s;
}
.btn-gold:hover { background: var(--gold-dk); border-color: var(--gold-dk); color: #fff; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: .45rem;
  background: transparent;
  color: #fff;
  padding: .65rem 1.5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase;
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 3px;
  transition: background .22s, color .22s, border-color .22s;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.8); color: #fff; }

/* ── TYPOGRAPHIE ─────────────────────────────── */
.section-label {
  display: block;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .5rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 600; line-height: 1.2;
  color: var(--navy); margin: 0;
}
.section-title em { color: var(--gold); font-style: normal; }
.section-title.light { color: #fff; }
.section-title.light em { color: var(--gold); }

.gold-line {
  display: block; width: 44px; height: 2px;
  background: var(--gold); margin-top: .9rem; margin-bottom: 1.1rem;
}

/* ── PAGE HERO (pages intérieures) ───────────── */
.page-hero {
  padding: 7rem 0 3.5rem;
  background: var(--navy);
  text-align: center;
  position: relative;
}

/* ── HERO (accueil) ──────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 540px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
@media (max-width: 767px) {
  #hero { background-attachment: scroll; min-height: 480px; }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.68) 0%, rgba(0,0,0,.42) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 1rem 1.5rem;
  width: 100%;
}
.hero-eyebrow {
  display: block;
  font-size: .68rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .85rem;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700; line-height: 1.1;
  color: #fff; margin: 0 0 1.1rem;
}
.hero-title em { color: var(--gold); font-style: normal; }
.hero-lead {
  font-size: 1rem; color: rgba(255,255,255,.65);
  max-width: 480px; margin: 0 auto 2rem; line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-1 { opacity: 0; animation: fadeUp .55s .08s ease forwards; }
.anim-2 { opacity: 0; animation: fadeUp .55s .22s ease forwards; }
.anim-3 { opacity: 0; animation: fadeUp .55s .36s ease forwards; }
.anim-4 { opacity: 0; animation: fadeUp .55s .50s ease forwards; }

/* ── ABOUT ───────────────────────────────────── */
.about-section { padding: 5rem 0; background: #fff; }
.about-img-wrap img {
  width: 100%; height: 420px;
  object-fit: cover; border-radius: 3px;
}
@media (max-width: 991px) { .about-img-wrap img { height: 280px; } }

/* ── STATS ───────────────────────────────────── */
.stats-section { background: var(--navy); padding: 3rem 0; }
.stat-item { padding: 1.5rem 1rem; border-right: 1px solid rgba(255,255,255,.08); }
.stat-item:last-child { border-right: none; }
@media (max-width: 767px) { .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); } }
.stat-number { display: block; font-size: 2.2rem; font-weight: 700; color: var(--gold); }
.stat-label {
  display: block; font-size: .72rem; font-weight: 500;
  color: rgba(255,255,255,.45); text-transform: uppercase;
  letter-spacing: .1em; margin-top: .25rem;
}

/* ── COLLECTIONS GRILLE ──────────────────────── */
.collections-section {
  background: var(--navy-dark);
  padding: 4rem 0 5rem;
}
.coll-head { margin-bottom: 2.5rem; }

/* cellule image — aspect ratio fixe pour toutes */
.coll-item {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  text-decoration: none;
}
.coll-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}
.coll-item:hover img {
  transform: scale(1.07);
}

/* hover overlay + icône zoom */
.coll-item-hover {
  position: absolute; inset: 0;
  background: rgba(14,20,31,0);
  display: flex; align-items: center; justify-content: center;
  transition: background .35s;
}
.coll-item-hover i {
  font-size: 1.6rem; color: #fff;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .3s, transform .3s;
}
.coll-item:hover .coll-item-hover {
  background: rgba(14,20,31,.35);
}
.coll-item:hover .coll-item-hover i {
  opacity: 1;
  transform: scale(1);
}

/* ── VIDÉOS ──────────────────────────────────── */
.videos-section {
  padding: 5rem 0 6rem;
  background: var(--navy-dark);
  position: relative;
}
.videos-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(255,255,255,.015) 3px,
    rgba(255,255,255,.015) 4px
  );
  pointer-events: none;
}

.video-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(223,194,72,.18);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.video-card:hover {
  border-color: rgba(223,194,72,.5);
  box-shadow: 0 8px 40px rgba(0,0,0,.45);
}

.video-badge {
  display: inline-flex;
  align-items: center;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(223,194,72,.1);
  border-bottom: 1px solid rgba(223,194,72,.15);
  padding: .55rem 1.1rem;
  width: 100%;
}

.video-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.video-footer {
  display: flex;
  gap: .6rem;
  align-items: center;
  padding: .65rem 1rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.video-tag {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  display: flex;
  align-items: center;
  gap: .3rem;
}
.video-tag i { font-size: .75rem; color: var(--gold); }

/* ── GALERIE ─────────────────────────────────── */
.gallery-section { padding: 4rem 0 5rem; }
.gallery-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  border-radius: 3px;
  background: #111;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease, opacity .3s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.06); opacity: .65; }
.gallery-overlay {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
  padding: 1rem;
  text-align: center;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-zoom {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; margin-bottom: .5rem;
}
.gallery-overlay h5 { color: #fff; font-size: .95rem; font-weight: 600; margin: 0; }
.gallery-overlay p { color: rgba(255,255,255,.65); font-size: .8rem; margin: .3rem 0 0; }

/* Lightbox */
#lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.96);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .9rem;
}
#lightbox.active { display: flex; }
#lightbox-img {
  max-width: 88vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 3px;
}
#lightbox-close {
  position: absolute;
  top: 1.1rem; right: 1.5rem;
  font-size: 1.8rem;
  color: rgba(255,255,255,.55);
  cursor: pointer;
  background: none; border: none; line-height: 1;
  transition: color .2s;
}
#lightbox-close:hover { color: #fff; }
#lightbox-caption {
  font-size: .85rem;
  color: rgba(255,255,255,.38);
  font-style: italic;
}

/* ── TÉMOIGNAGES ─────────────────────────────── */
.temoignages-section { padding: 4rem 0 5rem; background: var(--cream); }
.temoignage-card {
  background: #fff;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  height: 100%;
  display: flex; flex-direction: column;
  transition: border-color .25s, box-shadow .25s;
}
.temoignage-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
}
.quote-mark {
  font-size: 2.8rem; line-height: .8;
  color: var(--gold); opacity: .25;
  display: block; margin-bottom: .5rem;
}
.temoignage-card .avatar {
  width: 52px; height: 52px;
  border-radius: 50%; object-fit: cover;
  border: 2px solid var(--gold);
  margin-bottom: .6rem;
}
.temoignage-card h5 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: .25rem; }
.stars { color: var(--gold); font-size: .82rem; margin-bottom: .85rem; }
.temoignage-card blockquote {
  font-size: .88rem; color: var(--muted);
  line-height: 1.7; margin: 0; flex: 1;
}

/* ── RDV ─────────────────────────────────────── */
.rdv-page { padding: 6rem 0 4rem; min-height: 80vh; background: var(--cream); }
.rdv-card {
  display: flex; flex-wrap: wrap;
  border-radius: 3px; overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,.10);
}
.rdv-sidebar {
  background: var(--navy-dark); color: rgba(255,255,255,.65);
  padding: 2.5rem 2rem; flex: 0 0 300px;
}
.rdv-sidebar h3 {
  font-size: 1.5rem; font-weight: 700;
  color: #fff; margin-bottom: .5rem;
}
.rdv-sidebar h3 em { color: var(--gold); font-style: normal; }
.rdv-sidebar .sub {
  font-size: .82rem; line-height: 1.7;
  margin-bottom: 1.75rem;
}
.rdv-info {
  display: flex; align-items: center; gap: .65rem;
  font-size: .83rem; margin-bottom: .7rem;
}
.rdv-info i { color: var(--gold); }
.rdv-form-area { flex: 1; padding: 2.5rem; background: #fff; min-width: 0; }
@media (max-width: 767px) {
  .rdv-sidebar { flex: 0 0 100%; }
  .rdv-form-area { padding: 1.75rem 1.25rem; }
}

/* ── FORMULAIRES ─────────────────────────────── */
.field-label {
  display: block; font-size: .75rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .4rem;
}
.field-input {
  width: 100%; padding: .65rem .95rem;
  border: 1.5px solid var(--border);
  border-radius: 3px; font-size: .9rem;
  background: #fff; color: var(--text);
  transition: border-color .2s;
  font-family: inherit;
}
.field-input:focus { border-color: var(--gold); outline: none; box-shadow: none !important; }

/* ── CONFIRMATION ────────────────────────────── */
.confirmation-page {
  min-height: 80vh;
  display: flex; align-items: center; justify-content: center;
  padding: 5rem 1rem; background: var(--cream);
}
.confirmation-card {
  background: #fff; max-width: 460px; width: 100%;
  padding: 2.5rem 2rem; text-align: center;
  border-top: 3px solid var(--gold);
  border-radius: 3px;
}
.check-circle {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--gold); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin: 0 auto 1.25rem;
}

/* ── FOOTER ──────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.55);
  padding: 3.5rem 0 0;
}
.footer-logo {
  width: 48px; height: 48px;
  border-radius: 50%; object-fit: cover;
  border: 2px solid var(--gold);
  display: block; margin-bottom: .65rem;
}
.footer-brand-name {
  display: block; font-size: .9rem; font-weight: 700;
  color: #fff; margin-bottom: .6rem;
}
.footer-desc { font-size: .83rem; line-height: 1.7; }
.footer-heading {
  display: block; font-size: .65rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .9rem;
}
.footer-link {
  display: block; font-size: .83rem;
  color: rgba(255,255,255,.5); margin-bottom: .4rem;
  transition: color .2s;
}
.footer-link:hover { color: var(--gold); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .83rem; margin-bottom: .55rem;
}
.footer-contact-item i { color: var(--gold); margin-top: .15rem; flex-shrink: 0; }
.footer-divider {
  border: none; border-top: 1px solid rgba(255,255,255,.08);
  margin: 2.5rem 0 1.25rem;
}
.footer-copy {
  font-size: .78rem; color: rgba(255,255,255,.3);
  padding-bottom: 1.5rem; margin: 0;
}

/* ── CHATBOT ─────────────────────────────────── */
#chat-toggle-btn {
  position: fixed;
  bottom: 1.4rem; right: 1.4rem;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold) !important;
  color: var(--navy) !important;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  z-index: 1050;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(223,194,72,.45);
  transition: background .25s, color .25s, transform .25s;
}
#chat-toggle-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(223,194,72,.3);
  animation: chatPulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes chatPulse {
  0%   { transform: scale(1);   opacity: 1; }
  100% { transform: scale(1.75); opacity: 0; }
}
#chat-toggle-btn:hover { background: var(--navy) !important; color: var(--gold) !important; transform: scale(1.07); }

#chatbot-container {
  position: fixed;
  bottom: 5.2rem; right: 1.4rem;
  width: 340px; max-height: 520px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 50px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(.97);
  transition: opacity .28s ease, transform .28s ease;
  z-index: 1051;
  overflow: hidden;
}
#chatbot-container.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

#chat-header {
  background: var(--navy-dark);
  color: #fff;
  padding: .9rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.chat-header-left { display: flex; align-items: center; gap: .6rem; }
.chat-avatar { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; }
.chat-name { font-size: .88rem; font-weight: 700; letter-spacing: .01em; }
.chat-status { font-size: .67rem; color: rgba(255,255,255,.5); display: flex; align-items: center; gap: .3rem; margin-top: 2px; }
.status-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #4caf50;
  box-shadow: 0 0 0 0 rgba(76,175,80,.5);
  animation: statusPulse 2s infinite;
}
@keyframes statusPulse {
  0%   { box-shadow: 0 0 0 0   rgba(76,175,80,.5); }
  70%  { box-shadow: 0 0 0 6px rgba(76,175,80,0);  }
  100% { box-shadow: 0 0 0 0   rgba(76,175,80,0);  }
}

#chat-close-btn { color: rgba(255,255,255,.45); cursor: pointer; background: none; border: none; font-size: 1rem; padding: 0; transition: color .2s; }
#chat-close-btn:hover { color: #fff; }

#chatbox {
  flex: 1; overflow-y: auto; padding: .9rem;
  background: #f5f4f2;
  display: flex; flex-direction: column; gap: .5rem;
  scroll-behavior: smooth;
}
#chatbox::-webkit-scrollbar { width: 4px; }
#chatbox::-webkit-scrollbar-track { background: transparent; }
#chatbox::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }

.chat-bubble-wrap { display: flex; flex-direction: column; max-width: 86%; }
.chat-bubble-wrap.user-wrap { align-self: flex-end; align-items: flex-end; }
.chat-bubble-wrap.bot-wrap  { align-self: flex-start; align-items: flex-start; }

.chat-message {
  padding: .55rem .9rem;
  font-size: .83rem;
  line-height: 1.55;
  word-break: break-word;
  border-radius: 14px;
}
.chat-user { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.chat-bot  { background: #fff; color: #1f2937; border-bottom-left-radius: 4px; box-shadow: 0 1px 6px rgba(0,0,0,.09); }

.chat-ts { font-size: .62rem; color: #aaa; margin-top: 3px; padding: 0 .2rem; }

.chatbot-link {
  display: inline-block; color: var(--gold); font-weight: 600; font-size: .82rem;
  text-decoration: none; border-bottom: 1px solid rgba(223,194,72,.35);
  transition: color .2s, border-color .2s;
}
.chatbot-link:hover { color: #c4a833; border-color: #c4a833; }

/* Quick reply chips */
.chat-qr-wrap { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .35rem; padding: 0 .1rem; }
.chat-qr-btn {
  background: #fff; border: 1.5px solid var(--gold); color: var(--navy);
  border-radius: 20px; padding: .28rem .72rem; font-size: .74rem; font-weight: 600;
  cursor: pointer; transition: background .2s, color .2s; white-space: nowrap;
  font-family: 'Poppins', sans-serif;
}
.chat-qr-btn:hover { background: var(--gold); color: var(--navy); }

/* Typing indicator — 3 bouncing dots */
#typing_indicator {
  display: none; align-items: center; gap: 4px;
  padding: .55rem .9rem; background: #f5f4f2; flex-shrink: 0;
}
.typing-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #bbb;
  animation: typingBounce .9s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: .15s; }
.typing-dot:nth-child(3) { animation-delay: .3s;  }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0);    background: #bbb; }
  30%           { transform: translateY(-5px); background: var(--gold); }
}

.chat-input-area { padding: .65rem; border-top: 1px solid #ebebeb; display: flex; gap: .4rem; align-items: center; flex-shrink: 0; }
.chat-input-area input { flex: 1; border: 1.5px solid #e0e0e0; border-radius: 20px; padding: .45rem .85rem; font-size: .83rem; outline: none; background: #fafaf8; transition: border-color .2s; font-family: 'Poppins', sans-serif; }
.chat-input-area input:focus { border-color: var(--gold); }

.chat-send-btn { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--navy); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: background .2s; }
.chat-send-btn:hover { background: var(--gold-dk); }

.chat-wa-btn { display: inline-flex; align-items: center; gap: .3rem; background: #25D366; color: #fff; border-radius: 20px; padding: .38rem .7rem; font-size: .73rem; font-weight: 600; flex-shrink: 0; transition: background .2s; text-decoration: none; }
.chat-wa-btn:hover { background: #1da851; color: #fff; }

@media (max-width: 480px) {
  #chatbot-container { width: calc(100vw - 2rem); right: 1rem; }
}

/* ── SCROLL REVEAL ───────────────────────────── */
.reveal       { opacity: 0; transform: translateY(22px);  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1); }
.reveal-left  { opacity: 0; transform: translateX(-38px); transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1); }
.reveal-right { opacity: 0; transform: translateX(38px);  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1); }
.reveal-scale { opacity: 0; transform: scale(.93);        transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }

/* ══════════════════════════════════════════════
   ANIMATIONS AVANCÉES — Senior Dev
   ══════════════════════════════════════════════ */

html { scroll-behavior: smooth; }

/* ── Barre de progression scroll ── */
#scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--gold-dk), var(--gold), #f5d97a);
  z-index: 10000;
  transition: width .08s linear;
  pointer-events: none;
}

/* ── Navbar : entrée au chargement ── */
@keyframes navSlideDown {
  from { transform: translateY(-110%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
#main-navbar { animation: navSlideDown .7s cubic-bezier(.22,1,.36,1) forwards; }

/* ── Nav links : soulignement animé ── */
.nav-link-tc { position: relative; }
.nav-link-tc::after {
  content: '';
  position: absolute; bottom: 2px;
  left: 50%; right: 50%;
  height: 1.5px; background: var(--gold);
  transition: left .28s cubic-bezier(.22,1,.36,1), right .28s cubic-bezier(.22,1,.36,1);
}
.nav-link-tc:hover::after,
.nav-link-tc.active-link::after { left: 8%; right: 8%; }

/* ── Boutons : ripple + magnetic ── */
.btn-gold, .btn-ghost { position: relative; overflow: hidden; }
@keyframes ripple {
  from { width: 0; height: 0; opacity: .55; }
  to   { width: 320px; height: 320px; opacity: 0; }
}

/* ── Stats : compteur + hover ── */
.stat-number {
  display: block;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), color .25s;
}
.stat-item:hover .stat-number { transform: scale(1.1); color: #fff; }
.stat-item {
  transition: background .25s;
}
.stat-item:hover { background: rgba(255,255,255,.04); }

/* ── Cards : lift au hover ── */
.temoignage-card {
  transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .25s, box-shadow .25s;
}
.temoignage-card:hover { transform: translateY(-6px); }

.video-card {
  transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .3s, box-shadow .3s;
}
.video-card:hover { transform: translateY(-5px); }


/* ── Hero : pulse doré sur le bouton principal ── */
@keyframes goldPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(223,194,72,.45); }
  50%      { box-shadow: 0 0 0 10px rgba(223,194,72,0); }
}
.hero-actions .btn-gold { animation: goldPulse 2.5s ease-in-out infinite; }
.hero-actions .btn-gold:hover { animation: none; }

/* ── Section CTA : fond animé ── */
@keyframes gradShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Galerie : zoom fluide ── */
.gallery-item { transition: box-shadow .3s ease; }
.gallery-item:hover { box-shadow: 0 12px 40px rgba(0,0,0,.22); }

/* ── Collection items : overlay doré ── */
.coll-item-hover {
  background: linear-gradient(to top, rgba(223,194,72,.18) 0%, rgba(14,20,31,0) 100%);
  transition: background .4s;
}
.coll-item:hover .coll-item-hover {
  background: linear-gradient(to top, rgba(223,194,72,.3) 0%, rgba(14,20,31,.25) 100%);
}

/* ── Floating logo navbar ── */
@keyframes floatLogo {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
.navbar-brand img { animation: floatLogo 3.5s ease-in-out infinite; }
.navbar-brand img:hover { animation: none; transform: scale(1.07); }

/* ── Page load overlay ── */
#page-loader {
  position: fixed; inset: 0;
  background: var(--navy-dark);
  z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .4s ease, visibility .4s ease;
  /* ne bloque jamais les clics sur la navbar et le contenu en dessous */
}
#page-loader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-content {
  display: flex; flex-direction: column;
  align-items: center; gap: 1.25rem;
}
.loader-logo-wrap {
  position: relative;
  width: 76px; height: 76px;
  display: flex; align-items: center; justify-content: center;
}
.loader-logo {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  position: relative; z-index: 1;
  animation: logoPulse 1.8s ease-in-out infinite;
}
@keyframes logoPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(223,194,72,.4); }
  50%      { box-shadow: 0 0 0 10px rgba(223,194,72,0); }
}
.loader-ring {
  position: absolute; inset: 0;
  border: 2.5px solid rgba(223,194,72,.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .85s linear infinite;
}
.loader-text {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .25em; text-transform: uppercase;
  color: rgba(255,255,255,.3); margin: 0;
  animation: textFade 1.8s ease-in-out infinite;
}
@keyframes textFade {
  0%,100% { opacity: .3; }
  50%      { opacity: .65; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Scroll-to-top button ── */
#scroll-top {
  position: fixed; bottom: 5.5rem; right: 1.4rem;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  border: 1.5px solid rgba(223,194,72,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; cursor: pointer; z-index: 1049;
  opacity: 0; transform: translateY(10px);
  transition: opacity .3s, transform .3s, background .2s;
  pointer-events: none;
}
#scroll-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
#scroll-top:hover { background: var(--gold); color: var(--navy); }

/* ═══════════════════════════════════════════════
   RESPONSIVE GLOBAL — mobile-first fixes
   ═══════════════════════════════════════════════ */

/* ── Textes longs (email, téléphone) ─ */
.footer-contact-item span,
.rdv-info span {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ── TABLETTE (max 991px) ────────────────────── */
@media (max-width: 991px) {
  .about-section    { padding: 3.5rem 0; }
  .collections-section { padding: 3rem 0 4rem; }
  .videos-section   { padding: 3.5rem 0 4.5rem; }
  .gallery-section  { padding: 3rem 0 4rem; }
  .temoignages-section { padding: 3rem 0 4rem; }
  .page-hero        { padding: 6rem 0 3rem; }
  .rdv-page         { padding: 5rem 0 3rem; }

  .section-title { font-size: clamp(1.5rem, 4vw, 2.2rem); }
}

/* ── MOBILE (max 767px) ──────────────────────── */
@media (max-width: 767px) {
  /* Navbar */
  #main-navbar { padding: .6rem 0; }
  .navbar-brand img { height: 36px; width: 36px; }
  .navbar-brand-text { font-size: .85rem; }

  /* Hero */
  .hero-title  { font-size: clamp(2rem, 9vw, 3.2rem); }
  .hero-lead   { font-size: .9rem; }
  .hero-actions { gap: .55rem; }

  /* Sections padding */
  .about-section       { padding: 3rem 0; }
  .stats-section       { padding: 2rem 0; }
  .collections-section { padding: 2.5rem 0 3rem; }
  .videos-section      { padding: 2.5rem 0 3.5rem; }
  .gallery-section     { padding: 2rem 0 3rem; }
  .temoignages-section { padding: 2rem 0 3rem; }
  .page-hero           { padding: 5.5rem 0 2.5rem; }
  .rdv-page            { padding: 4.5rem 0 2.5rem; }

  /* Stats */
  .stat-number { font-size: 1.75rem; }
  .stat-label  { font-size: .65rem; }

  /* Galerie */
  .gallery-item { aspect-ratio: 1 / 1; }

  /* CTA (accueil) */
  section.py-5[style*="background:var(--navy)"] .d-flex { gap: .5rem; }

  /* Confirmation */
  .confirmation-card { padding: 2rem 1.25rem; }

  /* Footer navigation/services : passer à pleine largeur sur xs */
  .site-footer .col-6 { flex: 0 0 100%; max-width: 100%; }
  .site-footer .row { row-gap: 1.5rem !important; }
  .footer-copy { font-size: .73rem; text-align: center; }
}

/* ── PETIT MOBILE (max 575px) ────────────────── */
@media (max-width: 575px) {
  /* Hero boutons pleine largeur */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-gold, .btn-ghost { justify-content: center; text-align: center; }

  /* Navbar brand : couper le texte si trop long */
  .navbar-brand-text { max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* RDV sidebar email */
  .rdv-sidebar { padding: 2rem 1.25rem; }
  .rdv-sidebar h3 { font-size: 1.25rem; }

  /* Formulaire RDV */
  .rdv-form-area { padding: 1.5rem 1rem; }

  /* Page hero */
  .page-hero { padding: 5rem 0 2rem; }
  .page-hero .section-title { font-size: clamp(1.75rem, 8vw, 3rem); }

  /* Témoignage card */
  .temoignage-card { padding: 1.5rem; }

  /* Gallery 2 colonnes sur xs */
  .gallery-section .col-md-4 { flex: 0 0 50%; max-width: 50%; }

  /* Collections : 1 colonne sur très petit */
  .collections-section .col-6 { flex: 0 0 100%; max-width: 100%; }

  /* Videos */
  .video-card { border-radius: 8px; }

  /* Stats */
  .stat-item { padding: 1.25rem .5rem; }

  /* About */
  .about-img-wrap img { height: 220px; }
  .about-section .d-flex { flex-direction: column; }
  .about-section .btn-gold,
  .about-section .btn-gold + .btn-gold { width: 100%; justify-content: center; }
}

/* ── Services — responsive supplémentaire ─────── */
@media (max-width: 767px) {
  /* Hero services */
  .svc-hero { padding: 5.5rem 0 4rem; }
  .svc-hero__title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .svc-hero__pills { gap: .35rem !important; }

  /* Cards services : hauteur réduite */
  .svc-card { height: 420px; }
  .svc-card__body { padding: 1.5rem 1.5rem 1.75rem; }
  .svc-card__title { font-size: 1.25rem; }

  /* Processus */
  .svc-process { padding: 3.5rem 0 4rem; }
  .svc-step { padding: 2rem 1.25rem; }

  /* Info strip */
  .svc-info-strip { padding: 2.5rem 0; }
  .svc-info-item { padding: .85rem 1.25rem; min-width: 100%; }

  /* FAQ */
  .svc-faq { padding: 3.5rem 0 4rem; }
  .svc-faq-btn { font-size: .85rem; }

  /* CTA section */
  .svc-cta-section { padding: 4.5rem 0; }

  /* Split inner — déjà en colonne grâce au CSS inline */
  .svc-split__inner { padding: 2.5rem 1.25rem !important; }
  .svc-split__img   { min-height: 280px; }
}

@media (max-width: 575px) {
  .svc-card { height: 360px; }
  .svc-card__num { font-size: 4rem; }
  .svc-step__body { max-width: 100%; }
  .svc-hero { padding: 5rem 0 3.5rem; }
}

/* ── Chatbot bouton : ne pas couvrir le footer ─ */
@media (max-width: 575px) {
  #chat-toggle-btn  { bottom: 1rem; right: 1rem; width: 50px; height: 50px; font-size: 1.2rem; }
  #chatbot-container { bottom: 4.5rem; right: .75rem; }
}
