/* BOSS&BOSSE · maquette A · concept « La ligne de reflet » */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  /* Couleurs relevées sur le logo BOSS&BOSSE (capture Instagram, à recaler sur le fichier original) */
  --noir: #12110E;        /* fond du logo */
  --noir-2: #1D1B17;      /* panneaux sombres secondaires */
  --or: #C3B083;          /* or champagne du logo */
  --or-clair: #DACA9C;    /* reflet de l'or, survol */
  --or-fonce: #6E5C30;    /* or lisible sur fond clair (petits accents) */
  --ivoire: #F4F1EA;      /* fond clair, chaud comme l'or */
  --blanc: #FBFAF6;       /* surfaces */
  --texte: #12110E;
  --texte-2: #57534A;     /* texte secondaire */
  --ligne: #D8D2C4;       /* bordures sur clair */
  --sur-noir-2: #B3AC9C;  /* texte secondaire sur noir */
  --ambre: #B86E00;       /* interne : « à confirmer » */

  --titre: "Cormorant Garamond", Georgia, serif;
  --police: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 4px;
  --gouttiere: 20px;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivoire);
  color: var(--texte);
  font-family: var(--police);
  font-size: 1.0625rem;
  line-height: 1.55;
  padding-bottom: 76px;
}
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; }
h2 { font-family: var(--titre); font-weight: 600; letter-spacing: -0.005em; line-height: 1.05; }
h2 { font-size: clamp(2.1rem, 8vw, 3.2rem); max-width: 18ch; }
h3 { font-size: 1.125rem; font-weight: 650; }
p { margin: 0 0 1em; }
a { color: var(--texte); text-underline-offset: 4px; }
img { max-width: 100%; height: auto; display: block; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--blanc); padding: 10px 14px; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; box-shadow: 0 0 0 6px var(--noir); }

/* Interne maquette */
.maquette-bandeau { margin: 0; padding: 5px var(--gouttiere); background: #000; color: var(--sur-noir-2); font-size: .75rem; text-align: center; }
.ac-legende { color: #F0B85C; }
.ac { text-decoration: underline dotted var(--ambre) 2px; text-underline-offset: 4px; }
.ac-bloc { outline: 2px dotted var(--ambre); outline-offset: 3px; }

.conteneur { max-width: var(--max); margin: 0 auto; padding: 0 var(--gouttiere); }
section { padding: 64px 0; }
.surtitre { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--or-fonce); margin-bottom: .75em; }
.intro { color: var(--texte-2); max-width: 52ch; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px;
  background: var(--or); color: var(--noir); border: 0; border-radius: var(--r);
  font: 600 1.0625rem/1 var(--police); text-decoration: none; cursor: pointer;
  transition: background .15s;
}
.btn:hover { background: var(--or-clair); }
.btn-petit { min-height: 44px; padding: 0 16px; font-size: .95rem; white-space: nowrap; }
.btn-large { width: 100%; }
.btn-secondaire { background: transparent; color: var(--texte); box-shadow: inset 0 0 0 1.5px var(--texte); }
.btn-secondaire:hover { background: var(--noir); color: var(--ivoire); }
.lien-fleche { display: inline-flex; align-items: center; min-height: 48px; color: inherit; font-weight: 600; text-underline-offset: 5px; }
.lien-fleche::after { content: "→"; margin-left: .5em; }

/* En-tête */
.entete {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px max(var(--gouttiere), calc((100% - var(--max)) / 2 + var(--gouttiere)));
  background: var(--noir);
  border-bottom: 1px solid #2B2822;
}
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ivoire); }
.marque-logo { width: 56px; height: 56px; }
.logo-pied { width: 96px; height: 96px; margin-bottom: 8px; }
.marque-metier { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sur-noir-2); line-height: 1.4; }

