/* ============================================================
   CSS VARIABLES & RESET
   ============================================================ */
:root {
  --color-bg:      #FAF8F5;
  --color-cream:   #F2EDE8;
  --color-nude:    #D4B5A8;
  --color-brown:   #8C6B5E;
  --color-text:    #1A1A1A;
  --color-muted:   #6B6B6B;
  --color-border:  #E8DED8;
  --color-white:   #FFFFFF;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-max:     1200px;
  --container-pad:     1.5rem;
  --section-py:        6rem;
  --header-h:          80px;

  --ease:        0.3s ease;
  --shadow-sm:   0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md:   0 6px 24px rgba(0, 0, 0, 0.10);
  --radius:      3px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ease);
}

ul { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }

em { font-style: italic; }

p {
  font-weight: 300;
  color: var(--color-muted);
  margin-bottom: 1.2rem;
}
p:last-child { margin-bottom: 0; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-brown);
  margin-bottom: 0.6rem;
}

.section-desc {
  max-width: 540px;
  margin: 0.75rem auto 0;
  font-size: 1.05rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1.5px solid var(--color-text);
  color: var(--color-text);
  background: transparent;
  transition: background var(--ease), color var(--ease);
  cursor: pointer;
}
.btn:hover {
  background: var(--color-text);
  color: var(--color-white);
}

.btn-hero {
  border-color: rgba(255,255,255,0.8);
  color: var(--color-white);
}
.btn-hero:hover {
  background: var(--color-white);
  color: var(--color-text);
}

.btn-secondary {
  border-color: var(--color-brown);
  color: var(--color-brown);
}
.btn-secondary:hover {
  background: var(--color-brown);
  color: var(--color-white);
}

.btn-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--color-brown);
  color: var(--color-white);
  border: 1.5px solid var(--color-brown);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background var(--ease), border-color var(--ease);
  border-radius: var(--radius);
}
.btn-submit:hover:not(:disabled) {
  background: var(--color-text);
  border-color: var(--color-text);
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger — cards */
.cards .card:nth-child(1) { transition-delay: 0s; }
.cards .card:nth-child(2) { transition-delay: 0.12s; }
.cards .card:nth-child(3) { transition-delay: 0.24s; }

/* Stagger — gallery */
.gallery .gallery-item:nth-child(1) { transition-delay: 0.00s; }
.gallery .gallery-item:nth-child(2) { transition-delay: 0.06s; }
.gallery .gallery-item:nth-child(3) { transition-delay: 0.12s; }
.gallery .gallery-item:nth-child(4) { transition-delay: 0.18s; }
.gallery .gallery-item:nth-child(5) { transition-delay: 0.24s; }
.gallery .gallery-item:nth-child(6) { transition-delay: 0.30s; }
.gallery .gallery-item:nth-child(7) { transition-delay: 0.36s; }
.gallery .gallery-item:nth-child(8) { transition-delay: 0.42s; }
.gallery .gallery-item:nth-child(9) { transition-delay: 0.48s; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow var(--ease);
}
header.scrolled {
  box-shadow: 0 1px 20px rgba(0,0,0,0.07);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.logo-name {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.02em;
}
.logo-subtitle {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-brown);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-text);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: var(--color-brown);
  transition: width var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a.nav-cta { color: var(--color-brown); }
.nav-links a.nav-cta::after { width: 100%; }

/* Burger button */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1001;
}
.burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform var(--ease), opacity var(--ease);
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--color-cream); /* fallback si l'image ne charge pas */
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26, 26, 26, 0.22) 0%,
    rgba(26, 26, 26, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 0 1.5rem 5rem;
  color: var(--color-white);
}
.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-nude);
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.hero-title {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-weight: 400;
  line-height: 1.15;
}
.hero-subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.78);
  margin-bottom: 1rem;
  font-weight: 300;
}
.hero-location {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2.5rem;
  font-weight: 300;
  text-transform: uppercase;
}

/* ============================================================
   PRESTATIONS
   ============================================================ */
