/* DKS — maquettes. Système repris du site actuel dks-agency.com :
   vert poire #E0F250, nuit #01010D, crème #F1F2E4, bleu ciel #8ED1D9, blanc.
   Titres : MADE Outer Sans sur le site (remplacé ici par Unbounded, à remplacer dans Figma).
   Layout : colonne centrale 1200px, sections pleine largeur, bandeaux inclinés, rayures obliques. */
:root {
  --poire: #E0F250;
  --nuit: #01010D;
  --nuit-2: #0E0E1C;
  --creme: #F1F2E4;
  --blanc: #FFFFFF;
  --ciel: #8ED1D9;
  --bleu: #0072B1;
  --gris: #6B6C78;
  --gris-clair: #BFC0AB;
  --ligne: rgba(241, 242, 228, .16);
  --f-titre: "MADE Outer Sans", "Arial Black", Arial, sans-serif;
  --f-texte: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --col: 1200px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--creme); color: var(--nuit); font-family: var(--f-texte); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-titre); margin: 0; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; }

.sec { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: clamp(64px, 8vw, 112px); position: relative; overflow: hidden; overflow: clip; }
.col { max-width: var(--col); margin-inline: auto; position: relative; }
.stack { display: flex; flex-direction: column; gap: 28px; }
.center { text-align: center; align-items: center; }
.bg-poire { background: var(--poire); }
.bg-nuit { background: var(--nuit); color: var(--creme); }
.bg-creme { background: var(--creme); }
.bg-blanc { background: var(--blanc); }
.bg-ciel { background: var(--ciel); }

