/* Vitrine Azur — page « Voir mon projet » (espace client) */
.projet { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; color: #fff; background: #0c1632; }

/* Fond : capture du quai tant que la scène 3D n'est pas prête (ou sans WebGL) */
.fond { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #0c1632 url("../decor/quai.jpg") center / cover no-repeat; }
@media (max-width: 760px) { .fond { background-image: url("../decor/quai-portrait.jpg"); } }
.fond__canvas, .fond__css { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.fond__canvas { display: block; }
.fond__canvas.is-ready, .fond__css.is-ready { opacity: 1; }
.fond__voile {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 14, 32, .7) 0%, rgba(6, 14, 32, .35) 45%, rgba(6, 14, 32, 0) 70%),
    linear-gradient(180deg, rgba(6, 14, 32, .5) 0%, rgba(6, 14, 32, 0) 22%, rgba(6, 14, 32, 0) 75%, rgba(6, 14, 32, .55) 100%);
}
@media (max-width: 900px) {
  .fond__voile { background: linear-gradient(180deg, rgba(6, 14, 32, .55) 0%, rgba(6, 14, 32, .4) 50%, rgba(6, 14, 32, .65) 100%); }
}

.projet__tete { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 80px; }
.projet__tete .logo em { color: var(--lagoon); }

.projet__corps { position: relative; z-index: 2; flex: 1; display: grid; place-items: center; padding: 16px 0 40px; }
/* Grand écran : la carte à gauche, le village et le port restent visibles à droite. */
@media (min-width: 901px) { .projet__corps { justify-items: start; } }
.projet__carte {
  width: min(480px, 100%); padding: 32px 32px 26px; border-radius: 24px;
  background: rgba(8, 18, 38, .62); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6);
}
.projet__sur { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--lagoon); }
.projet h1 { margin-top: 10px; font: 600 clamp(28px, 4.2vw, 38px)/1.1 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.projet h1 em { font-style: italic; color: #ffd9a0; }
.projet__intro { margin-top: 14px; font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .82); }
.projet__consigne { margin-top: 12px; font-size: 14.5px; color: rgba(255, 255, 255, .7); }
.projet__consigne strong { color: #fff; }

.projet__form { display: grid; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); }
.projet__champ { display: grid; gap: 6px; }
.projet__champ label { font-size: 14px; font-weight: 600; }
.projet__champ input {
  width: 100%; min-width: 0; font: 500 16px/1.3 var(--body); color: #fff;
  padding: 13px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08);
}
.projet__champ input:focus { outline: none; border-color: var(--lagoon); box-shadow: 0 0 0 3px rgba(44, 196, 212, .25); }
.projet__champ input[aria-invalid="true"] { border-color: #ff8a78; }
.projet__mdp { position: relative; }
.projet__mdp input { padding-right: 92px; }
.projet__voir {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  border: 0; border-radius: 8px; padding: 7px 10px; font: 600 13px var(--body); color: #fff;
  background: rgba(255, 255, 255, .1); cursor: pointer;
}
.projet__voir:hover { background: rgba(255, 255, 255, .18); }
.projet__erreur { font-size: 14px; color: #ffd0c8; background: rgba(255, 111, 89, .16); border: 1px solid rgba(255, 111, 89, .35); padding: 10px 12px; border-radius: 10px; }
.projet__form .btn { margin-top: 4px; padding-block: 15px; }
.projet__form .btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.projet__aide { margin-top: 16px; font-size: 13.5px; color: rgba(255, 255, 255, .7); }
.projet__aide a { color: #fff; }
.projet__pied { position: relative; z-index: 2; text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, .6); padding: 0 20px 18px; }
.projet__pied a { color: rgba(255, 255, 255, .85); }

@media (max-width: 520px) {
  .projet__tete { height: 68px; }
  .projet__tete .btn { padding: 8px 14px; font-size: 13px; }
  .projet__corps { place-items: start center; padding-top: 4px; }
  .projet__carte { padding: 20px 18px 18px; border-radius: 20px; background: rgba(8, 18, 38, .5); }
  .projet h1 { margin-top: 6px; font-size: 26px; }
  .projet__intro { margin-top: 10px; font-size: 15px; line-height: 1.5; }
  .projet__consigne { margin-top: 8px; font-size: 13.5px; }
  .projet__form { gap: 12px; margin-top: 16px; padding-top: 16px; }
  .projet__champ input { padding: 12px 13px; }
  .projet__aide { margin-top: 12px; font-size: 13px; }
}
