/* Portfolio Deborah Frey — fond blanc et mise en page responsive */
:root {
  --page-width: 1280px;
  --page-gutter: clamp(22px, 4.2vw, 54px);
  --ink: #111111;
  --muted: #777777;
  --line: #eeeeee;
}

/* {
  box-sizing: border-box;
}*/

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site-header,
.section-wrap {
  width: min(100%, var(--page-width));
  margin-inline: auto;
}

.site-header {
  min-height: 103px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px var(--page-gutter);
}

.nav-pill {
  position: fixed;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 14px 34px;
  border-radius: 999px;
  background: #f5f5f5;
  box-shadow: 0 1px 8px rgb(0 0 0 / 3%);
  font-size: 14px;
  font-weight: 600;
}

.nav-pill a,
.button,
.footer-content a,
.instagram-copy a {
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-pill a:hover,
.footer-content a:hover,
.instagram-copy a:hover {
  opacity: .62;
}

.hero {
  /*position: relative;*/
  width: 100%;
  height: auto;
  aspect-ratio: 1200/694;

  min-height: 694px;
  padding: 0;
  display: block;
  overflow: hidden;
  isolation: isolate;
}

.hero-copy {
  position: relative;
  z-index: 2;
  left: var(--page-gutter);
  top: 50%;
  transform: translateY(-50%);
  width: 36%;
  max-width: 440px;
}

.hero-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -1.8px;
  font-weight: 750;
}

.hero-copy p {
  margin: 0;
  color: #777777;
  font-size: 19px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

/* Image header */
.hero-art {
  position: absolute;
  z-index: 1;

  width: 100%;
  height: 100%;

  top: 0;
  right: 0;
  left: 0;

  object-fit: contain;
  pointer-events: none;

}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid #d7d7d7;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 600;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  color: #ffffff;
  background: #080808;
  border-color: #080808;
}

.button-light {
  color: #222222;
  background: #ffffff;
}

.image-placeholder {
  background: #ffffff;
}



.projects {
  padding: 38px var(--page-gutter) 70px;
}

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

.project-card {
  min-width: 0;
}

.project-image {
  width: 100%;
  aspect-ratio: 0.64 / 1;
  border: 1px solid var(--line);
  border-radius: 17px;
  margin-bottom: 18px;
}

.project-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -.45px;
}

.project-card p {
  max-width: 340px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.instagram {
  min-height: 288px;
  padding: 42px var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.instagram-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -1.5px;
}

.instagram-copy h2 a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.instagram-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.instagram-image {
  flex: 0 0 clamp(130px, 17vw, 205px);
  width: clamp(130px, 17vw, 205px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
}

/*.gallery {
  padding: 18px var(--page-gutter) 70px;
}*/

.gallery-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3.5vw, 42px);
  letter-spacing: -1.2px;
  line-height: 1.15;
}

.gallery-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 30px;
  margin-top: 52px;
}

.gallery-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gallery-image {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 17px;
}

.gallery-tall {
  aspect-ratio: .72 / 1;
}

.gallery-square {
  aspect-ratio: 1 / 1;
}

.gallery-short {
  aspect-ratio: 1.35 / 1;
}

.gallery-medium {
  aspect-ratio: 1.05 / 1;
}

.gallery-large {
  aspect-ratio: .88 / 1;
}

.site-footer {
  width: 82%;
  margin: 58px auto 0;
  padding-top: 42px;
  padding-bottom: 42px;
  border-top: 1px solid #eeeeee;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  color: #777777;
  font-size: 20px;
}

.footer-content h3 {
  margin: 0 0 8px;
  color: #111111;
  font-size: 24px;
}

/* Tablettes */
@media (max-width: 800px) {
  .hero {
    min-height: 560px;
    gap: 24px;
  }

  .hero-copy p {
    font-size: 17px;
  }

  .project-grid,
  .gallery-grid {
    gap: 18px;
  }

  .project-card h2 {
    font-size: 17px;
  }

  .project-card p {
    font-size: 13px;
  }

  .instagram {
    min-height: 230px;
  }

  .gallery-grid {
    margin-top: 36px;
  }
}

