/* ==========================================================================
   SundayOff · hero.css
   Hero (texte + collage : fenêtre en verre cannelé, téléphone à clapet,
   pétales, chrome) et bandes défilantes
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 130px var(--gutter) 110px;
  overflow: hidden;
}

/* Lumière diffuse du matin, derrière tout le hero */
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .7; animation: blob 24s var(--ease-soft) infinite alternate; }
.hero-bg .b1 { width: 560px; height: 560px; left: -180px; top: -160px; background: var(--corail-soft); }
.hero-bg .b2 { width: 480px; height: 480px; right: -140px; top: 6%; background: var(--ambre-soft); animation-duration: 28s; }
.hero-bg .b3 { width: 420px; height: 420px; left: 34%; bottom: -240px; background: var(--citron-soft); animation-duration: 32s; }

.hero-grid {
  position: relative;
  width: 100%; max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.hero-title { font-size: clamp(2.6rem, 5.1vw, 4.5rem); }
.hero-lead { max-width: 560px; color: var(--ink-80); }

/* « 1 heure » entouré, « chaque semaine » souligné (feutre corail) */
.circled, .scribble { position: relative; display: inline-block; white-space: nowrap; color: var(--bordeaux); font-weight: 700; }
.circled svg { position: absolute; left: -14%; top: -34%; width: 128%; height: 168%; color: var(--corail); pointer-events: none; }
.scribble svg { position: absolute; left: -2%; bottom: -.42em; width: 104%; height: .55em; color: var(--corail); pointer-events: none; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.reassure {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px 12px;
  font-size: 14px; color: var(--ink-70);
}
.reassure .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--corail); }
.reassure-group { display: inline-flex; align-items: center; gap: 12px; }

/* ---------- Collage ---------- */
.hero-visual { position: relative; width: 100%; max-width: 520px; margin-inline: auto; padding: 24px 0 36px; }

/* Fenêtre en arche : lumière floue derrière du verre cannelé */
.window {
  position: relative; isolation: isolate;
  width: min(420px, 80%); margin: 0 auto;
  aspect-ratio: 3 / 4;
  border-radius: 999px 999px 34px 34px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ambre-soft), var(--corail-soft));
  box-shadow: var(--shadow-float);
}
.window-light { position: absolute; inset: -12%; z-index: 0; }
.window .g1 { width: 70%; height: 46%; left: -6%; top: 10%; background: var(--corail); opacity: .82; filter: blur(42px); --dur: 17s; }
.window .g2 { width: 62%; height: 50%; right: -8%; top: 28%; background: var(--ambre); opacity: .78; filter: blur(42px); --dur: 21s; }
.window .g3 { width: 86%; height: 42%; left: 4%; bottom: -2%; background: var(--bordeaux); opacity: .88; filter: blur(42px); --dur: 24s; }
.window .g4 { width: 48%; height: 30%; left: 28%; top: 0; background: var(--citron); opacity: .7; filter: blur(42px); --dur: 15s; }
.window-glass {
  position: absolute; inset: 0; z-index: 1;
  background: repeating-linear-gradient(90deg,
    rgba(255, 255, 255, 0) 0px,
    rgba(255, 255, 255, .34) 3px,
    rgba(255, 255, 255, .07) 7px,
    rgba(45, 0, 20, .14) 12px,
    rgba(255, 255, 255, 0) 14px);
}
/* Meneaux (montant central + deux traverses) */
.window-bars {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, transparent calc(50% - 3px), rgba(254, 252, 241, .85) calc(50% - 3px), rgba(254, 252, 241, .85) calc(50% + 1px), rgba(45, 0, 20, .28) calc(50% + 1px), rgba(45, 0, 20, .28) calc(50% + 2px), transparent calc(50% + 2px)),
    linear-gradient(180deg, transparent calc(38% - 3px), rgba(254, 252, 241, .85) calc(38% - 3px), rgba(254, 252, 241, .85) calc(38% + 1px), rgba(45, 0, 20, .28) calc(38% + 1px), rgba(45, 0, 20, .28) calc(38% + 2px), transparent calc(38% + 2px)),
    linear-gradient(180deg, transparent calc(70% - 3px), rgba(254, 252, 241, .85) calc(70% - 3px), rgba(254, 252, 241, .85) calc(70% + 1px), rgba(45, 0, 20, .28) calc(70% + 1px), rgba(45, 0, 20, .28) calc(70% + 2px), transparent calc(70% + 2px));
}
/* Reflet qui traverse la vitre au survol */
.window::before {
  content: ""; position: absolute; inset: -20%; z-index: 2;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .38) 50%, transparent 60%);
  transform: translateX(-70%);
  transition: transform 1.6s var(--ease-soft);
  pointer-events: none;
}
.hero-visual:hover .window::before { transform: translateX(70%); }
/* Cadre crème */
.window::after {
  content: ""; position: absolute; inset: 0; z-index: 3;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1.5px var(--bordeaux), inset 0 0 0 10px rgba(254, 252, 241, .85), inset 0 0 0 11.5px rgba(45, 0, 20, .3);
  pointer-events: none;
}

