/* ==========================================================================
   PORTFOLIO PHOTOGRAPHIE - STYLE MINIMALISTE & ÉDITORIAL
   Thème : Gris minéral / Graphite doux (Équilibre entre sombre et clair)
   Typographie sobre, sans artifices, couleur de texte unifiée
   ========================================================================== */

/* --- Variables Globales --- */
:root {
  /* Nuance entre-deux : Gris minéral / Graphite chaud */
  --bg-primary: #1f2126;
  --bg-surface: #272a31;
  --bg-input: #191b1f;

  /* Couleurs de texte unifiées et sobres */
  --text-main: #f4f4f5;
  --text-muted: #9fa4b0;
  --text-dim: #717682;

  /* Bordures fines */
  --border-subtle: #2f333c;
  --border-focus: #717682;

  /* Polices */
  --font-display: 'Bebas Neue', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container-max: 1160px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --transition: 0.25s ease;
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 75px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Conteneurs & Structure --- */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.section {
  padding: 6rem 0;
}

.section-divider {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  height: 1px;
  background-color: var(--border-subtle);
}

/* --- Navigation Fixe Épurée --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(31, 33, 38, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.site-header.scrolled {
  background-color: rgba(31, 33, 38, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.45);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  color: var(--text-main);
  text-decoration: none;
  transition: opacity var(--transition);
  white-space: nowrap;
}

.brand-logo:hover {
  opacity: 0.85;
}

.logo-full {
  display: inline;
}

.logo-short {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--text-main);
}

.btn-nav {
  padding: 0.4rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main) !important;
  transition: background var(--transition), border-color var(--transition) !important;
}

.btn-nav:hover {
  background: var(--bg-surface);
  border-color: var(--text-muted);
}

/* --- Boutons Sobres (Style Minimaliste) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity var(--transition), background var(--transition);
}

.btn-primary {
  background-color: var(--text-main);
  color: #17181c;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background-color: var(--bg-surface);
  border-color: var(--text-muted);
}

.link-simple {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}

.link-simple:hover {
  color: var(--text-main);
  border-color: var(--text-main);
}

/* --- Bouton Instagram Portfolio --- */
.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 50px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  box-shadow: 0 4px 20px rgba(204, 35, 102, 0.35);
}

.btn-instagram:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(204, 35, 102, 0.55);
  opacity: 0.95;
}

.btn-instagram:active {
  transform: translateY(-1px) scale(1.01);
}

.gallery-cta {
  margin-top: 3rem;
}


/* --- Typographie Générale --- */
.section-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  letter-spacing: 0.04em;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 3rem;
  max-width: 620px;
}

/* ==============================================
   1. HERO SECTION (PLEIN ÉCRAN CINÉMATIQUE F40)
   ============================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 8rem 0 6rem;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(1.02) contrast(1.06) saturate(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, 
      rgba(20, 22, 26, 0.78) 0%, 
      rgba(20, 22, 26, 0.5) 40%, 
      rgba(20, 22, 26, 0.2) 75%, 
      rgba(20, 22, 26, 0.05) 100%
    ),
    linear-gradient(0deg, 
      rgba(20, 22, 26, 0.95) 0%, 
      rgba(20, 22, 26, 0.2) 20%, 
      transparent 35%
    ),
    linear-gradient(180deg, 
      rgba(20, 22, 26, 0.6) 0%, 
      transparent 18%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  background: rgba(39, 42, 49, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f4f4f5;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #e11d48; /* Rouge course vif */
  box-shadow: 0 0 10px #e11d48;
  display: inline-block;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 4.6rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 1.35rem;
  text-shadow: 0 2px 25px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #d4d7df;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  font-weight: 300;
  max-width: 580px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-buttons .btn-primary {
  background-color: #ffffff;
  color: #17181c;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.hero-buttons .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.hero-buttons .btn-secondary {
  background: rgba(39, 42, 49, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition);
}

.hero-buttons .btn-secondary:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.45);
}

/* Indicateur de défilement vers le bas */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition), transform var(--transition);
}

