:root {
  --bg: #ffffff;
  --text: #212529;
  --muted: #6c757d;
  --accent: #ff6a00;
  /* orange tonique */
  --accent-2: #f9b732;
  /* jaune d'accent */
  --dark: #212529;
  /* footer/sections sombres */
  --container: 1200px;
  --radius: 16px;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px
}

.fullwidth>.container {
  max-width: none
}

/* Pre-header */
/* Pre-header */
.pre-header {
  background: var(--dark);
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center
}

.pre-header .container {
  padding: 3px 0 !important;
}

.pre-header .btn.btn-xs {
  background: var(--accent);
  color: #fff;
  padding: 2px 12px;
  font-size: 11px;
  margin-left: 12px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none
}

.pre-header .btn.btn-xs:hover {
  filter: brightness(1.1);
  transform: translateY(-1px)
}

.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 200
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.5px;
  font-size: 24px
}

.logo img {
  display: block;
  height: 32px;
  width: auto
}

.tagline {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px
}

.nav {
  display: flex;
  gap: 14px
}

.nav a {
  color: inherit;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px
}

.nav a:hover {
  background: #f1f3f5
}

.nav a.active {
  background: #ffe8cc;
  color: #7f4b00
}

.burger {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer
}

.burger span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease, top .25s ease
}

.burger span:nth-child(1) {
  top: 12px
}

.burger span:nth-child(2) {
  top: 19px
}

.burger span:nth-child(3) {
  top: 26px
}

.site-header.open .burger span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg)
}

.site-header.open .burger span:nth-child(2) {
  opacity: 0
}

.site-header.open .burger span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg)
}

.nav-backdrop {
  display: none
}

.site-header.open .nav-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 290
}

/* Panneau latéral sur desktop et mobile */
.nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 300px;
  max-width: 92vw;
  background: #fff;
  padding: 72px 20px 20px 20px;
  box-shadow: -8px 0 30px rgba(0, 0, 0, .15);
  transform: translate3d(100%, 0, 0);
  transition: transform .25s ease;
  z-index: 300;
  flex-direction: column;
  will-change: transform
}

.site-header.open .nav {
  transform: translate3d(0, 0, 0)
}

.burger {
  display: block
}

@media(max-width:1023px) {
  .nav {
    width: 88vw
  }

  .nav a {
    padding: 14px 10px;
    border-radius: 8px
  }

  /* Instagram header: empiler titre et CTA sur mobile */
  .instagram .insta-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  transition: all .2s ease;
  letter-spacing: .2px
}

.btn.cta {
  background: var(--accent);
  color: #fff
}

.btn.cta:hover {
  filter: brightness(.95)
}

.btn.primary {
  background: var(--accent);
  color: #fff
}

.btn.primary:hover {
  transform: translateY(-1px)
}

.btn.play {
  background: #fff;
  color: var(--text);
  border-color: #ddd;
  background-color: var(--accent-2);
  min-width: 200px;
}

.section {
  padding: 72px 0
}

.section.no-padding {
  padding: 0
}

.section.no-padding h1 {
  margin: 0
}

.section.dark {
  background: var(--dark);
  color: #fff
}

.section.testimonials.yellow {
  background: var(--accent-2);
  color: var(--text)
}

.section.testimonials.dark {
  background: var(--dark);
  color: #fff
}

.section .grid {
  display: grid;
  gap: 16px
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr))
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.larger-gap {
  gap: 28px
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: center
}

.two-col.reverse {
  grid-template-columns: .9fr 1.1fr
}

.two-col.reverse .left {
  order: 2
}

.two-col.reverse .right {
  order: 1
}

/* Alternance automatique sur la page "Qui sommes-nous" (desktop) */
@media(min-width:1024px) {
  .about .section .container.two-col {
    grid-template-columns: 1.1fr .9fr
  }

  .about .section:nth-of-type(even) .container.two-col {
    grid-template-columns: .9fr 1.1fr
  }

  .about .section:nth-of-type(even) .container.two-col .left {
    order: 2
  }

  .about .section:nth-of-type(even) .container.two-col .right {
    order: 1
  }
}

