@charset "UTF-8";

/* Une scène locale, limitée à la couverture ; palette commune au deck. */
.bernay-intro .bernay-main {
  grid-template-columns: minmax(0, 1fr) 570px;
  gap: 28px;
}
.bernay-intro h1 { font-size: 60px; }
.bernay-intro .bernay-subtitle { max-width: 470px; font-size: 22px; }
.welcome-copy { position: relative; z-index: 4; }
.welcome-values {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
}
.welcome-values > span { color: #8ea38c; }
.welcome-scene {
  position: relative;
  width: 570px;
  height: 372px;
  isolation: isolate;
}
.welcome-halo {
  position: absolute;
  left: 119px;
  top: 43px;
  width: 320px;
  height: 320px;
  border: 1px solid #c7d7c59e;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, #e9f0e1, #dfead78c 60%, #dfead700 72%);
}
.welcome-halo::before,
.welcome-halo::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid #ffffffbb;
  border-radius: 50%;
}
.welcome-halo::after { inset: -22px; border-color: #c7d7c545; }
.welcome-network { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.welcome-link {
  stroke: #b6482c59;
  stroke-width: 2;
  stroke-dasharray: 5 9;
  animation: welcome-transfer 3s linear infinite;
}
.link-ideas { stroke: #6681af85; animation-delay: -.8s; }
.link-admin { stroke: #56816380; animation-delay: -1.6s; }
.welcome-human { position: absolute; z-index: 1; left: 97px; bottom: 0; width: 415px; }
.welcome-human img { width: 100%; height: auto; filter: drop-shadow(0 14px 12px #26372d12); }
.welcome-core { position: absolute; z-index: 2; left: 435px; top: 14px; width: 98px; text-align: center; }
.welcome-core-orb {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 98px;
  height: 98px;
  border: 1px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle at 29% 22%, #e7b58a, #bf6444 47%, #813b29 90%);
  box-shadow: inset 0 3px 7px #fff7, inset -5px -7px 15px #602b3540, 0 12px 24px #a34d2b28;
  animation: welcome-core-breathe 4s ease-in-out infinite;
}
.welcome-core-orb::before {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px dashed #b6482c66;
  border-radius: 50%;
  animation: welcome-core-ring 24s linear infinite;
}
.welcome-core-orb > span { font-size: 32px; font-weight: 650; line-height: 1; letter-spacing: -.05em; }
.welcome-core-orb .icon { width: 21px; height: 21px; opacity: .8; }
.welcome-core-label { display: block; margin: 13px -20px 0; font-size: 13px; font-weight: 650; color: var(--accent); }
.welcome-card { position: absolute; z-index: 3; width: 210px; }
.welcome-mail { left: 0; top: 29px; --welcome-angle: -5deg; --welcome-delay: .55s; --welcome-float-delay: -.4s; }
.welcome-ideas { right: 0; top: 159px; --welcome-angle: 4deg; --welcome-delay: .85s; --welcome-float-delay: -2.5s; }
.welcome-admin { left: 1px; top: 277px; width: 237px; --welcome-angle: -3deg; --welcome-delay: 1.15s; --welcome-float-delay: -4s; }
.welcome-card-inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px 13px;
  min-height: 88px;
  border: 1px solid #d9e0d4;
  border-radius: 16px;
  background: #fffefbf5;
  box-shadow: 0 12px 28px #172c3812;
  rotate: var(--welcome-angle);
  animation: welcome-float 6s ease-in-out infinite;
  animation-delay: var(--welcome-float-delay);
}
.welcome-card-icon {
  display: grid;
  place-items: center;
  flex: 0 0 31px;
  height: 31px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--accent);
}
.welcome-card-icon .icon { width: 18px; height: 18px; }
.welcome-card strong { display: block; font-size: 16px; line-height: 1.2; letter-spacing: -.035em; }
.welcome-card p { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.3; }
.welcome-ideas .welcome-card-icon { color: #526c9d; background: #e9eef8; }
.welcome-admin .welcome-card-icon { color: var(--green); background: #e0ebdf; }
.welcome-check {
  position: absolute;
  right: -7px;
  top: -9px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 13px;
  font-weight: 700;
}
.welcome-mini-lines { display: grid; gap: 3px; width: 116px; margin-top: 9px; }
.welcome-mini-lines i { height: 3px; border-radius: 3px; background: #d9dfd8; transform-origin: left; animation: welcome-write 6s ease-in-out infinite; }
.welcome-mini-lines i:nth-child(2) { width: 87%; animation-delay: .2s; }
.welcome-mini-lines i:nth-child(3) { width: 64%; animation-delay: .4s; }
.welcome-swatches { display: flex; gap: 5px; margin-top: 9px; }
.welcome-swatches i { width: 28px; height: 17px; border-radius: 4px; background: #d4dfcc; animation: welcome-swatch 6s ease-in-out infinite; }
.welcome-swatches i:nth-child(2) { background: #e8c2a8; animation-delay: .4s; }
.welcome-swatches i:nth-child(3) { background: #b7cadc; animation-delay: .8s; }
.welcome-mini-tasks { display: flex; gap: 5px; margin-top: 9px; }
.welcome-mini-tasks i { width: 35px; height: 15px; padding-left: 4px; border-radius: 3px; color: var(--green); background: #e2ecdf; font: 650 11px/15px var(--sans); animation: welcome-task 6s ease-in-out infinite; }
.welcome-mini-tasks i:nth-child(2) { animation-delay: .4s; }
.welcome-mini-tasks i:nth-child(3) { animation-delay: .8s; }
.welcome-human-label {
  position: absolute;
  z-index: 2;
  top: 4px;
  left: 217px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
}
.welcome-human-label .icon { width: 17px; height: 17px; }
.bernay-intro[data-welcome-motion="ready"] .welcome-copy,
.bernay-intro[data-welcome-motion="ready"] .welcome-human,
.bernay-intro[data-welcome-motion="ready"] .welcome-core,
.bernay-intro[data-welcome-motion="ready"] .welcome-card { animation: welcome-arrive .8s cubic-bezier(.2,.75,.25,1) both; }
.bernay-intro[data-welcome-motion="ready"] .welcome-human { animation-delay: .2s; }
.bernay-intro[data-welcome-motion="ready"] .welcome-core { animation-delay: .4s; }
.bernay-intro[data-welcome-motion="ready"] .welcome-card { animation-delay: var(--welcome-delay); }
.bernay-intro[data-welcome-running="false"] .welcome-scene *,
.bernay-intro[data-welcome-running="false"] .welcome-scene *::before,
.bernay-intro[data-welcome-running="false"] .welcome-copy { animation-play-state: paused; }
.bernay-intro[data-welcome-static="true"] .welcome-scene *,
.bernay-intro[data-welcome-static="true"] .welcome-scene *::before,
.bernay-intro[data-welcome-static="true"] .welcome-copy { animation: none !important; }
.welcome-toggle {
  position: absolute;
  top: 42px;
  right: 64px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
}
.welcome-toggle:hover { border-color: var(--line); background: #ffffff85; }
.welcome-toggle .icon { width: 13px; height: 13px; }
@keyframes welcome-arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes welcome-transfer { to { stroke-dashoffset: -42; } }
@keyframes welcome-core-ring { to { transform: rotate(360deg); } }
@keyframes welcome-core-breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes welcome-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes welcome-write { 0%,12% { transform: scaleX(.25); } 42%,100% { transform: scaleX(1); } }
@keyframes welcome-swatch { 0%,100% { transform: translateY(0); } 40%,60% { transform: translateY(-3px); } }
@keyframes welcome-task { 0%,15% { opacity: .3; } 45%,100% { opacity: 1; } }
@media screen and (max-width: 759px) {
  .bernay-intro .bernay-main { display: flex; gap: 24px; }
  .bernay-intro h1 { font-size: clamp(39px, 10.8vw, 60px); }
  .bernay-intro .bernay-subtitle { font-size: 18px; }
  .welcome-values { font-size: 12px; gap: 5px; margin-top: 16px; }
  .welcome-scene { width: 100%; height: auto; aspect-ratio: 570 / 372; }
  .welcome-halo { left: 20.9%; top: 11.6%; width: 56.1%; height: 86%; }
  .welcome-human { left: 17%; width: 72.8%; }
  .welcome-core { top: 3.8%; left: 76.3%; width: 17.2%; }
  .welcome-core-orb { width: 100%; height: auto; aspect-ratio: 1; gap: 0; }
  .welcome-core-orb::before { inset: -5px; }
  .welcome-core-orb > span { font-size: clamp(20px, 6vw, 32px); }
  .welcome-core-orb .icon { width: 15px; height: 15px; }
  .welcome-core-label { margin-top: 9px; font-size: 9px; }
  .welcome-card { width: 37%; }
  .welcome-mail { top: 7.8%; }
  .welcome-ideas { top: 42.7%; }
  .welcome-admin { top: 74.5%; width: 42%; }
  .welcome-card-inner { min-height: 0; gap: 6px; padding: 9px 7px; border-radius: 10px; }
  .welcome-card-icon { flex-basis: 20px; height: 20px; border-radius: 6px; }
  .welcome-card-icon .icon { width: 13px; height: 13px; }
  .welcome-card strong { font-size: 11px; }
  .welcome-card p { display: none; }
  .welcome-check { width: 18px; height: 18px; right: -5px; top: -7px; font-size: 9px; border-width: 2px; }
  .welcome-mini-lines { width: 70px; gap: 2px; margin-top: 6px; }
  .welcome-mini-lines i { height: 2px; }
  .welcome-swatches,.welcome-mini-tasks { gap: 3px; margin-top: 6px; }
  .welcome-swatches i { width: 17px; height: 10px; }
  .welcome-mini-tasks i { width: 20px; height: 10px; font-size: 8px; line-height: 10px; }
  .welcome-human-label { top: 1%; left: 36%; gap: 3px; font-size: 8px; }
  .welcome-human-label .icon { width: 12px; height: 12px; }
  .welcome-toggle { top: 22px; right: 16px; }
  .welcome-toggle span { display: none; }
  .bernay-intro .bernay-kicker { padding-right: 32px; }
  .welcome-scene *, .welcome-scene *::before { animation: none !important; }
}
@media (prefers-reduced-motion: reduce), print {
  .bernay-intro .welcome-copy,
  .welcome-scene *, .welcome-scene *::before { animation: none !important; }
  .welcome-toggle { display: none; }
}
@media print {
  .welcome-card-inner { box-shadow: none; }
  .bernay-intro .bernay-main { grid-template-columns: minmax(0,1fr) 570px; }
}