.t-xxl, .t-xl, .t-l, .t-m, .t-s { font-family: var(--f-titre); }
.t-xxl { font-size: clamp(40px, 7vw, 96px); font-weight: 700; letter-spacing: -.03em; text-transform: uppercase; }
.t-xl { font-size: clamp(34px, 5vw, 64px); font-weight: 700; letter-spacing: -.025em; text-transform: uppercase; }
.t-l { font-size: clamp(24px, 3vw, 36px); font-weight: 600; letter-spacing: -.015em; text-transform: uppercase; }
.t-m { font-size: 18px; font-weight: 500; text-transform: uppercase; letter-spacing: .01em; line-height: 1.25; }
.t-s { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 62ch; }
.muted { color: var(--gris); }
.bg-nuit .muted { color: rgba(241, 242, 228, .7); }
.grad { background: linear-gradient(180deg, var(--nuit) 0%, #5D8FB0 55%, var(--ciel) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { font-family: var(--f-texte); font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.lime { color: var(--poire); }

/* Boutons pilule, comme sur le site */
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 11px 20px; font-family: var(--f-texte); font-size: 14px; font-weight: 500; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; }
.pill--nuit { background: var(--nuit); color: var(--creme); }
.pill--poire { background: var(--poire); color: var(--nuit); }
.pill--blanc { background: var(--blanc); color: var(--nuit); }
.pill--ligne { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.pill svg { width: 16px; height: 16px; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
/* Survol des boutons : le bouton se soulève, change de couleur et la flèche avance */
.pill { transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, background-color .25s, color .25s; }
.pill:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -10px rgba(0,2,10,.55); }
.pill:hover svg { transform: translateX(5px); }
.pill:active { transform: translateY(0) scale(.97); box-shadow: none; }
.pill:focus-visible { outline: 2px solid var(--poire); outline-offset: 3px; }
.porte:hover .pill { transform: translateY(-3px); box-shadow: 0 10px 24px -10px rgba(0,2,10,.55); }
.porte:hover .pill svg { transform: translateX(5px); }
.porte:hover .pill--poire { background: var(--blanc); color: var(--nuit); }
.porte:hover .pill--blanc { background: var(--poire); color: var(--nuit); }
.pill--poire:hover { background: var(--blanc); color: var(--nuit); }
.pill--blanc:hover { background: var(--poire); color: var(--nuit); }
.pill--nuit:hover { background: var(--poire); color: var(--nuit); }
.pill--ligne:hover { background: var(--nuit); color: var(--poire); box-shadow: 0 10px 24px -10px rgba(0,2,10,.55); }
@media (prefers-reduced-motion: reduce) { .pill, .pill svg { transition: background-color .2s, color .2s; } .pill:hover, .pill:hover svg, .porte:hover .pill, .porte:hover .pill svg { transform: none; } }
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.center .pills { justify-content: center; }
.fl { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gris); text-decoration: none; }

/* En-tête : réseaux à gauche, logo au centre, MENU à droite */
.hdr { position: absolute; inset: 0 0 auto; z-index: 20; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.hdr-in { max-width: var(--col); margin-inline: auto; height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.hdr .soc { display: flex; gap: 14px; }
.hdr .soc a { width: 22px; height: 22px; display: grid; place-items: center; }
.hdr .soc svg { width: 18px; height: 18px; fill: currentColor; }
.hdr .logo img { height: 18px; width: auto; }
.hdr .menu { justify-self: end; display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; text-decoration: none; letter-spacing: .02em; }
.hdr .menu img { width: 36px; }
.hdr--nuit { color: var(--creme); }
.page-top { padding-top: 150px; }

/* Bandeau incliné SHOOTING • VIDEOS … */
/* Bandes croisées, reprises du site actuel (section 288px, bandes 64px inclinées à ±5,3°, défilement 45s vers la gauche) */
.bandeaux { position: relative; height: 288px; overflow: hidden; pointer-events: none; }
.bandeau { position: absolute; left: -1%; width: 102%; top: 122px; height: 64px; display: flex; align-items: center; overflow: hidden; font-family: var(--f-titre); font-size: 36px; font-weight: 300; line-height: 1; letter-spacing: 0; }
.bandeau .piste { display: flex; width: max-content; animation: defile 45s linear infinite; }
.bandeau .piste > div { display: flex; flex: none; white-space: nowrap; }
.bandeau span { padding-inline: .3em; }
.bandeau i { font-style: normal; padding-inline: .05em; }
.bandeau--blanc { background: var(--blanc); color: var(--blanc); text-shadow: 1px 0 var(--nuit), -1px 0 var(--nuit), 0 1px var(--nuit), 0 -1px var(--nuit), .7px .7px var(--nuit), -.7px -.7px var(--nuit), .7px -.7px var(--nuit), -.7px .7px var(--nuit); transform: rotate(-5.3deg); }
.bandeau--nuit { background: var(--nuit); color: var(--poire); transform: rotate(5.3deg); }
@keyframes defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .bandeau .piste { animation: none; } }
@media (max-width: 760px) { .bandeau { left: -1.5%; width: 103%; } .bandeau--blanc { transform: rotate(-3deg); top: 90px; } .bandeau--nuit { transform: rotate(3deg); top: 170px; } }

/* Rayures obliques du logo */
.rayures { position: absolute; left: 0; top: 0; width: min(560px, 75vw); height: auto; pointer-events: none; }
.sec--rayee { padding-top: clamp(150px, 15vw, 200px); }

/* Cartes */
.carte { border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.carte--nuit { background: linear-gradient(180deg, rgba(241,242,228,.04), rgba(241,242,228,0)); border: 1px solid var(--ligne); border-bottom-color: transparent; }
.carte--poire { background: var(--poire); }
.carte--blanc { background: var(--blanc); }
.carte .ico { width: 56px; height: 56px; }
.carte-tete { display: flex; gap: 16px; align-items: center; }
.grille-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grille-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grille-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .grille-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grille-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grille-2, .grille-4 { grid-template-columns: 1fr; } }

/* Cartes photo avec étiquette pilule blanche (style "Nos services") */
.photo-carte { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; display: block; text-decoration: none; color: var(--nuit); }
.photo-carte img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.75); transition: filter .3s ease; }
.photo-carte:hover img { filter: grayscale(0) brightness(.9); }
.photo-carte .etiquette { position: absolute; left: 16px; right: 16px; bottom: 16px; background: var(--blanc); border-radius: 999px; padding: 11px 18px; text-align: center; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }

/* Liste à coches (style "Nos ambitions") */
.coches { display: flex; flex-direction: column; gap: 22px; }
.coche-titre { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(90deg, rgba(241,242,228,.1), rgba(241,242,228,0)); border-radius: 999px; padding: 8px 18px 8px 10px; font-size: 14px; font-weight: 500; }
.coche-titre i { width: 20px; height: 20px; border-radius: 50%; background: var(--poire); display: grid; place-items: center; flex: none; }
.coche-titre i::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--nuit); border-bottom: 2px solid var(--nuit); transform: rotate(-45deg) translate(1px, -1px); }
.coche p { padding: 10px 0 0 18px; font-size: 14px; color: rgba(241, 242, 228, .85); max-width: 52ch; }
.coches--clair .coche-titre { background: var(--blanc); }
.coches--clair .coche p { color: var(--gris); }

/* Étiquette "Nouveau" pour signaler les ajouts dans la maquette */
.nouveau { display: inline-block; align-self: flex-start; background: var(--bleu); color: var(--blanc); font-family: var(--f-texte); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-radius: 4px; padding: 4px 8px; }
.center .nouveau, .titre-page .nouveau { align-self: center; }
.center .membre, .center .form { text-align: left; }
.carte.avocat { flex-direction: row; }

/* Grand bloc lien (ÉVÈNEMENTS ↗, CONTACT ↗) */
.gros-lien { display: flex; text-align: center; align-items: center; justify-content: center; gap: 18px; text-decoration: none; padding-block: clamp(80px, 12vw, 160px); }
.gros-lien .t-xxl { font-size: clamp(30px, 5.4vw, 76px); min-width: 0; }
.gros-lien svg { flex: none; }
.gros-lien svg { width: clamp(36px, 4vw, 56px); height: auto; }

/* Pied de page */
.pied { background: var(--nuit); color: var(--creme); padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 56px 48px; }
.pied-in { max-width: var(--col); margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.pied-in > img { height: 22px; width: auto; }
.pied nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; width: 100%; border-top: 1px solid rgba(241,242,228,.16); padding-top: 32px; }
.pied nav a { font-size: 14px; text-decoration: none; text-transform: uppercase; letter-spacing: .02em; }
.pied nav a:hover { color: var(--poire); }
.pied .contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; font-size: 13px; }
.pied .contacts span { display: inline-flex; align-items: center; gap: 8px; user-select: all; }
.pied .contacts svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
@media (max-width: 760px) { .pied nav { gap: 14px 28px; } }

/* Formulaire de contact */
.form { width: 100%; max-width: 560px; display: flex; flex-direction: column; gap: 10px; }
.champ { background: var(--blanc); padding: 10px 14px; display: flex; flex-direction: column; gap: 4px; }
.champ label { font-size: 11px; }
.champ input, .champ textarea { border: 0; outline: 0; font: inherit; font-size: 15px; background: transparent; padding: 0; min-height: 26px; }
.champ textarea { min-height: 76px; resize: vertical; }
.profil { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 8px; }
.profil label { position: relative; }
.profil input { position: absolute; opacity: 0; inset: 0; }
.profil span { display: inline-block; border-radius: 999px; padding: 9px 16px; font-size: 13px; font-weight: 500; background: var(--blanc); cursor: pointer; }
.profil input:checked + span { background: var(--nuit); color: var(--creme); }
.profil input:focus-visible + span { outline: 3px solid var(--bleu); outline-offset: 2px; }
/* Bouton retour (pages intérieures) */
.hdr .soc a.retour { width: auto; height: auto; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; margin-right: 6px; border: 1.5px solid currentColor; border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none; color: inherit; }
.hdr .soc a.retour svg { width: 16px; height: 16px; fill: none; }
.hdr .soc a.retour:hover { background: var(--nuit); color: var(--poire); border-color: var(--nuit); }
.hdr--nuit .soc a.retour:hover { background: var(--poire); color: var(--nuit); border-color: var(--poire); }
@media (max-width: 600px) { .hdr .soc:has(.retour) a:not(.retour) { display: none; } }
.hdr .soc { align-items: center; }
.hdr--nuit .soc a.retour { background: var(--nuit); border-color: var(--creme); }
.hdr .soc a.retour { position: relative; z-index: 2; }
.pied .legal { font-size: 12px; color: rgba(241,242,228,.55); text-align: center; }
.pied .legal a { color: inherit; }
.pied .legal a:hover { color: var(--poire); }