.hero-scroll-indicator:hover {
  color: #ffffff;
  transform: translateX(-50%) translateY(3px);
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 7px;
  background-color: currentColor;
  border-radius: 2px;
  animation: mouseWheel 2s infinite ease-in-out;
}

@keyframes mouseWheel {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

.scroll-text {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* ==============================================
   2. ABOUT SECTION
   ============================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: stretch;
}

.about-description p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.about-description p:last-child {
  margin-bottom: 0;
}

.about-image-col {
  display: flex;
}

.profile-frame {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  display: flex;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

/* ==============================================
   3. PORTFOLIO SECTION
   ============================================== */
/* --- Filtres par Thème --- */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 2.25rem;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background-color: var(--bg-surface);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}

.filter-btn:hover {
  color: var(--text-main);
  border-color: var(--text-muted);
  background-color: rgba(255, 255, 255, 0.06);
}

.filter-btn.active {
  background-color: var(--text-main);
  color: #121316;
  border-color: var(--text-main);
  font-weight: 600;
  box-shadow: 0 2px 14px rgba(255, 255, 255, 0.15);
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  font-weight: 600;
}

.filter-btn.active .filter-count {
  background: rgba(18, 19, 22, 0.2);
  color: #121316;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition);
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--text-muted);
}

.card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-card:hover .card-image-wrap img {
  transform: scale(1.04);
}

.card-caption-hover {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(0deg, rgba(16, 17, 20, 0.95) 0%, rgba(16, 17, 20, 0.5) 60%, transparent 100%);
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-card:hover .card-caption-hover {
  opacity: 1;
}

.card-album-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  background: rgba(20, 22, 26, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--transition), transform var(--transition);
}

.gallery-card:hover .card-album-badge {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================================
   4. PRESTATIONS (GRILLE 2x2 ÉPURÉE)
   ============================================== */
.services-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.service-list-card,
.service-item {
  position: relative;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition);
}

.service-list-card:hover,
.service-item:hover {
  transform: translateY(-3px);
  border-color: var(--text-muted);
}

.service-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.22);
  margin-bottom: 0.5rem;
}

.service-item-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.03em;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.service-item-desc,
.service-item-text {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.custom-quote-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 3rem 2rem;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.custom-quote-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 0.04em;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.custom-quote-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ==============================================
   5. TÉMOIGNAGE
   ============================================== */
.testimonial-section {
  padding: 5rem 0;
}

.testimonial-quote {
  font-size: 1.35rem;
  line-height: 1.65;
  color: var(--text-main);
  font-style: italic;
  font-weight: 300;
  max-width: 760px;
  margin: 0 auto 1.5rem auto;
}

.testimonial-author {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==============================================
   6. CONTACT
   ============================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3.5rem;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.meta-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.meta-value {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
}

.meta-value:hover {
  text-decoration: underline;
}

.contact-form-wrapper {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background-color: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color var(--transition);
}

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

.form-group select option {
  background-color: var(--bg-surface);
  color: var(--text-main);
}

.btn-submit {
  width: 100%;
  padding: 0.9rem;
}

.form-feedback {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  text-align: center;
  display: none;
}

.form-feedback.success {
  display: block;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}

.form-feedback.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

/* ==============================================
   FOOTER
   ============================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 0;
  margin-top: 5rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-socials {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-socials .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--text-muted);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition);
  text-decoration: none;
}

.footer-socials .social-link:hover {
  color: var(--text-main);
  border-color: var(--text-dim);
  background-color: #31353f;
  transform: translateY(-2px);
}

.footer-socials .social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform var(--transition);
}

.footer-socials .social-link:hover svg {
  transform: scale(1.1);
}

/* ==============================================
   LIGHTBOX MODALE (ALBUMS & SÉRIES)
   ============================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(18, 19, 22, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

/* En-tête de la lightbox */
.lightbox-header {
  width: 100%;
  max-width: var(--container-max);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 2.5rem 0.5rem 0.5rem;
  z-index: 10;
}

.lightbox-album-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--text-main);
}

.lightbox-counter {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  font-weight: 500;
}