.prestations {
  padding: var(--section-py) 0;
  background: var(--color-cream);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background: var(--color-white);
  padding: 3rem 2.5rem;
  text-align: center;
  transition: transform var(--ease), box-shadow var(--ease);
  border-bottom: 2px solid transparent;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--color-nude);
}

.card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 2rem;
}
.card-icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--color-text);
}
.card p {
  font-size: 0.95rem;
  line-height: 1.85;
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio {
  padding: var(--section-py) 0;
  background: var(--color-bg);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  background: var(--color-cream);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--ease);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  color: var(--color-white);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.65);
  padding: 0.5rem 1.4rem;
}

/* ============================================================
   CARROUSEL PORTFOLIO
   ============================================================ */
.carousel {
  position: relative;
  margin-bottom: 3rem;
  user-select: none;
}

.carousel-track-wrap {
  overflow: hidden;
  border-radius: 2px;
}

.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 calc(60%);
  padding: 0 0.6rem;
  transition: transform 0.55s ease, opacity 0.55s ease;
  opacity: 0.45;
  transform: scale(0.94);
  cursor: pointer;
}
.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}
.carousel-slide img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Boutons flèches */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease), border-color var(--ease);
  box-shadow: var(--shadow-sm);
}
.carousel-btn:hover {
  background: var(--color-brown);
  border-color: var(--color-brown);
}
.carousel-btn:hover svg path { stroke: var(--color-white); }
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-btn svg path { stroke: var(--color-brown); }
.carousel-prev { left: -24px; }
.carousel-next { right: -24px; }

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}
.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease);
}
.carousel-dot.active {
  background: var(--color-brown);
  transform: scale(1.4);
}

/* Compteur */
.carousel-counter {
  text-align: center;
  margin-top: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--color-muted);
}

@media (max-width: 768px) {
  .carousel-slide { flex: 0 0 80%; }
  .carousel-prev { left: -12px; }
  .carousel-next { right: -12px; }
  .carousel-btn { width: 38px; height: 38px; }
}
@media (max-width: 480px) {
  .carousel-slide { flex: 0 0 92%; }
  .carousel-prev { left: -4px; }
  .carousel-next { right: -4px; }
}

.gallery-instagram {
  text-align: center;
}
.gallery-instagram p {
  font-size: 0.95rem;
  color: var(--color-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-brown);
  font-weight: 500;
}
.instagram-link:hover { opacity: 0.7; }
.instagram-link svg { width: 16px; height: 16px; }

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
.testimonials {
  padding: var(--section-py) 0;
  background: var(--color-cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.testimonial {
  background: var(--color-white);
  padding: 2.75rem 3rem;
  border-top: 2px solid var(--color-nude);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-stars {
  font-size: 1.1rem;
  color: var(--color-brown);
  letter-spacing: 0.1em;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-muted);
  font-style: italic;
  flex: 1;
  margin: 0;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.testimonial-author strong {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--color-text);
}

.testimonial-author span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.testimonial-source {
  font-size: 0.75rem;
  color: var(--color-brown);
  font-style: normal;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--color-nude);
  margin-top: 0.15rem;
}
.testimonial-source:hover {
  color: var(--color-text);
}

/* ============================================================
   À PROPOS
   ============================================================ */
.apropos {
  padding: var(--section-py) 0;
  background: var(--color-cream);
}

.apropos-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.apropos-image {
  position: relative;
}
.apropos-image img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: top center;
  position: relative;
  z-index: 1;
}
/* Cadre décoratif */
.apropos-image::after {
  content: '';
  position: absolute;
  bottom: -18px;
  right: -18px;
  top: 18px;
  left: 18px;
  border: 1.5px solid var(--color-nude);
  z-index: 0;
}

.apropos-content .section-label {
  display: block;
  margin-bottom: 0.4rem;
}
.apropos-content h2 {
  margin-bottom: 0.75rem;
}
.apropos-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-brown);
  margin-bottom: 1.75rem;
  font-weight: 400;
}
.apropos-content p {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.stats {
  display: flex;
  gap: 2.5rem;
  margin: 2.5rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.stat {
  text-align: center;
  flex: 1;
  min-width: 0;
}
.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--color-brown);
  line-height: 1.25;
  margin-bottom: 0.35rem;
}
.stat span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: var(--section-py) 0;
  background: var(--color-bg);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* Form */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.form-row .form-group {
  margin-bottom: 0;
}

