/* =====================================================================
   QR Code New LA GRÂCE – Feuille de style
   Charte du logo : orange, noir, anthracite, gris · Montserrat
   ===================================================================== */
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange: #E8700E;
  --orange-f: #C65C06;
  --orange-c: #FFF2E6;
  --orange-l: #FBD9B9;
  --noir: #0B0B0C;
  --anth: #1E1E20;
  --anth-2: #2A2A2D;
  --gris: #5A5A5A;
  --gris-m: #8E8E93;
  --gris-c: #F4F4F5;
  --ligne: #E6E6E9;
  --blanc: #FFFFFF;
  --r: 20px;
  --r-p: 12px;
  --ombre: 0 1px 2px rgba(11, 11, 12, .04), 0 8px 28px -10px rgba(11, 11, 12, .14);
  --ombre-f: 0 30px 70px -25px rgba(11, 11, 12, .45);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  overflow-x: clip;
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--anth);
  background: var(--blanc);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
h2 em, h1 em { font-style: normal; color: var(--orange); }
p { margin: 0; }
svg { flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.conteneur { width: min(1200px, 100% - 40px); margin-inline: auto; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  border: 0; border-radius: 999px; text-decoration: none; font-weight: 700;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn:active { transform: scale(.97); }
.btn-petit { padding: .62em 1.25em; font-size: .9rem; }
.btn-grand { padding: 1em 1.8em; font-size: 1rem; }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(232, 112, 14, .7); }
.btn-orange:hover { background: var(--orange-f); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(232, 112, 14, .75); }
.btn-noir { background: var(--anth); color: #fff; }
.btn-noir:hover { background: var(--noir); transform: translateY(-2px); }
.btn-fantome { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.btn-fantome:hover { box-shadow: inset 0 0 0 1.5px #fff; transform: translateY(-2px); }
.btn-plein { width: 100%; padding: 1.05em; font-size: 1.05rem; border-radius: 16px; }
.btn[disabled] { opacity: .45; pointer-events: none; box-shadow: none; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.entete.defile { border-color: var(--ligne); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .4); }
.entete-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marque img { height: 44px; width: auto; }
.marque-sep { width: 1px; height: 28px; background: var(--ligne); }
.marque-qr { font-weight: 500; font-size: 1.15rem; letter-spacing: -.02em; color: var(--gris); }
.marque-qr b { font-weight: 800; color: var(--orange); margin-left: 1px; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--gris); padding: .5em .9em; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--anth); background: var(--gris-c); }

/* ---------- Accueil ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(232, 112, 14, .18), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(255, 255, 255, .05), transparent 60%),
    var(--anth);
  color: #fff;
  padding: clamp(56px, 9vw, 110px) 0 clamp(70px, 10vw, 120px);
}
.hero-arcs { position: absolute; right: -140px; top: 50%; width: 760px; height: 760px; transform: translateY(-50%); pointer-events: none; opacity: .9; }
.hero-arcs svg { width: 100%; height: 100%; animation: tourne 60s linear infinite; }
.arc { fill: none; stroke-linecap: butt; }
.a1 { stroke: var(--orange); stroke-width: 26; stroke-dasharray: 260 160 90 120 400 666; opacity: .55; }
.a2 { stroke: #5A5A5A; stroke-width: 18; stroke-dasharray: 120 60 300 110 180 644; opacity: .5; animation: tourne 40s linear infinite reverse; transform-origin: 300px 300px; }
.a3 { stroke: #fff; stroke-width: 2; stroke-dasharray: 4 14; opacity: .18; }
@keyframes tourne { to { transform: rotate(360deg); } }

.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.sur-titre {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .78); margin-bottom: 18px;
}
.sur-titre.sombre { color: var(--gris); }
.puce { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(232, 112, 14, .22); }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.hero-sous { margin-top: 22px; max-width: 34em; font-size: 1.06rem; color: rgba(255, 255, 255, .72); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-preuves { list-style: none; display: flex; gap: 34px; padding: 0; margin: 44px 0 0; }
.hero-preuves li { display: flex; flex-direction: column; }
.hero-preuves strong { font-size: 1.9rem; font-weight: 800; color: var(--orange); line-height: 1; }
.hero-preuves span { font-size: .8rem; color: rgba(255, 255, 255, .6); margin-top: 6px; font-weight: 500; }

/* Vitrine animée */
.vitrine { position: relative; display: grid; place-items: center; perspective: 1200px; }
.vitrine-carte {
  position: relative; width: min(360px, 78vw); aspect-ratio: 1;
  background: #fff; border-radius: 34px; padding: 30px;
  box-shadow: var(--ombre-f), 0 0 0 1px rgba(255, 255, 255, .08);
  transform-style: preserve-3d; transition: transform .6s var(--ease);
  animation: flotte 7s ease-in-out infinite;
}
@keyframes flotte { 50% { translate: 0 -12px; } }
.vitrine-scene { position: relative; width: 100%; height: 100%; }
.vitrine-scene .vue {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; transform: scale(.9) rotate(-3deg); filter: blur(6px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
}
.vitrine-scene .vue.on { opacity: 1; transform: none; filter: none; }
.vitrine-scene svg { width: 100%; height: 100%; }
.vitrine-scan {
  position: absolute; left: 22px; right: 22px; height: 3px; top: 30px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  box-shadow: 0 0 22px 4px rgba(232, 112, 14, .45);
  animation: balaye 3.2s var(--ease) infinite; opacity: .85;
}
@keyframes balaye { 0% { top: 30px; opacity: 0; } 15% { opacity: .9; } 85% { opacity: .9; } 100% { top: calc(100% - 32px); opacity: 0; } }
.vitrine-etiquette {
  position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%);
  background: var(--orange); color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .7em 1.4em; border-radius: 999px; box-shadow: 0 14px 30px -12px rgba(232, 112, 14, .8);
  white-space: nowrap;
}
.vitrine-points { position: absolute; bottom: -54px; display: flex; gap: 8px; }
.vitrine-points i { width: 7px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .25); transition: width .4s var(--ease), background .4s; }
.vitrine-points i.on { width: 24px; background: var(--orange); }

/* ---------- Titres de section ---------- */
section { padding: clamp(64px, 9vw, 110px) 0; }
.titre-section { margin-bottom: 40px; }
.titre-section.centre { text-align: center; }
.titre-section.centre .sur-titre { justify-content: center; }
.titre-section.ligne { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.titre-note { max-width: 30em; color: var(--gris); font-size: .95rem; }

/* ---------- Générateur ---------- */
.generateur { background: var(--gris-c); position: relative; }
.etape { margin-bottom: 18px; }
.etape-tete { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.etape-tete h3 { font-size: 1.25rem; font-weight: 700; }
.etape-num {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--anth); color: #fff; font-weight: 800; font-size: .95rem; flex-shrink: 0;
}
.etape-2 { margin-top: 34px; }

.types { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; }
.type {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
  padding: 16px 6px 13px; border: 1.5px solid transparent; border-radius: 16px; background: #fff;
  font-weight: 600; font-size: .8rem; color: var(--gris); text-align: center; line-height: 1.2;
  box-shadow: var(--ombre); transition: transform .25s var(--ease), border-color .2s, color .2s, background .2s;
}
.type svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.type:hover { transform: translateY(-3px); color: var(--anth); }
.type:hover svg { transform: scale(1.1); }
.type.actif { border-color: var(--orange); color: var(--orange); background: var(--orange-c); }

.studio { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 28px; align-items: start; margin-top: 26px; }
.studio > * { min-width: 0; }
.carte { background: #fff; border-radius: var(--r); box-shadow: var(--ombre); padding: 28px; }
.carte-tete { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.carte-icone { width: 50px; height: 50px; border-radius: 14px; background: var(--orange-c); color: var(--orange); display: grid; place-items: center; }
.carte-icone svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.carte-tete h4 { font-size: 1.15rem; font-weight: 700; }
.carte-tete p { color: var(--gris); font-size: .9rem; margin-top: 2px; }

/* Champs */
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.formulaire .large { grid-column: 1 / -1; }
.champ { display: flex; flex-direction: column; gap: 7px; }
.champ > span { font-size: .82rem; font-weight: 700; color: var(--anth); }
.champ > span small { font-weight: 500; color: var(--gris-m); }
.champ input, .champ select, .champ textarea {
  width: 100%; padding: .85em 1em; border: 1.5px solid var(--ligne); border-radius: var(--r-p);
  background: #fff; font-size: .98rem; transition: border-color .2s, box-shadow .2s; outline: none;
}
.champ textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(232, 112, 14, .14); }
.champ .aide { font-size: .78rem; color: var(--gris-m); }
.champ-mdp { position: relative; }
.champ-mdp input { padding-right: 3.2em; }
.oeil { position: absolute; right: 6px; bottom: 6px; width: 38px; height: 38px; border: 0; background: none; border-radius: 10px; color: var(--gris); display: grid; place-items: center; }
.oeil svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.oeil:hover { background: var(--gris-c); }

/* Onglets de personnalisation */
.perso { padding: 0; overflow: hidden; }
.onglets { display: flex; gap: 4px; padding: 10px; background: #fafafa; border-bottom: 1px solid var(--ligne); overflow-x: auto; scrollbar-width: none; }
.onglets::-webkit-scrollbar { display: none; }
.onglet { flex: 1; padding: .75em 1em; border: 0; border-radius: 12px; background: none; font-weight: 700; font-size: .88rem; color: var(--gris); white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.onglet:hover { color: var(--anth); }
.onglet.actif { background: #fff; color: var(--anth); box-shadow: 0 2px 10px -4px rgba(0, 0, 0, .2); }
.panneau { display: none; padding: 26px 28px 30px; }
.panneau.actif { display: block; animation: monte .4s var(--ease); }
@keyframes monte { from { opacity: 0; transform: translateY(8px); } }
.panneau-aide { color: var(--gris); font-size: .88rem; margin-bottom: 14px; }
.panneau-aide + .choix-grille + .panneau-aide { margin-top: 24px; }
.sous-titre { font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--anth); margin: 26px 0 12px; }

.choix-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.choix {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 12px 8px 10px; border: 1.5px solid var(--ligne); border-radius: 14px; background: #fff;
  font-size: .74rem; font-weight: 600; color: var(--gris); transition: border-color .2s, transform .25s var(--ease), box-shadow .2s;
}
.choix:hover { border-color: #cfcfd4; transform: translateY(-2px); }
.choix.actif { border-color: var(--orange); color: var(--anth); box-shadow: 0 0 0 3px rgba(232, 112, 14, .16); }
.choix.actif::after {
  content: ""; position: absolute; top: 6px; right: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.choix-vis { width: 58px; height: 58px; display: grid; place-items: center; }
.choix-vis svg, .choix-vis img { width: 100%; height: 100%; object-fit: contain; }
.logos .choix-vis { width: 46px; height: 46px; }

.champs-cadre { margin-top: 22px; display: grid; gap: 14px; }
.champs-cadre[hidden] { display: none; }
.suggestions { display: flex; flex-wrap: wrap; gap: 8px; }
.suggestions button { border: 1px solid var(--ligne); background: #fff; border-radius: 999px; padding: .4em .9em; font-size: .74rem; font-weight: 700; letter-spacing: .04em; color: var(--gris); transition: all .2s; }
.suggestions button:hover { border-color: var(--orange); color: var(--orange); }

.ligne-couleurs { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 12px; }
.couleur {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px;
  border: 1.5px solid var(--ligne); border-radius: 999px; background: #fff; font-size: .84rem; font-weight: 600; cursor: pointer;
}
.couleur[hidden] { display: none; }
.couleur input { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; overflow: hidden; }
.couleur input::-webkit-color-swatch-wrapper { padding: 0; }
.couleur input::-webkit-color-swatch { border: 1px solid rgba(0, 0, 0, .12); border-radius: 50%; }
.couleur input::-moz-color-swatch { border: 1px solid rgba(0, 0, 0, .12); border-radius: 50%; }
.curseur { display: flex; flex-direction: column; gap: 8px; min-width: 200px; flex: 1; font-size: .84rem; font-weight: 600; margin-top: 16px; }
.curseur[hidden] { display: none; }
.curseur span { display: flex; justify-content: space-between; }
.curseur output { color: var(--orange); font-weight: 800; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: var(--ligne); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--orange); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--orange); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); cursor: pointer; }

.interrupteur { display: flex; align-items: center; gap: 12px; font-size: .88rem; font-weight: 600; cursor: pointer; margin-top: 16px; user-select: none; }
.interrupteur input { position: absolute; opacity: 0; pointer-events: none; }
.bascule { width: 44px; height: 26px; border-radius: 13px; background: #d7d7dc; position: relative; transition: background .25s; flex-shrink: 0; }
.bascule::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.interrupteur input:checked + .bascule { background: var(--orange); }
.interrupteur input:checked + .bascule::after { transform: translateX(18px); }
.interrupteur input:focus-visible + .bascule { outline: 3px solid var(--orange); outline-offset: 2px; }
.ligne-couleurs .interrupteur { margin-top: 0; }

.segments { display: inline-flex; padding: 4px; background: var(--gris-c); border-radius: 14px; gap: 2px; flex-wrap: wrap; }
.segments button { border: 0; background: none; padding: .6em 1.1em; border-radius: 10px; font-weight: 700; font-size: .84rem; color: var(--gris); transition: all .2s; }
.segments button.actif { background: #fff; color: var(--anth); box-shadow: 0 2px 8px -3px rgba(0, 0, 0, .25); }

.palettes { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.palette { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; border: 1.5px solid var(--ligne); border-radius: 14px; background: #fff; font-size: .74rem; font-weight: 700; color: var(--gris); text-align: left; line-height: 1.2; transition: all .2s; }
.palette:hover { border-color: #cfcfd4; color: var(--anth); }
.palette.actif { border-color: var(--orange); color: var(--anth); box-shadow: 0 0 0 3px rgba(232, 112, 14, .16); }
.palette i { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }

.televerser {
  display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 16px 18px;
  border: 1.5px dashed #cfcfd4; border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s;
}
.televerser:hover, .televerser.survol { border-color: var(--orange); background: var(--orange-c); }
.televerser input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.televerser svg { width: 30px; height: 30px; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.televerser span { display: flex; flex-direction: column; font-size: .9rem; }
.televerser small { color: var(--gris-m); font-size: .78rem; }
.reglages-logo[hidden] { display: none; }
.note { margin-top: 12px; font-size: .82rem; color: var(--orange-f); background: var(--orange-c); padding: .7em 1em; border-radius: 10px; }
.note[hidden] { display: none; }

/* Aperçu */
.studio-droite { position: sticky; top: 92px; }
.apercu-carte { background: #fff; border-radius: 24px; box-shadow: var(--ombre); padding: 24px; display: grid; gap: 16px; }
.apercu-tete { display: flex; align-items: center; gap: 12px; }
.apercu-tete h3 { font-size: 1.15rem; font-weight: 700; }
.badge-exemple { margin-left: auto; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); background: var(--gris-c); padding: .45em .9em; border-radius: 999px; }
.badge-exemple[hidden] { display: none; }
.apercu-zone {
  position: relative; border-radius: 18px; padding: 24px; display: grid; place-items: center; min-height: 300px;
  background:
    linear-gradient(45deg, #f1f1f3 25%, transparent 25%) 0 0 / 18px 18px,
    linear-gradient(-45deg, #f1f1f3 25%, transparent 25%) 0 9px / 18px 18px,
    linear-gradient(45deg, transparent 75%, #f1f1f3 75%) 9px -9px / 18px 18px,
    linear-gradient(-45deg, transparent 75%, #f1f1f3 75%) -9px 0 / 18px 18px,
    #fafafa;
}
.apercu-qr { width: 100%; max-width: 300px; transition: opacity .3s, filter .3s; }
.apercu-qr svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .12)); }
.apercu-qr.exemple { opacity: .35; filter: grayscale(.6); }
.apercu-qr.pop { animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(.97); } }
.etat { font-size: .84rem; font-weight: 600; display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; min-height: 1.4em; }
.etat::before { content: ""; width: 9px; height: 9px; border-radius: 50%; margin-top: .42em; flex-shrink: 0; background: currentColor; }
.etat.ok { color: #1F8A4C; }
.etat.alerte { color: #B5530A; }
.etat.info { color: var(--gris); }
.etat.erreur { color: #C0392B; }
.champ-nom input { padding: .7em .9em; }
.formats { width: 100%; }
.formats button { flex: 1; }
.actions-sec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.btn-sec { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border: 1.5px solid var(--ligne); background: #fff; border-radius: 14px; font-weight: 700; font-size: .78rem; color: var(--anth); transition: all .2s; }
.btn-sec svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-sec:hover { border-color: var(--orange); color: var(--orange); }
.btn-sec[disabled] { opacity: .45; pointer-events: none; }
.apercu-pied { font-size: .76rem; color: var(--gris-m); text-align: center; }

/* ---------- Mes QR codes ---------- */
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.qr-fiche { background: #fff; border: 1px solid var(--ligne); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 12px; transition: box-shadow .3s, transform .3s var(--ease); animation: monte .5s var(--ease) both; }
.qr-fiche:hover { box-shadow: var(--ombre); transform: translateY(-3px); }
.qr-fiche-img { aspect-ratio: 1; border-radius: 14px; background: var(--gris-c); display: grid; place-items: center; padding: 14px; }
.qr-fiche-img img { max-height: 100%; width: auto; }
.qr-fiche h3 { font-size: .98rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qr-fiche .meta { font-size: .78rem; color: var(--gris-m); margin-top: 2px; }
.qr-fiche-actions { display: flex; gap: 6px; }
.qr-fiche-actions button { flex: 1; border: 1.5px solid var(--ligne); background: #fff; border-radius: 10px; padding: .55em .4em; font-size: .76rem; font-weight: 700; color: var(--anth); transition: all .2s; }
.qr-fiche-actions button:hover { border-color: var(--orange); color: var(--orange); }
.qr-fiche-actions .suppr { flex: 0 0 40px; color: var(--gris-m); }
.qr-fiche-actions .suppr:hover { border-color: #C0392B; color: #C0392B; }
.vide { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 50px 20px; border: 1.5px dashed var(--ligne); border-radius: var(--r); color: var(--gris); }
.vide svg { width: 46px; height: 46px; fill: none; stroke: var(--orange); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vide strong { color: var(--anth); }
.vide[hidden] { display: none; }

/* ---------- Pourquoi ---------- */
.pourquoi { background: var(--noir); color: #fff; position: relative; overflow: hidden; }
.pourquoi::before { content: ""; position: absolute; width: 680px; height: 680px; left: -260px; bottom: -380px; border-radius: 50%; border: 40px solid rgba(232, 112, 14, .14); }
.pourquoi .conteneur { position: relative; }
.atouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .08); border-radius: var(--r); overflow: hidden; }
.atout { background: var(--noir); padding: 34px 30px 38px; transition: background .3s; }
.atout:hover { background: #141416; }
.atout-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(232, 112, 14, .12); color: var(--orange); margin-bottom: 22px; }
.atout-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.atout h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.atout p { color: rgba(255, 255, 255, .62); font-size: .93rem; }

/* ---------- Comment ---------- */
.etapes-3 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: e; }
.etapes-3 li { position: relative; padding: 34px 30px; border-radius: var(--r); background: var(--gris-c); overflow: hidden; }
.grand-num { display: block; font-size: 4.2rem; font-weight: 800; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px var(--orange); margin-bottom: 18px; }
.etapes-3 h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.etapes-3 p { color: var(--gris); font-size: .95rem; }

/* ---------- Idées ---------- */
.idees { background: var(--gris-c); }
.idees-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.idee { text-align: left; border: 0; background: #fff; border-radius: var(--r); padding: 28px; box-shadow: var(--ombre); display: flex; flex-direction: column; gap: 10px; transition: transform .35s var(--ease), box-shadow .35s; position: relative; overflow: hidden; }
.idee::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; border: 14px solid var(--orange-c); transition: transform .5s var(--ease); }
.idee:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -24px rgba(0, 0, 0, .3); }
.idee:hover::after { transform: scale(1.3); }
.idee-tag { align-self: flex-start; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); background: var(--orange-c); padding: .4em .8em; border-radius: 999px; }
.idee h3 { font-size: 1.15rem; font-weight: 700; margin-top: 6px; }
.idee p { color: var(--gris); font-size: .92rem; flex: 1; }
.idee-lien { font-weight: 800; font-size: .88rem; color: var(--anth); margin-top: 8px; }
.idee:hover .idee-lien { color: var(--orange); }

/* ---------- FAQ ---------- */
.faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-liste { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--ligne); border-radius: 16px; padding: 0 22px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--orange-l); box-shadow: var(--ombre); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 34px 20px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--gris-c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8700E' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--gris); font-size: .95rem; }

/* ---------- Appel ---------- */
.appel { padding: 0 0 clamp(64px, 9vw, 110px); }
.appel-in {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  background: radial-gradient(600px 300px at 100% 0%, rgba(232, 112, 14, .35), transparent 70%), var(--anth);
  color: #fff; border-radius: 30px; padding: clamp(36px, 5vw, 60px);
}
.appel h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); max-width: 18em; }
.appel p:not(.sur-titre) { color: rgba(255, 255, 255, .7); margin-top: 14px; max-width: 36em; }
.appel .btn svg { fill: none; }

/* ---------- Pied ---------- */
.pied { border-top: 1px solid var(--ligne); padding: 36px 0 44px; }
.pied-in { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--gris); font-size: .9rem; }
.pied img { height: 46px; width: auto; margin-bottom: 6px; }
.pied a { color: var(--orange); font-weight: 700; text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied-petit { font-size: .78rem; color: var(--gris-m); }

/* ---------- Barre mobile ---------- */
.barre-mobile {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  display: none; align-items: center; gap: 12px; padding: 10px 10px 10px 10px;
  background: rgba(30, 30, 32, .96); color: #fff; border-radius: 20px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55);
  transform: translateY(140%); transition: transform .45s var(--ease);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.barre-mobile.visible { transform: none; }
.barre-mini { width: 46px; height: 46px; background: #fff; border-radius: 10px; padding: 4px; flex-shrink: 0; }
.barre-mini svg { width: 100%; height: 100%; }
.barre-texte { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.barre-texte strong { font-size: .9rem; }
.barre-texte span { font-size: .76rem; color: rgba(255, 255, 255, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; top: 88px; z-index: 100; transform: translate(-50%, -20px); opacity: 0; pointer-events: none;
  background: var(--anth); color: #fff; padding: .85em 1.4em; border-radius: 14px; font-weight: 600; font-size: .9rem;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .5); transition: opacity .3s, transform .4s var(--ease); max-width: calc(100% - 32px); text-align: center;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Apparitions au défilement ---------- */
.apparait { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.apparait.vu { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .types { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .studio { grid-template-columns: minmax(0, 1fr) 340px; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .entete-in { justify-content: space-between; }
  .hero-in { grid-template-columns: 1fr; gap: 70px; }
  .hero-arcs { right: -320px; top: 70%; opacity: .5; }
  .vitrine { padding-bottom: 40px; }
  .studio { grid-template-columns: 1fr; }
  .studio-droite { position: static; order: 2; }
  .atouts, .etapes-3, .idees-grille { grid-template-columns: 1fr 1fr; }
  .faq-in { grid-template-columns: 1fr; gap: 10px; }
  .appel-in { flex-direction: column; align-items: flex-start; }
  .barre-mobile { display: flex; }
}
@media (max-width: 600px) {
  .conteneur { width: calc(100% - 28px); }
  .entete-in { height: 64px; }
  .marque img { height: 38px; }
  .marque-qr { font-size: 1rem; }
  .entete .btn-petit { padding: .55em 1em; font-size: .82rem; }
  .hero-preuves { gap: 24px; }
  .hero-actions .btn { flex: 1; }
  .types { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .type { padding: 13px 4px 11px; font-size: .72rem; }
  .carte { padding: 20px; }
  .panneau { padding: 20px; }
  .formulaire { grid-template-columns: 1fr; }
  .choix-grille { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
  .atouts, .etapes-3, .idees-grille { grid-template-columns: 1fr; }
  .apercu-zone { min-height: 0; padding: 18px; }
  .toast { top: 76px; }
  .pied { padding-bottom: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .apparait { opacity: 1; transform: none; }
}

@media print {
  body * { visibility: hidden; }
}

/* ---------- Galerie de photos (studio) ---------- */
.g-depot {
  display: flex; align-items: center; gap: 16px; padding: 22px; border: 2px dashed #d5d5da; border-radius: 16px;
  cursor: pointer; background: #fcfcfc; transition: border-color .2s, background .2s, transform .25s var(--ease);
}
.g-depot:hover, .g-depot.survol { border-color: var(--orange); background: var(--orange-c); }
.g-depot.survol { transform: scale(1.01); }
.g-depot.inactif { opacity: .55; }
.g-depot input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.g-depot svg { width: 34px; height: 34px; fill: none; stroke: var(--orange); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.g-depot span { display: flex; flex-direction: column; }
.g-depot small { color: var(--gris-m); font-size: .8rem; }
.g-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.g-liste:empty { display: none; }
.g-item { display: grid; grid-template-columns: 26px 56px 1fr auto; align-items: center; gap: 12px; padding: 8px 10px 8px 12px; border: 1.5px solid var(--ligne); border-radius: 14px; background: #fff; animation: monte .35s var(--ease); }
.g-item.attente { border-style: dashed; }
.g-num { font-weight: 800; font-size: .78rem; color: var(--orange); }
.g-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: var(--gris-c); }
.g-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.g-info input { width: 100%; border: 0; border-bottom: 1.5px solid var(--ligne); padding: .35em 0; font-size: .9rem; outline: none; background: none; }
.g-info input:focus { border-color: var(--orange); }
.g-info small { font-size: .72rem; font-weight: 600; color: #1F8A4C; }
.g-item.attente .g-info small { color: var(--gris-m); }
.g-ordre { display: flex; gap: 4px; }
.g-ordre button { width: 34px; height: 34px; border: 1.5px solid var(--ligne); background: #fff; border-radius: 10px; font-weight: 700; color: var(--gris); transition: all .2s; }
.g-ordre button:hover { border-color: var(--orange); color: var(--orange); }
.g-ordre button[data-a="suppr"]:hover { border-color: #C0392B; color: #C0392B; }
.g-bas { display: grid; gap: 12px; padding-top: 4px; }
.g-progres { height: 6px; border-radius: 3px; background: var(--gris-c); overflow: hidden; }
.g-progres[hidden] { display: none; }
.g-progres i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), #FFA552); border-radius: 3px; transition: width .4s var(--ease); }
.g-statut { font-size: .86rem; color: var(--gris); line-height: 1.5; }
.g-boutons { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.g-boutons .btn { padding: .9em 1.6em; font-size: .95rem; }
.g-voir { font-weight: 700; color: var(--orange); text-decoration: none; font-size: .92rem; }
.g-voir:hover { text-decoration: underline; }
.g-voir[hidden], .g-suppr[hidden] { display: none; }
.g-suppr { justify-self: start; border: 0; background: none; padding: 0; font-size: .78rem; font-weight: 600; color: var(--gris-m); text-decoration: underline; }
.g-suppr:hover { color: #C0392B; }
@media (max-width: 600px) {
  .g-item { grid-template-columns: 48px 1fr; grid-template-areas: "img info" "ordre ordre"; }
  .g-num { display: none; }
  .g-item img { grid-area: img; width: 48px; height: 48px; }
  .g-info { grid-area: info; }
  .g-ordre { grid-area: ordre; justify-content: flex-end; }
  .formulaire .segments button { padding: .6em .8em; }
}