/* Pétales et étoiles autour de la fenêtre */
.hero-visual .p1 { top: 4%; left: 4%; width: 46px; --r0: 18deg; --r1: 40deg; --dur: 11s; }
.hero-visual .p2 { top: 46%; right: 1%; width: 40px; --r0: -30deg; --r1: -6deg; --dx: -16px; --dur: 13s; --del: -4s; }
.hero-visual .p3 { bottom: 2%; left: 42%; width: 54px; --r0: 70deg; --r1: 96deg; --dy: -14px; --dur: 14s; --del: -2s; }
.hero-visual .p4 { top: 28%; left: -3%; width: 32px; --r0: -60deg; --r1: -34deg; --dur: 10s; --del: -6s; }
.hero-visual .cs-1 { top: 1%; right: 12%; width: 62px; --dur: 5s; }
.hero-visual .cs-2 { bottom: 26%; right: 3%; width: 30px; --dur: 3.8s; --del: -1.5s; }

/* Papier collé « Toi : en mode off » */
.paper-note {
  position: absolute; right: -5%; top: 15%; z-index: 4;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px 14px 14px;
  border-radius: 4px;
  background: var(--creme);
  box-shadow: var(--shadow-paper);
  text-align: left;
  font: 700 14px/1.25 var(--font-text);
  rotate: var(--tilt, 5deg);
  animation: float 8s ease-in-out infinite;
  animation-delay: -4s;
  transition: scale .6s var(--ease-spring);
}
.paper-note:hover { scale: 1.06; }
.paper-note small { display: block; margin-top: 2px; font-weight: 400; font-size: 12px; color: var(--ink-70); }
.washi {
  position: absolute; top: -11px; left: 50%;
  width: 74px; height: 22px;
  translate: -50% 0; rotate: -4deg;
  background: rgba(247, 248, 92, .82);
  clip-path: polygon(0 12%, 5% 0, 95% 8%, 100% 0, 98% 88%, 100% 100%, 4% 92%, 0 100%);
}
.note-sun { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--ambre); stroke-width: 1.8; stroke-linecap: round; }