/* Hero */
.hero-fond { background: var(--noir); color: var(--ivoire); }
.hero { padding: 36px var(--gouttiere) 56px; max-width: var(--max); margin: 0 auto; display: grid; gap: 32px; }
.hero h1 { margin: 0 0 18px; }
.hero-metier { display: block; font-family: var(--police); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--or); margin-bottom: 16px; }
.hero-accroche { display: block; font-family: var(--titre); font-size: clamp(2.7rem, 12vw, 5rem); font-weight: 600; letter-spacing: -0.01em; line-height: .98; max-width: 13ch; }
.hero-sous { font-size: 1.125rem; max-width: 46ch; color: #D9D4C8; }
.hero .lien-fleche { color: var(--ivoire); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; }

/* Comparateur de reflets (signature) */
.reflet { margin: 0; }
.reflet-cadre {
  --pos: 56%;
  position: relative; aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden;
  background: radial-gradient(120% 90% at 30% 20%, #2A2720 0%, #0B0A08 65%);
  box-shadow: inset 0 0 0 1px #2B2822;
}
.reflet-svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--or); stroke-linecap: round; }
.reflet-svg path { opacity: .9; }
.reflet-avant { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.reflet-apres { clip-path: inset(0 0 0 var(--pos)); }
.reflet-poignee {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: var(--ivoire); pointer-events: none;
}
.reflet-poignee::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ivoire); color: var(--noir); font-weight: 700; letter-spacing: .1em; box-shadow: 0 0 0 2px var(--noir);
}
.reflet-etiquette { position: absolute; top: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(18,17,14,.8); color: var(--ivoire); font-size: .8rem; font-weight: 600; pointer-events: none; }
.reflet-etiquette-avant { left: 12px; }
.reflet-etiquette-apres { right: 12px; }
.reflet-curseur { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.reflet-cadre:focus-within { outline: 3px solid var(--or); outline-offset: 3px; }
.reflet figcaption { font-size: .9rem; color: var(--sur-noir-2); margin-top: 12px; max-width: 56ch; }

/* Réalisations : panneau sombre, comme sous la lampe */
.realisations { background: var(--noir-2); color: var(--ivoire); }
.realisations .surtitre { color: var(--or); }
.realisations .intro { color: var(--sur-noir-2); }
.galerie { display: grid; gap: 16px; margin-top: 28px; }
.cas { margin: 0; }
.cas figcaption { font-size: .9rem; color: var(--sur-noir-2); margin-top: 8px; }
.cas figcaption strong { color: var(--ivoire); font-weight: 600; }
.photo-attente {
  display: grid; place-items: center; text-align: center; aspect-ratio: 4 / 3; border-radius: var(--r);
  background: repeating-linear-gradient(180deg, transparent 0 22px, rgba(18,17,14,.06) 22px 24px), #E5E0D4;
  color: var(--texte-2); font-size: .95rem; font-weight: 600; padding: 16px;
}
.photo-attente small { font-weight: 400; }
.photo-attente-sombre { background: repeating-linear-gradient(180deg, transparent 0 22px, rgba(195,176,131,.10) 22px 24px), #12110E; color: var(--sur-noir-2); border: 1px dashed #3A362D; }

/* Réparable ? */
.criteres { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 0; border-top: 1px solid var(--ligne); }
.criteres li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--ligne); }
.criteres p { color: var(--texte-2); margin: 0; }
.critere-num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--or-fonce); color: var(--or-fonce); font-family: var(--titre); font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.encart { background: var(--blanc); border-left: 3px solid var(--or); padding: 16px 18px; border-radius: 0 var(--r) var(--r) 0; max-width: 60ch; }
.encart a { font-weight: 600; white-space: nowrap; }