/* --- Production --- */
.bandeau--blanc { font-family: "MADE Outer Sans Outline", var(--f-titre); color: var(--nuit); text-shadow: none; }
.form-etat { font-size: 14px; min-height: 1.2em; margin-top: 4px; }
.form-etat:empty { display: none; }

/* --- Formulaire : envoi et confirmation --- */
.form button.envoi { opacity: .7; cursor: wait; }
.form-etat { color: #B3261E; font-weight: 500; }
.merci { position: relative; width: 100%; max-width: 560px; margin-inline: auto; background: var(--nuit); color: var(--creme); border-radius: 20px; padding: clamp(28px, 4vw, 44px) clamp(22px, 4vw, 40px); display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; overflow: visible; animation: merci-in .45s cubic-bezier(.2,.8,.2,1) both; outline: none; }
.merci-coche svg { width: 76px; height: 76px; fill: none; stroke: var(--poire); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.merci-coche circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: merci-trait .6s .15s ease-out forwards; }
.merci-coche path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: merci-trait .35s .7s ease-out forwards; }
.merci-titre { font-family: var(--f-titre); font-size: clamp(22px, 3vw, 30px); font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; color: var(--poire); }
.merci-texte { font-size: 15px; color: rgba(241,242,228,.85); max-width: 40ch; }
.merci .pills { margin-top: 6px; justify-content: center; }
.merci .pill--ligne { color: var(--creme); }
.merci .pill--ligne:hover { background: var(--creme); color: var(--nuit); }
.merci-confettis { position: absolute; left: 50%; top: 70px; width: 0; height: 0; pointer-events: none; }
.merci-confettis i { position: absolute; width: 8px; height: 12px; border-radius: 2px; opacity: 0; animation: merci-confetti var(--d) .55s cubic-bezier(.15,.7,.3,1) forwards; }
@keyframes merci-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes merci-trait { to { stroke-dashoffset: 0; } }
@keyframes merci-confetti { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 140px)) rotate(var(--r)); } }
@media (prefers-reduced-motion: reduce) { .merci, .merci-coche circle, .merci-coche path { animation: none; stroke-dashoffset: 0; } .merci-confettis { display: none; } }
.pied .contacts a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.pied .contacts a:hover { color: var(--poire); }
.form-etat a { color: inherit; font-weight: 700; }

/* Sélecteur de langue */
.hdr-droite { justify-self: end; display: flex; align-items: center; gap: 20px; }
.hdr .lang { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-decoration: none; padding: 5px 10px 5px 6px; border: 1.5px solid currentColor; border-radius: 999px; line-height: 1; }
.hdr .lang .drapeau { width: 20px; height: 14px; border-radius: 3px; display: block; flex: none; box-shadow: 0 0 0 1px rgba(1,1,13,.12); }
.hdr .lang .drapeau[viewBox="0 0 3 2"] { height: 13.3px; }
.hdr .lang:hover { background: var(--nuit); color: var(--poire); border-color: var(--nuit); }
.hdr--nuit .lang:hover { background: var(--poire); color: var(--nuit); border-color: var(--poire); }
@media (max-width: 420px) { .hdr-droite { gap: 12px; } .hdr .menu { font-size: 0; gap: 0; } }