/* Téléphone à clapet en CSS (chrome Y2K) */
.phone {
  position: absolute; left: -3%; bottom: 3%; z-index: 4;
  width: 128px;
  rotate: var(--tilt, -12deg);
  filter: drop-shadow(0 26px 22px rgba(45, 0, 20, .35));
  animation: float 7s ease-in-out infinite;
  animation-delay: -2s;
}
.phone-body { display: flex; flex-direction: column; align-items: center; }
.phone-body.is-buzzing { animation: buzz .55s linear; }
.phone-top {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  width: 100%; height: 150px;
  padding: 16px 11px 9px;
  border-radius: 40px 40px 14px 14px;
  background: linear-gradient(135deg, #fbf9f9 0%, #cfc6c8 30%, #fdfcfc 48%, #a39699 72%, #ebe5e6 100%);
  box-shadow: inset 0 0 0 1px rgba(45, 0, 20, .25), inset 0 2px 3px rgba(255, 255, 255, .9);
}
.phone-speaker { width: 28px; height: 5px; flex: none; border-radius: 4px; background: linear-gradient(90deg, #6a5c60, #3a2e31); }
.phone-screen {
  width: 100%; flex: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 7px 8px;
  border-radius: 8px;
  background: linear-gradient(160deg, var(--citron-soft), var(--citron) 70%, #e6e74a);
  box-shadow: inset 0 0 0 2px #6a5c60, inset 0 0 0 3px #3a2e31, inset 0 3px 10px rgba(45, 0, 20, .25);
  color: var(--bordeaux);
  font: 400 9.5px/1.25 var(--font-text);
  overflow: hidden;
}
.phone-status { display: flex; justify-content: space-between; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.phone-notif { display: flex; flex-direction: column; gap: 3px; transition: opacity .35s, translate .35s var(--ease-out); }
.phone-notif.is-swapping { opacity: 0; translate: 0 6px; }
.phone-app { font-weight: 700; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.phone-msg { display: flex; align-items: center; gap: 4px; font-weight: 700; font-size: 10.5px; line-height: 1.15; }
.phone-msg::before {
  content: ""; flex: none; width: 11px; height: 11px; border-radius: 50%;
  background: var(--bordeaux) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8.5-9' fill='none' stroke='%23fefcf1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 7px no-repeat;
}
.phone-brand { font: 700 7px/1 var(--font-text); letter-spacing: .3em; color: #6a5c60; }
.phone-hinge {
  position: relative; z-index: 1;
  width: 86%; height: 12px; margin-top: -2px;
  border-radius: 6px;
  background: linear-gradient(180deg, #fdfcfc, #9e9194 60%, #e6dfe0);
  box-shadow: inset 0 0 0 1px rgba(45, 0, 20, .25);
}
.phone-bottom {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  width: 100%; height: 148px; margin-top: -2px;
  padding: 14px 14px 18px;
  border-radius: 14px 14px 36px 36px;
  background: linear-gradient(135deg, #ebe5e6 0%, #b3a7aa 35%, #fbf9f9 55%, #9d9194 80%, #e3dcdd 100%);
  box-shadow: inset 0 0 0 1px rgba(45, 0, 20, .25);
}
.phone-pad {
  width: 44px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle, var(--bordeaux) 0 5px, #fbf9f9 6px, #b9adb0 70%, #fdfcfc);
  box-shadow: inset 0 0 0 1px rgba(45, 0, 20, .3);
}
.phone-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px 7px; width: 100%; }
.phone-keys i { height: 11px; border-radius: 6px; background: linear-gradient(180deg, #ffffff, #c9bfc1); box-shadow: inset 0 0 0 1px rgba(45, 0, 20, .2); }

/* Pastille chromée « 5 ans » */
.badge-spin {
  position: absolute; right: -2%; bottom: -1%; z-index: 5;
  display: grid; place-items: center;
  width: 124px; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--chrome-soft);
  box-shadow: inset 0 0 0 1px rgba(45, 0, 20, .3), 0 18px 30px -16px rgba(45, 0, 20, .55);
}
.badge-spin .ring { position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); overflow: visible; }
.badge-spin text { font: 700 15px var(--font-text); letter-spacing: .1em; fill: var(--bordeaux); }
.badge-spin .core {
  display: grid; place-items: center; align-content: center;
  width: 56%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--citron);
  box-shadow: inset 0 0 0 1.5px var(--bordeaux);
  font: italic 600 38px/1 var(--font-title);
  transition: scale .6s var(--ease-spring), rotate .6s var(--ease-spring);
}
.badge-spin .core small { font: 700 9.5px/1 var(--font-text); font-style: normal; letter-spacing: .14em; text-transform: uppercase; margin-top: 1px; }
.badge-spin:hover .core { scale: 1.12; rotate: -12deg; }

/* Indicateur de scroll */
.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; z-index: 2;
  width: 80px; margin-left: -40px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--ink-70);
  font: 400 11px/1 var(--font-text);
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  animation: fade-in 1s 2.6s both;
}
.scroll-cue .mouse { position: relative; width: 22px; height: 34px; border: 1.5px solid currentColor; border-radius: 12px; }
.scroll-cue .mouse::after {
  content: ""; position: absolute; left: 50%; top: 7px;
  width: 3px; height: 7px; margin-left: -1.5px;
  border-radius: 3px; background: currentColor;
  animation: scroll-dot 2s var(--ease-out) infinite;
}

/* ---------- Bandes défilantes ---------- */
.tapes { position: relative; z-index: 3; padding: 52px 0 60px; overflow: hidden; }
.tape { position: relative; width: 120%; margin-left: -10%; padding: 16px 0; overflow: hidden; }
.tape--bordeaux { background: var(--bordeaux); color: var(--creme); rotate: -2deg; }
.tape--citron { margin-top: -8px; background: var(--citron); color: var(--bordeaux); rotate: 1.5deg; box-shadow: var(--shadow-soft); }
.tape-track { display: flex; width: max-content; will-change: transform; }
.tape-group { display: flex; flex: none; align-items: center; }
.tape-item {
  display: inline-flex; align-items: center;
  padding: 0 24px;
  font: 600 clamp(26px, 3.4vw, 44px)/1.2 var(--font-title);
  white-space: nowrap;
}
.tape--bordeaux .tape-item { font-style: italic; }
.tape-item s { text-decoration: none; background: linear-gradient(var(--citron), var(--citron)) 0 58% / 100% .08em no-repeat; }
.tape-star { flex: none; width: clamp(18px, 2.2vw, 26px); height: clamp(18px, 2.2vw, 26px); }
.tape--bordeaux .tape-star { fill: var(--corail); }
.tape--citron .tape-star { fill: var(--corail); }