/* Déroulé : une règle graduée */
.deroule { background: var(--blanc); }
.etapes { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; }
.etapes li { position: relative; padding: 0 0 26px 52px; }
.etapes li::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 0; width: 2px; background: repeating-linear-gradient(180deg, var(--ligne) 0 6px, transparent 6px 10px); }
.etapes li:last-child::before { display: none; }
.etape-graduation { position: absolute; left: 0; top: 0; width: 32px; height: 32px; display: grid; place-items: center; background: var(--noir); color: var(--or); border-radius: 50%; font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.etapes p { color: var(--texte-2); margin: 0; }
.etapes h3 { margin-bottom: .3em; padding-top: 4px; }

/* Gabriel */
.gabriel-grille { display: grid; gap: 28px; }
.photo-portrait { aspect-ratio: 4 / 5; max-width: 340px; width: 100%; }
.citation { margin: 0 0 1em; font-family: var(--titre); font-size: 1.7rem; line-height: 1.2; font-weight: 600; font-style: italic; max-width: 28ch; }

/* Zone et prix + FAQ */
.pratique { border-top: 1px solid var(--ligne); }
.pratique-grille { display: grid; gap: 40px; }
.pratique h3 { margin-top: 1.4em; }
.liste-tirets { padding-left: 1.2em; margin: 0 0 1em; }
.liste-tirets li { margin-bottom: .35em; }
.note { color: var(--texte-2); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--or-fonce); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--texte-2); }

/* Estimation */
.estimation { background: var(--noir); color: var(--ivoire); }
.estimation .surtitre { color: var(--or); }
.estimation .btn-secondaire { color: var(--ivoire); box-shadow: inset 0 0 0 1.5px var(--or); }
.estimation-grille { display: grid; gap: 32px; }
.estimation-photos { margin-top: 1.5em; color: var(--sur-noir-2); }
.formulaire { background: var(--blanc); color: var(--texte); border-radius: 8px; border-top: 3px solid var(--or); padding: 22px 18px; }
.champ { margin: 0 0 16px; }
.champ label { display: block; font-weight: 600; margin-bottom: 6px; }
.aide { font-weight: 400; color: var(--texte-2); font-size: .9rem; }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; color: var(--texte);
  background: #fff; border: 1.5px solid #857F70; border-radius: var(--r);
}
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--noir); outline: 3px solid rgba(195,176,131,.6); outline-offset: 0; box-shadow: none; }
.mention-donnees { font-size: .85rem; color: var(--texte-2); margin: 12px 0 0; }

