/* =========================================================
   CARICKAT — STYLE.CSS REFONDU
   Carnet vivant premium · galerie privée · luxe discret
   ========================================================= */

:root {
  --paper: #fffdf6;
  --paper-2: #f8f4ea;
  --paper-3: #ffffff;

  --ink: #15110d;
  --soft-ink: rgba(21, 17, 13, 0.72);
  --muted-ink: rgba(21, 17, 13, 0.52);

  --blue: #102f78;
  --blue-2: #173c8f;
  --blue-soft: rgba(16, 47, 120, 0.12);

  --red: #a92a22;
  --red-2: #d74432;
  --red-soft: rgba(169, 42, 34, 0.12);

  --green: #2f7a45;
  --green-soft: rgba(47, 122, 69, 0.11);

  --gold: #b89b5e;
  --gold-soft: rgba(184, 155, 94, 0.18);

  --line: rgba(21, 17, 13, 0.16);
  --line-strong: rgba(21, 17, 13, 0.34);

  --shadow-soft: 0 28px 80px rgba(21, 17, 13, 0.10);
  --shadow-card: 0 18px 48px rgba(21, 17, 13, 0.09);
  --shadow-hover: 0 34px 90px rgba(21, 17, 13, 0.15);

  --container: 1180px;
  --radius: 34px 48px 38px 52px / 48px 34px 52px 38px;
  --radius-soft: 28px;
  --transition: 0.28s ease;
}

/* RESET */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
}

body {
  min-height: 100vh;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  overflow-x: clip;

  background:
    radial-gradient(circle at 10% 12%, rgba(169,42,34,0.055), transparent 22%),
    radial-gradient(circle at 88% 8%, rgba(16,47,120,0.065), transparent 26%),
    radial-gradient(circle at 78% 88%, rgba(47,122,69,0.055), transparent 26%),
    linear-gradient(135deg, #fffdf6 0%, #ffffff 48%, #f8f5ec 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.20;
  background-image:
    linear-gradient(rgba(21,17,13,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,17,13,0.018) 1px, transparent 1px);
  background-size: 42px 42px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.09;
  background:
    radial-gradient(circle at 18% 20%, rgba(21,17,13,0.10), transparent 7%),
    radial-gradient(circle at 80% 16%, rgba(169,42,34,0.08), transparent 9%),
    radial-gradient(circle at 32% 78%, rgba(16,47,120,0.07), transparent 10%),
    repeating-linear-gradient(
      -7deg,
      transparent 0 10px,
      rgba(21,17,13,0.035) 11px,
      transparent 12px 20px
    );
  mix-blend-mode: multiply;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

img {
  display: block;
  width: 100%;
}

main {
  position: relative;
  z-index: 2;
  padding-left: 14px;
  padding-right: 14px;
}

.container {
  width: min(var(--container), calc(100% - 56px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* COUCHES HTML EXISTANTES */

.page-transition-layer,
.paper-grain-layer,
.mobile-safe-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.page-transition-layer {
  z-index: 9999;
  opacity: 0;
  background: rgba(255, 253, 246, 0.9);
  transition: opacity 0.35s ease;
}

body.page-leave .page-transition-layer {
  opacity: 1;
}

.paper-grain-layer {
  z-index: 1;
  opacity: 0.045;
  background-image: radial-gradient(rgba(21,17,13,0.20) 0.7px, transparent 0.8px);
  background-size: 8px 8px;
  mix-blend-mode: multiply;
}

.mobile-safe-glow {
  z-index: 0;
  opacity: 0.75;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.72), transparent 52%),
    radial-gradient(circle at 0% 100%, rgba(16,47,120,0.08), transparent 38%),
    radial-gradient(circle at 100% 100%, rgba(169,42,34,0.07), transparent 38%);
}

/* TYPO */

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 880px;
  font-size: clamp(2.9rem, 5vw, 5.9rem);
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.35rem);
}

h3 {
  font-size: 1.28rem;
  letter-spacing: -0.025em;
}

h1::after,
h2::after {
  content: "";
  display: block;
  width: min(220px, 48vw);
  height: 9px;
  margin-top: 18px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--red), rgba(169,42,34,0.42), transparent);
  transform: rotate(-1deg);
  opacity: 0.72;
}

p {
  color: var(--soft-ink);
  font-size: 0.98rem;
  line-height: 1.72;
}

.kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 12px;

  color: var(--red);
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(169,42,34,0.22);
  border-radius: 999px;

  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;

  box-shadow:
    0 8px 20px rgba(169,42,34,0.055),
    inset 0 0 0 1px rgba(255,255,255,0.7);
}

/* HEADER */

.site-header,
.header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(255, 253, 246, 0.90);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(21,17,13,0.12);

  box-shadow:
    0 12px 34px rgba(21,17,13,0.075),
    inset 0 -1px 0 rgba(255,255,255,0.6);
}

.site-header::after,
.header::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: -1px;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(16,47,120,0.28),
      rgba(184,155,94,0.32),
      rgba(169,42,34,0.26),
      transparent
    );
}

.site-nav,
.nav {
  width: min(var(--container), calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo,
.logo {
  font-family: "Caveat", cursive;
  color: var(--red);
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1;
  transform: rotate(-1.4deg);
  text-shadow:
    1px 1px 0 rgba(16,47,120,0.10),
    0 10px 24px rgba(169,42,34,0.08);
}

.site-menu,
.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.site-menu a,
.menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 38px;
  padding: 8px 12px;

  color: rgba(21,17,13,0.78);
  background: rgba(255,255,255,0.64);
  border: 1px solid rgba(21,17,13,0.14);
  border-radius: 999px;

  font-size: 0.84rem;
  font-weight: 800;

  box-shadow:
    0 8px 18px rgba(21,17,13,0.045),
    inset 0 0 0 1px rgba(255,255,255,0.7);

  transition: var(--transition);
}

.site-menu a:hover,
.menu a:hover {
  color: var(--blue);
  border-color: rgba(16,47,120,0.28);
  background: rgba(255,255,255,0.92);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(21,17,13,0.075);
}

/* SECTIONS */

.section {
  position: relative;
  padding: 82px 0;
}

.section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 12px;
  width: min(980px, 84vw);
  height: 1px;
  transform: translateX(-50%);
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(16,47,120,0.16),
      rgba(184,155,94,0.22),
      rgba(169,42,34,0.14),
      transparent
    );
}

.section-intro {
  max-width: 820px;
  margin-bottom: 38px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

/* HERO */

.hero-carnet {
  position: relative;
  display: flex;
  align-items: center;
  padding: 78px 0 70px;
  overflow: hidden;
}

.hero-carnet::before {
  content: "";
  position: absolute;
  right: -12vw;
  top: -18vw;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,255,255,0.86), transparent 58%),
    radial-gradient(circle at 40% 38%, rgba(16,47,120,0.12), transparent 42%);
  filter: blur(6px);
  pointer-events: none;
}

.hero-carnet::after {
  content: "";
  position: absolute;
  left: -14vw;
  bottom: -18vw;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(169,42,34,0.08), transparent 62%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 56px;
  align-items: center;
}