.bullets {
  padding-left: 18px
}

.bullets li {
  margin: 8px 0
}

.gallery-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px
}

.gallery-2 img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px
}

.bg-image {
  position: relative;
  min-height: 360px
}

.bg-image .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: 16px
}

.card {
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06)
}

.section.dark .card {
  background: #2b3035;
  color: #f8f9fa
}

.section.testimonials.yellow .card {
  background: #2b3035;
  color: #f8f9fa
}

.section.testimonials.dark .card {
  background: #2b3035;
  color: #f8f9fa
}

.quote {
  position: relative;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  min-height: 200px
}

.quote:before,
.quote:after {
  position: absolute;
  font-size: 56px;
  line-height: 1;
  color: rgba(255, 255, 255, .18);
  font-weight: 900
}

.quote:before {
  content: '\201C';
  left: 14px;
  top: 0
}

.quote:after {
  content: '\201D';
  right: 14px;
  bottom: -10px
}

.quote-text {
  position: relative;
  display: block
}

.quote-author {
  margin-top: auto;
  padding-top: 12px;
  opacity: .85;
  font-weight: 700
}

.site-footer {
  background: var(--dark);
  color: #fff
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px;
  max-width: none
}

.footer-link {
  color: var(--accent-2);
  text-decoration: underline
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px
}

.grid-6 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px
}

.gallery5 img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
  cursor: zoom-in;
  display: block
}

.person-card {
  position: relative;
  margin: 0
}

.person-card .caption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  padding: 6px 10px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000
}

.lightbox.open {
  display: flex
}

.lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5)
}

.lightbox .close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #fff;
  border: none;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
  z-index: 101
}

.lightboxable {
  cursor: zoom-in;
  transition: transform .2s ease, opacity .2s ease;
  border-radius: 12px
}

.lightboxable:hover {
  transform: scale(1.02);
  opacity: .9
}

/* Hero slideshow */
.hero {
  position: relative;
  height: 72vh;
  min-height: 520px
}

.video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.7)
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 20px
}

.hero-title {
  font-size: clamp(28px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: .4px;
  margin: 0 0 8px
}

.hero-sub {
  font-size: clamp(14px, 2.4vw, 22px);
  opacity: .9;
  margin: 0
}

/* Nicole Mendy */
.nmendi {
  background: linear-gradient(180deg, #fff 0, #fff 56%, var(--accent-2) 56%, var(--accent-2) 100%);
  margin-bottom: 56px;
}

.text-carousel {
  min-height: 72px;
  margin: 12px 0 16px;
  position: relative
}

.text-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .4s ease;
  font-weight: 700
}

.nmendi .text-item {
  font-size: 16px
}

.text-item.active {
  opacity: 1
}

/* Videos grid */
.videos .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.videos iframe {
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 12px
}

.video-title {
  font-weight: 700;
  font-size: 16px;
  margin-top: 8px;
  margin-bottom: 0px;
}

/* Instagram */
.instagram .insta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px
}

.instagram .insta-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px
}

.instagram .insta-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #f1f3f5
}

.instagram .insta-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  transition: transform .25s ease
}

.instagram .insta-item:hover img {
  transform: scale(1.05)
}

.instagram .insta-item .badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px
}

/* Buy me a coffee */
.buy-me-a-coffee {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Sidebar dates */
.layout.has-aside {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start
}

.content {
  min-width: 0
}

.sidebar {
  align-self: stretch;
  background: var(--dark);
  color: #fff;
  padding: 16px
}

.sidebar-inner {
  position: sticky;
  top: 88px;
  background: transparent;
  color: inherit;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none
}

.sidebar h2 {
  margin: 0 0 12px;
  font-size: 20px;
  color: var(--accent)
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0
}

.sidebar li {
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .12)
}

