/* ==========================================================================
   Production K — feuille de style
   ========================================================================== */

:root {
  --serif: "Bodoni Moda", Didot, "Didot LT Pro", "Times New Roman", serif;
  --sans: "Montserrat", Avenir, "Helvetica Neue", Arial, sans-serif;
  --black: #000;
  --white: #fff;
  --green: #0c4426;
  --content: 980px;
  --wide: 1270px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: relative;
  z-index: 60;
  background: var(--white);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  max-width: var(--content);
  height: 105px;
  padding-right: 26px;
  margin: 0 auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav > li { position: relative; list-style: none; }

.main-nav a,
.main-nav button {
  display: inline-block;
  padding: 6px 8px 10px;
  border: 0;
  border-top: 2px solid transparent;
  background: none;
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 34px;
  cursor: pointer;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav button:hover { opacity: .65; }

.main-nav .is-active { border-top-color: #000; }
.main-nav .is-active:hover { opacity: 1; }

/* sous-menu « Nos réalisation » */
.subnav {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 190px;
  margin: 0;
  padding: 10px 0;
  transform: translateX(-50%);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s;
  list-style: none;
}

.has-subnav:hover .subnav,
.has-subnav:focus-within .subnav {
  opacity: 1;
  visibility: visible;
}

.subnav a { width: 100%; border-top: 0; padding: 4px 18px; font-size: 17px; line-height: 34px; }

.brand {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 84px;
  transform: translate(-50%, -50%);
}

.brand img { width: 84px; height: 78px; object-fit: contain; }

.header-right {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 42px;
}

.socials { display: flex; align-items: center; gap: 42px; margin: 0; padding: 0; list-style: none; }
.socials a { display: block; }
.socials img { width: 31px; height: 31px; object-fit: contain; }

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 97px;
  height: 44px;
  padding: 0 19px;
  border: 1px solid var(--green);
  background: var(--white);
  color: var(--green);
  font-family: var(--serif);
  font-style: normal;
  font-size: 15px;
  transition: background .2s ease, color .2s ease;
}

.btn-contact:hover { background: var(--green); color: var(--white); }

.nav-burger {
  display: none;
  margin-right: 18px;
  padding: 6px;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #000;
}
.nav-burger span + span { margin-top: 6px; }

/* ==========================================================================
   Boutons / pilules
   ========================================================================== */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 34px;
  border: 1px solid #000;
  border-radius: 40px;
  background: var(--white);
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.pill:hover { background: #000; color: var(--white); }

.pill--solid {
  border-color: transparent;
  background: var(--white);
  padding: 10px 24px;
  font-size: 16px;
}
.pill--solid:hover { background: #000; color: #fff; }

.pill-row { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }

/* ==========================================================================
   Héros
   ========================================================================== */

.hero--video {
  position: relative;
  width: 100%;
  height: 541px;
  overflow: hidden;
  background: #000;
}

.hero--video video,
.hero--video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero--image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 528px;
  overflow: hidden;
  background: #000;
}

.hero--image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero--image.is-cover {
  min-height: 535px;
}

.hero--image.is-cover > img { object-position: center; }

.hero-caption {
  position: relative;
  z-index: 2;
  color: var(--white);
  text-align: left;
}

.hero-caption p { margin: 0 0 6px; font-size: 22px; line-height: 1.4; }

.hero-caption h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.15;
  font-style: italic;
}

.hero--image .hero-caption {
  width: 100%;
  max-width: var(--content);
  padding: 0 20px;
  margin: 0 auto;
}

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

.hero--inset {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 528px;
  overflow: hidden;
  padding: 0 20px;
  background: #000;
}

.hero--inset .inset-img {
  position: absolute;
  top: 0;
  left: 50%;
  width: 891px;
  max-width: 100%;
  height: 100%;
  transform: translateX(-50%);
  object-fit: cover;
}

.hero--inset .hero-caption {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--content);
}

.hero-buttons {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 130px;
  flex-wrap: wrap;
  padding: 0 20px;
}

.hero-buttons .pill { min-width: 200px; }

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding: 60px 20px; }
.section--tight { padding: 40px 20px; }

