/* LANO Production : reprise fidèle du site Framer « Fluid Hands » (2 novembre 2026).
   Trois formats comme dans Framer : ordinateur ≥ 1200 px, tablette 810–1199 px, téléphone < 810 px. */

@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-display: swap; src: url("../fonts/barlow-condensed-500.woff2?v=460f141ec8") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-600.woff2?v=215a93c696") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 400; font-display: swap; src: url("../fonts/hanken-grotesk-400.woff2?v=787b3fdd0b") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 500; font-display: swap; src: url("../fonts/hanken-grotesk-500.woff2?v=31f666af7b") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 600; font-display: swap; src: url("../fonts/hanken-grotesk-600.woff2?v=58f23b7ae3") format("woff2"); }

:root {
  --fond: #0e0e0d;
  --ivoire: #f3f0e8;
  --gris: #a8a294;
  --bord: #57534b;
  --bord-clair: #827d73;
  --filet: #2e2c28;
  --champ: #171715;
  --rec: #d7261e;
  --marge: 48px;
  --sortie: cubic-bezier(0, 0, 0.2, 1);
  --titre: "Barlow Condensed", "Arial Narrow", sans-serif;
  --texte: "Hanken Grotesk", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--fond);
  color: var(--ivoire);
  font-family: var(--texte);
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ivoire); outline-offset: 3px; border-radius: 4px; }
.cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Styles de texte (les préréglages de Framer) */
.titre {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 80px;
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.legende { font-size: 13px; font-weight: 500; line-height: 1.5; letter-spacing: 0; }
.discret { color: var(--gris); }
.lien-texte {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--sortie);
}
.lien-texte:hover { color: var(--gris); }
.lien-menu {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.2em;
  transition: text-decoration-color 0.2s var(--sortie);
}
.lien-menu:hover { text-decoration-color: currentColor; }

/* Pilules */
.pilule {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  transition: background-color 0.2s var(--sortie), transform 0.1s var(--sortie);
}
.pilule:active { transform: scale(0.97); }
.pilule-pleine { background: var(--ivoire); color: var(--fond); padding: 14px 22px; }
.pilule-pleine:hover { background: #fff; }
.pilule-contour { border: 1px solid var(--bord); padding: 10px 18px; }
.pilule-contour:hover { background: rgba(243, 240, 232, 0.1); }

/* En-tête */
.entete {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px var(--marge);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.entete .logo { margin-right: auto; display: block; }
.entete .logo img { width: 104px; height: 28px; }

/* Sections */
.section { width: 100%; max-width: 1440px; margin: 0 auto; padding: 80px var(--marge); }

/* Ouverture */
.ouverture {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 56px var(--marge) 112px;
  text-align: center;
}
.ouverture h1 {
  max-width: 860px;
  font-family: var(--titre);
  font-weight: 600;
  font-size: 134px;
  line-height: 0.95;
  letter-spacing: 0;
}
.ouverture .chapeau { max-width: 560px; }
.ouverture .pilule { align-self: center; }

/* Moniteur de tournage */
.moniteur {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  padding-top: 24px;
}
.prise {
  position: relative;
  flex: none;
  overflow: hidden;
  border-radius: 4px;
  background: #000 center / cover no-repeat;
  opacity: 0.4;
}
.prise video { width: 100%; height: 100%; object-fit: cover; }
.prise-1, .prise-5 { width: 150px; height: 267px; }
.prise-2, .prise-4 { width: 180px; height: 320px; }
.prise-3 { width: 280px; height: 498px; opacity: 1; }
.cadrage { position: absolute; inset: 0; pointer-events: none; }
.coin { position: absolute; width: 22px; height: 22px; border: 0 solid var(--ivoire); opacity: 0.9; }
.coin-hg { top: 14px; left: 14px; border-top-width: 2px; border-left-width: 2px; }
.coin-hd { top: 14px; right: 14px; border-top-width: 2px; border-right-width: 2px; }
.coin-bg { bottom: 14px; left: 14px; border-bottom-width: 2px; border-left-width: 2px; }
.coin-bd { bottom: 14px; right: 14px; border-bottom-width: 2px; border-right-width: 2px; }
.rec, .temps {
  position: absolute;
  top: 21px;
  font-size: 12px;
  line-height: 1.2;
  color: var(--ivoire);
  letter-spacing: 0;
}
.rec { left: 26px; display: flex; align-items: center; gap: 6px; font-weight: 600; letter-spacing: 0.08em; }
.rec::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rec);
  transition: opacity 0.15s var(--sortie);
}
.rec.eteint::before { opacity: 0.25; }
.temps { right: 26px; font-weight: 500; font-variant-numeric: tabular-nums; }

