/* TOMCOPROD — feuille de style */

@font-face { font-family: 'Montserrat'; font-weight: 300; font-style: normal; font-display: swap; src: url('fonts/montserrat-300.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/montserrat-400.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/montserrat-500.woff2') format('woff2'); }

:root {
  --noir: #000;
  --blanc: #fff;
  --gris-texte: #cfcfcf;
  --gris-label: #9a9a9a;
  --trait: #1f1f1f;
  --marge: clamp(20px, 5vw, 80px);
  --pied: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--noir); color: var(--blanc);
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif; font-weight: 300;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
body.bloque { overflow: hidden; }
[hidden] { display: none !important; }
#poussiere { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
a { color: var(--blanc); text-decoration: none; }
a:hover { color: #bdbdbd; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
svg path { fill: none; stroke: currentColor; stroke-width: 1.2; }
svg path.plein { fill: currentColor; stroke: none; }
/* icônes Phosphor (duotone, licence MIT) : formes pleines, pas de contour */
.ph path { fill: currentColor; stroke: none; }
:focus-visible { outline: 1px solid var(--blanc); outline-offset: 4px; }

.conteneur { max-width: 1440px; margin: 0 auto; padding-left: var(--marge); padding-right: var(--marge); }

.etiquette { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gris-label); margin-bottom: 8px; }
.texte { max-width: 540px; font-size: 16px; line-height: 1.7; color: var(--gris-texte); }

/* Boutons */
.carre {
  width: 48px; height: 48px; flex: 0 0 48px; display: flex; align-items: center; justify-content: center;
  background: transparent; color: var(--blanc); border: 1px solid #333; cursor: pointer; padding: 0;
}
.carre:hover { border-color: var(--blanc); }
/* Bouton fermer du lecteur : rond, même bordure que la pastille et le bouton copier */
.fermer { border-radius: 50%; border: 2px solid var(--blanc); transition: background .2s, color .2s; }
.fermer:hover { background: var(--blanc); color: var(--noir); }
.bouton {
  height: 48px; padding: 0 20px; display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--blanc); border: 1px solid var(--blanc); border-radius: 0; cursor: pointer;
  font: 500 11px/1 'Montserrat', sans-serif; letter-spacing: .18em; text-transform: uppercase;
  transition: background .15s, color .15s;
}
.bouton:hover { background: var(--blanc); color: var(--noir); }

/* Introduction */
/* Plein écran (svh : tient compte de la barre d'adresse sur téléphone) */
.intro { min-height: 100vh; min-height: 100svh; padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; justify-content: center; }   /* texte centré verticalement ; le haut laisse la place à la pastille */
.intro .etiquette { margin-bottom: 32px; font-size: 12px; }
.intro__titre { font-weight: 400; font-size: clamp(36px, 6.4vw, 100px); line-height: 1.04; letter-spacing: -.04em; max-width: 1150px; }
.intro__bas { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; }
.lien-fleche { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }

/* Sections */
.section { padding-top: 112px; padding-bottom: 144px; }
/* Titres de section (galerie, contact) : même style que « Production audiovisuelle — Paris » */
.titre-section { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gris-label); line-height: 1.7; }

