/* ============================================
   CONFERENCES.CSS — Styles page Conférences
   Fichier : assets/css/conferences.css
   ============================================ */

/* ============================================
   VARIABLES LOCALES
   ============================================ */
:root {
  --cream: #FAF4EF;
  --white: #FFFFFF;
  --terra: #B72D2B;
  --terra-d: #951F1E;
  --brown-d: #573D38;
  --brown-m: #775038;
  --quote-bg: #AFA098;
}

/* ============================================
   BASE
   ============================================ */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--brown-d);
  -webkit-font-smoothing: antialiased;
  background: var(--white);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease-out, transform .8s ease-out;
}
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity .8s ease-out, transform .8s ease-out;
}
.reveal-left.in { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .8s ease-out, transform .8s ease-out;
}
.reveal-right.in { opacity: 1; transform: translateX(0); }

/* Réduire les animations si préférence utilisateur */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-animate > * {
    opacity: 1;
    animation: none;
  }
  .blob { animation: none; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  background: var(--terra);
  color: #fff;
  transition: all .25s ease;
}
.btn-primary:hover {
  background: var(--terra-d);
  box-shadow: 0 10px 25px -10px rgba(183, 45, 43, .5);
  transform: translateY(-2px);
}

.btn-dark {
  background: #1a1a1a;
  color: #fff;
  transition: all .25s ease;
}
.btn-dark:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -10px rgba(0, 0, 0, .4);
}

.btn-outline {
  color: var(--brown-d);
  border: 1.5px solid var(--brown-d);
  background: transparent;
  transition: all .25s ease;
}
.btn-outline:hover {
  background: var(--brown-d);
  color: #fff;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.title-abhaya {
  font-family: 'Abhaya Libre', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.title-playfair {
  font-family: 'Playfair Display', Georgia, serif;
}
.parisienne {
  font-family: 'Parisienne', cursive;
}

/* ============================================
   HERO PARALLAX
   ============================================ */
.hero-parallax {
  background-image: url('/assets/img/conference-hero.jpg');
  background-attachment: fixed;
  background-position: center top;
  background-size: 100%;
  background-repeat: no-repeat;
  background-color: #1a1a1a;
}

/* Fix iOS : parallax fixed broken */
@media (max-width: 768px) {
  .hero-parallax { background-attachment: scroll; }
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.65) 100%);
}

/* Hero text entry animation */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-animate > * {
  opacity: 0;
  animation: hero-fade-up .9s ease-out forwards;
}
.hero-animate > *:nth-child(1) { animation-delay: .15s; }
.hero-animate > *:nth-child(2) { animation-delay: .35s; }
.hero-animate > *:nth-child(3) { animation-delay: .55s; }
.hero-animate > *:nth-child(4) { animation-delay: .75s; }

/* ============================================
   QUOTE BANNER
   ============================================ */
.quote-banner {
  background: var(--quote-bg);
  position: relative;
  overflow: hidden;
}
.quote-banner::before {
  content: '\201C';
  position: absolute;
  top: -40px;
  left: 5%;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20rem;
  color: rgba(255, 255, 255, .06);
  line-height: 1;
  pointer-events: none;
}

/* ============================================
   IMAGE CARDS
   ============================================ */
.img-card {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 25px 50px -15px rgba(87, 61, 56, .25);
}
.img-card img {
  transition: transform .8s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-card:hover img { transform: scale(1.04); }

/* ============================================
   LOGOS CLIENTS
   ============================================ */
.logo-client {
  height: 42px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .55;
  transition: all .3s ease;
}
.logo-client:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ============================================
   CRÉATIVITÉ ÉDITORIALE
   ============================================ */

/* Numéros watermark */
.big-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  line-height: .85;
  color: rgba(183, 45, 43, .08);
  letter-spacing: -.05em;
  pointer-events: none;
  user-select: none;
}

/* Cadre artistique avec bande peinture */
.img-with-block { position: relative; }
.img-with-block::before {
  content: '';
  position: absolute;
  top: -40px;
  bottom: -40px;
  right: -32px;
  width: 28%;
  background: url('/assets/img/paint-texture.jpg') center/cover;
  z-index: 0;
  transition: transform .5s ease;
  filter: saturate(1.05);
}
.img-with-block:hover::before { transform: translateX(8px); }
.img-with-block .img-card { position: relative; z-index: 1; }

/* Variante bande à gauche */
.img-with-block-cream::before {
  right: auto;
  left: -32px;
}
.img-with-block-cream:hover::before { transform: translateX(-8px); }

/* ============================================
   ORGANIC BLOB
   ============================================ */
.blob {
  position: absolute;
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
  pointer-events: none;
  animation: blob-float 14s ease-in-out infinite;
}
@keyframes blob-float {
  0%, 100% {
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    transform: translate(0, 0) rotate(0);
  }
  50% {
    border-radius: 45% 55% 38% 62% / 48% 52% 48% 52%;
    transform: translate(15px, -10px) rotate(8deg);
  }
}

/* ============================================
   STICKY TAG
   ============================================ */
.sticky-tag {
  display: inline-block;
  padding: .4rem 1rem;
  background: #FAE5D0;
  color: var(--brown-d);
  font-family: 'Parisienne', cursive;
  font-size: 1.375rem;
  transform: rotate(-3deg);
  box-shadow: 2px 3px 0 rgba(87, 61, 56, .12);
  border-radius: 2px;
}

/* ============================================
   DOODLE ARROW
   ============================================ */
.doodle-arrow {
  position: absolute;
  width: 120px;
  height: auto;
  pointer-events: none;
  opacity: .8;
}

/* ============================================
   STAT PILLS
   ============================================ */
.stat-pill {
  background: var(--cream);
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
.stat-pill:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(183, 45, 43, .3);
}
.stat-pill::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 100px;
  height: 100px;
  background: var(--terra);
  border-radius: 50%;
  opacity: .08;
}

/* ============================================
   SECTION LABEL
   ============================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}
.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--terra);
}

/* ============================================
   CONFERENCE CARDS (hover via CSS, pas JS inline)
   ============================================ */
.conference-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px -20px rgba(87, 61, 56, .15);
  transition: transform .3s ease, box-shadow .3s ease;
}
.conference-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(87, 61, 56, .25);
}

/* ============================================
   RESPONSIVE MOBILE
   ============================================ */
@media (max-width: 768px) {
  /* Masquer décorations sur mobile */
  .img-with-block::before,
  .img-with-block-cream::before {
    display: none;
  }
  
  /* Réduire le padding des stat pills */
  .stat-pill { padding: 1rem; }
}
