/* =====================================================================
   CAR-AUTOZEN — style « grande maison » (bleu nuit profond, cuivre champagne, ivoire)
   Refonte du 2026-11-22. Aucune police ni ressource extérieure :
   Cormorant Garamond et Inter sont hébergées avec le site (dossier polices/, woff2, sous-ensemble latin,
   licence SIL OFL). Si un fichier manque, des polices proches du système prennent le relais.
   Règles : cuivre seulement en filets de 1 px, petites capitales, logo et survols.
   Pas d'émoji, pas de couleur vive, pas d'ombre dure, pas de bordure épaisse, pas d'arrondi d'appli.
   ===================================================================== */

/* -------- Polices hébergées avec le site (dossier polices/) -------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap; src: url("polices/cormorant-garamond-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300; font-display: swap; src: url("polices/cormorant-garamond-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("polices/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("polices/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("polices/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("polices/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("polices/inter-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("polices/inter-latin-400-normal.woff2") format("woff2"); }

:root {
  --nuit: #070d18;
  --nuit-2: #0a1220;
  --nuit-3: #0e1828;
  --cuivre: #b87333;
  --cuivre-clair: #d4a373;
  --cuivre-degrade: linear-gradient(100deg, #b87333 0%, #d4a373 38%, #e6c39b 50%, #d4a373 62%, #b87333 100%);
  --ivoire: #ede6da;
  --doux: rgba(237, 230, 218, .58);
  --tres-doux: rgba(237, 230, 218, .36);
  --filet: rgba(212, 163, 115, .32);
  --filet-neutre: rgba(237, 230, 218, .08);
  --accent: #c48a52;            /* utilisé par les dessins des cases photos (dépôt-vente) */
  --fond-case: #0a1220;
  --serif: "Cormorant Garamond", "Cormorant", "Bodoni 72", "Didot", "Playfair Display", "Noto Serif Display", Garamond, Georgia, serif;
  --sans: "Inter", "Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --lent: cubic-bezier(.22, .61, .2, 1);
  --marge: clamp(24px, 7vw, 120px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--nuit); }