.sidebar li:last-child {
  border-bottom: none
}

.sidebar .venue {
  font-weight: 800;
  letter-spacing: .2px
}

.sidebar .datetime {
  color: var(--accent-2);
  font-weight: 700;
  margin: 2px 0
}

.sidebar .city {
  color: #ced4da
}

.sidebar .address {
  color: #adb5bd;
  font-size: 13px
}

/* Layout with sidebar reserve space */
/* plus de padding global non nécessaire */

/* Contact */
.form-control {
  margin-bottom: 14px
}

.images.column {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.images.column img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover
}

.form-control label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600
}

.form-control input,
.form-control textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px
}

.contact h1 {
  margin: 12px 0 16px
}

.form-control input:focus,
.form-control textarea:focus {
  outline: none;
  border-color: var(--accent)
}

.error {
  color: #d63384;
  font-size: 12px;
  height: 14px;
  display: block;
  margin-top: 4px
}

.form-result {
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px
}

.form-result.success {
  background: #d1e7dd;
  color: #0f5132;
  border-color: #badbcc
}

.form-result.error {
  background: #fff3cd;
  color: #664d03;
  border-color: #ffecb5
}

.form-result.success::before {
  content: '\2713';
  font-weight: 900
}

.form-result.error::before {
  content: '\26A0';
  font-weight: 900
}

/* Fan Zone */
.fan-zone h1 {
  margin: 0 0 8px
}

.fan-zone .form-control {
  margin-bottom: 14px
}

.upload-progress {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px
}

.progress-row {
  display: flex;
  flex-direction: column;
  gap: 6px
}

.progress-label {
  font-size: 13px;
  opacity: .8
}

.progress-bar {
  height: 8px;
  background: #e9ecef;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px
}

.progress-fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width .2s ease
}

/* Donate button icons */
.donate-btn {
  display: inline-flex;
  gap: 8px;
  align-items: center
}

.donate-btn .ico {
  font-size: 18px;
  line-height: 1
}

.donate-btn .label {
  display: inline-block
}

/* Responsive */
@media(max-width:1023px) {
  .layout.has-aside {
    grid-template-columns: 1fr
  }

  .sidebar {
    position: static
  }

  .two-col,
  .two-col.reverse {
    grid-template-columns: 1fr
  }

  /* Sur mobile, colonnes avec images en premier */
  .two-col .left,
  .two-col .right {
    order: 2
  }

  .two-col .has-image {
    order: 1
  }

  /* Exception: pages contact et fan-zone - formulaire avant image */
  .contact .two-col .has-image {
    order: 2
  }

  .contact .two-col .left {
    order: 1
  }

  .fan-zone .two-col .has-image {
    order: 2
  }

  .fan-zone .two-col .left {
    order: 1
  }

  .videos .grid,
  .grid-3 {
    grid-template-columns: 1fr
  }

  .grid-2 {
    grid-template-columns: 1fr 1fr
  }

  .testimonials .grid-2 {
    grid-template-columns: 1fr
  }

  .section.testimonials {
    margin-bottom: 32px
  }

  .section.testimonials h4 {
    padding-top: 24px
  }

  /* Corriger le margin par défaut des blockquotes sur mobile */
  .quote {
    margin: 0;
    margin-top: 8px
  }

  .hero {
    height: 54vh;
    min-height: 360px
  }

  .grid-5,
  .grid-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .site-header .btn.cta {
    font-size: 11px;
    padding: 8px 12px;
    white-space: nowrap
  }

  .section {
    padding: 0 0 56px 0
  }

  .form-control {
    margin-bottom: 0
  }

  .form-control input,
  .form-control textarea {
    padding: 8px 10px
  }

  .contact h1 {
    margin: 8px 0 12px
  }

  /* Lightbox mobile improvements */
  .lightbox .close {
    width: 48px;
    height: 48px;
    font-size: 20px;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(4px)
  }
}