/* Pied */
.pied { padding: 40px 0 28px; font-size: .95rem; color: var(--sur-noir-2); background: var(--noir); border-top: 1px solid #2B2822; }
.pied-grille { display: grid; gap: 8px; }
.pied a { color: var(--ivoire); }

/* Barre mobile */
.barre-mobile {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr; gap: 10px;
  padding: 10px var(--gouttiere) calc(10px + env(safe-area-inset-bottom));
  background: rgba(18, 17, 14, .97); border-top: 1px solid #2B2822;
}
.barre-mobile .btn { min-height: 50px; padding: 0 10px; }
.barre-mobile .btn-secondaire { color: var(--ivoire); box-shadow: inset 0 0 0 1.5px var(--or); }

/* Professionnels */

/* Tablette */
@media (min-width: 700px) {
  :root { --gouttiere: 32px; }
  .galerie { grid-template-columns: 1fr 1fr; }
  .cas-principal { grid-column: 1 / -1; }
  .cas-principal .photo-attente { aspect-ratio: 16 / 9; }
  .etapes { grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
  .gabriel-grille { grid-template-columns: minmax(240px, 380px) 1fr; align-items: center; }
}

/* Ordinateur */
@media (min-width: 1000px) {
  body { padding-bottom: 0; }
  .barre-mobile { display: none; }
  section { padding: 96px 0; }
  .hero { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 56px; padding-top: 64px; padding-bottom: 88px; }
  .galerie { grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; }
  .cas-principal { grid-column: 1; grid-row: 1 / span 2; }
  .cas-principal .photo-attente { aspect-ratio: auto; height: calc(100% - 30px); min-height: 420px; }
  .reparable .conteneur { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0 64px; }
  .reparable .surtitre, .reparable h2, .reparable .intro { grid-column: 1; }
  .criteres { grid-column: 2; grid-row: 1 / span 4; margin: 0; }
  .encart { grid-column: 1; align-self: start; }
  .etapes { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .etapes li { padding: 52px 0 0; }
  .etapes li::before { left: 40px; right: -24px; top: 15px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(90deg, var(--ligne) 0 6px, transparent 6px 10px); }
  .pratique-grille { grid-template-columns: 1fr 1fr; gap: 64px; }
  .estimation-grille { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
  .formulaire { padding: 32px; }
  .pied-grille { grid-template-columns: 1.2fr 1fr 1.2fr auto; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Aiguillage particulier / professionnel (deux portes de même poids) */
.aiguillage { display: grid; gap: 12px; margin: 28px 0 8px; }
.porte {
  display: grid; gap: 4px; padding: 18px 20px; min-height: 48px;
  border: 1.5px solid var(--or); border-radius: var(--r);
  color: var(--ivoire); text-decoration: none; transition: background .15s, color .15s;
}
.porte:hover { background: var(--or); color: var(--noir); }
.porte:hover .porte-qui, .porte:hover .porte-action { color: var(--noir); }
.porte-qui { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--or); }
.porte-quoi { font-family: var(--titre); font-size: 1.6rem; font-weight: 600; line-height: 1.1; }
.porte-action { font-weight: 600; color: #D9D4C8; }
.porte-action::after { content: " →"; }
.lien-discret { font-size: .95rem; font-weight: 500; }

/* Bloc pros */
.pros { background: var(--noir-2); color: var(--ivoire); border-top: 0; }
.pros .surtitre { color: var(--or); }
.pros h2 { max-width: 24ch; }
.pros p, .pros li { color: var(--sur-noir-2); }
.pros h3 { color: var(--ivoire); }
.pros-besoins { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid #3A362D; }
.pros-besoins li { padding: 18px 0; border-bottom: 1px solid #3A362D; }
.pros-besoins p { margin: 0; }
.pros-conditions { margin-top: 28px; padding: 22px 20px; border: 1px solid #3A362D; border-radius: 8px; }
.pros-conditions .btn { margin-top: 8px; width: 100%; }

/* Choix du profil dans le formulaire */
.profil { border: 0; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.profil legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.profil label { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border: 1.5px solid #857F70; border-radius: var(--r); font-weight: 600; cursor: pointer; }
.profil label:has(input:checked) { background: var(--noir); color: var(--ivoire); border-color: var(--noir); }
.profil input { accent-color: var(--or); }

@media (min-width: 700px) {
  .aiguillage { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .pros-grille { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
  .pros-conditions { margin-top: 28px; }
}

/* Maquette A : éléments à fournir, discrets */
.a-fournir { border-bottom: 1px dashed currentColor; padding-bottom: 1px; opacity: .8; }
.a-fournir::after { content: "à fournir"; margin-left: .5em; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--or-fonce); vertical-align: middle; }
.estimation .a-fournir::after, .pied .a-fournir::after { color: var(--or); }
.citation { color: var(--texte-2); }
.contact-direct { margin-top: 1.5em; font-weight: 600; }
.h3-haut { margin-top: 0; }
.pros-intro { margin-top: 20px; }
@media (min-width: 1000px) { .pratique .h3-haut { margin-top: 4.1rem; } }

/* Formulaire : anti-robot, erreurs */
.cache-robot { position: absolute; left: -9999px; }
.erreur { display: block; margin-top: 6px; color: #9C2B14; font-size: .9rem; font-weight: 600; }
.champ input[aria-invalid="true"] { border-color: #9C2B14; border-width: 2px; }
.encart a, .pied a { display: inline-block; padding: 12px 0; margin: -12px 0; }

.erreur[hidden] { display: none; }
/* Maquette A : un seul emplacement réalisations, assumé */
.galerie { grid-template-columns: 1fr !important; grid-template-rows: none !important; }
.cas-principal .photo-attente { aspect-ratio: 4 / 3 !important; height: auto !important; min-height: 0 !important; }
@media (min-width: 700px) { .cas-principal .photo-attente { aspect-ratio: 21 / 9 !important; } }
.photo-attente-sombre { background: repeating-linear-gradient(180deg, transparent 0 26px, rgba(195,176,131,.16) 26px 28px), #12110E; }

/* Comparateur : glisser horizontalement sans bloquer le défilement vertical */
.reflet-cadre, .reflet-curseur { touch-action: pan-y; }