body {
  margin: 0;
  min-height: 100svh;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 300;
  color: var(--ivoire);
  background:
    radial-gradient(90% 55% at 50% 0%, rgba(30, 48, 80, .45) 0%, rgba(7, 13, 24, 0) 70%),
    radial-gradient(70% 50% at 85% 100%, rgba(184, 115, 51, .05) 0%, rgba(7, 13, 24, 0) 70%),
    linear-gradient(180deg, #08101d 0%, var(--nuit) 45%, #05090f 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
/* Grain très léger sur toute la page (dessiné dans la page, aucun fichier extérieur) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1000; pointer-events: none;
  opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
a { color: var(--cuivre-clair); text-decoration: none; transition: color .6s var(--lent); }
a:hover { color: var(--ivoire); }
img { max-width: 100%; display: block; }
::selection { background: rgba(184, 115, 51, .35); color: var(--ivoire); }

.bandeau-maquette {
  position: relative; z-index: 30;
  background: var(--nuit); color: var(--tres-doux);
  text-align: center; font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  padding: 8px 12px; border-bottom: 1px solid var(--filet-neutre);
}

/* ---------- En-tête ---------- */
header {
  position: sticky; top: 0; z-index: 20;
  padding: calc(22px + env(safe-area-inset-top)) var(--marge) 22px;
  background: linear-gradient(180deg, rgba(7, 13, 24, .92), rgba(7, 13, 24, .72));
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
header::after {
  content: ""; position: absolute; left: var(--marge); right: var(--marge); bottom: 0; height: 1px;
  background: var(--cuivre-degrade); opacity: .35;
}
/* Logo 2 (guilloché) en en-tête : texte doré + ligne et losange, dessiné dans la page */
.logo-entete { display: block; line-height: 0; transition: opacity 1s var(--lent); }
.logo-entete svg { display: block; height: clamp(22px, 2.4vw, 30px); width: auto; aspect-ratio: 840 / 110; }
.logo-entete:hover { opacity: .82; }
.marque-texte { display: block; line-height: 1; }
.marque-texte strong {
  display: block; font-family: var(--serif); font-weight: 400;
  font-size: 22px; letter-spacing: .42em; text-transform: uppercase;
  background: var(--cuivre-degrade); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.marque-texte small {
  display: block; margin-top: 8px; font-size: 9px; font-weight: 400; letter-spacing: .5em;
  text-transform: uppercase; color: var(--tres-doux);
}
.appel-entete {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 0;
  border: 1px solid var(--filet-neutre); color: var(--cuivre-clair);
  transition: border-color .8s var(--lent), color .8s var(--lent);
}
.appel-entete:hover, .appel-entete:active { border-color: var(--cuivre); color: var(--ivoire); }
.appel-entete svg { width: 16px; height: 16px; }

nav {
  position: relative; z-index: 10;
  display: flex; gap: clamp(28px, 6vw, 64px); justify-content: center;
  padding: 18px var(--marge);
  overflow-x: auto; scrollbar-width: none;
}
nav::-webkit-scrollbar { display: none; }
nav a {
  white-space: nowrap; color: var(--tres-doux);
  font-size: 10.5px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase;
  padding: 6px 0; border-bottom: 1px solid transparent;
  transition: color .8s var(--lent), border-color .8s var(--lent);
}
nav a:hover, nav a[aria-current="page"] { color: var(--ivoire); border-color: var(--cuivre); }

/* ---------- Mise en page ---------- */
main { max-width: 1400px; margin: 0 auto; padding: 0 var(--marge) 80px; }
section { padding: clamp(80px, 14vh, 160px) 0; }
.surtitre {
  display: block; color: var(--cuivre-clair);
  font-size: 10.5px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 28px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 300; margin: 0; color: var(--ivoire); }
h1 { font-size: clamp(44px, 8.5vw, 112px); line-height: 1.02; letter-spacing: .04em; }
h2 { font-size: clamp(36px, 6vw, 76px); line-height: 1.06; letter-spacing: .035em; margin-bottom: 28px; }
h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: .04em; }
.filet-cuivre { width: 64px; height: 1px; background: var(--cuivre-degrade); border: 0; margin: 40px 0; }
.chapeau { color: var(--doux); font-size: clamp(16px, 1.4vw, 19px); font-weight: 300; max-width: 32em; margin: 28px 0 0; }
.info { color: var(--tres-doux); font-size: 13.5px; letter-spacing: .02em; }
.heros { padding: clamp(80px, 16vh, 180px) 0 clamp(40px, 8vh, 90px); }
.carte {
  background: none;
  border: 0; border-top: 1px solid var(--filet-neutre); border-bottom: 1px solid var(--filet-neutre);
  border-radius: 0; padding: 36px 0; margin: 28px 0;
}
.vide { text-align: center; color: var(--doux); font-family: var(--serif); font-size: 22px; letter-spacing: .03em; }

/* Une seule idée par écran : bloc centré dans la hauteur */
.ecran { min-height: 88svh; display: flex; flex-direction: column; justify-content: center; }
.ecran.centre { align-items: center; text-align: center; }
.ecran.centre .filet-cuivre { margin-left: auto; margin-right: auto; }
.ecran.centre .chapeau { margin-left: auto; margin-right: auto; }

/* ---------- Ouverture plein écran (accueil) ---------- */
.ouverture {
  position: relative; overflow: hidden;
  min-height: calc(100svh - 150px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: clamp(30px, 6vh, 70px) var(--marge) clamp(80px, 11vh, 120px);
  isolation: isolate;
}
.ouverture::before {     /* halo très doux derrière la voiture */
  content: ""; position: absolute; z-index: -2; left: 50%; top: 58%;
  width: min(1400px, 140vw); height: 70%; transform: translate(-50%, -50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(60, 82, 120, .30) 0%, rgba(7, 13, 24, 0) 70%);
}
.ouverture::after {      /* motif guilloché du logo, très discret, derrière le titre */
  content: ""; position: absolute; z-index: -3; left: 50%; top: 34%;
  width: min(1500px, 170vw); aspect-ratio: 3 / 1; transform: translate(-50%, -50%);
  background: url("logo/guilloche.svg") center / contain no-repeat;
  opacity: .9;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000 30%, transparent 100%);
  mask-image: radial-gradient(60% 60% at 50% 50%, #000 30%, transparent 100%);
}
.ouverture-voiture {
  --l: min(1080px, 130vw);
  position: relative; z-index: -1; flex: none;
  width: var(--l); margin: calc(var(--l) * -.075) 0 calc(var(--l) * -.03);
  opacity: .95;
  animation: apparitionVoiture 3.2s var(--lent) both;
}
.ouverture-voiture svg { width: 100%; height: auto; display: block; }
@keyframes apparitionVoiture { from { opacity: 0; transform: translateY(14px); } to { opacity: .95; transform: none; } }
.ouverture-texte { position: relative; }
.ouverture h1 { font-size: clamp(36px, 5.6vw, 84px); letter-spacing: .06em; }
.ouverture .surtitre { margin-bottom: 30px; }
.ouverture .btn { margin-top: 8px; }
.defiler {
  position: absolute; left: 50%; bottom: 24px; width: 1px; height: 56px; transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(212, 163, 115, 0), rgba(212, 163, 115, .7));
  animation: respirer 4.5s ease-in-out infinite;
}
@keyframes respirer { 0%, 100% { opacity: .25; } 50% { opacity: .9; } }

/* ---------- Boutons : fins, droits, cuivrés ---------- */
.boutons { display: grid; gap: 16px; margin: 48px 0 0; }
@media (min-width: 560px) { .boutons.cote { grid-template-columns: auto auto; justify-content: start; } }
.btn {
  position: relative; display: inline-block; text-align: center; cursor: pointer;
  font-family: var(--sans); font-size: 10.5px; font-weight: 400;
  letter-spacing: .32em; text-transform: uppercase;
  padding: 20px 46px; border-radius: 0;
  border: 1px solid var(--filet); background: transparent; color: var(--ivoire);
  transition: border-color 1s var(--lent), color 1s var(--lent), background-color 1s var(--lent);
  touch-action: manipulation;
}
.btn:hover { border-color: var(--cuivre-clair); color: var(--cuivre-clair); background-color: rgba(184, 115, 51, .05); }
.btn.plein { border: 1px solid transparent; border-image: var(--cuivre-degrade) 1; color: var(--ivoire); background: transparent; }
.btn.plein:hover { color: var(--cuivre-clair); background-color: rgba(184, 115, 51, .06); }
.lien-fleche {
  display: inline-flex; align-items: center; gap: 16px; color: var(--cuivre-clair);
  font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid var(--filet);
  transition: color .8s var(--lent), border-color .8s var(--lent);
}
.lien-fleche::after { content: "\2192"; font-family: var(--serif); font-size: 15px; letter-spacing: 0; transition: transform 1s var(--lent); }
.lien-fleche:hover { color: var(--ivoire); border-color: var(--cuivre); }
.lien-fleche:hover::after { transform: translateX(6px); }

/* ---------- Apparition lente au défilement ---------- */
.js .revele { opacity: 0; transform: translateY(26px); transition: opacity 1.8s var(--lent), transform 1.8s var(--lent); }
.js .revele.vu { opacity: 1; transform: none; }

/* ---------- Vignettes véhicules (flottement très lent) ---------- */
.liste { display: grid; gap: clamp(56px, 9vw, 96px); padding: 24px 0 10px; }
@media (min-width: 760px) { .liste { grid-template-columns: 1fr 1fr; gap: clamp(72px, 8vw, 110px) clamp(40px, 5vw, 72px); } }
.nuage { animation: flotter calc(var(--duree, 12s) * 1.8) ease-in-out var(--delai, 0s) infinite alternate; will-change: transform; }
@keyframes flotter {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(calc(var(--dx, 3px) * .6), calc(var(--dy, -7px) * .7), 0); }
}
.vehicule {
  display: block; color: inherit; position: relative;
  background: none; border: 0; border-radius: 0;
  transform: perspective(1400px) rotateX(calc(var(--rx, 0deg) * .4)) rotateY(calc(var(--ry, 0deg) * .4)) scale(var(--s, 1));
  transition: transform 1.6s var(--lent);
  touch-action: manipulation;
}
.vehicule:hover { color: inherit; }
.vehicule.actif { --s: 1.006; }
.vehicule.appui { --s: .995; }
.vehicule .visuel {
  position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--nuit-3);
  outline: 1px solid transparent; outline-offset: 10px;
  transition: outline-color 1.2s var(--lent);
}
.vehicule.actif .visuel, .vehicule:hover .visuel, .vehicule:focus-visible .visuel { outline-color: var(--filet); }
/* Reflet qui glisse lentement sur la photo au survol */
.vehicule .visuel::after {
  content: ""; position: absolute; inset: -20% auto -20% -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, rgba(237, 230, 218, 0) 0%, rgba(237, 230, 218, .10) 50%, rgba(237, 230, 218, 0) 100%);
  transform: skewX(-14deg) translateX(0); opacity: 0;
  transition: transform 2.6s var(--lent), opacity 1.2s var(--lent);
}
.vehicule.actif .visuel::after, .vehicule:hover .visuel::after { transform: skewX(-14deg) translateX(480%); opacity: 1; }
.vehicule .visuel img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) brightness(.92); transform: scale(1.001); transition: transform 2.4s var(--lent), filter 2.4s var(--lent); }
.vehicule.actif .visuel img, .vehicule:hover .visuel img { transform: scale(1.03); filter: saturate(.95) brightness(1); }
.vehicule .corps { padding: 36px 0 0; }
.vehicule .marque-v { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--cuivre-clair); }
.vehicule h3 { margin: 12px 0 14px; font-size: clamp(28px, 3vw, 38px); }
.vehicule .details { color: var(--tres-doux); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.vehicule .bas { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--filet-neutre); transition: border-color 1.2s var(--lent); }
.vehicule.actif .bas, .vehicule:hover .bas { border-color: var(--filet); }
.vehicule .prix { font-family: var(--serif); font-weight: 300; font-size: 22px; letter-spacing: .06em; color: var(--ivoire); }
.vehicule .prix small { font-family: var(--sans); font-size: 9px; letter-spacing: .3em; color: var(--tres-doux); margin-left: 10px; }
.vehicule .voir { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--tres-doux); transition: color 1s var(--lent); }
.vehicule.actif .voir, .vehicule:hover .voir { color: var(--cuivre-clair); }
@media (prefers-reduced-motion: reduce) {
  .nuage, .defiler, .ouverture-voiture { animation: none; }
  .vehicule, .vehicule .visuel img, .vehicule .visuel::after, .js .revele { transition: none; }
  .js .revele { opacity: 1; transform: none; }
}
.etiquette {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  font-size: 9px; letter-spacing: .3em; text-transform: uppercase; font-weight: 400;
  padding: 8px 14px; border-radius: 0;
  background: rgba(7, 13, 24, .72); color: var(--ivoire); border: 1px solid var(--filet);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.etiquette.reserve { color: var(--cuivre-clair); }
.etiquette.brouillon { color: var(--cuivre-clair); border-color: rgba(212, 163, 115, .6); background: rgba(40, 22, 14, .78); }
.photo-vide {
  width: 100%; height: 100%; min-height: 100%;
  background: radial-gradient(70% 70% at 50% 45%, #121e33 0%, var(--nuit-3) 75%);
  color: rgba(237, 230, 218, .22);
  display: grid; place-items: center; align-content: center; gap: 14px;
  font-size: 9.5px; letter-spacing: .34em; text-transform: uppercase;
}
.photo-vide svg { width: 38%; height: auto; }

/* ---------- Fiche véhicule, façon catalogue ---------- */
.page-fiche main { max-width: 1320px; }
.page-fiche .heros h1 { font-size: clamp(44px, 7.5vw, 104px); }
.galerie-principale {
  position: relative; overflow: hidden; background: var(--nuit-3);
  aspect-ratio: 16 / 9; border: 0; border-radius: 0;
}
.galerie-principale::after {   /* filet cuivre intérieur, très fin */
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(212, 163, 115, .16); pointer-events: none;
}
.galerie-principale img { width: 100%; height: 100%; object-fit: cover; animation: fondu 1.6s var(--lent); }
@keyframes fondu { from { opacity: 0; } to { opacity: 1; } }
.miniatures { display: flex; gap: 14px; margin-top: 18px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.miniatures::-webkit-scrollbar { display: none; }
.miniatures button {
  flex: 0 0 112px; height: 72px; padding: 0; border-radius: 0; overflow: hidden; cursor: pointer;
  border: 1px solid transparent; background: none; opacity: .4; transition: opacity 1s var(--lent), border-color 1s var(--lent);
}
.miniatures button:hover { opacity: .8; }
.miniatures button.choisie { opacity: 1; border-color: var(--cuivre); }
.miniatures img { width: 100%; height: 100%; object-fit: cover; }
#fiche > .info { margin-top: 16px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
#fiche > .carte { margin-top: clamp(70px, 12vh, 130px); }
.prix-fiche { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3vw, 34px); letter-spacing: .08em; line-height: 1.1; text-align: center; }
.prix-fiche small { font-family: var(--sans); font-size: 9px; letter-spacing: .34em; color: var(--tres-doux); margin-left: 12px; }
.chiffres { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 36px; }
.chiffres div { padding: 18px 8px 4px; text-align: center; }
.chiffres div + div { border-left: 1px solid var(--filet); }
.chiffres strong { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: .04em; }
.chiffres span { display: block; color: var(--tres-doux); font-size: 9px; letter-spacing: .3em; text-transform: uppercase; margin-top: 10px; }
.description { white-space: pre-line; color: var(--doux); font-size: clamp(16px, 1.3vw, 18px); max-width: 38em; }

/* Caractéristiques en colonnes fines séparées par des filets cuivre */
table.caract { display: grid; grid-template-columns: 1fr; width: 100%; border-collapse: collapse; border-top: 1px solid var(--filet-neutre); }
table.caract tbody { display: contents; }
table.caract tr { display: flex; flex-direction: column; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--filet-neutre); }
table.caract th, table.caract td { display: block; text-align: left; padding: 0; border: 0; font-weight: 300; }
table.caract th { color: var(--cuivre-clair); font-size: 9.5px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; }
table.caract td { font-family: var(--serif); font-size: 21px; letter-spacing: .03em; color: var(--ivoire); }
@media (min-width: 640px) {
  table.caract { grid-template-columns: repeat(2, 1fr); }
  table.caract tr { padding: 26px 28px; }
  table.caract tr:nth-child(2n) { border-left: 1px solid var(--filet); }
}
@media (min-width: 1000px) {
  table.caract { grid-template-columns: repeat(3, 1fr); }
  table.caract tr:nth-child(2n) { border-left: 0; }
  table.caract tr:not(:nth-child(3n + 1)) { border-left: 1px solid var(--filet); }
}
.equipements { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 56px; column-rule: 1px solid var(--filet); }
@media (min-width: 1000px) { .equipements { columns: 3; } }
.equipements li { break-inside: avoid; padding: 9px 0 9px 22px; position: relative; color: var(--doux); font-size: 15px; }
.equipements li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 1px; background: var(--cuivre); }
.barre-fixe {
  position: sticky; bottom: 0; z-index: 15;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin: 0 calc(-1 * var(--marge)); padding: 14px var(--marge) calc(14px + env(safe-area-inset-bottom));
  background: rgba(7, 13, 24, .9); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-top: 1px solid var(--filet-neutre);
}
.barre-fixe .btn { padding: 16px 10px; font-size: 10px; }
@media (min-width: 900px) { .barre-fixe { grid-template-columns: auto auto; justify-content: end; } .barre-fixe .btn { padding: 16px 40px; } }