/* Contenu central */
.lightbox-content {
  max-width: 90vw;
  max-height: 75vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.lightbox-img-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 86vw;
  max-height: 68vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  user-select: none;
}

.lightbox-caption {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  max-width: 650px;
}

/* Indicateurs de pagination (tirets) */
.lightbox-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
  max-width: 86vw;
  padding: 0.25rem 0.5rem;
  flex-wrap: wrap;
}

.lightbox-indicator-btn {
  background: none;
  border: none;
  padding: 6px 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-dash {
  display: block;
  width: 22px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  transition: background-color 0.25s ease, width 0.25s ease, box-shadow 0.25s ease;
}

.lightbox-indicator-btn:hover .lightbox-dash {
  background-color: rgba(255, 255, 255, 0.55);
}

.lightbox-indicator-btn.active .lightbox-dash {
  background-color: #ffffff;
  width: 32px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

/* Boutons de fermeture et flèches */
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
  z-index: 20;
}

.lightbox-close:hover {
  color: var(--text-main);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(31, 33, 38, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 1.25rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  z-index: 20;
}

.lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--text-muted);
  transform: translateY(-50%) scale(1.06);
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

/* ==============================================
   RESPONSIVE DESIGN
   ============================================== */
@media (max-width: 900px) {
  .hero-section {
    padding-top: 7.5rem;
    padding-bottom: 5rem;
    min-height: 90vh;
    min-height: 90svh;
  }

  .hero-bg-img {
    object-position: center 25%;
    opacity: 0.95;
  }

  .hero-overlay {
    background: 
      linear-gradient(180deg, 
        rgba(20, 22, 26, 0.7) 0%, 
        rgba(20, 22, 26, 0.42) 45%, 
        rgba(20, 22, 26, 0.85) 88%, 
        var(--bg-primary) 100%
      );
  }

  .hero-title {
    font-size: 3.4rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image-col {
    order: -1;
    display: block;
  }

  .profile-frame {
    height: auto;
  }

  .profile-img {
    height: 380px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .services-list-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 3.5rem 0;
  }

  .nav-container {
    padding: 0.5rem 1rem;
  }

  .brand-logo {
    font-size: 1.15rem;
  }

  .logo-full {
    display: none;
  }

  .logo-short {
    display: inline;
  }

  .nav-links a:not(.btn-nav) {
    display: none;
  }

  .hero-section {
    padding-top: 6.5rem;
    padding-bottom: 4rem;
    min-height: 100svh;
  }

  .hero-bg-img {
    object-position: center 20%;
    opacity: 0.95;
    filter: brightness(1.04) contrast(1.08) saturate(1.15);
  }

  .hero-overlay {
    background: 
      linear-gradient(180deg, 
        rgba(20, 22, 26, 0.65) 0%, 
        rgba(20, 22, 26, 0.35) 40%, 
        rgba(20, 22, 26, 0.85) 85%, 
        var(--bg-primary) 100%
      );
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-scroll-indicator {
    bottom: 1.25rem;
  }

  /* Grille 2 colonnes sur mobile : réduit la hauteur de moitié */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .card-caption-hover {
    opacity: 1;
    font-size: 0.78rem;
    padding: 0.5rem 0.6rem;
    background: linear-gradient(0deg, rgba(16, 17, 20, 0.95) 0%, rgba(16, 17, 20, 0.5) 60%, transparent 100%);
  }

  .card-album-badge {
    opacity: 1;
    transform: translateY(0);
    font-size: 0.68rem;
    padding: 0.18rem 0.45rem;
    top: 0.45rem;
    right: 0.45rem;
  }

  .portfolio-filters {
    gap: 0.45rem;
    margin-bottom: 1.5rem;
  }

  .filter-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }

  .services-list-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-list-card,
  .service-item {
    padding: 1.5rem 1.25rem;
  }

  .service-item-title {
    font-size: 1.35rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }

  .lightbox-header {
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-start;
    padding-right: 3rem;
  }

  .lightbox-album-title {
    font-size: 1.2rem;
  }

  .lightbox-dash {
    width: 20px;
  }

  .lightbox-indicator-btn.active .lightbox-dash {
    width: 28px;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