.split {
  display: grid;
  grid-template-columns: 490px minmax(0, 1fr);
  gap: 55px;
  align-items: center;
  max-width: var(--wide);
  margin: 0 auto;
}

.split--reverse { grid-template-columns: minmax(0, 1fr) 490px; }

.split img { width: 100%; height: 267px; object-fit: cover; border-radius: 6px; }

.lead { font-size: 22px; line-height: 1.4; text-align: center; margin: 0 0 22px; }
.lead:last-child { margin-bottom: 0; }

.center-text { max-width: 800px; margin: 0 auto; text-align: center; }

.section-title {
  margin: 0 0 34px;
  font-size: 40px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
}

.section-title--plain {
  max-width: var(--wide);
  margin: 0 auto 26px;
  padding: 0;
}

/* Cartes catégories (accueil) */

.cards {
  display: flex;
  justify-content: center;
  gap: 179px;
  flex-wrap: wrap;
  max-width: var(--wide);
  margin: 40px auto 0;
}

.card { width: 337px; text-align: center; }

.card-head {
  margin: 0 0 22px;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
}
.card-head span { display: block; }

.card-media {
  position: relative;
  display: block;
  width: 100%;
  height: 418px;
  overflow: hidden;
  border-radius: 6px;
}

.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card-media:hover img { transform: scale(1.04); }

.card-media .pill--solid {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.cards + .pill-row { margin-top: 66px; }

/* ==========================================================================
   Témoignages
   ========================================================================== */

.testimonials {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 60px;
  text-align: center;
}

.testimonials .author {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-weight: 500;
  font-style: normal;
  font-size: 16px;
  letter-spacing: .01em;
}

.testimonials .rule {
  width: 58px;
  height: 1px;
  margin: 0 auto 26px;
  background: #000;
}

.testimonials .quote {
  min-height: 96px;
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  white-space: pre-line;
}

.slide { display: none; }

.slide.is-current {
  display: block;
  animation: slide-fade .55s cubic-bezier(.22, .61, .36, 1) both;
}

@keyframes slide-fade {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .slide.is-current { animation: none; }
}

.tst-arrow {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  color: #444;
}
.tst-arrow:hover { color: #000; }
.tst-prev { left: 0; }
.tst-next { right: 0; }

.dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 1px solid #000;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.dots .is-active button { background: #000; }

/* ==========================================================================
   « Ils nous font confiance »
   ========================================================================== */

.trust {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 622px;
  padding: 30px 20px;
  background: #1a1a1a;
}

.trust > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .58);
}

.trust-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 574px;
  gap: 40px;
  align-items: start;
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
}

.trust h2 {
  margin: 78px 0 0;
  max-width: 340px;
  color: var(--white);
  font-size: 48px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
}

.trust-logos {
  display: grid;
  grid-template-columns: repeat(2, 260px);
  gap: 39px 54px;
  justify-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 161px;
  border-radius: 6px;
  background: var(--white);
}

.trust-logos img { max-width: 88%; max-height: 80%; object-fit: contain; }

/* ==========================================================================
   Galerie vidéos
   ========================================================================== */

.video-strip {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: var(--wide);
  margin: 0 auto;
  overflow-x: auto;
  padding: 4px 0 20px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.video-strip::-webkit-scrollbar { display: none; }

.video-card {
  display: block;
  flex: 0 0 320px;
  width: 320px;
  height: auto;
  scroll-snap-align: start;
  border: 0;
  padding: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.video-thumb {
  position: relative;
  display: block;
  width: 320px;
  height: 180px;
  overflow: hidden;
  border-radius: 6px;
  background: #111;
}

.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.video-card:hover .video-thumb img { transform: scale(1.05); }

.video-thumb .play {
  position: absolute;
  inset: 0;
  opacity: 0;
  font-size: 0;
  line-height: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .38), rgba(0, 0, 0, .06) 60%, rgba(0, 0, 0, .14));
  transition: opacity .3s ease;
}

.video-thumb .play::before,
.video-thumb .play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
}

.video-thumb .play::before {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .32);
  transform: translate(-50%, -50%) scale(.82);
  transition: transform .3s cubic-bezier(.22, .61, .36, 1);
}