/* ---------- Formulaires ---------- */
form { max-width: 640px; }
form fieldset { border: 0; padding: 0; margin: 0 0 8px; }
form legend { padding: 0; margin-bottom: 4px; }
form legend .surtitre { margin-bottom: 10px; }
form legend h3 { font-size: 30px; }
form label {
  display: block; margin: 30px 0 10px;
  font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--tres-doux); font-weight: 400;
}
form input, form select, form textarea {
  width: 100%; font: inherit; font-size: 16px; font-weight: 300; /* 16 px : pas de zoom automatique sur Android */
  color: var(--ivoire); background: transparent;
  border: 0; border-bottom: 1px solid rgba(237, 230, 218, .16); border-radius: 0;
  padding: 12px 0; outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color 1s var(--lent);
}
form textarea { border: 1px solid rgba(237, 230, 218, .12); padding: 14px; }
form input::placeholder, form textarea::placeholder { color: rgba(237, 230, 218, .28); }
form input:focus, form select:focus, form textarea:focus { border-color: var(--cuivre); }
form select {
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23d4a373' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center; background-size: 11px 7px;
}
form select option { background: var(--nuit-2); color: var(--ivoire); }
form textarea { min-height: 150px; resize: vertical; }
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.consentement {
  display: flex !important; gap: 14px; align-items: flex-start; margin-top: 36px !important;
  text-transform: none !important; letter-spacing: .01em !important; font-size: 13px !important; color: var(--tres-doux) !important; line-height: 1.6;
}
.consentement input {
  flex: none; width: 16px; height: 16px; padding: 0; margin-top: 3px; border-radius: 0;
  -webkit-appearance: auto; appearance: auto; accent-color: var(--cuivre);
}
.retour { margin-top: 24px; padding: 16px 0; border-radius: 0; border: 0; border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); background: none; color: var(--cuivre-clair); font-size: 13px; letter-spacing: .04em; }
.separateur { height: 1px; background: var(--filet-neutre); margin: 56px 0 40px; border: 0; }