/* Téléphones */
@media (max-width: 600px) {
  :root {
    --page-gutter: 22px;
  }

  .site-header {
    min-height: 82px;
  }

  .nav-pill {
    gap: 28px;
    padding: 13px 25px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 76px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-copy h1 {
    font-size: 39px;
  }

  .hero-copy p {
    font-size: 17px;
  }

  .desktop-break {
    display: none;
  }

  .hero-art {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1.2 / 1;
  }

  .projects {
    padding-top: 12px;
    padding-bottom: 55px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .project-image {
    aspect-ratio: 1.05 / 1;
    margin-bottom: 14px;
  }

  .project-card h2 {
    font-size: 19px;
  }

  .project-card p {
    font-size: 14px;
  }

  .instagram {
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 42px;
    align-items: center;
    gap: 18px;
  }

  .instagram-copy h2 {
    font-size: clamp(25px, 7vw, 34px);
    letter-spacing: -1px;
  }

  .instagram-copy p {
    max-width: 240px;
    font-size: 14px;
    line-height: 1.45;
  }

  .instagram-image {
    flex-basis: 104px;
    width: 104px;
  }

  .gallery {
    padding-top: 20px;
    padding-bottom: 50px;
  }

  .gallery-heading h2 {
    font-size: 29px;
  }

  .gallery-heading p {
    font-size: 14px;
    line-height: 1.5;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-top: 30px;
  }

  .gallery-column {
    gap: 13px;
  }

  .gallery-column-right {
    display: contents;
  }

  .gallery-image {
    border-radius: 12px;
  }

  .gallery-tall {
    aspect-ratio: .78 / 1;
  }

  .gallery-square {
    aspect-ratio: 1 / 1;
  }

  .gallery-short {
    aspect-ratio: 1.1 / 1;
  }

  .gallery-medium {
    aspect-ratio: .95 / 1;
  }

  .gallery-large {
    aspect-ratio: .9 / 1;
  }

  .site-footer {
    width: 100%;
    margin-top: 42px;
    padding-top: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}

/* ============================================================
   AJOUTS INTERACTIFS — modifie les valeurs ici facilement.
   Le fond du site reste blanc, comme dans ton fichier d'origine.
   ============================================================ */
.nav-pill {
  z-index: 30;
}

.hero {
  min-height: 600px;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;

}

.hero-copy {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.hero-copy p {
  color: #111;
  font-weight: 700;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.12;
}

.reel-player {
  position: relative;
  width: 100%;
  aspect-ratio: .64 / 1;
  overflow: hidden;
  border-radius: 17px;
  background: #f3f3f3;
  margin-bottom: 18px;
}

.reel-stack,
.reel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.reel-video {
  object-fit: cover;
  display: none;
}

.reel-video.is-active {
  display: block;
}

.reel-controls {
  position: absolute;
  z-index: 3;
  bottom: 12px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

.reel-controls button {
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  background: #ffffffdf;
  color: #111;
  padding: 9px 12px;
  font-size: 13px;
}

.reel-count {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 9px;
  background: #ffffffd9;
  border-radius: 20px;
  font-size: 12px;
}

.reel-empty,
.missing-media {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  gap: 8px;
  color: #888;
  font-size: 14px;
  pointer-events: none;
}

.missing-media small {
  font-size: 11px;
  font-weight: 400;
}

.reel-player:has(.reel-video.is-active:not(.media-missing)) .reel-empty {
  display: none;
}

.gallery-image {
  display: block;
  padding: 0;
  position: relative;
  overflow: hidden;
  border: 0;
  cursor: pointer;
  background: #f3f3f3;
  text-align: left;
}

.gallery-image video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 8px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.131);
  backdrop-filter: blur(1px);
  color: white;
  opacity: 0;
  transition: opacity .2s;
}

.gallery-overlay strong {
  font-size: 20px;
}

.gallery-overlay small {
  font-size: 13px;
  line-height: 1.4;
}

.gallery-image:hover .gallery-overlay,
.gallery-image:focus-visible .gallery-overlay {
  opacity: 1;
}

.gallery-image:has(video:not(.media-missing)) .missing-media {
  display: none;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  background: #000b;
  display: grid;
  place-items: center;
  padding: 32px 18px;
  overflow-y: auto;
}

.lightbox-panel {
  width: min(900px, 100%);
  position: relative;
  background: white;
  border-radius: 18px;
  padding: 24px;
}

.lightbox-close {
  position: absolute;
  z-index: 3;
  top: -25px;
  right: -8px;
  background: transparent;
  border: 0;
  color: white;
  font-size: 46px;
  cursor: pointer;
}

.lightbox-media {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #f3f3f3;
  border-radius: 12px;
  overflow: hidden;
  min-height: 180px;
}

.lightbox-media video,
.lightbox-media img {
  display: block;
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
}

.lightbox-text h2 {
  margin: 18px 0 6px;
  font-size: 22px;
}

.lightbox-text p {
  margin: 0;
  line-height: 1.5;
  color: #555;
}

.lightbox-gallery {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0;
}

.lightbox-gallery img {
  width: 85px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 20px var(--page-gutter) 70px;
  align-items: center;
}

.about-photo {
  aspect-ratio: 1.48;
  border-radius: 15px;
  background: #f3f3f3;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-intro h1 {
  font-size: clamp(30px, 3.5vw, 44px);
  margin: 0 0 22px;
}

.about-intro p {
  font-size: 18px;
  line-height: 1.42;
  font-weight: 600;
}

.about-gallery {
  padding: 30px var(--page-gutter) 70px;

}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  padding-top:50px ;
}

.about-card {
  display: block;
  position: relative;
  border: 0;
  border-radius: 15px;
  background: #f3f3f3;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  width: 100%;
}

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

.about-tall {
  aspect-ratio: 1.01;
}

.about-medium {
  aspect-ratio: 1.1;
}

.about-square {
  aspect-ratio: 1.1;
}

.about-card:has(img:not([style*="display: none"])) .missing-media {
  display: none;
}

@media(max-width:700px) {
  .hero {
    min-height: 480px;
    aspect-ratio: auto;
    padding: 0;
  }

  .hero-copy {
    left: 22px;
    width: 65%;
    max-width: 340px;
  }

  .hero-copy p {
    font-size: 17px;
  }

  .hero-art {
    max-width: none;
    height: 100%;
    aspect-ratio: auto;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .reel-player {
    aspect-ratio: .75;
  }

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

  .about-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .lightbox-panel {
    padding: 12px;
  }
}

@media(hover:none) {
  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(transparent, #0009);
  }
}