.video-thumb .play::after {
  width: 15px;
  height: 18px;
  background: #111;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translate(-50%, -50%) translateX(3px);
}

.video-card:hover .play,
.video-card:focus-visible .play { opacity: 1; }

.video-card:hover .play::before,
.video-card:focus-visible .play::before { transform: translate(-50%, -50%) scale(1); }

@media (hover: none) {
  .video-thumb .play { opacity: 1; }
  .video-thumb .play::before { transform: translate(-50%, -50%) scale(.92); }
}

@media (prefers-reduced-motion: reduce) {
  .video-thumb .play,
  .video-thumb .play::before { transition: none; }
}

.video-thumb .duration {
  position: absolute;
  right: 8px;
  bottom: 6px;
  padding: 1px 5px;
  background: rgba(0, 0, 0, .72);
  color: #fff;
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .02em;
}

.video-caption {
  display: block;
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.3;
  font-style: italic;
}

.videos-block { margin: 0 auto 50px; max-width: var(--wide); }

/* ==========================================================================
   Modale vidéo
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, .9);
}

.modal.is-open { display: flex; }

.modal-frame {
  position: relative;
  width: min(1100px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.modal-frame iframe { width: 100%; height: 100%; border: 0; }

.modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  border: 0;
  background: none;
  color: #fff;
  font-family: var(--sans);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

/* Lightbox galerie */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(0, 0, 0, .92);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lightbox .modal-close { top: 6px; right: 10px; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  padding: 0 18px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-nav.prev { left: 8px; }
.lightbox-nav.next { right: 8px; }

/* ==========================================================================
   Page « A propos »
   ========================================================================== */

.about-hero {
  display: grid;
  grid-template-columns: 1fr 660px 1fr;
  align-items: center;
  gap: 20px;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 26px 20px 0;
}

.about-photos { display: flex; }

.about-photos img { width: 330px; height: 483px; object-fit: cover; border-radius: 6px; }
.about-photos img + img { margin-left: 3px; }

.about-person { position: relative; }
.about-person--left { text-align: left; padding-right: 26px; }
.about-person--right { text-align: left; padding-left: 26px; }

.about-person h2 {
  margin: 0 0 18px;
  font-size: 34px;
  font-weight: 400;
  font-style: italic;
}

.about-person ul {
  margin: 0;
  padding: 0;
  font-size: 17px;
  line-height: 1.9;
  list-style: none;
  white-space: nowrap;
}

.about-arrow { position: absolute; width: 170px; height: 110px; color: #000; opacity: .85; }
.about-arrow--left { left: -4px; top: -122px; }
.about-arrow--right { right: -6px; bottom: -134px; }

.bio-soon { margin: 46px 0 0; text-align: center; font-size: 16px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  max-width: var(--wide);
  margin: 74px auto 0;
  padding: 0 20px;
}

.gallery-grid button { padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: none; cursor: zoom-in; }
.gallery-grid img { width: 100%; height: 216px; object-fit: cover; }

/* ==========================================================================
   Page Contact
   ========================================================================== */

.contact-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 105px);
  padding: 90px 20px;
  overflow: hidden;
  background: #0a0a0a;
}

.contact-main > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-card {
  position: relative;
  z-index: 2;
  width: 630px;
  max-width: 100%;
  padding: 56px 60px 44px;
  border-radius: 10px;
  background: var(--white);
  text-align: center;
}

.contact-card h1 {
  margin: 0 0 46px;
  font-size: 56px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
}

.contact-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  text-align: left;
}

.contact-cols h2 {
  margin: 0 0 22px;
  font-size: 26px;
  font-weight: 400;
  font-style: italic;
}

.contact-cols p { margin: 0 0 18px; font-size: 16px; line-height: 1.5; }
.contact-cols .note { font-size: 14px; }
.contact-cols a:hover { text-decoration: underline; }

.contact-card .socials { justify-content: center; gap: 14px; margin-top: 36px; }
.contact-card .socials img { width: 22px; height: 22px; }

/* ==========================================================================
   Pied de page
   ========================================================================== */