.hero-content p {
  max-width: 640px;
  margin-top: 18px;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-trust span {
  padding: 7px 12px;
  border: 1px solid rgba(21,17,13,0.12);
  border-radius: 999px;
  color: var(--muted-ink);
  background: rgba(255,255,255,0.62);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(21,17,13,0.045);
}

/* BOUTONS */

.btn {
  position: relative;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(21,17,13,0.16);

  font-size: 0.91rem;
  font-weight: 900;

  transition: var(--transition);
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background:
    linear-gradient(
      120deg,
      transparent,
      rgba(255,255,255,0.32),
      transparent
    );
  transition: transform 0.75s ease;
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn-primary,
.btn.dark {
  color: #fff;
  background:
    linear-gradient(135deg, #0b2460, var(--blue), #224c9c);
  border-color: rgba(16,47,120,0.72);
  box-shadow:
    0 18px 42px rgba(16,47,120,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.20);
}

.btn-secondary,
.btn:not(.btn-primary):not(.dark) {
  color: var(--blue);
  background: rgba(255,255,255,0.72);
  box-shadow:
    0 12px 28px rgba(21,17,13,0.065),
    inset 0 0 0 1px rgba(255,255,255,0.7);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* HERO VISUAL */

.hero-visual {
  position: relative;
  min-height: 370px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sketch-frame {
  position: relative;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(248,244,234,0.72));
  border: 1px solid rgba(21,17,13,0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.sketch-frame::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(184,155,94,0.26);
  border-radius: inherit;
  pointer-events: none;
}

.main-frame {
  width: min(380px, 94%);
  margin: 0 auto;
  transform: rotate(-2deg);
}

.main-frame img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(21,17,13,0.18);
  box-shadow:
    0 0 0 8px rgba(255,255,255,0.72),
    0 32px 80px rgba(21,17,13,0.18);
}

.floating-label {
  position: absolute;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(21,17,13,0.14);

  font-family: "Caveat", cursive;
  font-size: 1.18rem;
  font-weight: 700;

  box-shadow: 0 14px 32px rgba(21,17,13,0.08);
  backdrop-filter: blur(10px);
}

.label-one {
  color: var(--red);
  left: 0;
  top: 10%;
  transform: rotate(-7deg);
}

.label-two {
  color: var(--green);
  right: 0;
  bottom: 16%;
  transform: rotate(6deg);
}

/* GRILLES */

.portal-grid,
.showcase-grid,
.gallery-grid,
.offer-grid,
.social-grid {
  display: grid;
  gap: 20px;
}

.portal-grid {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 30px;
}

.offer-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 30px;
}

.showcase-grid,
.social-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

/* CARTES */

.portal-card,
.showcase-card,
.paper-panel,
.paper-card,
.art-card,
.offer-card,
.final-card,
.social-spot {
  position: relative;
  background:
    radial-gradient(circle at 18% 14%, rgba(255,255,255,0.96), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.84), rgba(248,244,234,0.62));

  border: 1px solid rgba(21,17,13,0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;

  transition:
    transform 0.32s ease,
    box-shadow 0.32s ease,
    border-color 0.32s ease,
    background 0.32s ease;
}

.portal-card::before,
.showcase-card::before,
.paper-panel::before,
.paper-card::before,
.offer-card::before,
.final-card::before,
.social-spot::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(184,155,94,0.18);
  border-radius: inherit;
  pointer-events: none;
}

.portal-card:hover,
.showcase-card:hover,
.paper-panel:hover,
.paper-card:hover,
.art-card:hover,
.offer-card:hover,
.social-spot:hover {
  transform: translateY(-7px) rotate(-0.35deg);
  border-color: rgba(21,17,13,0.22);
  box-shadow: var(--shadow-hover);
}

.portal-card,
.showcase-card,
.paper-panel,
.paper-card,
.offer-card,
.social-spot {
  padding: 26px;
}

.portal-card {
  min-height: 218px;
}

.portal-number {
  display: inline-flex;
  margin-bottom: 18px;
  font-family: "Caveat", cursive;
  font-size: 2.35rem;
  font-weight: 700;
}

.portal-blue .portal-number,
.portal-blue strong {
  color: var(--blue);
}

.portal-red .portal-number,
.portal-red strong {
  color: var(--red);
}

.portal-green .portal-number,
.portal-green strong {
  color: var(--green);
}

.portal-blue {
  border-color: rgba(16,47,120,0.18);
}

.portal-red {
  border-color: rgba(169,42,34,0.20);
}

.portal-green {
  border-color: rgba(47,122,69,0.20);
}

.portal-card h3,
.showcase-card h3 {
  margin-bottom: 10px;
}

.portal-card strong {
  display: inline-flex;
  margin-top: 10px;
  font-size: 0.9rem;
}

.showcase-card {
  min-height: 158px;
}

/* ART CARDS */

.art-card {
  padding: 10px;
  border-radius: 28px;
}

.art-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(21,17,13,0.12);
  filter: contrast(1.035) saturate(1.02);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.art-card:hover img {
  transform: scale(1.025);
  filter: contrast(1.06) saturate(1.06);
}

.art-card h3 {
  padding: 16px 10px 0;
  margin-bottom: 4px;
  font-size: 1.08rem;
}

.art-meta {
  padding: 0 10px 12px;
  margin: 0;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
}

/* PANELS / LISTES */

.paper-panel,
.paper-card {
  padding: 30px;
}

.price {
  margin: 12px 0 16px;
  color: var(--red);
  font-size: 1.16rem;
  font-weight: 900;
}

.sketch-list,
.list-sketch {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.sketch-list li,
.list-sketch li {
  position: relative;
  padding-left: 28px;
  color: var(--soft-ink);
  font-size: 0.94rem;
  font-weight: 700;
}

.sketch-list li::before,
.list-sketch li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-weight: 900;
}

/* VALEUR / COMMANDE */

.section-value .paper-panel,
.section-shop-system .paper-panel,
.final-card {
  border-color: rgba(169,42,34,0.20);
  box-shadow:
    0 28px 78px rgba(21,17,13,0.11),
    inset 0 0 0 1px rgba(255,255,255,0.62);
}

.section-order-steps .section-intro {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-order-steps .section-intro p {
  margin-left: auto;
  margin-right: auto;
}

/* RÉSEAUX */

.social-spot {
  min-height: 145px;
}

.social-spot span {
  display: inline-flex;
  margin-bottom: 12px;
  font-family: "Caveat", cursive;
  font-size: 1.28rem;
  font-weight: 700;
}

.social-spot strong {
  display: block;
  font-size: 1.04rem;
  line-height: 1.2;
}

.social-blue span,
.social-blue strong {
  color: var(--blue);
}

.social-red span,
.social-red strong {
  color: var(--red);
}

.social-green span,
.social-green strong {
  color: var(--green);
}

/* FINAL CTA */

.final-cta {
  padding-top: 92px;
}

.final-card {
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.final-card p {
  max-width: 620px;
}

/* FOOTER */

.site-footer,
.footer {
  position: relative;
  z-index: 2;
  padding: 62px 0;
  border-top: 1px solid rgba(21,17,13,0.12);
  background:
    linear-gradient(180deg, transparent, rgba(255,255,255,0.52));
}

.footer-inner {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: var(--blue);
  font-weight: 900;
}

/* COMPTEUR TRACE */

.trace-counter-widget {
  position: absolute;
  top: 62px;
  left: 58%;
  z-index: 90;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 12px 16px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(169,42,34,0.28);
  border-radius: 999px;

  box-shadow:
    0 18px 48px rgba(21,17,13,0.12),
    inset 0 0 0 1px rgba(255,255,255,0.7);

  backdrop-filter: blur(14px);
}

.trace-click-button {
  width: 56px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  color: #fff;

  font-family: "Caveat", cursive;
  font-size: 1.7rem;
  font-weight: 700;

  cursor: pointer;
  box-shadow: 0 12px 28px rgba(169,42,34,0.20);
  transition: var(--transition);
}

.trace-click-button:hover {
  transform: translateY(-2px) scale(1.04);
}

.trace-click-button.trace-clicked {
  opacity: 0.82;
  cursor: default;
}

.trace-count-display {
  min-width: 70px;
}

.trace-count-display span {
  display: block;
  color: var(--red);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.trace-count-display::after {
  content: "traces";
  display: block;
  margin-top: 4px;
  color: var(--muted-ink);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.trace-guide {
  position: absolute;
  left: -104px;
  top: -2px;

  display: flex;
  align-items: center;
  gap: 8px;

  color: var(--red);
  pointer-events: none;
  animation: traceGuideMove 2.8s ease-in-out infinite;
}

.trace-guide-text {
  font-family: "Caveat", cursive;
  font-size: 1.55rem;
  font-weight: 700;
  transform: rotate(-6deg);
}

.trace-guide-arrow {
  font-family: "Caveat", cursive;
  font-size: 3.2rem;
  line-height: 1;
}

@keyframes traceGuideMove {
  0%, 100% {
    transform: translateX(0);
    opacity: 0.62;
  }

  50% {
    transform: translateX(8px);
    opacity: 1;
  }
}

/* BULLE RÉSEAUX FIXE */

.social-orbit {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: auto;
  z-index: 1500;

  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 10px;
}

.social-orbit-main {
  position: relative;
  width: 96px;
  height: 78px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(169,42,34,0.28);
  border-radius: 999px 780px 920px 740px / 760px 920px 760px 940px;
  background: rgba(255,255,255,0.78);
  color: var(--red);

  font-family: "Caveat", cursive;
  font-size: 1.32rem;
  font-weight: 700;

  cursor: pointer;
  box-shadow: 0 18px 46px rgba(21,17,13,0.14);
  backdrop-filter: blur(14px);
  transition: var(--transition);
}

.social-orbit-main:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.social-orbit-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;

  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.96);
  transition: var(--transition);
}

.social-orbit:hover .social-orbit-links,
.social-orbit:focus-within .social-orbit-links {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.social-orbit-links a {
  min-width: 112px;
  padding: 8px 12px;

  border: 1px solid rgba(21,17,13,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  color: var(--blue);

  font-size: 0.8rem;
  font-weight: 900;

  box-shadow: 0 12px 26px rgba(21,17,13,0.09);
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.social-orbit-links a:hover {
  color: var(--red);
  transform: translateY(-2px);
}

/* FORMULAIRES */

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(21,17,13,0.82);
  font-size: 0.92rem;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;

  border: 1px solid rgba(21,17,13,0.16);
  border-radius: 22px;
  background: rgba(255,255,255,0.76);
  color: var(--ink);

  box-shadow:
    0 12px 30px rgba(21,17,13,0.055),
    inset 0 0 0 1px rgba(255,255,255,0.65);

  transition: var(--transition);
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: rgba(169,42,34,0.42);
  box-shadow:
    0 0 0 4px rgba(169,42,34,0.08),
    0 16px 38px rgba(21,17,13,0.08);
}

/* REVEAL EXISTANT */

.carickat-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.82s ease,
    transform 0.82s ease;
}

.carickat-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* LUMIÈRES EXISTANTES */

.guide-lights-system {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.wandering-light {
  position: fixed;
  border-radius: 50%;
  opacity: 0.28;
  filter: blur(24px);
  background: rgba(255,255,255,0.9);
  animation: wanderingLight 18s ease-in-out infinite;
}

.light-xl {
  width: 280px;
  height: 280px;
  left: 4%;
  top: 18%;
}

.light-lg {
  width: 220px;
  height: 220px;
  right: 8%;
  top: 24%;
  animation-delay: 3s;
}

.light-md {
  width: 180px;
  height: 180px;
  left: 36%;
  bottom: 12%;
  animation-delay: 6s;
}

.light-sm,
.light-blue,
.light-green,
.light-red {
  width: 140px;
  height: 140px;
}

.light-blue {
  background: rgba(16,47,120,0.16);
  right: 18%;
  bottom: 18%;
}

.light-green {
  background: rgba(47,122,69,0.13);
  left: 12%;
  bottom: 12%;
}

.light-red {
  background: rgba(169,42,34,0.13);
  right: 40%;
  top: 10%;
}

@keyframes wanderingLight {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(32px, -24px) scale(1.08);
  }
}

/* CLASSES VITRINES / BOUTIQUE CONSERVÉES */

.boutique-fixed-orbit {
  position: fixed;
  top: 110px;
  right: 24px;
  z-index: 1400;

  display: flex;
  flex-direction: row;
  gap: 10px;
}

.boutique-fixed-node {
  min-width: 92px;
  min-height: 44px;
  padding: 8px 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(21,17,13,0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  color: var(--ink);

  font-family: "Caveat", cursive;
  font-size: 1.02rem;
  font-weight: 700;

  box-shadow: 0 12px 30px rgba(21,17,13,0.09);
  backdrop-filter: blur(12px);
}

.boutique-fixed-one,
.boutique-fixed-four {
  color: var(--red);
}

.boutique-fixed-two,
.boutique-fixed-five {
  color: var(--blue);
}

.boutique-fixed-three {
  color: var(--green);
}

.vitrine-hero .container.hero-grid {
  grid-template-columns: 1fr 1fr;
}

.vitrine-hero .hero-visual {
  justify-content: center;
}

.vitrine-hero .sketch-frame.main-frame {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  overflow: hidden;
}

.vitrine-hero .sketch-frame.main-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* SOURCE BUBBLES */

.source-linked-grid {
  gap: 3.6rem;
  overflow: visible;
}

.source-master-card {
  position: relative;
  overflow: visible;
  z-index: 1;
}

.source-master-card.active {
  z-index: 20;
}

.source-trigger {
  position: relative;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.source-trigger img {
  border-radius: 24px;
}

.source-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 24px;
  background: rgba(21,17,13,0.32);

  opacity: 0;
  transition: var(--transition);
}

.source-trigger:hover .source-overlay {
  opacity: 1;
}

.source-overlay span {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.source-bubbles {
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
}

.source-bubble {
  position: absolute;

  width: 118px;
  height: 118px;
  padding: 14px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(21,17,13,0.16);
  box-shadow: 0 18px 40px rgba(21,17,13,0.14);
  backdrop-filter: blur(12px);

  opacity: 0;
  pointer-events: auto;
  transition: var(--transition);
}

.source-bubble strong {
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.12;
}

.source-bubble small {
  margin-top: 4px;
  color: var(--muted-ink);
  font-size: 0.64rem;
}

.bubble-type {
  margin-bottom: 5px;
  color: var(--muted-ink);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bubble-original {
  top: -20px;
  left: -20px;
  transform: scale(0.4);
  border-color: rgba(169,42,34,0.30);
}

.bubble-print {
  right: -16px;
  top: 30%;
  transform: scale(0.4);
  border-color: rgba(16,47,120,0.28);
}

.bubble-digital {
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%) scale(0.4);
  border-color: rgba(47,122,69,0.28);
}

.source-master-card.active .bubble-original {
  opacity: 1;
  transform: scale(1);
}

.source-master-card.active .bubble-print {
  opacity: 1;
  transform: scale(1);
}

.source-master-card.active .bubble-digital {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.source-bubble:hover {
  transform: scale(1.06);
}

.source-master-card.active .bubble-digital:hover {
  transform: translateX(-50%) scale(1.06);
}

.source-bubble.is-available small {
  color: var(--green);
  font-weight: 900;
}

.source-bubble.is-coming small {
  color: var(--red);
  font-weight: 900;
}

.constitution-note {
  margin: 10px 12px 14px;
  color: var(--soft-ink);
  font-size: 0.84rem;
  font-style: italic;
}

.constitution-note::before {
  content: "note œuvre — ";
  color: var(--red);
  font-family: "Caveat", cursive;
  font-size: 1.08rem;
  font-weight: 700;
  font-style: normal;
}

/* ACCESSIBILITÉ */

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid rgba(215,68,50,0.72);
  outline-offset: 4px;
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .site-header,
  .header {
    position: relative;
  }

  .site-nav,
  .nav {
    width: min(100% - 28px, 100%);
    min-height: auto;
    padding: 18px 0;
    flex-direction: column;
    align-items: center;
  }

  .site-menu,
  .menu {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 4px 2px 10px;
  }

  .site-menu::-webkit-scrollbar,
  .menu::-webkit-scrollbar {
    display: none;
  }

  .site-menu a,
  .menu a {
    flex: 0 0 auto;
    min-width: 118px;
  }

  .hero-grid,
  .split,
  .vitrine-hero .container.hero-grid {
    grid-template-columns: 1fr;
  }

  .portal-grid {
    grid-template-columns: 1fr;
  }

  .hero-carnet {
    padding-top: 46px;
    padding-bottom: 58px;
  }

  .hero-grid {
    gap: 38px;
  }

  .hero-visual {
    min-height: 310px;
  }

  .trace-counter-widget {
    top: 14px;
    right: 14px;
    left: auto;
    transform: scale(0.82);
    transform-origin: top right;
  }

  .trace-guide {
    display: none;
  }

  .floating-label {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .final-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .boutique-fixed-orbit {
    top: auto;
    right: 12px;
    left: 12px;
    bottom: 86px;
    justify-content: center;
  }

  .boutique-fixed-node {
    min-width: auto;
    font-size: 0.82rem;
  }

  .vitrine-hero .sketch-frame.main-frame {
    width: 310px;
    height: 310px;
  }
}

@media (max-width: 680px) {
  main {
    padding-left: 8px;
    padding-right: 8px;
  }

  .container,
  .site-nav,
  .nav,
  .footer-inner {
    width: min(100% - 28px, 100%);
  }

  .site-logo,
  .logo {
    font-size: 2.15rem;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.6rem);
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.45rem);
  }

  h3 {
    font-size: 1.15rem;
  }

  p {
    font-size: 0.93rem;
    line-height: 1.62;
  }

  h1::after,
  h2::after {
    width: 145px;
    height: 7px;
  }

  .section {
    padding: 54px 0;
  }

  .paper-panel,
  .paper-card,
  .portal-card,
  .showcase-card,
  .offer-card,
  .final-card,
  .social-spot {
    padding: 20px;
    border-radius: 24px;
  }

  .gallery-grid,
  .offer-grid,
  .showcase-grid,
  .social-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .btn {
    width: 100%;
    min-height: 50px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .main-frame {
    width: min(295px, 94%);
  }

  .trace-counter-widget {
    transform: scale(0.72);
    top: 12px;
    right: 10px;
  }

  .social-orbit {
    right: 12px;
    bottom: 12px;
  }

  .social-orbit-main {
    width: 78px;
    height: 64px;
    font-size: 1.05rem;
  }

  .social-orbit-links a {
    min-width: 94px;
    font-size: 0.74rem;
  }

  .source-bubble {
    width: 92px;
    height: 92px;
    padding: 9px;
  }

  .source-bubble strong {
    font-size: 0.65rem;
  }

  .source-bubble small {
    display: none;
  }
}