.form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  font-weight: 500;
}
.form-group label span {
  color: var(--color-brown);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text);
  outline: none;
  transition: border-color var(--ease);
  -webkit-appearance: none;
  border-radius: var(--radius);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-brown);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%238C6B5E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #C0ADA8;
}

.form-message {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  border-radius: var(--radius);
  font-weight: 400;
  color: var(--color-text);
}
.form-message.success {
  background: #F0F7F0;
  color: #3A6E3A;
  border: 1px solid #BDDABD;
}
.form-message.error {
  background: #FDF3F3;
  color: #8B3030;
  border: 1px solid #EFC8C8;
}

/* Contact aside */
.contact-info h3 {
  font-size: 1.7rem;
  margin-bottom: 1.25rem;
}
.contact-info > p {
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 2rem;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-brown);
  font-size: 0.95rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.email-link:hover { opacity: 0.7; }

.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.875rem 2rem;
  border: 1.5px solid var(--color-brown);
  color: var(--color-brown);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background var(--ease), color var(--ease);
  margin-bottom: 2.5rem;
}
.instagram-btn:hover {
  background: var(--color-brown);
  color: var(--color-white);
}
.instagram-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.contact-note {
  background: var(--color-cream);
  padding: 1.5rem 1.75rem;
  border-left: 2px solid var(--color-nude);
}
.contact-note p {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.contact-note ul { padding: 0; }
.contact-note li {
  font-size: 0.9rem;
  color: var(--color-muted);
  padding: 0.3rem 0 0.3rem 1.2rem;
  position: relative;
  font-weight: 300;
}
.contact-note li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-nude);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.65);
  padding: 3.5rem 0 1.5rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.footer .logo-name {
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
}
.footer .logo-subtitle {
  color: var(--color-nude);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color var(--ease);
}
.footer-nav a:hover { color: var(--color-white); }

.footer-instagram {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.55);
  transition: color var(--ease);
}
.footer-instagram:hover { color: var(--color-white); }
.footer-instagram svg { width: 22px; height: 22px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}
.footer-bottom a {
  color: rgba(255,255,255,0.35);
  transition: color var(--ease);
}
.footer-bottom a:hover { color: rgba(255,255,255,0.65); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.94);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox-content img {
  max-width: 82vw;
  max-height: 86vh;
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  transition: opacity 0.15s ease;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--color-white);
  opacity: 0.65;
  transition: opacity var(--ease);
  padding: 0.5rem;
  line-height: 0;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-close svg { width: 28px; height: 28px; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-white);
  opacity: 0.65;
  padding: 1rem;
  transition: opacity var(--ease);
  line-height: 0;
}
.lightbox-nav:hover { opacity: 1; }
.lightbox-nav svg { width: 32px; height: 32px; }

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ============================================================
   RESPONSIVE — TABLETTE (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-py: 5rem; }

  .cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
  }

  .apropos-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .apropos-image img { height: 420px; }
  .apropos-image::after { display: none; }

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

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-py: 4rem;
    --container-pad: 1.25rem;
  }

  /* Navigation mobile */
  .burger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--color-bg);
    flex-direction: column;
    justify-content: center;
    gap: 2.25rem;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 24px rgba(0,0,0,0.08);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 0.95rem; }

  /* Logo mobile */
  .logo-name { font-size: 1.8rem; }

  /* Hero */
  .hero-title { font-size: 2.2rem; }

  /* Gallery */
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

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

  /* Stats */
  .stats { gap: 1.5rem; }
  .stat strong { font-size: 1.15rem; }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-nav { gap: 1.25rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* Lightbox */
  .lightbox-prev { left: 0.25rem; }
  .lightbox-next { right: 0.25rem; }
  .lightbox-nav svg { width: 24px; height: 24px; }
}

/* ============================================================
   RESPONSIVE — PETIT MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto 3rem;
  }
  .hero-title { font-size: 1.9rem; }
}