.site-footer {
  padding: 104px 20px 33px;
  background: var(--white);
  text-align: center;
}

.footer-info {
  max-width: 594px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.65;
}

.site-footer .socials { justify-content: center; gap: 17px; margin: 21px 0 16px; }
.site-footer .socials img { width: 41px; height: 41px; }

.site-footer .btn-contact { min-width: 99px; }

.site-footer .footer-legal { margin: 14px 0 0; font-size: 13px; }
.site-footer .footer-legal a { text-decoration: underline; }
.site-footer .footer-legal a:hover { opacity: .6; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .hero-buttons { gap: 40px; }
  .cards { gap: 80px; }
  .trust-inner { grid-template-columns: minmax(0, 1fr) 574px; }
  .about-hero { grid-template-columns: 1fr 520px 1fr; }
  .about-photos img { width: 260px; height: 380px; }
}

@media (max-width: 1000px) {
  .header-inner { padding: 0 20px; height: 92px; }
  .main-nav { display: none; }
  .nav-burger { display: block; }
  .brand { position: static; transform: none; width: 66px; margin-left: 0; }
  .header-right { gap: 20px; }
  .socials { gap: 18px; }
  .socials img { width: 24px; height: 24px; }

  .site-header.is-open .main-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    padding: 10px 24px 20px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .1);
  }
  .site-header.is-open .main-nav a,
  .site-header.is-open .main-nav button { line-height: 40px; font-size: 20px; }
  .subnav { position: static; transform: none; box-shadow: none; opacity: 1; visibility: visible; padding: 0 0 0 14px; }
  .has-subnav:hover .subnav { opacity: 1; }

  .split, .split--reverse { grid-template-columns: 1fr; gap: 32px; max-width: 620px; }
  .split--reverse > img { order: 2; }
  .split img { height: auto; }
  .cards { gap: 46px; }
  .trust-inner { grid-template-columns: 1fr; gap: 40px; }
  .trust h2 { margin: 0; max-width: none; font-size: 38px; }
  .trust-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .trust-logos li { width: auto; height: 120px; }
  .about-hero { grid-template-columns: 1fr; justify-items: center; gap: 40px; }
  .about-person, .about-person--left, .about-person--right { width: 100%; max-width: 420px; padding: 0; text-align: center; }
  .about-person ul { text-align: center; }
  .about-arrow { display: none; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-caption h1 { font-size: 38px; }
  .hero-caption p { font-size: 18px; }
  .hero--video { height: auto; aspect-ratio: 16 / 9; }
  .hero--image { flex-direction: column; justify-content: center; gap: 22px; }
  .hero--image .hero-caption { width: 100%; }
  .hero-buttons { position: static; margin-top: 0; }
  .hero--image.is-cover { min-height: 420px; padding: 60px 0; }
}

@media (max-width: 720px) {
  .section { padding: 44px 20px; }
  .lead { font-size: 18px; }
  .testimonials .author { font-size: 15px; }
  .header-inner { padding-right: 0; }
  .header-right .socials { display: none; }
  .brand img { width: 60px; height: 56px; }
  .hero-caption h1 { font-size: 30px; }
  .hero-caption p { font-size: 16px; }
  .hero--video { height: auto; aspect-ratio: 16 / 9; }
  .hero-buttons { gap: 12px; }
  .hero-buttons .pill { min-width: 0; padding: 10px 18px; font-size: 15px; }
  .card { width: min(337px, 100%); }
  .card-media { height: auto; aspect-ratio: 337 / 418; }
  .contact-cols { grid-template-columns: 1fr; gap: 26px; }
  .contact-card { padding: 40px 26px 34px; }
  .contact-card h1 { font-size: 40px; margin-bottom: 32px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
  .gallery-grid img { height: 150px; }
  .section-title { font-size: 30px; }
  .trust { min-height: 0; }
  .testimonials { padding: 0 34px; }
  .testimonials .quote { font-size: 16px; min-height: 130px; }
  .video-card, .video-thumb { flex-basis: 260px; width: 260px; }
  .video-thumb { height: 146px; }
  .site-footer { padding: 60px 20px 44px; }
  .about-photos img { width: 165px; height: 242px; }
}