/* Galerie en demi-cercle */
.galerie { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; overflow: clip; padding-top: 104px; padding-bottom: 48px; }
.galerie__titre { width: 100%; margin-bottom: 40px; }
.roue { position: relative; z-index: 0; isolation: isolate; width: 100%; max-width: 1440px; margin: auto; flex: 0 0 auto; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.roue__piste {
  list-style: none; margin: 0; padding: 0; position: absolute; inset: 0 0 -40px;
  /* fondu doux des deux extrémités de l'arc, vers le bas */
  -webkit-mask-image: linear-gradient(to bottom, #000 38%, rgba(0, 0, 0, .55) 68%, transparent 96%);
  mask-image: linear-gradient(to bottom, #000 38%, rgba(0, 0, 0, .55) 68%, transparent 96%);
}
.roue__item {
  position: absolute; left: 50%; top: 0; width: var(--t, 140px); height: var(--t, 140px);
  transition: transform .8s cubic-bezier(.22, .8, .2, 1), opacity .5s ease;
  will-change: transform, opacity;
}
.roue__item.sans-transition { transition: none; }
.roue__vignette {
  display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 24%; overflow: hidden;
  background: #151515; cursor: pointer; box-shadow: 0 10px 28px rgba(0, 0, 0, .5);
}
.roue__vignette img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

.roue__info {
  position: absolute; left: 50%; transform: translate(-50%, -100%); z-index: 5;   /* ancré par le bas */
  width: min(460px, 70%); display: flex; flex-direction: column; align-items: center; text-align: center;
}
.roue__info > * { transition: opacity .3s ease; }
.roue__info.change > *:not(.roue__commandes) { opacity: 0; }
.roue__titre { font-weight: 500; font-size: clamp(24px, 2.4vw, 36px); letter-spacing: -.025em; line-height: 1.15; }
.roue__desc { margin-top: 12px; font-size: 15px; font-weight: 300; line-height: 1.6; color: #b5b5b5; }
.roue__commandes { margin-top: 24px; display: flex; align-items: center; gap: 16px; }
.roue__voir { border-radius: 999px; padding: 0 26px; }
.roue__bientot { border-radius: 999px; padding: 0 22px; border-color: #3a3a3a; color: #6f6f6f; cursor: default; }
.roue__bientot:hover { background: transparent; color: #6f6f6f; }
.roue__client { margin-top: 24px; min-height: 36px; max-width: 100%; display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 22px;
  font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: #8a8a8a; }
.roue__client:not([hidden]) + .roue__commandes { margin-top: 40px; }
.roue__client img { height: 36px; width: auto; max-width: 110px; min-width: 0; flex: 0 1 auto; object-fit: contain; opacity: .85; }   /* plusieurs logos : ils rétrécissent pour tenir sur une ligne */
.logos-blancs .roue__client img { filter: brightness(0) invert(1); }
.rond {
  width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; border: 1px solid #444; background: rgba(0, 0, 0, .6);
  color: var(--blanc); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
  transition: border-color .2s, background .2s;
}
.rond:hover { border-color: var(--blanc); }

/* Sans JavaScript : simple grille */
.no-js .roue__piste { position: static; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; padding: 0 var(--marge); }
.no-js .roue__item { position: static; width: auto; height: auto; aspect-ratio: 1; }
.no-js .roue__info { display: none; }

/* Contact */
.contact__accroche { margin-bottom: 64px; }
.contact__mail {
  display: inline-block; font-weight: 300; font-size: clamp(24px, 4.6vw, 72px); letter-spacing: -.035em; overflow-wrap: anywhere;
}
.contact__ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 44px; }
.copier { position: relative; top: 7px; border-radius: 50%; border: 2px solid var(--blanc); }   /* top : calé sur le centre optique du texte */   /* même bordure que la pastille logo */
.copier:hover { background: var(--blanc); color: var(--noir); }
.copier__info {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 4px);
  white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: var(--blanc); color: var(--noir);
  font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s, transform .15s, visibility .15s;
}
.copier.copie .copier__info { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.contact__infos { align-self: stretch !important; margin-top: 64px; max-width: 900px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; font-size: 17px; }
.section#contact {
  min-height: calc(100vh - var(--pied)); min-height: calc(100svh - var(--pied));
  padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; justify-content: center;
}
.section#contact > * { align-self: flex-start; }

/* Pied de page */
.pied { border-top: 1px solid var(--trait); }
.pied__barre { height: var(--pied); display: flex; align-items: center; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 11px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: #8a8a8a; }
.pied a { color: #8a8a8a; }
.pied a:hover { color: var(--blanc); }

/* Pastille logo (fixe en haut à gauche) + icônes de navigation */
.pastille {
  position: fixed; z-index: 40; top: 24px;
  left: calc(max(0px, (100vw - 1440px) / 2) + var(--marge));
  display: flex; align-items: center; gap: 10px;
}
.pastille__logo {
  width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%; overflow: hidden;
  border: 2px solid var(--blanc); background: var(--noir); display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500; letter-spacing: .14em; transition: border-color .2s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .55);
}
.pastille__logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.pastille__logo:hover { color: var(--blanc); border-color: var(--blanc); }
.pastille__liens { display: flex; gap: 10px; }
.pastille__icone {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid #333; background: var(--noir);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .55);
  opacity: 0; visibility: hidden; transform: translateX(-12px) scale(.9);
  transition: opacity .2s, transform .2s, visibility .2s, border-color .2s;
}
.pastille__icone + .pastille__icone { transition-delay: .05s; }
.pastille__icone:hover { color: var(--blanc); border-color: var(--blanc); }
@media (hover: hover) {
  .pastille:hover .pastille__icone { opacity: 1; visibility: visible; transform: none; }
}
.pastille:focus-within .pastille__icone,
.pastille.ouvert .pastille__icone { opacity: 1; visibility: visible; transform: none; }

/* Lecteur vidéo */
.lecteur { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .94); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lecteur__boite { width: 100%; max-width: 1100px; display: flex; flex-direction: column; gap: 20px; }
.lecteur__tete { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lecteur__titre { font-size: 20px; }
.lecteur__type { margin-top: 4px; font-size: 13px; color: var(--gris-label); }
.lecteur__video { position: relative; aspect-ratio: 16 / 9; background: #0b0b0b; }
.lecteur__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lecteur__video:fullscreen { background: #000; }
/* Vidéos verticales (9:16) : le lecteur prend la hauteur de l'écran */
.lecteur__video--vertical { aspect-ratio: 9 / 16; width: min(100%, calc((100vh - 170px) * 9 / 16)); width: min(100%, calc((100svh - 170px) * 9 / 16)); margin: 0 auto; }
.lecteur__boite:focus { outline: none; }

/* Téléphone */
@media (max-width: 720px) {
  .pastille { top: 16px; gap: 8px; }
  .pastille__logo { width: 48px; height: 48px; flex-basis: 48px; }
  .pastille__liens { gap: 8px; }
  .intro { padding-top: 88px; padding-bottom: 56px; }
  .intro__bas { margin-top: 40px; gap: 32px; }
  .section { padding-top: 80px; padding-bottom: 96px; }
  .galerie { padding-top: 88px; padding-bottom: 48px; }
  .galerie__titre { margin-bottom: 32px; }
  /* téléphone : les miniatures apparaissent et disparaissent en fondu sur les bords de l'écran */
  .roue__piste {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24%, #000 76%, transparent 100%),
                        linear-gradient(to bottom, #000 38%, rgba(0, 0, 0, .55) 68%, transparent 96%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0, #000 24%, #000 76%, transparent 100%),
                linear-gradient(to bottom, #000 38%, rgba(0, 0, 0, .55) 68%, transparent 96%);
    mask-composite: intersect;
  }
  .roue__info { width: min(270px, 72%); }
  .roue__desc { font-size: 14px; }
  .roue__commandes { gap: 12px; }
  .section#contact { padding-top: 48px; padding-bottom: 48px; }
  .contact__accroche { margin-bottom: 48px; }
  .contact__infos { margin-top: 48px; }
  .contact__ligne { flex-wrap: nowrap; gap: 20px; }
  .contact__mail { font-size: 20px; }
  .copier { width: 44px; height: 44px; flex-basis: 44px; top: 2px; }
  .copier__info { left: auto; right: 0; transform: translateY(4px); }
  .copier.copie .copier__info { transform: translateY(0); }
}