/* Cases photos du dépôt-vente */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
@media (min-width: 640px) { .cases.trois { grid-template-columns: repeat(3, 1fr); } }
form label.case {
  position: relative; margin: 0; padding: 18px 12px 16px;
  border: 1px solid var(--filet-neutre); border-radius: 0; background: rgba(14, 24, 40, .5);
  text-align: center; cursor: pointer; color: var(--ivoire);
  text-transform: none; letter-spacing: 0; font-size: inherit;
  transition: border-color 1s var(--lent), background-color 1s var(--lent);
}
form label.case:hover { border-color: var(--filet); }
form label.case input[type=file] {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; padding: 0; border: 0;
}
.case svg { width: 100%; height: auto; color: rgba(237, 230, 218, .7); }
.case .nom { display: block; font-family: var(--serif); font-size: 18px; line-height: 1.25; margin-top: 10px; }
.case .etat { display: block; font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: var(--tres-doux); margin-top: 6px; }
.case img.apercu { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; animation: fondu 1.2s var(--lent); }
.case.remplie { border-color: var(--cuivre); background: rgba(184, 115, 51, .04); }
.case.remplie .etat { color: var(--cuivre-clair); }
.case.large { grid-column: 1 / -1; }
.case.large svg { max-width: 160px; margin: 0 auto; }
#formulaire-depot { animation: fondu 1.4s var(--lent); }

/* ---------- Pied de page ---------- */
.autre-site {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin: 40px 0 0; padding: 34px 0; border-top: 1px solid var(--filet-neutre); border-bottom: 1px solid var(--filet-neutre);
  color: var(--tres-doux); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase;
}
footer {
  text-align: center; color: var(--tres-doux);
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; line-height: 2.2;
  padding: 90px var(--marge) calc(70px + env(safe-area-inset-bottom));
}
footer .marque-texte { margin-bottom: 30px; }
footer .marque-texte strong { font-size: 18px; }
footer .marque-texte small { margin-top: 10px; }
footer a { color: var(--tres-doux); border-bottom: 1px solid var(--filet-neutre); transition: color .8s var(--lent), border-color .8s var(--lent); }
footer a:hover { color: var(--cuivre-clair); border-color: var(--filet); }