/* Réalisations */
.realisations { display: flex; flex-direction: column; gap: 48px; }
.clients { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.carte {
  display: flex;
  flex-direction: column;
  padding: 32px 16px 0;
  border: 1px solid var(--bord-clair);
  border-radius: 20px;
  background: radial-gradient(50% 50% at 50% 38%, #242423 0%, var(--fond) 78%);
  text-decoration: none;
  transition: transform 0.1s var(--sortie);
}
.carte:active { transform: scale(0.99); }
.carte-photo { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.carte-photo img { width: 100%; height: 100%; object-fit: cover; }
.carte-photo::before, .carte-photo::after, .carte-voile { content: ""; position: absolute; inset: 0; }
.carte-voile { background: radial-gradient(75% 65% at 50% 38%, rgba(14, 14, 13, 0) 0%, rgba(14, 14, 13, 0.55) 100%); }
.carte-photo::before { z-index: 1; background: linear-gradient(90deg, var(--fond) 0%, rgba(14, 14, 13, 0) 20%, rgba(14, 14, 13, 0) 80%, var(--fond) 100%); }
.carte-photo::after { z-index: 1; background: linear-gradient(180deg, var(--fond) 0%, rgba(14, 14, 13, 0) 12%, rgba(14, 14, 13, 0) 62%, var(--fond) 100%); }
.carte-nom {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 8px 28px;
  border-top: 1px solid var(--bord);
}
.carte-nom > div { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.carte h3 { font-size: 30px; font-weight: 600; line-height: 1.1; letter-spacing: -0.5px; }
.carte-metier { font-size: 15px; line-height: 1.6; color: var(--gris); }
.carte .pilule { border-color: var(--bord-clair); padding: 12px 20px; align-self: auto; }
.carte:hover .pilule { background: rgba(243, 240, 232, 0.1); }

/* Services */
.services { padding-top: 100px; padding-bottom: 100px; max-width: 1440px; }
.services > div { max-width: 1344px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.service {
  display: flex;
  gap: 48px;
  padding: 28px 16px;
  border-top: 1px solid var(--filet);
}
.service h3 { flex: 1; font-family: var(--titre); font-weight: 500; font-size: 38px; line-height: 1.2; letter-spacing: 0; }
.service > div, .service > p { flex: 1; display: flex; flex-direction: column; gap: 16px; }

/* Qui tourne */
.qui { display: flex; gap: 48px; }
.qui > div { flex: 1; display: flex; flex-direction: column; }
.qui > div:first-child { gap: 16px; }
.qui > div:last-child { gap: 24px; }
.lanaudiere { padding-top: 24px; }
.lanaudiere img { width: 124px; height: 308px; }

/* Soumission */
.soumission { display: flex; flex-direction: column; gap: 32px; }
.formulaire { display: flex; flex-direction: column; gap: 24px; }
.coordonnees { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.champ { display: flex; flex-direction: column; gap: 8px; }
.champ input, .champ textarea {
  width: 100%;
  height: 56px;
  padding: 16px;
  border: 1px solid var(--bord);
  border-radius: 14px;
  background: var(--champ);
  color: var(--ivoire);
  font: 400 16px/1.4 var(--texte);
  transition: border-color 0.2s var(--sortie);
}
.champ textarea { height: 168px; resize: vertical; }
.champ input::placeholder, .champ textarea::placeholder { color: var(--gris); opacity: 1; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--ivoire); }
.envoi { display: flex; flex-direction: column; gap: 12px; }
.bouton-envoyer {
  align-self: flex-start;
  padding: 16px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--ivoire);
  color: var(--fond);
  font: 500 16px/1.4 var(--texte);
  cursor: pointer;
  transition: background-color 0.2s var(--sortie), transform 0.1s var(--sortie);
}
.bouton-envoyer:hover { background: #fff; }
.bouton-envoyer:active { background: #e8e4da; transform: scale(0.97); }
.bouton-envoyer[disabled] { cursor: progress; }
.bouton-envoyer.fait { background: var(--champ); color: var(--ivoire); box-shadow: inset 0 0 0 1px var(--bord); cursor: default; transform: none; }
.miel { position: absolute; left: -9999px; }
.types { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 8px; }
.types legend { padding: 0; margin-bottom: 8px; }
.types > div { display: flex; flex-wrap: wrap; gap: 8px; }
.choix { position: relative; cursor: pointer; }
.choix input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choix span {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--bord);
  border-radius: 999px;
  background: var(--champ);
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0;
  transition: background-color 0.2s var(--sortie), color 0.2s var(--sortie), border-color 0.2s var(--sortie);
}
.choix:hover span { border-color: var(--bord-clair); }
.choix input:checked + span { background: var(--ivoire); border-color: var(--ivoire); color: var(--fond); }
.choix input:focus-visible + span { outline: 2px solid var(--ivoire); outline-offset: 3px; }

/* Un seul bouton d'action à l'écran : le lien du menu et la barre du téléphone s'effacent tant qu'un bouton de la
   page (data-cta) est visible. Leur place ne bouge pas. */
.cta-menu { transition: opacity 0.2s var(--sortie), visibility 0.2s; }
.cta-menu.efface { opacity: 0; visibility: hidden; }
.barre-action { display: none; }

/* Pages clients et politique */
.projet { display: flex; flex-direction: column; gap: 28px; padding: 72px var(--marge) 112px; }
.projet > .discret, .projet .chapeau { max-width: 620px; }
.bloc { display: flex; flex-direction: column; gap: 20px; padding-top: 24px; }
.sous-titre { font-family: var(--titre); font-weight: 600; font-size: 48px; line-height: 1; letter-spacing: -0.03em; }
.ecrans { display: flex; align-items: flex-end; gap: 24px; padding-top: 8px; }
.ecrans a { display: block; overflow: hidden; border: 1px solid var(--bord); background: #000; }
.ecran-ordi { flex: 1; aspect-ratio: 16 / 10; border-radius: 14px; }
.ecran-tel { width: 21.5%; aspect-ratio: 390 / 844; border-radius: 24px; }
.ecrans img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.videos video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }
.politique { display: flex; flex-direction: column; gap: 40px; max-width: 720px; padding-top: 24px; }
.politique section { display: flex; flex-direction: column; gap: 12px; }
.politique h2 { font-family: var(--titre); font-weight: 600; font-size: 32px; line-height: 1.1; letter-spacing: -0.02em; }

/* Pied de page */
.pied {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 32px var(--marge);
  border-top: 1px solid var(--filet);
}
.pied > p:first-child { flex: 1; }
.pied nav { display: flex; gap: 20px; }

/* Tablette */
@media (max-width: 1199.98px) {
  .titre { font-size: 64px; }
  .ouverture h1 { font-size: 104px; }
  .moniteur { gap: 10px; }
  .prise-1, .prise-5 { width: 96px; height: 171px; }
  .prise-2, .prise-4 { width: 124px; height: 220px; }
  .prise-3 { width: 220px; height: 391px; }
  .carte-nom { flex-direction: column; align-items: flex-start; gap: 20px; }
  .carte .pilule { align-self: flex-start; }
  .sous-titre { font-size: 42px; }
  .videos { grid-template-columns: repeat(3, 1fr); }
  .pied { flex-direction: column; gap: 12px; }
}

/* Téléphone */
@media (max-width: 809.98px) {
  :root { --marge: 20px; }
  .titre { font-size: 48px; }
  .entete { gap: 16px; padding: 20px; font-size: 13px; }
  .entete .logo img { width: 82px; height: 22px; }
  .entete .seulement-grand { display: none; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .ouverture { padding: 24px 20px 48px; }
  .ouverture h1 { font-size: 52px; }
  /* Le moniteur devant, deux prises qui dépassent derrière lui, jusqu'aux bords de l'écran */
  .moniteur { gap: 0; width: calc(100% + 40px); margin: 0 -20px; overflow: hidden; }
  .prise-1, .prise-5 { display: none; }
  .prise-2, .prise-4 { width: 130px; height: 231px; z-index: 0; }
  .prise-2 { margin-right: -50px; }
  .prise-4 { margin-left: -50px; }
  .prise-3 { width: 240px; height: 427px; z-index: 1; box-shadow: 0 0 0 1px var(--fond), 0 12px 40px rgba(0, 0, 0, 0.6); }
  .realisations { gap: 32px; }
  .clients { grid-template-columns: 1fr; gap: 40px; }
  .services { padding-top: 64px; padding-bottom: 64px; }
  .service { flex-direction: column; gap: 12px; }
  .qui { flex-direction: column; gap: 32px; }
  .lanaudiere { padding: 16px 0 8px; }
  .lanaudiere img { width: 88px; height: 219px; }
  .coordonnees { grid-template-columns: 1fr; }
  .projet { gap: 32px; padding: 56px 20px; }
  .sous-titre { font-size: 34px; }
  .bloc-videos { padding-top: 48px; }
  .ecrans { gap: 10px; }
  .ecran-ordi { flex: 1; height: 200px; aspect-ratio: auto; border-radius: 10px; }
  .ecran-tel { width: 92px; height: 200px; aspect-ratio: auto; border-radius: 14px; }
  .videos { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: -20px; padding-right: 20px; }
  .videos video { flex: none; width: 150px; height: 267px; scroll-snap-align: start; }
  .pied { padding: 24px 20px 96px; }
  /* Au téléphone, l'action passe dans une barre en bas de l'écran ; le menu garde le logo seul. */
  .cta-menu { display: none; }
  .barre-action {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    background: rgba(14, 14, 13, 0.94);
    border-top: 1px solid var(--filet);
    transition: transform 0.2s var(--sortie), visibility 0.2s;
  }
  .barre-action .pilule { display: flex; justify-content: center; width: 100%; font-size: 15px; }
  .barre-action.efface { transform: translateY(100%); visibility: hidden; }
}
