
/* ==================================================================
  V6 COMPLETE · Corrections de recette V5 et demandes 18/10/2026
  ================================================================== */
/* Hero: three typographic lines, but lead wraps naturally to two on 13-inch. */
.hero h1{font-size:clamp(48px,4.25vw,72px);max-width:760px;line-height:1.11;letter-spacing:-.049em}
.hero h1 em{display:inline}
.hero h1 .rose{white-space:nowrap}
.hero .lead{max-width:720px;font-size:clamp(12px,1.06vw,15px);line-height:1.72;letter-spacing:-.02em}
.hero-grid{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:clamp(25px,3vw,65px);min-height:calc(100svh - 84px);padding-block:26px 65px}
.hero-art{height:min(530px,calc(100svh - 160px));min-height:400px}
.hero-papercard{left:-4%;top:calc(50% - 190px)}
.hero-device{margin-top:0}
.hero-seal{display:flex;align-items:center;justify-content:center;padding:10px;line-height:1.14;font-size:20px;white-space:normal}
/* Chat semantics in all phones: blue is sender, grey is recipient. */
.chat-thread{min-height:0;max-height:100%;gap:7px}
.phone-chat{min-height:0;overflow:hidden}
.chat-thread.static-thread{animation:none!important;transform:none!important;will-change:auto}
.home-thread{animation:home-thread-roll 13s ease-in-out infinite both}
@keyframes home-thread-roll{0%,14%{transform:translateY(0)}29%,58%{transform:translateY(-60px)}73%,92%{transform:translateY(-125px)}100%{transform:translateY(0)}}
/* Static gateways: every message visible without clipping and no scroll. */
.gateway-sms-art .mini-device{width:200px;height:326px;transform:rotate(-7deg) translate(-2px,5px)}
.gateway-sms-art .mini-device .device-screen{padding:16px 8px 8px}
.gateway-sms-art .mini-device .phone-chat{padding:9px 1px 5px;gap:3px}
.gateway-sms-art .mini-device .chat-thread{gap:6px}
.gateway-sms-art .mini-device .bubble{font-size:8px;padding:6px 8px;line-height:1.35}
.gateway-sms-art .mini-device .device-user b{font-size:9px}
.gateway-sms-art .mini-device .device-user small{font-size:8px}
.gateway-sms-art .mini-device .device-head{padding-bottom:9px}
/* No faux animation for phones with conversations that already fit. */
.sms-page-device .chat-thread,.gateway-sms-art .chat-thread{animation:none!important;transform:none!important}
/* Smartphone in SMS hero retains floating and subtle shake only on its OUTER case. */
.sms-page-device{width:265px;height:475px}
.sms-page-device .phone-chat{padding:18px 2px 8px}
.sms-page-device .bubble{font-size:10px;padding:9px 10px;line-height:1.39}
.sms-page-device .chat-thread{gap:8px}
.sms-page-device .device-head{padding-bottom:11px}
/* More visible, straight book in spotlight. */
.feature-frame{width:84%;height:86%;transform:none!important;transition:transform .5s ease}
.feature-stage:hover .feature-frame{transform:scale(1.035)!important}
.feature-stage .feature-frame img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(14px 18px 16px #45273528)}
/* One subtle visual rhythm for small labels and stamps. */
.upcoming-watermark{letter-spacing:-.07em;word-spacing:-.15em}
/* Book excerpt reader; support keyboard, touch, zoom and browser fullscreen. */
.pdf-reader{background:#f8f0ed;border:1px solid #deccd1;border-radius:5px;overflow:hidden;min-width:0;position:relative}
.reader-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;background:#fffaf8;border-bottom:1px solid #e8d5dc;flex-wrap:wrap}
.reader-toolbar strong{font:600 12px var(--sans);color:#56364b;letter-spacing:.025em}
.reader-tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.reader-btn{border:1px solid #d6bbc9;background:#fff;color:#604159;min-width:38px;height:38px;border-radius:50px;padding:0 10px;font-size:17px;display:inline-flex;align-items:center;justify-content:center;gap:5px}
.reader-btn:hover:not(:disabled){background:#ead7df}.reader-btn:disabled{opacity:.3;cursor:not-allowed}
.reader-btn.fullscreen{padding:0 13px;font-size:12px;font-weight:700;border-radius:20px}
.reader-counter{font:600 12px var(--sans);color:#76536a;min-width:70px;text-align:center}
.reader-canvas{position:relative;min-height:600px;height:min(76vh,950px);display:flex;justify-content:center;align-items:center;overflow:auto;padding:19px;background:linear-gradient(130deg,#f7edeb,#f2e3e9)}
.reader-sheet{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;box-shadow:0 12px 38px #573a5030;background:#fff;transition:width .2s, max-width .2s;display:block;user-select:none}
.reader-canvas[data-zoom="150"] .reader-sheet{max-width:none;max-height:none;width:150%;height:auto;flex:none}
.reader-canvas[data-zoom="200"] .reader-sheet{max-width:none;max-height:none;width:200%;height:auto;flex:none}
.reader-tap{position:absolute;top:45%;z-index:2;border:0;background:#fffdfbca;color:#604259;box-shadow:0 4px 18px #321d2a20;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;font-size:22px}
.reader-tap.prev{left:14px}.reader-tap.next{right:14px}.reader-tap:disabled{opacity:0;pointer-events:none}
.reader-footer{padding:12px 18px 16px;background:#fffaf8;display:grid;gap:8px}
.reader-progress{appearance:none;display:block;width:100%;accent-color:#9b617f;height:5px;cursor:pointer}
.reader-footer .micro{margin:0;font-size:11px;color:#816879}
.reader-native{font-size:12px;color:#744361;text-decoration:underline;text-underline-offset:3px}
.pdf-reader:fullscreen{display:flex;flex-direction:column;width:100%;height:100%;background:#f7edea;border:0;border-radius:0}
.pdf-reader:fullscreen .reader-canvas{flex:1;height:auto;min-height:0}
.pdf-reader:fullscreen .reader-sheet{max-height:100%}
.pdf-reader:fullscreen .reader-footer{flex:none}
.reader-empty{padding:48px 34px;background:#fffaf8;border:1px solid #ead7df;min-height:360px}
.reader-empty p{max-width:550px}
.excerpt-layout{grid-template-columns:minmax(220px,.46fr) minmax(0,1.4fr);gap:3vw}
.excerpt-sidebar{position:sticky;top:15px}
.excerpt-sidebar img{max-height:400px}
.detail-excerpt .excerpt-unavailable{display:inline-block;margin-top:16px;font-size:12px;color:#7d6572}
/* The event info fits its full words; no dangling hour-letter. */
.event-hours{max-width:100%;white-space:normal;overflow-wrap:normal;word-break:normal}
/* Admin editors */
.atelier-textareas{display:grid;gap:16px;margin-top:20px}
.atelier-textareas textarea{width:100%;min-height:130px;padding:12px;font:13px/1.55 monospace;border:1px solid #d5b5c3;background:#fff}
.atelier-panel button{margin-top:10px}
.atelier-faq-row{display:grid;grid-template-columns:1fr 1.4fr auto;gap:8px;margin:9px 0;align-items:center}
.atelier-faq-row input{padding:11px;min-width:0;border:1px solid #d5b5c3;background:#fff}
.atelier-faq-row button{margin:0;padding:8px;font-size:12px;background:#f4dbe2;border:0}
.atelier-note{background:#f0e2e5;padding:20px;margin:20px 0}
@media(min-width:901px) and (max-height:810px){.hero-grid{min-height:calc(100svh - 84px);padding-block:15px 43px}.hero-art{height:min(480px,calc(100svh - 150px))}.hero-device{width:222px;height:403px}.hero h1{font-size:clamp(45px,4vw,67px);line-height:1.08}.hero .lead{font-size:12px;line-height:1.55}.hero-copy .hero-actions{margin-bottom:18px}.hero h1{margin-top:10px;margin-bottom:10px}}
@media(max-width:1000px){.hero-grid{grid-template-columns:1fr;min-height:auto}.hero-art{min-height:380px;height:480px}.hero .lead{max-width:600px}.sms-page-device{width:230px;height:420px}}
@media(max-width:650px){.hero h1{font-size:clamp(44px,10vw,60px)}.hero h1 .rose{white-space:normal}.hero .lead{font-size:13px;max-width:100%}.hero-grid{min-height:auto;padding:36px 0 20px}.hero-art{height:385px;min-height:0}.hero-device{width:204px;height:365px}.hero-papercard{width:167px;top:48px;left:-4%}.gateway-sms-art .mini-device{width:172px;height:295px}.gateway-sms-art .mini-device .bubble{font-size:7px;padding:5px 6px}.sms-page-device{width:212px;height:390px}.sms-page-device .bubble{font-size:8px;padding:6px 7px}.feature-frame{width:92%;height:92%}.reader-toolbar{padding:9px}.reader-canvas{height:64svh;min-height:350px;padding:10px}.reader-tap{width:35px;height:35px}.excerpt-layout{grid-template-columns:1fr}.excerpt-sidebar{position:static}.reader-tools{gap:5px}.reader-btn{min-width:32px;height:34px}}
@media(prefers-reduced-motion:reduce){.home-thread{animation:none!important}}

.hero h1 .hero-last-line{display:inline-block;font-size:.77em;white-space:nowrap;letter-spacing:-.06em}
@media(max-width:650px){.hero h1 .hero-last-line{font-size:.72em}}

/* Mail illustration: moving letter and envelope, not floating decorative icons. */
.postal-composition{display:block;min-height:350px;max-width:490px;margin:34px auto 10px;isolation:isolate;perspective:700px}
.postal-orbit{position:absolute;left:8%;top:0;width:80%;height:290px;border-radius:50%;background:radial-gradient(ellipse,#ead2d7,transparent 68%);filter:blur(20px);z-index:-1}
.postal-envelope{width:75%;height:225px;background:#dfbbc8;position:absolute;left:12%;top:97px;transform:rotate(-7deg);filter:drop-shadow(15px 20px 18px #4e2b3d35);border:1px solid #cfa5b6;border-radius:2px}
.envelope-front{position:absolute;inset:0;clip-path:polygon(0 0,50% 63%,100% 0,100% 100%,0 100%);background:linear-gradient(135deg,#f1d7e0,#dfb5c7);z-index:2;border-radius:2px}
.envelope-flap{position:absolute;inset:0;clip-path:polygon(0 0,50% 54%,100% 0);background:#bb87a2;z-index:0}
.postal-stamp{position:absolute;z-index:3;right:10%;bottom:17px;width:60px;height:60px;display:grid;place-items:center;background:#af6989;color:#fff5fa;border-radius:50%;font:italic 20px var(--serif)}
.postal-letter{position:absolute;z-index:1;left:12%;right:12%;height:210px;top:-65px;padding:22px 26px;background:#fffdfb;border:1px solid #eddce3;box-shadow:0 3px 12px #3920321b;animation:letter-rise 5s ease-in-out infinite}
.postal-letter span{font-size:9px;font-weight:700;letter-spacing:.18em;color:#a47890}
.postal-letter strong{font:400 27px/1.22 var(--serif);display:block;margin-top:21px;color:#553149}
.postal-letter i{font:italic 18px var(--serif);color:#ca97ad;display:block;margin-top:9px;text-align:right}
.postal-pencil{position:absolute;right:3%;top:22px;font:70px var(--serif);color:#b78098;transform:rotate(23deg);animation:pen-drift 6s ease-in-out infinite}
.postal-sent{position:absolute;bottom:2px;left:6%;font-size:9px;font-weight:700;letter-spacing:.2em;color:#98677f}
@keyframes letter-rise{0%,100%{transform:translateY(0)}50%{transform:translateY(-25px)}}
@keyframes pen-drift{0%,100%{transform:rotate(23deg) translateY(0)}50%{transform:rotate(14deg) translateY(-9px)}}
.atelier-panel .atelier-textareas input,.atelier-panel .atelier-textareas textarea,.atelier-panel select,.atelier-panel>label>textarea{display:block;margin:7px 0 0;width:100%;padding:11px 13px;border:1px solid #dcc5d1;border-radius:2px;background:#fffdfb;color:var(--ink);font:13px/1.5 var(--sans);resize:vertical}
.atelier-panel hr{margin:25px 0 12px;border:0;border-top:1px solid #ebdde4}
@media(prefers-reduced-motion:reduce){.postal-letter,.postal-pencil{animation:none!important}}
/* The home phone alone scrolls far enough to reveal every user-provided message. */
@keyframes home-thread-roll{0%,15%{transform:translateY(0)}36%,64%{transform:translateY(-52px)}78%,92%{transform:translateY(-88px)}100%{transform:translateY(0)}}
.hero-device .bubble{font-size:11.5px;line-height:1.42;padding:9px 10px}
@media(max-width:650px){@keyframes home-thread-roll{0%,14%{transform:translateY(0)}40%,64%{transform:translateY(-104px)}80%,92%{transform:translateY(-180px)}100%{transform:translateY(0)}}.hero-device .bubble{font-size:8.4px;padding:7px 8px}}


/* ==================================================================
   V6 · Retouches ciblées du 18 octobre, aucun changement global
   ================================================================== */
/* Accueil: stronger three-line headline + naturally balanced two-line body. */
@media (min-width:1001px){
  .hero h1{font-size:clamp(52px,4.75vw,79px)}
  .hero .lead{max-width:550px;font-size:clamp(13px,1.07vw,15px)}
}
@media (min-width:901px) and (max-height:810px){
  .hero h1{font-size:clamp(50px,4.45vw,74px)}
  .hero .lead{max-width:550px}
}
/* Keep opening guillemet on the same line as 'nuisette-gate'. */
.hero-device .sms-quoted-phrase{white-space:nowrap}
.hero-papercard .papercard-heart{position:absolute;right:1px;top:100px;display:block;color:#a65c83;font:italic 25px/1 var(--serif);transform:rotate(10deg);pointer-events:none}
/* In the two static phone demos, use their actual screen width for SMS bubbles. */
.gateway-sms-art .mini-device .bubble,
.sms-intro-art .sms-page-device .bubble{width:100%;max-width:100%;flex-shrink:0}
/* Book details: body typography for the teaser, retain original mauve. */
body[data-page="book-detail"] .detail-intro{
  font-family:var(--sans);font-style:normal;font-weight:400;
  font-size:clamp(15px,1.18vw,17px);line-height:1.8;letter-spacing:normal;
  color:#875f77;
}
/* Romans only: same split architecture and rosy note as the SMS transition. */
.books-club-transition .books-club-note{min-height:320px}
.books-club-transition .books-club-note b{max-width:420px;margin:0 0 32px;font-size:clamp(38px,3.4vw,58px);line-height:1.13}
.books-club-transition .books-club-note small{max-width:360px;line-height:1.65;display:block}
@media (max-width:650px){
  .books-club-transition .books-club-note{min-height:275px;padding:29px}
  .books-club-transition .books-club-note b{font-size:clamp(34px,9vw,48px)}
}

@media(max-width:650px){.hero-papercard .papercard-heart{top:auto;bottom:7px;right:7px;font-size:20px}}


/* ------------------------------------------------------------------
   V6b · micro-corrections du 18 octobre — suite au retour utilisateur
   ------------------------------------------------------------------ */
/* Hero home: move the small heart inward so it breathes between text and border. */
.hero-papercard .papercard-heart{right:18px;top:98px}
@media(max-width:650px){.hero-papercard .papercard-heart{right:16px;bottom:8px}}

/* Static phone demos: restore natural bubble width, but use more vertical space. */
.gateway-sms-art .mini-device .bubble,
.sms-intro-art .sms-page-device .bubble{width:auto;max-width:88%;flex-shrink:1}

.gateway-sms-art .mini-device .phone-chat{padding:10px 1px 4px;gap:4px}
.gateway-sms-art .mini-device .chat-thread{gap:7px}
.gateway-sms-art .mini-device .bubble{font-size:8.4px;padding:7px 8px;line-height:1.42}

.sms-page-device .phone-chat{padding:18px 2px 6px}
.sms-page-device .chat-thread{gap:10px}
.sms-page-device .bubble{font-size:10.4px;padding:10px 10px;line-height:1.42;max-width:86%}

/* Romans page: only 'ces personnages ?' in rose. */
.books-club-transition .books-club-note b .rose-piece{color:var(--rose)}

/* Slightly denser footer links column now that two more social links are added. */
.footer-links{gap:9px}


/* ------------------------------------------------------------------
   V6c · retouches finales ciblées selon retour utilisateur
   ------------------------------------------------------------------ */
/* Accueil hero: heart further left, visually centered between copy and edge. */
.hero-papercard .papercard-heart{right:34px;top:96px}
@media(max-width:650px){.hero-papercard .papercard-heart{right:22px;bottom:8px}}

/* Realistic phones across the 3 key demos: metallic bezel, softer shadows, less cartoon border. */
.device{
  box-sizing:border-box;
  border:6px solid transparent;
  border-radius:42px;
  background:
    linear-gradient(#0f0b14,#0f0b14) padding-box,
    linear-gradient(145deg,#c5bcc8 0%,#746a78 18%,#25202a 43%,#15101a 58%,#8e8292 82%,#d7ced8 100%) border-box;
  box-shadow:0 28px 45px rgba(7,3,13,.45),0 10px 18px rgba(10,5,12,.22),inset 0 0 0 1px rgba(255,255,255,.11);
}
.device::before{
  content:'';position:absolute;inset:4px;border-radius:35px;pointer-events:none;z-index:1;
  box-shadow:inset 1px 0 0 rgba(255,255,255,.12),inset -1px 0 0 rgba(255,255,255,.08),inset 0 1px 0 rgba(255,255,255,.06);
}
.device::after{
  content:'';position:absolute;left:2px;top:92px;width:3px;height:44px;border-radius:4px;pointer-events:none;z-index:2;
  background:linear-gradient(180deg,#8f8391,#4a414c 42%,#1d1822 65%,#8b7d8e);
  box-shadow:0 62px 0 0 rgba(96,86,99,.95),0 116px 0 0 rgba(70,63,73,.9);
}
.device-screen{position:relative;border-radius:34px;background:linear-gradient(180deg,#100c17 0%,#0c0912 100%);}
.device-screen::before{
  content:'';position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(110deg,rgba(255,255,255,.05),rgba(255,255,255,0) 24% 76%,rgba(255,255,255,.03));
}
.device-camera{
  top:10px;width:72px;height:16px;border-radius:999px;
  background:linear-gradient(180deg,#17141d,#050408);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.08),0 1px 3px rgba(0,0,0,.45);
}
.device-head,.phone-chat,.device-input{position:relative;z-index:2}
.mini-device{border-radius:32px}
.mini-device::before{border-radius:26px}
.mini-device .device-camera{top:7px;width:50px;height:10px}
.sms-page-device{border-radius:40px}
.hero-device{border-radius:42px}

/* Accueil — bloc Deux portes: restore natural bubble width, but make the conversation text larger so it occupies the phone height. */
.gateway-sms-art .mini-device{width:202px;height:330px;transform:rotate(-7deg) translate(-2px,5px)}
.gateway-sms-art .mini-device .device-screen{padding:15px 8px 7px}
.gateway-sms-art .mini-device .device-head{padding-bottom:8px}
.gateway-sms-art .mini-device .device-user b{font-size:8px}
.gateway-sms-art .mini-device .device-user small{font-size:6.8px}
.gateway-sms-art .mini-device .phone-chat{padding:10px 1px 2px;gap:4px}
.gateway-sms-art .mini-device .chat-thread{gap:8px}
.gateway-sms-art .mini-device .bubble{font-size:9.4px;padding:8px 10px;line-height:1.45;max-width:88%}
.gateway-sms-art .mini-device .device-input{font-size:6.8px;padding:5px 7px}

/* Page Histoires SMS — hero: larger conversation text + stronger vibration + sequential message reveal. */
.sms-page-device{animation:sms-vibrate-strong 5.4s cubic-bezier(.22,.61,.36,1) infinite}
.sms-page-device .device-screen{padding:24px 11px 11px}
.sms-page-device .device-head{padding-bottom:12px}
.sms-page-device .phone-chat{padding:18px 1px 3px;gap:4px}
.sms-page-device .chat-thread{gap:9px}
.sms-page-device .bubble{font-size:12.2px;padding:11px 12px;line-height:1.44;max-width:88%}
.sms-page-device .device-input{font-size:8.6px;padding:7px 9px}
.sms-page-device .sms-hero-thread .bubble{opacity:0;animation:message-in .78s var(--ease) both}
.sms-page-device .sms-hero-thread .bubble:nth-child(1){animation-delay:.22s}
.sms-page-device .sms-hero-thread .bubble:nth-child(2){animation-delay:.88s}
.sms-page-device .sms-hero-thread .bubble:nth-child(3){animation-delay:1.62s}
.sms-page-device .sms-hero-thread .bubble:nth-child(4){animation-delay:2.34s}
@keyframes sms-vibrate-strong{
  0%,100%{transform:rotate(-7deg) translate3d(0,0,0)}
  6%{transform:rotate(-5.8deg) translate3d(3px,-3px,0)}
  8%{transform:rotate(-8.3deg) translate3d(-3px,2px,0)}
  10%{transform:rotate(-6.1deg) translate3d(3px,-1px,0)}
  12%{transform:rotate(-8.1deg) translate3d(-2px,3px,0)}
  16%{transform:rotate(-7deg) translate3d(0,0,0)}
  38%{transform:rotate(-6.5deg) translate3d(0,-9px,0)}
  48%{transform:rotate(-7deg) translate3d(0,0,0)}
  58%{transform:rotate(-5.9deg) translate3d(3px,-2px,0)}
  60%{transform:rotate(-8.4deg) translate3d(-3px,3px,0)}
  62%{transform:rotate(-6deg) translate3d(3px,-2px,0)}
  64%{transform:rotate(-8.1deg) translate3d(-3px,2px,0)}
  67%{transform:rotate(-7deg) translate3d(0,0,0)}
  84%{transform:rotate(-6.4deg) translate3d(0,-7px,0)}
}
@media(prefers-reduced-motion:reduce){.sms-page-device,.sms-page-device .sms-hero-thread .bubble{animation:none!important;opacity:1!important}}

/* Romans page: keep 'ces personnages ?' large and on-brand, only recoloured. */
.books-club-transition .books-club-note b .rose-piece{
  color:var(--rose);font:inherit;font-family:inherit;font-size:1em;line-height:inherit;font-weight:inherit;letter-spacing:inherit;
}

/* Footer stays comfortable with extra social links. */
.footer-links a{line-height:1.45}


/* ------------------------------------------------------------------
   V6d · test mockup Anastasia & Dante + vrai lien FB MyMaloudia
   ------------------------------------------------------------------ */
.has-project-mockup .upcoming-right{gap:18px}
.upcoming-project-mockup{display:block;max-width:220px;width:100%;height:auto;filter:drop-shadow(0 18px 26px rgba(63,31,49,.22));transform:translateX(6px)}
.story-follow-with-mockup{align-items:center}
.story-follow-side{display:flex;flex-direction:column;align-items:flex-end;gap:18px;flex:0 0 300px}
.story-follow-mockup{display:block;max-width:280px;width:100%;height:auto;filter:drop-shadow(0 18px 26px rgba(63,31,49,.18))}
@media(max-width:900px){
  .has-project-mockup .upcoming-right{align-items:flex-start}
  .upcoming-project-mockup{max-width:200px;transform:none}
  .story-follow-side{align-items:flex-start;flex-basis:auto}
  .story-follow-mockup{max-width:240px}
}
@media(max-width:650px){
  .story-follow-with-mockup{display:block}
  .story-follow-side{margin-top:22px}
  .upcoming-project-mockup{max-width:190px}
}


/* ------------------------------------------------------------------
   V6e · dernières corrections demandées
   ------------------------------------------------------------------ */
/* Phone chrome inspired by the provided purple smartphone mockup. */
.device{
  border:5px solid transparent;
  background:
    linear-gradient(#0f0b14,#0f0b14) padding-box,
    linear-gradient(155deg,#f0b8e9 0%,#cf71ca 14%,#8f3e9b 38%,#4e1f62 58%,#8a4699 78%,#efb6e8 100%) border-box;
  box-shadow:0 28px 45px rgba(11,4,20,.45),0 12px 18px rgba(15,7,21,.22),inset 0 0 0 1px rgba(255,255,255,.16);
}
.device::before{
  inset:3px;
  border-radius:35px;
  box-shadow:inset 1px 0 0 rgba(255,255,255,.22),inset -1px 0 0 rgba(255,255,255,.12),inset 0 1px 0 rgba(255,255,255,.08),inset 0 0 22px rgba(255,255,255,.02);
}
.device::after{
  left:3px;top:90px;width:3px;height:46px;border-radius:6px;
  background:linear-gradient(180deg,#f1c1ee,#934ca2 44%,#582d70 70%,#e6a9e2);
  box-shadow:0 58px 0 0 rgba(185,116,197,.92),0 110px 0 0 rgba(125,74,145,.96);
}
.device-camera{
  top:4px;width:96px;height:24px;border-radius:0 0 18px 18px;
  background:linear-gradient(180deg,#0d0c12,#040308);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.06),0 1px 3px rgba(0,0,0,.45);
}
.device-camera::before,.device-camera::after{content:'';position:absolute;top:8px}
.device-camera::before{left:26px;width:34px;height:5px;border-radius:99px;background:#18161d;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.device-camera::after{right:23px;width:8px;height:8px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#2e2c34 0 25%,#0b0a0f 52%,#23202a 72%,#050408 100%);box-shadow:0 0 0 1px rgba(255,255,255,.06)}
.hero-device .device-camera,.sms-page-device .device-camera{width:100px;height:25px;top:4px}
.mini-device .device-camera{width:74px;height:18px;top:4px}
.mini-device .device-camera::before{left:18px;width:28px;height:4px;top:6px}
.mini-device .device-camera::after{right:17px;width:7px;height:7px;top:5px}
.device-user small{letter-spacing:.16em;text-transform:uppercase;color:#b6acbf;font-size:8px}
.gateway-sms-art .mini-device .device-user small{font-size:6.3px;letter-spacing:.14em}
.sms-page-device .device-user small,.hero-device .device-user small{font-size:8.2px}

/* Apply the same more realistic purple chrome to story-card/story-detail phones. */
.story-phone{
  background:linear-gradient(180deg,#100c16 0%,#0b0910 100%);
  border:4px solid transparent;
  border-radius:28px;
  box-shadow:0 18px 28px rgba(61,40,66,.34), inset 0 0 0 1px rgba(255,255,255,.12);
  overflow:hidden;
  background-clip:padding-box;
}
.story-phone::after{content:'';position:absolute;inset:0;border-radius:28px;padding:4px;background:linear-gradient(155deg,#f0b8e9 0%,#cf71ca 14%,#8f3e9b 38%,#4e1f62 58%,#8a4699 78%,#efb6e8 100%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
.story-phone:before{top:0;left:50%;transform:translateX(-50%);width:52px;height:13px;border-radius:0 0 12px 12px;background:linear-gradient(180deg,#0d0c12,#040308)}
.story-phone-top small{letter-spacing:.14em;text-transform:uppercase;color:#b5abbf}

/* Home hero card: place the heart further inward and better centered in the right free zone. */
.hero-papercard .papercard-heart{right:52px;top:96px}
@media(max-width:650px){.hero-papercard .papercard-heart{right:27px;bottom:8px}}

/* Home 'Deux portes' phone: larger text so the thread uses nearly the whole height without widening the bubbles. */
.gateway-sms-art .mini-device{width:204px;height:334px}
.gateway-sms-art .mini-device .device-screen{padding:17px 8px 7px}
.gateway-sms-art .mini-device .device-head{padding-bottom:7px}
.gateway-sms-art .mini-device .phone-chat{padding:11px 1px 1px;gap:3px}
.gateway-sms-art .mini-device .chat-thread{gap:8px}
.gateway-sms-art .mini-device .bubble{font-size:10.3px;padding:8px 10px;line-height:1.45;max-width:86%}
.gateway-sms-art .mini-device .device-input{font-size:6.8px;padding:4px 7px}

/* SMS hero phone: same principle, larger type and fuller vertical occupation. */
.sms-page-device .device-screen{padding:25px 11px 10px}
.sms-page-device .phone-chat{padding:18px 1px 1px;gap:3px}
.sms-page-device .chat-thread{gap:10px}
.sms-page-device .bubble{font-size:13px;padding:11px 12px;line-height:1.44;max-width:86%}
.sms-page-device .device-input{font-size:8.4px;padding:6px 9px}

/* Keep the home hero phone aligned with the new chrome. */
.hero-device .device-screen{padding-top:25px}
.hero-device .device-input{font-size:8.8px}

/* Romans card: keep the recoloured words full-size and add the requested suspension points. */
.books-club-transition .books-club-note small{letter-spacing:.16em}

@media(max-width:900px){
  .gateway-sms-art .mini-device .bubble{font-size:9.6px}
  .sms-page-device .bubble{font-size:12px}
}
@media(max-width:650px){
  .gateway-sms-art .mini-device{width:164px;height:286px}
  .gateway-sms-art .mini-device .bubble{font-size:8.2px;padding:6px 7px}
  .sms-page-device .bubble{font-size:9.2px;padding:8px 9px}
  .story-phone{border-radius:25px}
}


/* ------------------------------------------------------------------
   V6f · correctifs définitifs demandés par Michelle
   ------------------------------------------------------------------ */
/* Phone treatment: premium, sober, elegant prune-gold chrome inspired by the provided mockup. */
.device, .story-phone{overflow:hidden}
.device{
  border:3px solid rgba(119,88,102,.9)!important;
  background:linear-gradient(180deg,#20141f 0%,#0f0a12 100%) padding-box,
             linear-gradient(145deg,#e1cbc1 0%,#8b6771 16%,#5a3c4a 38%,#2f222d 58%,#7c5a67 82%,#dcc6b9 100%) border-box!important;
  box-shadow:0 18px 34px rgba(12,6,14,.32),0 0 0 1px rgba(255,255,255,.09) inset,0 1px 0 rgba(255,255,255,.07) inset!important;
}
.device::before{content:'';position:absolute;inset:2px;border-radius:36px;pointer-events:none;box-shadow:inset 1px 0 0 rgba(255,255,255,.20),inset -1px 0 0 rgba(255,255,255,.08),inset 0 1px 0 rgba(255,255,255,.06)}
.device::after{content:'';position:absolute;left:1px;top:86px;width:2px;height:41px;border-radius:3px;background:linear-gradient(180deg,#e0cec0,#785b65 45%,#44313d 72%,#c4ac9b);box-shadow:0 52px 0 0 rgba(121,94,106,.92),0 100px 0 0 rgba(89,65,76,.9);opacity:.95}
.device-screen{background:linear-gradient(180deg,#0d0b13 0%,#09070e 100%)!important}
.device-camera{top:4px!important;width:92px!important;height:24px!important;border-radius:0 0 17px 17px!important;background:linear-gradient(180deg,#16131c 0%,#08060b 100%)!important;box-shadow:inset 0 1px 1px rgba(255,255,255,.04),0 1px 2px rgba(0,0,0,.45)!important}
.device-camera::before,.device-camera::after{content:'';position:absolute;top:8px}
.device-camera::before{left:25px;width:32px;height:5px;border-radius:99px;background:#1d1924;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.device-camera::after{right:22px;width:8px;height:8px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#3f3946 0 22%,#09070e 50%,#23202b 74%,#050408 100%)}
.hero-device,.sms-page-device{border-radius:38px!important}
.mini-device{border-radius:32px!important}
.mini-device .device-camera{width:74px!important;height:18px!important;top:4px!important}
.mini-device .device-camera::before{left:18px;top:6px;width:27px;height:4px}
.mini-device .device-camera::after{right:17px;top:5px;width:7px;height:7px}

/* Story phones across the SMS universe. */
.story-phone{
  background:linear-gradient(180deg,#1c121a 0%,#0c0810 100%) padding-box,
             linear-gradient(145deg,#dec7ba 0%,#8b6771 18%,#5a3c4a 40%,#2f222d 60%,#7c5a67 82%,#dcc6b9 100%) border-box!important;
  border:3px solid transparent!important;
  box-shadow:0 14px 26px rgba(23,10,19,.25),0 0 0 1px rgba(255,255,255,.10) inset!important;
}
.story-phone:before{top:4px!important;width:54px!important;height:13px!important;border-radius:0 0 12px 12px!important;background:linear-gradient(180deg,#15131b 0%,#07060a 100%)!important}
.story-phone::after{content:'';position:absolute;inset:2px;border-radius:21px;pointer-events:none;box-shadow:inset 1px 0 0 rgba(255,255,255,.19),inset -1px 0 0 rgba(255,255,255,.08),inset 0 1px 0 rgba(255,255,255,.05)}

/* Bring back the true conversation subtitle and use the requested theme tags in the former 'conversation aperçu' slot. */
.device-user small{color:#a89dab!important;letter-spacing:.04em!important;text-transform:none!important}
.device-section-label{font-size:8px;letter-spacing:.22em;text-transform:uppercase;color:#7d7285;text-align:center;padding:9px 0 5px;border-bottom:1px solid rgba(255,255,255,.07);margin-top:1px}
.gateway-sms-art .device-section-label{font-size:6.3px;padding:7px 0 4px;margin-top:0}
.hero-device .device-section-label,.sms-page-device .device-section-label{font-size:8.1px}

/* Home hero: keep generous message size and remove the oversized flashy frame. */
.hero-device .device-screen{padding:24px 10px 12px!important}
.hero-device .device-head{padding-bottom:10px!important}
.hero-device .phone-chat{padding:12px 2px 8px!important;gap:3px!important}
.hero-device .chat-thread{gap:8px!important}
.hero-device .bubble{font-size:10.6px!important;padding:10px 11px!important;line-height:1.42!important;max-width:84%!important}
.hero-device .device-input{font-size:8.2px!important;padding:7px 9px!important;margin-top:6px!important}

/* Home 'Deux portes' Alexia & Logan: slightly smaller bubbles, iMessage lifted, small breathing room above the input. */
.gateway-sms-art .mini-device{width:196px!important;height:326px!important;transform:rotate(-7deg) translate(-2px,5px)!important}
.gateway-sms-art .mini-device .device-screen{padding:16px 8px 10px!important}
.gateway-sms-art .mini-device .device-head{padding-bottom:7px!important}
.gateway-sms-art .mini-device .phone-chat{padding:9px 2px 0!important;gap:3px!important}
.gateway-sms-art .mini-device .chat-thread{gap:7px!important}
.gateway-sms-art .mini-device .bubble{font-size:9px!important;padding:7px 9px!important;line-height:1.40!important;max-width:86%!important}
.gateway-sms-art .mini-device .device-input{font-size:6.7px!important;padding:4px 7px!important;margin-top:5px!important;transform:translateY(-4px)}

/* SMS hero: slightly reduce text from the previous version and keep a clear gap above iMessage. */
.sms-page-device{animation:sms-vibrate-strong 5.4s cubic-bezier(.22,.61,.36,1) infinite!important}
.sms-page-device .device-screen{padding:24px 11px 12px!important}
.sms-page-device .device-head{padding-bottom:10px!important}
.sms-page-device .phone-chat{padding:12px 2px 0!important;gap:3px!important}
.sms-page-device .chat-thread{gap:9px!important}
.sms-page-device .bubble{font-size:11.6px!important;padding:10px 11px!important;line-height:1.42!important;max-width:84%!important}
.sms-page-device .device-input{font-size:8.1px!important;padding:7px 9px!important;margin-top:7px!important;transform:translateY(-3px)}

/* Keep story-card/detail phones aligned with the premium finish. */
.story-phone-top small{color:#a99eb0!important;letter-spacing:.14em!important;text-transform:uppercase!important}

/* Make the Anastasia & Dante mockup truly more visible. */
.has-project-mockup .upcoming-right{gap:22px!important;min-width:310px;align-items:center!important}
.upcoming-project-mockup{max-width:280px!important;transform:none!important;filter:drop-shadow(0 22px 34px rgba(58,29,45,.18))!important}
.story-follow-with-mockup{grid-template-columns:1fr .98fr!important;align-items:center!important}
.story-follow-side{display:flex;flex-direction:column;align-items:center;gap:22px}
.story-follow-mockup{max-width:335px!important;filter:drop-shadow(0 22px 34px rgba(58,29,45,.16))!important}

@media(max-width:1000px){
  .upcoming-project-mockup{max-width:238px!important}
  .story-follow-mockup{max-width:290px!important}
}
@media(max-width:650px){
  .gateway-sms-art .mini-device{width:168px!important;height:285px!important}
  .gateway-sms-art .mini-device .bubble{font-size:7.9px!important;padding:6px 7px!important}
  .sms-page-device .bubble{font-size:9.3px!important;padding:8px 9px!important}
  .upcoming-project-mockup{max-width:190px!important}
  .story-follow-mockup{max-width:220px!important}
}

/* ------------------------------------------------------------------
   V6g · refonte premium des portables (plan validé par Michelle)
   ------------------------------------------------------------------ */

/* Language visuel unifié : iPhone premium, rose gold discret, écran noir profond. */
.device{
  border:4px solid transparent !important;
  border-radius:36px !important;
  background:
    linear-gradient(180deg,#181119 0%,#0b0910 100%) padding-box,
    linear-gradient(145deg,
      #f2ddd2 0%,
      #d6b5a8 9%,
      #a67f79 20%,
      #6e545a 38%,
      #35272f 56%,
      #7f646b 77%,
      #d9b9aa 91%,
      #f3e1d8 100%) border-box !important;
  box-shadow:
    0 20px 34px rgba(12,7,13,.24),
    0 8px 16px rgba(10,5,12,.14),
    inset 0 0 0 1px rgba(255,255,255,.12),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
}
.device::before{
  content:'';
  position:absolute;
  inset:2px;
  border-radius:31px;
  pointer-events:none;
  box-shadow:
    inset 1px 0 0 rgba(255,255,255,.22),
    inset -1px 0 0 rgba(255,255,255,.09),
    inset 0 1px 0 rgba(255,255,255,.07),
    inset 0 -1px 0 rgba(255,255,255,.03);
}
.device::after{
  content:'';
  position:absolute;
  left:1px;
  top:98px;
  width:2px;
  height:34px;
  border-radius:2px;
  pointer-events:none;
  opacity:.72;
  background:linear-gradient(180deg,#d8c0b2 0%,#8d6b70 48%,#4c3640 100%);
  box-shadow:
    0 48px 0 0 rgba(160,128,122,.72),
    0 92px 0 0 rgba(118,90,97,.7);
}
.device-screen{
  border-radius:31px !important;
  background:linear-gradient(180deg,#08070c 0%,#050409 100%) !important;
}
.device-screen::before{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(108deg,rgba(255,255,255,.055) 0,rgba(255,255,255,0) 17%,rgba(255,255,255,0) 78%,rgba(255,255,255,.025) 100%),
    radial-gradient(120% 100% at 8% 0%,rgba(255,255,255,.05),transparent 32%);
}
.device-camera{
  top:7px !important;
  width:88px !important;
  height:13px !important;
  border-radius:999px !important;
  background:linear-gradient(180deg,#111016 0%,#05050a 100%) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 1px 2px rgba(0,0,0,.35) !important;
}
.device-camera::before,.device-camera::after{display:none !important}

/* Haut du téléphone : plus d'air, noms redescendus, hiérarchie nette. */
.device-head{
  min-height:42px;
  padding-bottom:10px !important;
  font-size:12px !important;
}
.device-head > span{
  font-size:13px;
  line-height:1;
  color:#f4edf3;
  opacity:.92;
  flex:none;
}
.device-user{
  line-height:1.12 !important;
  padding-top:6px;
}
.device-user b{
  font-size:10.8px !important;
  font-weight:700 !important;
  line-height:1.15 !important;
  letter-spacing:.005em;
}
.device-user small{
  font-size:8.25px !important;
  line-height:1.15 !important;
  color:#a898a5 !important;
  letter-spacing:.025em !important;
}
.device-section-label{
  margin-top:0 !important;
  padding:8px 0 6px !important;
  border-bottom:none !important;
  color:#7f7584 !important;
  font-size:7.2px !important;
  font-weight:600 !important;
  letter-spacing:.24em !important;
  text-transform:uppercase !important;
}
.hero-device .device-section-label,
.sms-page-device .device-section-label{
  font-size:7.8px !important;
}

/* Grands téléphones : présence premium, sans effet gadget. */
.hero-device,
.sms-page-device{
  border-radius:36px !important;
}
.hero-device .device-screen,
.sms-page-device .device-screen{
  padding-top:30px !important;
}
.hero-device .device-head,
.sms-page-device .device-head{
  padding-inline:1px;
}

/* Hero accueil : garder une densité confortable et un bas crédible. */
.hero-device .phone-chat{
  padding:11px 2px 7px !important;
  gap:2px !important;
}
.hero-device .chat-thread{gap:7px !important}
.hero-device .bubble{
  font-size:10.5px !important;
  line-height:1.4 !important;
  padding:9px 11px !important;
  max-width:84% !important;
}
.hero-device .device-input{
  margin-top:4px !important;
  padding:7px 9px !important;
  font-size:8.15px !important;
}

/* Accueil — Deux portes : texte un peu plus gros, sans coller au bas. */
.gateway-sms-art .mini-device{
  width:194px !important;
  height:324px !important;
  border-width:3px !important;
  border-radius:31px !important;
}
.gateway-sms-art .mini-device::after{display:none !important}
.gateway-sms-art .mini-device .device-screen{
  padding:21px 8px 9px !important;
  border-radius:26px !important;
}
.gateway-sms-art .mini-device .device-camera{
  top:6px !important;
  width:62px !important;
  height:10px !important;
}
.gateway-sms-art .mini-device .device-head{
  min-height:34px;
  padding-bottom:8px !important;
}
.gateway-sms-art .mini-device .device-head > span{font-size:10px !important}
.gateway-sms-art .mini-device .device-user{
  padding-top:4px;
}
.gateway-sms-art .mini-device .device-user b{font-size:7.5px !important}
.gateway-sms-art .mini-device .device-user small{font-size:6.3px !important}
.gateway-sms-art .mini-device .device-section-label{
  font-size:5.9px !important;
  letter-spacing:.19em !important;
  padding:6px 0 5px !important;
}
.gateway-sms-art .mini-device .phone-chat{
  padding:9px 1px 0 !important;
}
.gateway-sms-art .mini-device .chat-thread{gap:6px !important}
.gateway-sms-art .mini-device .bubble{
  font-size:9.45px !important;
  line-height:1.37 !important;
  padding:7px 9px !important;
  max-width:85% !important;
}
.gateway-sms-art .mini-device .device-input{
  margin-top:4px !important;
  transform:translateY(-4px) !important;
  padding:4px 7px !important;
  font-size:6.55px !important;
}

/* Hero Histoires SMS : texte lisible, bas aéré, labels propres. */
.sms-page-device{
  animation:sms-vibrate-strong 5.4s cubic-bezier(.22,.61,.36,1) infinite !important;
}
.sms-page-device .phone-chat{
  padding:11px 2px 0 !important;
}
.sms-page-device .chat-thread{gap:8px !important}
.sms-page-device .bubble{
  font-size:11.45px !important;
  line-height:1.4 !important;
  padding:9px 11px !important;
  max-width:83% !important;
}
.sms-page-device .device-input{
  margin-top:6px !important;
  transform:translateY(-2px) !important;
  padding:7px 9px !important;
  font-size:8px !important;
}

/* Cartes et détail Histoires SMS : simplification nette des petits téléphones. */
.story-phone{
  border:2px solid transparent !important;
  border-radius:24px !important;
  background:
    linear-gradient(180deg,#171119 0%,#09070d 100%) padding-box,
    linear-gradient(145deg,
      #f0dbd0 0%,
      #cfaa9c 12%,
      #9d7775 28%,
      #664b54 48%,
      #2e232b 63%,
      #84646b 84%,
      #ebd6cc 100%) border-box !important;
  box-shadow:
    0 14px 24px rgba(27,12,21,.18),
    inset 0 0 0 1px rgba(255,255,255,.09),
    inset 0 1px 0 rgba(255,255,255,.05) !important;
}
.story-phone::before{
  content:'';
  position:absolute;
  top:6px !important;
  left:50%;
  transform:translateX(-50%);
  width:44px !important;
  height:9px !important;
  border-radius:999px !important;
  background:linear-gradient(180deg,#111016 0%,#05050a 100%) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.story-phone::after{
  content:'';
  position:absolute;
  inset:2px;
  border-radius:20px;
  pointer-events:none;
  box-shadow:
    inset 1px 0 0 rgba(255,255,255,.16),
    inset -1px 0 0 rgba(255,255,255,.06),
    inset 0 1px 0 rgba(255,255,255,.05);
}
.story-phone-top{
  padding-top:10px;
  position:relative;
  z-index:2;
}
.story-phone-top b{
  font-size:8px !important;
  line-height:1.15 !important;
}
.story-phone-top small{
  font-size:5.8px !important;
  color:#ab9fad !important;
  letter-spacing:.12em !important;
  text-transform:uppercase !important;
}
.story-phone-box{z-index:2}

/* Le mock-up A&D reste plus visible, conformément au plan validé. */
.upcoming-project-mockup{
  max-width:320px !important;
}
.story-follow-mockup{
  max-width:365px !important;
}

@media(max-width:1000px){
  .upcoming-project-mockup{max-width:270px !important}
  .story-follow-mockup{max-width:315px !important}
}
@media(max-width:650px){
  .gateway-sms-art .mini-device{
    width:166px !important;
    height:282px !important;
  }
  .gateway-sms-art .mini-device .bubble{
    font-size:8px !important;
    padding:6px 7px !important;
  }
  .sms-page-device .bubble{
    font-size:9.25px !important;
    padding:8px 9px !important;
  }
  .upcoming-project-mockup{max-width:204px !important}
  .story-follow-mockup{max-width:238px !important}
}


/* ------------------------------------------------------------------
   V7b · correction fine téléphones + menu accueil
   ------------------------------------------------------------------ */

/* Menu */
.main-nav{gap:26px}

/* Téléphones premium : prune/rose gold mat, moins métallisé */
.device,
.story-phone{
  background:
    linear-gradient(180deg,#181218 0%,#0a080d 100%) padding-box,
    linear-gradient(145deg,
      #c3b1b1 0%,
      #a5888f 16%,
      #7f656e 38%,
      #5e4954 61%,
      #4a3843 79%,
      #8c7177 92%,
      #bfadae 100%) border-box !important;
}
.device{
  border-width:3.5px !important;
  border-radius:37px !important;
  box-shadow:
    0 18px 34px rgba(20,10,17,.22),
    0 8px 14px rgba(20,10,17,.12),
    inset 0 0 0 1px rgba(255,255,255,.06),
    inset 0 1px 0 rgba(255,255,255,.04) !important;
}
.device::before{
  inset:2px !important;
  border-radius:33px !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.045),
    inset 1px 0 0 rgba(255,255,255,.05),
    inset -1px 0 0 rgba(255,255,255,.025),
    inset 0 -1px 0 rgba(0,0,0,.14) !important;
}
/* Deux boutons à gauche, intégrés au châssis */
.device::after{
  content:'' !important;
  position:absolute !important;
  left:1px !important;
  top:112px !important;
  width:3px !important;
  height:34px !important;
  border-radius:3px !important;
  background:linear-gradient(180deg,#a0838a 0%,#6e5761 45%,#4c3c46 100%) !important;
  box-shadow:0 50px 0 0 rgba(102,82,91,.96) !important;
  opacity:1 !important;
}
/* Un bouton à droite */
.device-screen::after{
  content:'';
  position:absolute;
  right:-12px;
  top:154px;
  width:3px;
  height:44px;
  border-radius:3px;
  background:linear-gradient(180deg,#a0838a 0%,#6e5761 45%,#4c3c46 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
.device-screen{
  border-radius:33px !important;
  background:linear-gradient(180deg,#07070c 0%,#030307 100%) !important;
}
.device-screen::before{
  background:
    linear-gradient(108deg,rgba(255,255,255,.035) 0,rgba(255,255,255,0) 16%,rgba(255,255,255,0) 80%,rgba(255,255,255,.018) 100%),
    radial-gradient(125% 100% at 10% 0%,rgba(255,255,255,.032),transparent 34%) !important;
}
.device-camera{
  background:linear-gradient(180deg,#14131a 0%,#06070b 100%) !important;
}
.hero-device,
.sms-page-device{outline:none}

/* Bulle photo, visuellement distincte */
.bubble-photo{
  font-weight:700;
  letter-spacing:.02em;
}

/* Mini téléphone d'accueil : vraie miniature du hero */
.gateway-sms-art .mini-device{
  width:198px !important;
  height:332px !important;
  border-width:3px !important;
  border-radius:31px !important;
  box-shadow:
    0 16px 28px rgba(24,9,18,.20),
    0 7px 12px rgba(24,9,18,.10),
    inset 0 0 0 1px rgba(255,255,255,.05) !important;
}
.gateway-sms-art .mini-device::before{border-radius:28px !important}
.gateway-sms-art .mini-device::after{
  display:block !important;
  left:1px !important;
  top:92px !important;
  width:2px !important;
  height:24px !important;
  border-radius:2px !important;
  background:linear-gradient(180deg,#a0838a 0%,#6e5761 45%,#4c3c46 100%) !important;
  box-shadow:0 36px 0 0 rgba(102,82,91,.96) !important;
}
.gateway-sms-art .mini-device .device-screen::after{
  content:'';
  position:absolute;
  right:-9px;
  top:123px;
  width:2px;
  height:31px;
  border-radius:2px;
  background:linear-gradient(180deg,#a0838a 0%,#6e5761 45%,#4c3c46 100%);
}
.gateway-sms-art .mini-device .device-screen{
  border-radius:27px !important;
  padding:22px 8px 8px !important;
}
.gateway-sms-art .mini-device .device-camera{
  width:64px !important;
  height:12px !important;
  top:5px !important;
  border-radius:999px !important;
}
.gateway-sms-art .mini-device .device-head{
  min-height:32px !important;
  padding-bottom:7px !important;
}
.gateway-sms-art .mini-device .device-user b{font-size:7.7px !important}
.gateway-sms-art .mini-device .device-user small{font-size:6.1px !important}
.gateway-sms-art .mini-device .device-section-label{
  font-size:5.6px !important;
  padding:5px 0 5px !important;
}
.gateway-sms-art .mini-device .phone-chat{padding:8px 1px 0 !important}
.gateway-sms-art .mini-device .chat-thread{gap:6px !important}
.gateway-sms-art .mini-device .bubble{
  font-size:9px !important;
  line-height:1.36 !important;
  padding:7px 9px !important;
  max-width:84% !important;
}
.gateway-sms-art .mini-device .device-input{
  margin-top:5px !important;
  transform:translateY(-3px) !important;
}

/* Hero SMS : un peu plus d'air pour la nouvelle bulle */
.sms-page-device .phone-chat{padding:9px 2px 0 !important}
.sms-page-device .chat-thread{gap:7px !important}
.sms-page-device .bubble{font-size:11px !important;line-height:1.37 !important}
.sms-page-device .device-input{margin-top:5px !important;padding:7px 9px !important}

/* Cartes Histoires SMS et détail : mini version premium du hero */
.story-phone{
  overflow:visible !important;
  width:132px !important;
  height:220px !important;
  margin:24px auto 24px !important;
  border:3px solid transparent !important;
  border-radius:28px !important;
  color:#fff !important;
  box-shadow:
    0 14px 24px rgba(23,10,18,.20),
    0 6px 10px rgba(23,10,18,.10),
    inset 0 0 0 1px rgba(255,255,255,.05) !important;
  padding:18px 10px 10px !important;
}
.story-phone::before{
  content:'' !important;
  position:absolute !important;
  top:6px !important;
  left:50% !important;
  transform:translateX(-50%) !important;
  width:46px !important;
  height:9px !important;
  border-radius:999px !important;
  background:linear-gradient(180deg,#13121a 0%,#06070b 100%) !important;
}
.story-phone::after{
  content:'' !important;
  position:absolute !important;
  left:1px !important;
  top:73px !important;
  width:2px !important;
  height:18px !important;
  border-radius:2px !important;
  background:linear-gradient(180deg,#a0838a 0%,#6e5761 45%,#4c3c46 100%) !important;
  box-shadow:0 28px 0 0 rgba(102,82,91,.96), 129px 42px 0 0 rgba(102,82,91,.96) !important;
}
.story-phone-top{
  padding-top:6px !important;
}
.story-avatar{
  width:22px !important;
  height:22px !important;
  margin-bottom:6px !important;
}
.story-phone-top b{
  font-size:8.1px !important;
  line-height:1.14 !important;
}
.story-phone-top small{
  font-size:5.8px !important;
  color:#a999a6 !important;
  letter-spacing:.12em !important;
  text-transform:uppercase !important;
  margin-top:3px !important;
}
.story-phone-box{
  left:11px !important;
  right:11px !important;
  top:87px !important;
  min-height:68px !important;
  border-radius:0 !important;
  border-left:4px solid #37c8ff !important;
  border-bottom:4px solid #f24c9d !important;
  box-shadow:0 8px 14px rgba(0,0,0,.10) !important;
}
.story-phone-box strong{font-size:10.6px !important}
.story-phone-box small{font-size:7px !important;margin-top:8px !important}
.story-phone-bottom{bottom:14px !important}
.story-phone-bottom span{font-size:9px !important;padding:2px 8px !important}
.large-story-phone{
  transform:rotate(-5deg) scale(1.8) !important;
}
.large-story-phone .story-phone-top b{font-size:8.4px !important}
.large-story-phone .story-phone-box strong{font-size:11px !important}

@media(max-width:650px){
  .main-nav{gap:0}
  .gateway-sms-art .mini-device{width:170px !important;height:288px !important}
  .gateway-sms-art .mini-device .bubble{font-size:8px !important;padding:6px 7px !important}
  .story-phone{width:112px !important;height:186px !important;margin:18px auto !important}
  .story-phone::after{box-shadow:0 24px 0 0 rgba(102,82,91,.96),109px 36px 0 0 rgba(102,82,91,.96) !important}
  .story-phone-box{top:74px !important;min-height:56px !important}
  .story-phone-box strong{font-size:9px !important}
  .story-phone-top b{font-size:7px !important}
  .story-phone-top small{font-size:5.2px !important}
}


/* =========================================================
   V9 · Refonte des portables d’après la référence fournie
   ========================================================= */

:root{
  --iphone-shell-start:#4d233d;
  --iphone-shell-mid:#2f1424;
  --iphone-shell-end:#150910;
  --iphone-button-start:#401e33;
  --iphone-button-end:#220f1b;
  --iphone-screen:#09050b;
  --iphone-header:rgba(12,8,15,.85);
  --iphone-divider:rgba(255,255,255,.05);
  --iphone-text-soft:#847b8b;
  --iphone-blue:#2f80ed;
  --iphone-received:#1c1320;
}

/* Coque premium partagée */
.device,
.story-phone{
  background:linear-gradient(135deg,var(--iphone-shell-start) 0%,var(--iphone-shell-mid) 50%,var(--iphone-shell-end) 100%) !important;
  box-shadow:
    0 20px 44px rgba(0,0,0,.45),
    0 10px 20px rgba(0,0,0,.22),
    inset 0 1px 1px rgba(255,255,255,.28),
    inset 0 -1px 2px rgba(0,0,0,.8),
    inset 1px 0 1px rgba(255,255,255,.12),
    inset -1px 0 1px rgba(0,0,0,.42) !important;
  overflow:visible !important;
}

/* Téléphones hero / grands */
.hero-device,
.sms-page-device{
  border:none !important;
  padding:3.5px !important;
  border-radius:46px !important;
}
.hero-device .device-screen,
.sms-page-device .device-screen,
.gateway-sms-art .mini-device .device-screen{
  position:relative;
  background-color:var(--iphone-screen) !important;
  border:4.5px solid #000 !important;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  box-shadow:inset 0 0 4px rgba(0,0,0,.9) !important;
}
.hero-device .device-screen,
.sms-page-device .device-screen{
  border-radius:43px !important;
}
.hero-device .device-camera,
.sms-page-device .device-camera,
.gateway-sms-art .mini-device .device-camera{
  top:10px !important;
  left:50% !important;
  transform:translateX(-50%) !important;
  width:88px !important;
  height:25px !important;
  border-radius:14px !important;
  background:#000 !important;
  box-shadow:inset 0 .5px 1px rgba(255,255,255,.08) !important;
}
.gateway-sms-art .mini-device .device-camera{
  width:46px !important;
  height:13px !important;
  top:5px !important;
  border-radius:10px !important;
}
.hero-device::before,
.sms-page-device::before,
.gateway-sms-art .mini-device::before{
  content:'';
  position:absolute;
  left:-2px;
  width:2px;
  z-index:2;
  background:linear-gradient(to bottom,var(--iphone-button-start),var(--iphone-button-end));
  box-shadow:
    -1px 1.5px 2px rgba(0,0,0,.6),
    inset 0 .5px 0 rgba(255,255,255,.15),
    0 43px 0 0 rgba(34,15,27,1),
    0 109px 0 0 rgba(34,15,27,1);
  border-radius:2px 0 0 2px;
}
.hero-device::before,
.sms-page-device::before{
  top:145px;
  height:26px;
}
.hero-device .device-screen::after,
.sms-page-device .device-screen::after,
.gateway-sms-art .mini-device .device-screen::after{
  content:'';
  position:absolute;
  right:-2px;
  z-index:2;
  width:2px;
  background:linear-gradient(to bottom,var(--iphone-button-start),var(--iphone-button-end));
  border-radius:0 2px 2px 0;
  box-shadow:1px 1.5px 2px rgba(0,0,0,.6), inset 0 .5px 0 rgba(255,255,255,.15);
}
.hero-device .device-screen::after,
.sms-page-device .device-screen::after{
  top:215px;
  height:82px;
}
.gateway-sms-art .mini-device{
  border:none !important;
  padding:2px !important;
  border-radius:24px !important;
  width:190px !important;
  height:395px !important;
  transform:rotate(-8deg) translate(2px,10px) !important;
  box-shadow:0 15px 35px rgba(0,0,0,.8), inset 0 .5px .5px rgba(255,255,255,.3) !important;
}
.gateway-sms-art .mini-device::before{
  top:76px;
  height:14px;
  left:-1.2px;
  width:1.2px;
  border-radius:1px 0 0 1px;
  box-shadow:
    -1px 1.5px 2px rgba(0,0,0,.6),
    inset 0 .5px 0 rgba(255,255,255,.15),
    0 23px 0 0 rgba(34,15,27,1),
    0 58px 0 0 rgba(34,15,27,1);
}
.gateway-sms-art .mini-device .device-screen{
  border-radius:22px !important;
  padding:0 !important;
}
.gateway-sms-art .mini-device .device-screen::after{
  right:-1.2px;
  top:113px;
  height:43px;
  width:1.2px;
  border-radius:0 1px 1px 0;
}

/* Header / corps / footer type iMessage */
.device-head{
  position:relative !important;
  padding:44px 12px 12px !important;
  background:var(--iphone-header) !important;
  backdrop-filter:blur(25px);
  -webkit-backdrop-filter:blur(25px);
  border-bottom:1px solid var(--iphone-divider) !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  text-align:center !important;
  gap:0 !important;
  min-height:96px;
}
.gateway-sms-art .mini-device .device-head{
  padding:23px 7px 7px !important;
  min-height:52px;
}
.device-head > span:first-child,
.device-head > span:last-child{
  position:absolute !important;
  top:46px;
  font-size:14px !important;
  line-height:1;
  color:#efeaf1;
}
.gateway-sms-art .mini-device .device-head > span:first-child,
.gateway-sms-art .mini-device .device-head > span:last-child{
  top:24px;
  font-size:9px !important;
}
.device-head > span:first-child{left:12px}
.device-head > span:last-child{right:12px}
.device-user{
  display:flex !important;
  flex-direction:column !important;
  align-items:center;
  justify-content:center;
  line-height:1.15 !important;
}
.device-user b{
  font-size:13.5px !important;
  font-weight:600 !important;
  letter-spacing:-.01em !important;
}
.device-user small{
  font-size:9px !important;
  color:var(--iphone-text-soft) !important;
  margin-top:1px !important;
}
.gateway-sms-art .mini-device .device-user b{font-size:7px !important}
.gateway-sms-art .mini-device .device-user small{font-size:4.5px !important}
.device-section-label{
  padding:8px 0 9px !important;
  text-align:center !important;
  font-size:9px !important;
  letter-spacing:.42em !important;
  color:#6f6674 !important;
}
.gateway-sms-art .mini-device .device-section-label{
  font-size:5px !important;
  padding:5px 0 6px !important;
}
.phone-chat{
  flex:1 !important;
  padding:14px !important;
  display:flex !important;
  flex-direction:column !important;
  min-height:0 !important;
}
.gateway-sms-art .mini-device .phone-chat{padding:7px !important}
.chat-thread{display:flex;flex-direction:column;gap:10px !important}
.gateway-sms-art .mini-device .chat-thread{gap:5px !important}
.bubble{
  max-width:82% !important;
  padding:9px 13px !important;
  border-radius:17px !important;
  font-size:12.5px !important;
  line-height:1.4 !important;
  box-sizing:border-box;
  box-shadow:none !important;
}
.bubble.blue{
  background-color:var(--iphone-blue) !important;
  color:#fff !important;
  align-self:flex-end !important;
  border-bottom-right-radius:4px !important;
}
.bubble.grey{
  background-color:var(--iphone-received) !important;
  color:#f2f2f7 !important;
  align-self:flex-start !important;
  border-bottom-left-radius:4px !important;
  border:1px solid rgba(255,255,255,.01) !important;
}
.bubble-photo{
  font-weight:600 !important;
  letter-spacing:0 !important;
}
.gateway-sms-art .mini-device .bubble{
  padding:4.5px 7px !important;
  border-radius:9px !important;
  font-size:6.5px !important;
}
.device-input{
  width:calc(100% - 28px);
  height:33px;
  margin:0 14px 14px !important;
  background:#140f17 !important;
  border:1px solid rgba(255,255,255,.05) !important;
  border-radius:17px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  padding:0 12px !important;
  box-sizing:border-box;
  color:#4b4050 !important;
  font-size:12px !important;
}
.device-input span{color:#312835 !important}
.gateway-sms-art .mini-device .device-input{
  width:calc(100% - 14px);
  height:16px;
  margin:0 7px 11px !important;
  border-radius:8px !important;
  padding:0 6px !important;
  font-size:5.5px !important;
}
.gateway-sms-art .mini-device .device-input span{font-size:5px !important}

/* Réglages propres aux héros */
.hero-device .phone-chat{padding:14px 14px 8px !important}
.hero-device .chat-thread{gap:10px !important}
.hero-device .bubble{font-size:12px !important}
.sms-page-device .phone-chat{padding:14px 14px 8px !important}
.sms-page-device .chat-thread{gap:10px !important}
.sms-page-device .bubble{font-size:12px !important}
.sms-page-device .bubble.blue.bubble-photo{font-size:11.3px !important}

/* Cartes d'histoires + page détail : même coque premium */
.story-phone{
  width:134px !important;
  height:279px !important;
  margin:24px auto 25px !important;
  border:none !important;
  border-radius:24px !important;
  padding:2px !important;
}
.story-phone::before{
  content:'' !important;
  position:absolute !important;
  top:5px !important;
  left:50% !important;
  transform:translateX(-50%) !important;
  width:46px !important;
  height:13px !important;
  border-radius:10px !important;
  background:#000 !important;
  z-index:3;
}
.story-phone::after{
  content:'' !important;
  position:absolute !important;
  left:-1.2px !important;
  top:76px !important;
  width:1.2px !important;
  height:14px !important;
  border-radius:1px 0 0 1px !important;
  background:linear-gradient(to bottom,var(--iphone-button-start),var(--iphone-button-end)) !important;
  box-shadow:
    -1px 1.5px 2px rgba(0,0,0,.6),
    inset 0 .5px 0 rgba(255,255,255,.15),
    0 23px 0 0 rgba(34,15,27,1),
    0 58px 0 0 rgba(34,15,27,1),
    136.2px 37px 0 0 rgba(34,15,27,1) !important;
  z-index:2;
}
.story-phone-top,
.story-phone-bottom,
.story-phone-box{position:relative;z-index:3}
.story-phone-top{
  padding-top:23px !important;
  padding-bottom:10px !important;
  background:var(--iphone-header) !important;
  backdrop-filter:blur(25px);
  -webkit-backdrop-filter:blur(25px);
  border-bottom:1px solid var(--iphone-divider) !important;
  border-radius:22px 22px 0 0 !important;
}
.story-avatar{
  width:20px !important;
  height:20px !important;
  font-size:6.5px !important;
  margin-bottom:3px !important;
  background:linear-gradient(135deg,#b86287,#8a3f5f) !important;
  box-shadow:0 2px 4px rgba(0,0,0,.4) !important;
}
.story-phone-top b{
  font-size:7px !important;
  line-height:1.12 !important;
  letter-spacing:-.01em !important;
}
.story-phone-top small{
  font-size:4.5px !important;
  color:var(--iphone-text-soft) !important;
  text-transform:uppercase !important;
  letter-spacing:.08em !important;
  margin-top:1px !important;
}
.story-phone-box{
  left:10px !important;
  right:10px !important;
  top:78px !important;
  min-height:72px !important;
  padding:11px 7px !important;
  background:#fff !important;
  color:#101010 !important;
  border-left:4px solid #2dc9f0 !important;
  border-bottom:4px solid #f04b98 !important;
  border-radius:0 !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  line-height:1.2 !important;
}
.story-phone-box strong{font-size:10px !important}
.story-phone-box small{font-size:7px !important;margin-top:8px !important;color:#444 !important}
.story-phone-bottom{
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:16px !important;
  text-align:center !important;
}
.story-phone-bottom span{
  font-size:9px !important;
  background:#3a393b !important;
  border-radius:12px !important;
  padding:1px 7px !important;
  color:#fff !important;
}
.large-story-phone{
  width:190px !important;
  height:395px !important;
  margin:0 auto !important;
  transform:rotate(-5deg) scale(1.55) !important;
  transform-origin:center !important;
}
.large-story-phone::after{box-shadow:
    -1px 1.5px 2px rgba(0,0,0,.6),
    inset 0 .5px 0 rgba(255,255,255,.15),
    0 23px 0 0 rgba(34,15,27,1),
    0 58px 0 0 rgba(34,15,27,1),
    192.2px 37px 0 0 rgba(34,15,27,1) !important;}
.large-story-phone .story-phone-top{padding-top:23px !important;padding-bottom:10px !important}
.large-story-phone .story-avatar{width:20px !important;height:20px !important;font-size:6.5px !important}
.large-story-phone .story-phone-top b{font-size:7px !important}
.large-story-phone .story-phone-top small{font-size:4.5px !important}
.large-story-phone .story-phone-box{top:116px !important;min-height:102px !important;left:15px !important;right:15px !important;padding:14px 10px !important}
.large-story-phone .story-phone-box strong{font-size:14px !important}
.large-story-phone .story-phone-box small{font-size:9px !important}
.large-story-phone .story-phone-bottom{bottom:24px !important}
.large-story-phone .story-phone-bottom span{font-size:12px !important;padding:2px 10px !important}

/* Responsive */
@media (max-width:900px){
  .gateway-sms-art .mini-device{width:176px !important;height:366px !important}
  .large-story-phone{transform:rotate(-5deg) scale(1.35) !important}
}
@media (max-width:650px){
  .hero-device,.sms-page-device{padding:3px !important;border-radius:39px !important}
  .hero-device .device-screen,.sms-page-device .device-screen{border-radius:36px !important;border-width:4px !important}
  .hero-device .device-camera,.sms-page-device .device-camera{width:72px !important;height:21px !important;top:8px !important}
  .device-head{padding:35px 10px 10px !important;min-height:82px}
  .device-head > span:first-child,.device-head > span:last-child{top:38px;font-size:12px !important}
  .device-user b{font-size:11.5px !important}
  .device-user small{font-size:8px !important}
  .device-section-label{font-size:7.5px !important;padding:7px 0 8px !important}
  .phone-chat{padding:10px !important}
  .chat-thread{gap:7px !important}
  .bubble{font-size:9.4px !important;padding:7px 10px !important;border-radius:14px !important}
  .device-input{height:28px !important;margin:0 10px 10px !important;font-size:10px !important}
  .gateway-sms-art .mini-device{width:156px !important;height:324px !important}
  .story-phone{width:112px !important;height:233px !important}
  .story-phone::after{box-shadow:
    -1px 1.5px 2px rgba(0,0,0,.6),
    inset 0 .5px 0 rgba(255,255,255,.15),
    0 23px 0 0 rgba(34,15,27,1),
    0 58px 0 0 rgba(34,15,27,1),
    114.2px 37px 0 0 rgba(34,15,27,1) !important;}
  .story-phone-top{padding-top:20px !important}
  .story-phone-box{top:67px !important;min-height:60px !important}
  .story-phone-box strong{font-size:8.6px !important}
  .story-phone-box small{font-size:6px !important}
  .large-story-phone{transform:rotate(-5deg) scale(1.25) !important}
}

/* V9b · écran noir interne pour story-phone */
.story-phone{background:linear-gradient(var(--iphone-screen),var(--iphone-screen)) content-box,linear-gradient(135deg,var(--iphone-shell-start) 0%,var(--iphone-shell-mid) 50%,var(--iphone-shell-end) 100%) border-box !important;background-clip:content-box,border-box !important;background-origin:border-box !important;}


/* ===============================================================
   V11 · iPhone Google, proportions fiables, composants unifiés
   Référence: iphone_premium (1).html; les 2 boutons de volume
   + alimentation sont EXTERNES au cadre, sans bouton accessoire.
   Ces règles sont isolées pour conserver tout le reste du site.
   =============================================================== */
.iphone-google {
  --phone-width: 248px;
  --phone-height: 516px;
  --phone-radius: 33px;
  --screen-radius: 31px;
  --metal-thickness: 3px;
  --bezel-thickness: 3.5px;
  --phone-text-size: 10.5px;
  position:relative;
  display:block;
  flex:none;
  isolation:isolate;
  box-sizing:border-box;
  width:var(--phone-width);
  height:var(--phone-height);
  padding:var(--metal-thickness);
  border:0;
  border-radius:var(--phone-radius);
  background:linear-gradient(137deg,#6a4055 0%,#402438 43%,#21131f 100%);
  box-shadow:0 26px 52px rgba(5,2,9,.58),inset 0 1px 1px rgba(255,255,255,.28),inset 0 -1px 2px rgba(0,0,0,.55),inset 1px 0 1px rgba(255,255,255,.14);
  color:#fff;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  user-select:none;
}
.iphone-google *, .iphone-google *::before,.iphone-google *::after{box-sizing:border-box;}
.iphone-google .iphone-btn{
  position:absolute; z-index:1; left:-2px; width:2px; border-radius:2px 0 0 2px;
  background:linear-gradient(180deg,#64374f,#311b2b);
  box-shadow:-1px 1.5px 2px #0009,inset 0 .5px 0 #ffffff24;
  pointer-events:none;
}
.iphone-google .iphone-btn.vol-up{top:24%;height:7%;}
.iphone-google .iphone-btn.vol-down{top:33%;height:7%;}
.iphone-google .iphone-btn.power{
  left:auto;right:-2px;top:29%;height:11%;
  border-radius:0 2px 2px 0;box-shadow:1px 1.5px 2px #0009,inset 0 .5px 0 #ffffff24;
}
.iphone-google .iphone-screen{
  display:flex; flex-direction:column;position:relative;overflow:hidden;
  height:100%;width:100%;min-height:0;min-width:0;
  border:var(--bezel-thickness) solid #000;
  border-radius:var(--screen-radius);
  background:#09050b;
  box-shadow:inset 0 0 3px #000;
}
.iphone-google .iphone-notch{
  position:absolute; z-index:12; top:7px; left:50%; transform:translateX(-50%);
  width:67px;height:18px;background:#000; border-radius:13px;
  box-shadow:inset 0 1px 1px #ffffff13;
}
.iphone-google .imessage-header{
  display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;
  flex:none; min-height:0; padding:34px 8px 8px;
  border-bottom:1px solid #ffffff15;
  background:rgba(12,8,15,.86);
  backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);
  line-height:1.2;
}
.iphone-google .header-avatar{
  display:flex;justify-content:center;align-items:center;flex:none;
  width:29px;height:29px;margin:0 0 4px;
  border-radius:50%;background:linear-gradient(135deg,#c677a1,#8a4366);
  color:#fff;font-size:9px;font-weight:700;
}
.iphone-google .header-title{
  display:block; max-width:100%;padding:0;margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:11px;font-weight:650;line-height:1.25;letter-spacing:0;
  white-space:nowrap;color:#f8f6f8;
}
.iphone-google .header-subtitle{
  display:block;margin:2px 0 0;padding:0;white-space:nowrap;
  font-size:7px;line-height:1.2;color:#9d91a0;letter-spacing:.03em;
  text-transform:none;
}
.iphone-google .conversation-label{
  flex:none;text-align:center;line-height:1.2; padding:6px 7px;
  border-bottom:1px solid #ffffff0b;
  font-size:7px;letter-spacing:.27em;font-weight:600;color:#9c899b;
  text-transform:uppercase;
}
.iphone-google .imessage-body{
  display:flex;flex:1 1 auto;flex-direction:column;min-height:0;min-width:0;
  padding:10px;gap:7px; overflow:hidden;
}
.iphone-google .message-bubble {
  display:block;flex:none; width:fit-content;max-width:84%;margin:0;
  padding:8px 10px;border-radius:13px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:var(--phone-text-size);line-height:1.37;font-weight:400;letter-spacing:0;
  white-space:normal;overflow-wrap:break-word;word-break:normal;
  color:#fff; box-shadow:none;
}
.iphone-google .message-bubble.sent{align-self:flex-end;background:#2f80ed;color:#fff;border-bottom-right-radius:4px;}
.iphone-google .message-bubble.received{align-self:flex-start;background:#241a28;color:#f2eff5;border-bottom-left-radius:4px;}
.iphone-google .message-bubble.emojis{align-self:flex-end;background:transparent;border:0;padding:0;font-size:17px;line-height:1.15;}
.iphone-google .message-bubble-photo{font-weight:600;}
.iphone-google .imessage-footer{flex:none;margin-top:auto;padding:6px 10px 13px;background:#09050b;}
.iphone-google .fake-input{
  height:25px; width:100%;padding:0 9px;margin:0;
  border:1px solid rgba(255,255,255,.10);border-radius:17px;
  display:flex;align-items:center;justify-content:space-between;
  background:#140f17;color:#8c7e90;font-size:9px;font-weight:400;
}
.iphone-google .fake-input::after{content:'➜';font-size:10px;color:#d7c7d5;}
/* Téléphone d'accueil : entier dans le hero, messages conservés. */
.hero-art .hero-phone{
  --phone-width:230px;--phone-height:477px;
  --phone-radius:31px;--screen-radius:29px;--phone-text-size:9.5px;
  z-index:2;transform:rotate(8deg) translate(30px,0px);
  animation:site-premium-float-home 9s ease-in-out infinite;
}
.hero-phone .imessage-header{padding-top:31px;padding-bottom:6px;}
.hero-phone .header-avatar{width:24px;height:24px;font-size:8px;}
.hero-phone .header-title{font-size:10px;}
.hero-phone .header-subtitle{font-size:6.5px;}
.hero-phone .conversation-label{font-size:6.5px;padding:5px 6px;}
.hero-phone .imessage-body{gap:6px;padding:8px;justify-content:space-between;}
.hero-phone .message-bubble{padding:7px 9px;line-height:1.34;max-width:86%;}
.hero-phone .fake-input{height:22px;}
.hero-phone .imessage-footer{padding:5px 9px 12px;}
/* Le téléphone d'Alexia occupe la zone disponible sans déborder sur le titre. */
.gateway-sms-art .gateway-phone{
  --phone-width:171px;--phone-height:337px;--phone-radius:23px;--screen-radius:21px;
  --metal-thickness:2px;--bezel-thickness:2.5px;--phone-text-size:8.4px;
  z-index:2;transform:rotate(-8deg) translate(0,2px);
  transition:transform .55s ease;
}
.gateway-sms:hover .gateway-phone{transform:rotate(-4deg) translate(0,-3px);}
.gateway-phone .iphone-notch{top:4px;width:45px;height:12px;}
.gateway-phone .imessage-header{padding:22px 6px 5px;}
.gateway-phone .header-avatar{width:19px;height:19px;font-size:6px;margin-bottom:2px;}
.gateway-phone .header-title{font-size:7.7px;}
.gateway-phone .header-subtitle{font-size:6px;}
.gateway-phone .conversation-label{font-size:5.7px;letter-spacing:.14em;padding:4px 3px;}
.gateway-phone .imessage-body{padding:6px 7px;gap:6px;justify-content:space-between;}
.gateway-phone .message-bubble{padding:6px 7px;max-width:88%;font-size:var(--phone-text-size);line-height:1.36;border-radius:9px;}
.gateway-phone .imessage-footer{padding:5px 7px 9px;}
.gateway-phone .fake-input{height:17px;padding:0 6px;font-size:6px;}
.gateway-phone .fake-input::after{font-size:7px;}
.gateway-phone .iphone-btn{left:-1.5px;width:1.5px;}
.gateway-phone .iphone-btn.power{right:-1.5px;left:auto;}
/* Page Histoires SMS : les 5 bulles restent toutes lisibles et sont animées. */
.sms-intro-art .sms-page-phone{
  --phone-width:247px;--phone-height:507px;--phone-radius:34px;--screen-radius:31px;--phone-text-size:10.8px;
  z-index:2;transform:rotate(-7deg);
  animation:site-premium-float-sms 8s ease-in-out infinite;
}
.sms-page-phone .imessage-header{padding-top:33px;padding-bottom:9px;}
.sms-page-phone .imessage-body{padding:11px;gap:8px;justify-content:space-between;}
.sms-page-phone .message-bubble{padding:9px 10px;max-width:86%;}
.sms-page-phone .imessage-body .message-bubble{animation:site-message-in .42s both;}
.sms-page-phone .imessage-body .message-bubble:nth-child(1){animation-delay:.2s;}
.sms-page-phone .imessage-body .message-bubble:nth-child(2){animation-delay:.55s;}
.sms-page-phone .imessage-body .message-bubble:nth-child(3){animation-delay:.9s;}
.sms-page-phone .imessage-body .message-bubble:nth-child(4){animation-delay:1.25s;}
.sms-page-phone .imessage-body .message-bubble:nth-child(5){animation-delay:1.6s;}
.sms-page-phone .imessage-footer{padding:6px 10px 11px;}
@keyframes site-message-in{from{opacity:0;translate:0 7px;}to{opacity:1;translate:0 0;}}
@keyframes site-premium-float-home{
  0%,100%{transform:rotate(8deg) translate(30px,0)}
  24%,76%{transform:rotate(8deg) translate(30px,-6px)}
  25%{transform:rotate(8.5deg) translate(30px,-6px)}
  26%{transform:rotate(7.5deg) translate(30px,-6px)}
  27%{transform:rotate(8deg) translate(30px,-6px)}
  51%{transform:rotate(8deg) translate(30px,-9px)}
}
@keyframes site-premium-float-sms{
  0%,100%{transform:rotate(-7deg) translate(0,0)}
  22%{transform:rotate(-7deg) translate(0,-3px)}
  23%{transform:rotate(-5.6deg) translate(2px,-3px)}
  24%{transform:rotate(-8.5deg) translate(-3px,-3px)}
  25%{transform:rotate(-5.8deg) translate(2px,-2px)}
  26%{transform:rotate(-7deg) translate(0,-2px)}
  50%{transform:rotate(-7deg) translate(0,-8px)}
  77%{transform:rotate(-5.5deg) translate(2px,0)}
  78%{transform:rotate(-8.5deg) translate(-2px,0)}
  79%{transform:rotate(-7deg) translate(0,0)}
}
/* Miniatures : même coque, même écran, même répartition que le hero. */
.story-card .iphone-card-phone{
  --phone-width:133px;--phone-height:273px;--phone-radius:20px;--screen-radius:18px;
  --metal-thickness:1.7px;--bezel-thickness:2px;
  margin:23px auto 24px;
  box-shadow:0 15px 26px rgba(36,18,30,.34),inset 0 .5px .5px #ffffff35;
}
.iphone-card-phone .iphone-btn{left:-1px;width:1px;}
.iphone-card-phone .iphone-btn.power{left:auto;right:-1px;}
.iphone-card-phone .iphone-notch{top:4px;width:39px;height:10px;}
.iphone-card-phone .imessage-header{padding:19px 3px 8px;}
.iphone-card-phone .header-avatar{width:18px;height:18px;font-size:6.5px;margin-bottom:3px;}
.iphone-card-phone .header-title{font-size:7px;line-height:1.15;}
.iphone-card-phone .header-subtitle{font-size:5px;}
.iphone-card-phone .iphone-story-box{
  width:calc(100% - 20px);min-height:67px;margin:auto 10px;
  display:flex;flex-direction:column;justify-content:center;
  padding:8px 7px;background:#fff;color:#171017;
  border-left:3px solid #2dc9f0;border-bottom:3px solid #f04b98;
  line-height:1.2;transform:none;
}
.iphone-card-phone .iphone-story-box strong{font-size:9.5px;font-weight:700;line-height:1.25;}
.iphone-card-phone .iphone-story-box small{margin-top:6px;font-size:7px;color:#555;}
.iphone-card-phone .iphone-story-dots{
  text-align:center;flex:none;margin:0 0 20px;
}
.iphone-card-phone .iphone-story-dots span{display:inline-block;padding:2px 7px;border-radius:12px;background:#38343b;font-size:8px;line-height:1;letter-spacing:.1em;color:#fff;}
/* Fiche SMS : plus imposant que les miniatures, sans excéder le cartouche. */
.story-showcase .iphone-card-phone-large{
  --phone-width:235px;--phone-height:477px;--phone-radius:31px;--screen-radius:29px;
  --metal-thickness:3px;--bezel-thickness:3.5px;
  position:relative;top:-7px;transform:rotate(-5deg);margin:0 auto;
  box-shadow:0 24px 44px #13081788,inset 0 1px 1px #ffffff35;
}
.iphone-card-phone-large .iphone-notch{top:7px;width:67px;height:18px;}
.iphone-card-phone-large .imessage-header{padding-top:36px;padding-bottom:11px;}
.iphone-card-phone-large .header-avatar{width:33px;height:33px;font-size:10px;}
.iphone-card-phone-large .header-title{font-size:12px;}
.iphone-card-phone-large .header-subtitle{font-size:8px;}
.iphone-card-phone-large .iphone-story-box{width:calc(100% - 34px);min-height:98px;margin:auto 17px;padding:14px 12px;border-left-width:5px;border-bottom-width:5px;}
.iphone-card-phone-large .iphone-story-box strong{font-size:17px;}
.iphone-card-phone-large .iphone-story-box small{font-size:10px;}
.iphone-card-phone-large .iphone-story-dots{margin-bottom:35px;}
.iphone-card-phone-large .iphone-story-dots span{font-size:12px;padding:3px 10px;}
.story-showcase{overflow:hidden;}
.story-showcase-note{position:absolute;bottom:22px;left:0;right:0;text-align:center;margin:0;z-index:3;color:#d8adc2;font-size:9px;letter-spacing:.14em;}
/* Responsive: ne jamais croître au-delà des emplacements d'origine */
@media(max-width:900px){
  .hero-art .hero-phone{--phone-width:220px;--phone-height:453px;}
  .sms-intro-art .sms-page-phone{--phone-width:225px;--phone-height:466px;}
}
@media(max-width:650px){
  .hero-art .hero-phone{--phone-width:192px;--phone-height:400px;--phone-text-size:8.2px;transform:rotate(8deg) translate(18px,0);animation:none;}
  .hero-phone .message-bubble{padding:6px 7px;}
  .hero-phone .imessage-body{padding:7px;gap:5px;}
  .hero-phone .imessage-header{padding-top:26px;}
  .hero-phone .iphone-notch{width:55px;height:15px;top:6px;}
  .hero-phone .header-avatar{width:19px;height:19px;}
  .sms-intro-art .sms-page-phone{--phone-width:211px;--phone-height:434px;--phone-text-size:9.3px;}
  .sms-page-phone .message-bubble{padding:7px 8px;}
  .sms-page-phone .imessage-body{padding:8px;gap:6px;}
  .sms-page-phone .iphone-notch{width:57px;height:15px;top:6px;}
  .gateway-sms-art .gateway-phone{--phone-width:160px;--phone-height:320px;--phone-text-size:8px;}
  .story-card .iphone-card-phone{--phone-width:112px;--phone-height:230px;--phone-radius:18px;--screen-radius:16px;margin:17px auto 19px;}
  .story-card .iphone-card-phone .iphone-story-box{min-height:56px;margin:auto 7px;width:calc(100% - 14px);padding:6px 5px;}
  .story-card .iphone-card-phone .iphone-story-box strong{font-size:8px;}
  .story-card .iphone-card-phone .iphone-story-box small{font-size:6px;}
  .story-showcase .iphone-card-phone-large{--phone-width:183px;--phone-height:375px;top:-4px;}
  .iphone-card-phone-large .iphone-story-box{margin:auto 13px;width:calc(100% - 26px);min-height:80px;padding:12px 9px;}
  .iphone-card-phone-large .iphone-story-box strong{font-size:13px;}
}
@media(prefers-reduced-motion:reduce){
  .hero-art .hero-phone,.sms-intro-art .sms-page-phone{animation:none;}
  .sms-page-phone .imessage-body .message-bubble{animation:none;}
}


/* ===============================================================
   V12 · Finitions demandées par Michelle
   =============================================================== */

/* Post-it premium : plus petit, plus à gauche, avec scotch discret */
.hero-papercard{
  width:206px;
  left:-12%;
  top:74px;
  padding:22px 17px 22px;
  border-radius:2px;
  box-shadow:0 18px 26px rgba(8,4,12,.25);
}
.hero-papercard::before,.hero-papercard::after,.transition-note::before,.transition-note::after{
  content:'';
  position:absolute;
  width:56px;
  height:18px;
  background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(244,231,236,.48));
  border:1px solid rgba(177,134,158,.24);
  box-shadow:0 2px 7px rgba(92,62,80,.10);
  backdrop-filter:blur(.5px);
  -webkit-backdrop-filter:blur(.5px);
  pointer-events:none;
}
.hero-papercard::before{top:-9px;left:16px;transform:rotate(-12deg)}
.hero-papercard::after{top:-6px;right:22px;transform:rotate(11deg);width:48px;height:16px;opacity:.72}
.transition-note{position:relative;overflow:visible}
.transition-note::before{top:-9px;left:18px;transform:rotate(-8deg)}
.transition-note::after{top:-8px;right:26px;transform:rotate(9deg);width:48px;height:16px;opacity:.7}
@media(max-width:900px){.hero-papercard{left:-8%;width:194px;top:82px}}
@media(max-width:650px){.hero-papercard{left:-3%;width:176px;top:60px;padding:18px 14px 18px}.hero-papercard::before,.hero-papercard::after{width:40px;height:13px}.hero-papercard::after{right:16px}}

/* Bulles iPhone avec petite queue */
.iphone-google .iphone-screen{--screen-fill:#09050b;}
.iphone-google .message-bubble{position:relative;overflow:visible;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}
.iphone-google .message-bubble.sent,.iphone-google .message-bubble.received{border-radius:18px;}
.iphone-google .message-bubble.sent::before,.iphone-google .message-bubble.sent::after,.iphone-google .message-bubble.received::before,.iphone-google .message-bubble.received::after{content:'';position:absolute;bottom:0;pointer-events:none}
.iphone-google .message-bubble.sent::before{right:-8px;width:18px;height:18px;background:#2f80ed;border-bottom-left-radius:15px;z-index:0}
.iphone-google .message-bubble.sent::after{right:-11px;width:11px;height:18px;background:var(--screen-fill);border-bottom-left-radius:11px;z-index:1}
.iphone-google .message-bubble.received::before{left:-8px;width:18px;height:18px;background:#241a28;border-bottom-right-radius:15px;z-index:0}
.iphone-google .message-bubble.received::after{left:-11px;width:11px;height:18px;background:var(--screen-fill);border-bottom-right-radius:11px;z-index:1}
.iphone-google .message-bubble.emojis::before,.iphone-google .message-bubble.emojis::after{display:none}
.iphone-google .message-bubble-photo{font-weight:650;letter-spacing:.01em}
.iphone-google .message-bubble.received{background:#271d2c;color:#f5f1f7;font-weight:500}

/* Animation d’apparition des messages dans le hero accueil */
.hero-phone .imessage-body .message-bubble{opacity:0;animation:site-message-in .48s both}
.hero-phone .imessage-body .message-bubble:nth-child(1){animation-delay:.18s}
.hero-phone .imessage-body .message-bubble:nth-child(2){animation-delay:.58s}
.hero-phone .imessage-body .message-bubble:nth-child(3){animation-delay:.98s}
.hero-phone .imessage-body .message-bubble:nth-child(4){animation-delay:1.38s}
.hero-phone .imessage-body .message-bubble:nth-child(5){animation-delay:1.78s}
.hero-phone .imessage-body .message-bubble:nth-child(6){animation-delay:2.18s}

/* Deux portes, un même univers : davantage de netteté + animation permanente discrète */
.gateway-books-art{animation:site-books-stage-float 8.5s ease-in-out infinite}
.gateway-sms-art{animation:site-sms-stage-float 8s ease-in-out infinite}
@keyframes site-books-stage-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes site-sms-stage-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
.gateway-phone .header-title,.gateway-phone .header-subtitle,.gateway-phone .message-bubble{
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.gateway-phone .header-subtitle{font-size:6.6px;font-weight:500;color:#bcb0be;letter-spacing:.01em}
.gateway-phone .message-bubble{font-size:8.55px;line-height:1.4}
.gateway-phone .message-bubble.received{font-weight:520;color:#f7f2f7}
.gateway-phone .imessage-body{justify-content:flex-start}

/* Cards/téléphones story : couverture plus nette avec bordures turquoise/gris/rose */
.iphone-card-phone .iphone-story-box,.iphone-card-phone-large .iphone-story-box{
  position:relative;
  background:
    linear-gradient(#2dc9f0,#2dc9f0) top / 100% var(--story-box-stroke,4px) no-repeat,
    linear-gradient(#2dc9f0,#2dc9f0) left top / var(--story-box-stroke,4px) 68% no-repeat,
    linear-gradient(#2dc9f0,#2dc9f0) right top / var(--story-box-stroke,4px) 68% no-repeat,
    linear-gradient(#c8c0c8,#c8c0c8) bottom left / 72% var(--story-box-stroke,4px) no-repeat,
    linear-gradient(#f04b98,#f04b98) bottom right / 28% var(--story-box-stroke,4px) no-repeat,
    #fff;
  border:0;
  border-radius:1px;
  box-shadow:0 8px 14px rgba(0,0,0,.10);
}
.iphone-card-phone .iphone-story-box{--story-box-stroke:3px}
.iphone-card-phone-large .iphone-story-box{--story-box-stroke:5px}
.iphone-card-phone .iphone-story-box strong,.iphone-card-phone-large .iphone-story-box strong,.iphone-card-phone .iphone-story-box small,.iphone-card-phone-large .iphone-story-box small{
  position:relative;
  z-index:1;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.iphone-card-phone-large .iphone-story-box{transform:rotate(-4deg)}

/* Indicateur de frappe animé */
.iphone-card-phone .iphone-story-dots,.iphone-card-phone-large .iphone-story-dots{
  display:flex;align-items:center;justify-content:center;gap:5px;
  margin:0 auto 20px;padding:4px 10px;min-width:42px;
  border-radius:999px;background:#3a353d;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07);
}
.iphone-card-phone-large .iphone-story-dots{margin-bottom:35px;gap:6px;padding:6px 12px}
.iphone-card-phone .typing-dot,.iphone-card-phone-large .typing-dot{
  width:6px;height:6px;border-radius:50%;background:#f4f0f5;opacity:.42;
  animation:site-typing-bounce 1.15s infinite ease-in-out;
}
.iphone-card-phone-large .typing-dot{width:8px;height:8px}
.iphone-card-phone .typing-dot:nth-child(2),.iphone-card-phone-large .typing-dot:nth-child(2){animation-delay:.14s}
.iphone-card-phone .typing-dot:nth-child(3),.iphone-card-phone-large .typing-dot:nth-child(3){animation-delay:.28s}
@keyframes site-typing-bounce{0%,80%,100%{transform:translateY(0);opacity:.38}40%{transform:translateY(-4px);opacity:1}}

/* Fiche histoire : mouvement du téléphone dans son encadré */
.story-showcase .iphone-card-phone-large{animation:site-story-showcase-sway 7.5s ease-in-out infinite}
@keyframes site-story-showcase-sway{0%,100%{transform:rotate(-5deg) translateY(0)}25%{transform:rotate(-4.2deg) translateY(-7px)}55%{transform:rotate(-5.7deg) translateY(-2px)}80%{transform:rotate(-4.6deg) translateY(-9px)}}
.story-showcase::before,.story-showcase::after{content:'';position:absolute;border-radius:999px;background:rgba(63,43,66,.66);filter:blur(.2px)}
.story-showcase::before{width:90px;height:46px;left:56px;top:176px;transform:rotate(-10deg);opacity:.48}
.story-showcase::after{width:140px;height:52px;right:62px;bottom:138px;transform:rotate(7deg);opacity:.26}

/* Responsive + motion */
@media(max-width:650px){
  .gateway-books-art,.gateway-sms-art{animation:none}
  .hero-phone .imessage-body .message-bubble{animation-duration:.42s}
  .story-showcase .iphone-card-phone-large{animation:none}
}
@media(prefers-reduced-motion:reduce){
  .hero-phone .imessage-body .message-bubble,.gateway-books-art,.gateway-sms-art,.story-showcase .iphone-card-phone-large,.iphone-card-phone .typing-dot,.iphone-card-phone-large .typing-dot{animation:none !important}
}


/* ===============================================================
   V13 · Derniers détails visuels
   =============================================================== */

/* Hero accueil */
.hero-seal{display:none !important;}
.hero-papercard{
  left:-10% !important;
  top:78px !important;
  overflow:visible;
}
.hero-papercard strong{
  position:relative;
  display:block;
  padding-right:34px;
}
.hero-papercard .papercard-heart{
  right:10px !important;
  top:96px !important;
  transform:rotate(9deg);
}
.hero-papercard::after,
.transition-note::after{display:none !important;content:none !important;}
.hero-papercard::before,
.transition-note::before{
  width:74px;
  height:22px;
  top:-11px;
  left:50%;
  transform:translateX(-50%) rotate(-4deg);
  border:none;
  border-radius:3px;
  background:
    linear-gradient(180deg, rgba(255,201,223,.86), rgba(241,171,202,.76)),
    linear-gradient(135deg, rgba(255,255,255,.20), rgba(255,255,255,0));
  box-shadow:0 3px 8px rgba(73,34,54,.16);
  opacity:.96;
  clip-path:polygon(2% 6%, 95% 0, 100% 14%, 98% 88%, 4% 100%, 0 78%);
}
.transition-note::before{width:96px;height:24px;top:-12px;}
@media(max-width:900px){.hero-papercard{left:-8% !important}}
@media(max-width:650px){
  .hero-papercard{left:-4% !important;top:63px !important}
  .hero-papercard::before{width:58px;height:18px;top:-10px}
  .transition-note::before{width:80px;height:20px}
  .hero-papercard .papercard-heart{right:10px !important;top:auto !important;bottom:10px !important}
}

/* Deux portes, un même univers */
.gateway-books-art,
.gateway-sms-art{animation:none !important;}
.gateway-books-art .gw-book{animation-duration:1.2s;animation-timing-function:cubic-bezier(.18,.82,.28,1);animation-fill-mode:both;}
.gateway-books-art .gw-book-one{animation-name:site-books-gather-one;}
.gateway-books-art .gw-book-two{animation-name:site-books-gather-two;}
.gateway-books-art .gw-book-three{animation-name:site-books-gather-three;}
@keyframes site-books-gather-one{from{transform:translateX(-24px) rotate(-21deg) scale(.98)}to{transform:rotate(-13deg) translateX(0) scale(1)}}
@keyframes site-books-gather-two{from{transform:translateY(-8px) scale(.98)}to{transform:rotate(0deg) translateY(0) scale(1)}}
@keyframes site-books-gather-three{from{transform:translateX(24px) rotate(20deg) scale(.98)}to{transform:rotate(13deg) translateX(0) scale(1)}}
.gateway-phone .imessage-body{justify-content:flex-start !important;gap:7px !important;}
.gateway-phone .message-bubble{font-size:8.25px !important;line-height:1.44 !important;max-width:90% !important;padding:6px 8px !important;}
.gateway-phone .message-bubble.received{font-weight:400 !important;color:#f7f2f7 !important;}
.gateway-phone .message-bubble.sent{font-weight:400 !important;}
.gateway-phone .message-bubble.received::before{background:#271d2c !important}

/* Roman du moment : zoom doux dans l'encadré */
.feature-frame{overflow:hidden;}
.feature-frame img{animation:site-feature-zoom 7.8s ease-in-out infinite;transform-origin:center center;}
@keyframes site-feature-zoom{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}

/* Histoires SMS : couverture et bulle "typing" */
.iphone-card-phone .iphone-story-box,
.iphone-card-phone-large .iphone-story-box{
  background:
    linear-gradient(#2dc9f0,#2dc9f0) top / 100% var(--story-box-stroke,4px) no-repeat,
    linear-gradient(#2dc9f0,#2dc9f0) left top / var(--story-box-stroke,4px) 70% no-repeat,
    linear-gradient(#2dc9f0,#2dc9f0) right top / var(--story-box-stroke,4px) 70% no-repeat,
    linear-gradient(#4a4350,#4a4350) left bottom / var(--story-box-stroke,4px) 22% no-repeat,
    linear-gradient(#4a4350,#4a4350) bottom left / 77% var(--story-box-stroke,4px) no-repeat,
    linear-gradient(#f04b98,#f04b98) right bottom / var(--story-box-stroke,4px) 22% no-repeat,
    linear-gradient(#f04b98,#f04b98) bottom right / 35% var(--story-box-stroke,4px) no-repeat,
    #fff !important;
}
.story-showcase .iphone-card-phone-large .iphone-story-box{transform:none !important;}
.iphone-card-phone .iphone-story-dots,
.iphone-card-phone-large .iphone-story-dots{
  position:relative;
  align-self:flex-start;
  display:flex !important;
  align-items:center;
  justify-content:center;
  gap:4px;
  margin:8px 0 20px 12px !important;
  min-width:38px;
  min-height:24px;
  padding:6px 10px !important;
  border-radius:14px !important;
  background:#271d2c !important;
  box-shadow:none !important;
}
.iphone-card-phone-large .iphone-story-dots{margin:10px 0 34px 18px !important;min-width:48px;min-height:29px;padding:7px 13px !important;gap:5px;}
.iphone-card-phone .iphone-story-dots::before,
.iphone-card-phone .iphone-story-dots::after,
.iphone-card-phone-large .iphone-story-dots::before,
.iphone-card-phone-large .iphone-story-dots::after{content:'';position:absolute;bottom:0;pointer-events:none}
.iphone-card-phone .iphone-story-dots::before,
.iphone-card-phone-large .iphone-story-dots::before{left:-8px;width:16px;height:16px;background:#271d2c;border-bottom-right-radius:13px;z-index:0}
.iphone-card-phone .iphone-story-dots::after,
.iphone-card-phone-large .iphone-story-dots::after{left:-10px;width:10px;height:16px;background:#09050b;border-bottom-right-radius:10px;z-index:1}
.iphone-card-phone .typing-dot,
.iphone-card-phone-large .typing-dot{
  display:block !important;
  position:relative;
  z-index:2;
  width:5px !important;
  height:5px !important;
  background:#f3eef4 !important;
  opacity:.92 !important;
}
.iphone-card-phone-large .typing-dot{width:6px !important;height:6px !important;}
@keyframes site-typing-bounce-v13{0%,80%,100%{transform:translateY(0);opacity:.45}40%{transform:translateY(-3px);opacity:1}}
.iphone-card-phone .typing-dot,.iphone-card-phone-large .typing-dot{animation:site-typing-bounce-v13 1.1s infinite ease-in-out !important;}
.iphone-card-phone .typing-dot:nth-child(2),.iphone-card-phone-large .typing-dot:nth-child(2){animation-delay:.16s !important}
.iphone-card-phone .typing-dot:nth-child(3),.iphone-card-phone-large .typing-dot:nth-child(3){animation-delay:.32s !important}

@media(max-width:650px){
  .iphone-card-phone .iphone-story-dots{margin-left:8px !important;min-width:34px;min-height:22px;padding:5px 8px !important}
  .iphone-card-phone-large .iphone-story-dots{margin-left:12px !important;}
}

@media(prefers-reduced-motion:reduce){
  .gateway-books-art .gw-book,
  .feature-frame img,
  .iphone-card-phone .typing-dot,
  .iphone-card-phone-large .typing-dot{animation:none !important;}
}

/* ===============================================================
   V14 · Micro-corrections finales demandées
   =============================================================== */

/* Hero accueil : coeur bien à l'intérieur du post-it */
.hero-papercard strong{padding-right:30px !important;padding-bottom:14px !important;}
.hero-papercard .papercard-heart{
  right:14px !important;
  top:auto !important;
  bottom:10px !important;
  transform:rotate(8deg) !important;
}
@media(max-width:650px){
  .hero-papercard .papercard-heart{right:12px !important;bottom:8px !important;}
}

/* Deux portes, un même univers :
   - livres qui se rassemblent de façon visible et répétée
   - hover existant conservé
   - téléphone à nouveau animé
   - bulles plus nettes et mieux espacées */
.gateway-books-art,
.gateway-sms-art{animation:none !important;}

.gateway-books-art .gw-book{
  animation-duration:7.2s !important;
  animation-timing-function:ease-in-out !important;
  animation-iteration-count:infinite !important;
  animation-fill-mode:both !important;
  will-change:transform;
}
.gateway-books-art .gw-book-one{animation-name:site-books-gather-loop-one !important;}
.gateway-books-art .gw-book-two{animation-name:site-books-gather-loop-two !important;}
.gateway-books-art .gw-book-three{animation-name:site-books-gather-loop-three !important;}

@keyframes site-books-gather-loop-one{
  0%,16%{transform:translateX(-34px) rotate(-21deg)}
  34%,82%{transform:rotate(-14deg) translateX(0)}
  100%{transform:translateX(-34px) rotate(-21deg)}
}
@keyframes site-books-gather-loop-two{
  0%,16%{transform:translateY(-10px) scale(1.08)}
  34%,82%{transform:rotate(0deg) translateY(0) scale(1.13)}
  100%{transform:translateY(-10px) scale(1.08)}
}
@keyframes site-books-gather-loop-three{
  0%,16%{transform:translateX(34px) rotate(20deg)}
  34%,82%{transform:rotate(13deg) translateX(0)}
  100%{transform:translateX(34px) rotate(20deg)}
}
.gateway-books:hover .gw-book{animation:none !important;}

.gateway-sms-art .gateway-phone{
  animation:site-gateway-phone-sway 6.8s ease-in-out infinite !important;
  will-change:transform;
}
@keyframes site-gateway-phone-sway{
  0%,100%{transform:rotate(-8deg) translate(0,2px)}
  25%{transform:rotate(-6.8deg) translate(0,-2px)}
  55%{transform:rotate(-8.7deg) translate(-1px,1px)}
  78%{transform:rotate(-7.2deg) translate(1px,-3px)}
}
.gateway-sms:hover .gateway-phone{animation:none !important;}

.gateway-phone .iphone-screen{overflow:hidden;}
.gateway-phone .imessage-header{padding:22px 7px 5px !important;}
.gateway-phone .imessage-body{
  justify-content:flex-start !important;
  gap:6px !important;
  padding:7px 8px 3px !important;
}
.gateway-phone .message-bubble{
  position:relative;
  overflow:visible !important;
  max-width:85% !important;
  padding:6px 8px !important;
  font-size:8px !important;
  line-height:1.38 !important;
  letter-spacing:0 !important;
  font-weight:400 !important;
  text-shadow:none !important;
}
.gateway-phone .message-bubble.sent,
.gateway-phone .message-bubble.received{
  border-radius:12px !important;
}
.gateway-phone .message-bubble.received{
  color:#f4eff4 !important;
  background:#241a28 !important;
}
.gateway-phone .message-bubble.sent{
  color:#fff !important;
  background:#2f80ed !important;
}
.gateway-phone .fake-input{height:15px !important; font-size:5.7px !important;}
.gateway-phone .imessage-footer{padding:2px 7px 8px !important;}

/* Histoires SMS : couverture conforme + vraie bulle de frappe simple */
.iphone-card-phone .iphone-story-box,
.iphone-card-phone-large .iphone-story-box{
  background:
    linear-gradient(#2dc9f0,#2dc9f0) top / 100% var(--story-box-stroke,4px) no-repeat,
    linear-gradient(#2dc9f0,#2dc9f0) left top / var(--story-box-stroke,4px) 76% no-repeat,
    linear-gradient(#4a4350,#4a4350) left bottom / var(--story-box-stroke,4px) 24% no-repeat,
    linear-gradient(#2dc9f0,#2dc9f0) right top / var(--story-box-stroke,4px) 76% no-repeat,
    linear-gradient(#f04b98,#f04b98) right bottom / var(--story-box-stroke,4px) 24% no-repeat,
    linear-gradient(#4a4350,#4a4350) bottom left / 34% var(--story-box-stroke,4px) no-repeat,
    linear-gradient(#f04b98,#f04b98) bottom right / 66% var(--story-box-stroke,4px) no-repeat,
    #fff !important;
}

.iphone-card-phone .iphone-story-dots,
.iphone-card-phone-large .iphone-story-dots{
  align-self:flex-start;
  display:flex !important;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin:6px 0 16px 12px !important;
  min-width:46px;
  min-height:24px;
  padding:5px 10px !important;
  border-radius:999px !important;
  background:#efeff4 !important;
  box-shadow:none !important;
}
.iphone-card-phone-large .iphone-story-dots{
  margin:8px 0 28px 16px !important;
  min-width:58px;
  min-height:30px;
  padding:7px 14px !important;
  gap:7px;
}
.iphone-card-phone .iphone-story-dots::before,
.iphone-card-phone .iphone-story-dots::after,
.iphone-card-phone-large .iphone-story-dots::before,
.iphone-card-phone-large .iphone-story-dots::after{
  display:none !important;
  content:none !important;
}
.iphone-card-phone .typing-dot,
.iphone-card-phone-large .typing-dot{
  display:block !important;
  width:6px !important;
  height:6px !important;
  border-radius:50% !important;
  background:#111 !important;
  opacity:1 !important;
}
.iphone-card-phone-large .typing-dot{width:7px !important;height:7px !important;}
@keyframes site-typing-bounce-v14{0%,80%,100%{transform:translateY(0)}40%{transform:translateY(-3px)}}
.iphone-card-phone .typing-dot,
.iphone-card-phone-large .typing-dot{animation:site-typing-bounce-v14 1.05s infinite ease-in-out !important;}
.iphone-card-phone .typing-dot:nth-child(2),
.iphone-card-phone-large .typing-dot:nth-child(2){animation-delay:.13s !important;}
.iphone-card-phone .typing-dot:nth-child(3),
.iphone-card-phone-large .typing-dot:nth-child(3){animation-delay:.26s !important;}

/* Suppression de la bulle/forme transparente parasite */
.story-showcase::before,
.story-showcase::after{display:none !important;content:none !important;}

@media(max-width:650px){
  .gateway-books-art .gw-book,
  .gateway-sms-art .gateway-phone,
  .iphone-card-phone .typing-dot,
  .iphone-card-phone-large .typing-dot{animation:none !important;}
}
@media(prefers-reduced-motion:reduce){
  .gateway-books-art .gw-book,
  .gateway-sms-art .gateway-phone,
  .iphone-card-phone .typing-dot,
  .iphone-card-phone-large .typing-dot{animation:none !important;}
}


/* ===============================================================
   V15 · Derniers micro-correctifs visuels
   =============================================================== */

/* Deux portes, un même univers
   - réduire légèrement livres + téléphone pour éviter qu'ils touchent la barre du haut
   - corriger le texte tronqué dans les bulles grises */
.gateway-books-art .gw-book{
  height:255px !important;
}
.gateway-books-art .gw-book-one{top:18px !important;}
.gateway-books-art .gw-book-two{top:10px !important;}
.gateway-books-art .gw-book-three{top:20px !important;}

.gateway-sms-art .gateway-phone{
  --phone-width:164px !important;
  --phone-height:323px !important;
}
.gateway-phone .imessage-header{padding-top:20px !important;}
.gateway-phone .imessage-body{padding-top:6px !important;}
.gateway-phone .message-bubble.received{
  padding-left:12px !important;
  margin-left:4px !important;
}
.gateway-phone .message-bubble.received::before{left:-7px !important;}
.gateway-phone .message-bubble.received::after{left:-10px !important;}

/* Histoires SMS
   - remettre une vraie bulle grise iPhone pour l'indicateur de frappe
   - garder 3 points bien ronds */
.iphone-card-phone .iphone-story-dots,
.iphone-card-phone-large .iphone-story-dots{
  position:relative;
  align-self:flex-start;
  display:flex !important;
  align-items:center;
  justify-content:center;
  gap:6px !important;
  margin:6px 0 16px 12px !important;
  min-width:46px;
  min-height:24px;
  padding:5px 10px !important;
  border-radius:14px !important;
  background:#ecebf0 !important;
  box-shadow:none !important;
}
.iphone-card-phone-large .iphone-story-dots{
  margin:8px 0 28px 16px !important;
  min-width:58px;
  min-height:30px;
  padding:7px 14px !important;
  gap:7px !important;
}
.iphone-card-phone .iphone-story-dots::before,
.iphone-card-phone .iphone-story-dots::after,
.iphone-card-phone-large .iphone-story-dots::before,
.iphone-card-phone-large .iphone-story-dots::after{
  content:'' !important;
  position:absolute;
  bottom:0;
  pointer-events:none;
  display:block !important;
}
.iphone-card-phone .iphone-story-dots::before,
.iphone-card-phone-large .iphone-story-dots::before{
  left:-8px;
  width:16px;
  height:16px;
  background:#ecebf0 !important;
  border-bottom-right-radius:13px;
  z-index:0;
}
.iphone-card-phone .iphone-story-dots::after,
.iphone-card-phone-large .iphone-story-dots::after{
  left:-10px;
  width:10px;
  height:16px;
  background:#09050b !important;
  border-bottom-right-radius:10px;
  z-index:1;
}
.iphone-card-phone .typing-dot,
.iphone-card-phone-large .typing-dot{
  display:block !important;
  position:relative;
  z-index:2;
  width:6px !important;
  height:6px !important;
  min-width:6px !important;
  min-height:6px !important;
  max-width:6px !important;
  max-height:6px !important;
  border-radius:50% !important;
  background:#0f0f10 !important;
  opacity:1 !important;
  transform-origin:center center;
}
.iphone-card-phone-large .typing-dot{
  width:7px !important;
  height:7px !important;
  min-width:7px !important;
  min-height:7px !important;
  max-width:7px !important;
  max-height:7px !important;
}

@media(max-width:650px){
  .gateway-books-art .gw-book{height:242px !important;}
  .gateway-books-art .gw-book-one{top:22px !important;}
  .gateway-books-art .gw-book-two{top:14px !important;}
  .gateway-books-art .gw-book-three{top:24px !important;}
  .gateway-sms-art .gateway-phone{
    --phone-width:154px !important;
    --phone-height:308px !important;
  }
}


/* ================================================================
   V16 · Ajustements ciblés validés le 19 octobre 2026
   Ne pas modifier les autres composants, les textes et les médias.
   ================================================================ */

/* LIVRES : un petit peu plus bas, sans réduire davantage leur taille.
   Les animations de rapprochement continuent même sous la souris :
   le hover ajoute seulement un zoom fluide indépendant des keyframes. */
.gateway-books-art .gw-book-one { top: 45px !important; }
.gateway-books-art .gw-book-two { top: 37px !important; }
.gateway-books-art .gw-book-three { top: 47px !important; }
.gateway-books-art .gw-book {
  scale: 1;
  transition: scale 1000ms cubic-bezier(.22,.65,.2,1), filter 1000ms ease !important;
}
.gateway-books:hover .gw-book {
  animation-duration: 7.2s !important;
  animation-timing-function: ease-in-out !important;
  animation-iteration-count: infinite !important;
  animation-fill-mode: both !important;
  scale: 1.035;
  filter: drop-shadow(0 23px 19px #7e5c6f50);
}
/* L'animation de rassemblement propre à chaque livre reste intacte. */
.gateway-books:hover .gw-book-one { animation-name: site-books-gather-loop-one !important; }
.gateway-books:hover .gw-book-two { animation-name: site-books-gather-loop-two !important; scale: 1.025; }
.gateway-books:hover .gw-book-three { animation-name: site-books-gather-loop-three !important; }

/* TÉLÉPHONE : le flottement ne s'interrompt pas au hover ;
   zoom indépendant et progressif plutôt que transition sèche. */
.gateway-sms-art .gateway-phone {
  position: relative;
  z-index: 7;
  scale: 1;
  transition: scale 1050ms cubic-bezier(.22,.65,.2,1), filter 1000ms ease !important;
}
.gateway-sms:hover .gateway-phone {
  animation: site-gateway-phone-sway 6.8s ease-in-out infinite !important;
  scale: 1.085;
  filter: drop-shadow(0 6px 12px rgba(12,4,15,.22));
}

/* BULLE « quelqu'un écrit » : structure et mouvement repris du
   modèle iMessage fourni. Mode sombre (#251b27) pour écran noir.
   L'ancien dessin de queue en équerre est intégralement remplacé. */
.iphone-card-phone .imessage-typing-bubble,
.iphone-card-phone-large .imessage-typing-bubble {
  position: relative !important;
  background-color: #251b27 !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-self: flex-start !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  width: auto !important;
  height: 12px !important;
  min-height: 12px !important;
  min-width: 40px !important;
  padding: 12px 18px !important;
  margin: 6px 0 16px 12px !important;
  border-radius: 20px !important;
  box-sizing: content-box !important;
  box-shadow: none !important;
  transform: none !important;
}
.iphone-card-phone .imessage-typing-bubble::before,
.iphone-card-phone-large .imessage-typing-bubble::before {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  z-index: 0 !important;
  bottom: -2px !important;
  left: -4px !important;
  width: 12px !important;
  height: 12px !important;
  background-color: #251b27 !important;
  border: 0 !important;
  border-radius: 50% !important;
  pointer-events: none !important;
}
.iphone-card-phone .imessage-typing-bubble::after,
.iphone-card-phone-large .imessage-typing-bubble::after {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  z-index: 0 !important;
  bottom: -6px !important;
  left: -10px !important;
  width: 6px !important;
  height: 6px !important;
  background-color: #251b27 !important;
  border: 0 !important;
  border-radius: 50% !important;
  pointer-events: none !important;
}
.iphone-card-phone .imessage-typing-bubble .typing-dot,
.iphone-card-phone-large .imessage-typing-bubble .typing-dot {
  display: block !important;
  flex: 0 0 7px !important;
  position: relative !important;
  z-index: 1 !important;
  width: 7px !important;
  height: 7px !important;
  min-width: 7px !important;
  min-height: 7px !important;
  max-width: 7px !important;
  max-height: 7px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #8e8e93 !important;
  border-radius: 50% !important;
  opacity: .4;
  animation: iMessageTyping 1.4s infinite ease-in-out !important;
}
.iphone-card-phone .imessage-typing-bubble .typing-dot:nth-child(2),
.iphone-card-phone-large .imessage-typing-bubble .typing-dot:nth-child(2) {
  animation-delay: .2s !important;
}
.iphone-card-phone .imessage-typing-bubble .typing-dot:nth-child(3),
.iphone-card-phone-large .imessage-typing-bubble .typing-dot:nth-child(3) {
  animation-delay: .4s !important;
}
@keyframes iMessageTyping {
  0%, 100% { opacity: .4; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-4px); }
}

/* Adaptation proportionnelle sur les petits téléphones de la grille. */
.iphone-card-phone:not(.iphone-card-phone-large) .imessage-typing-bubble {
  gap: 4px !important;
  min-width: 26px !important;
  min-height: 9px !important;
  height: 9px !important;
  padding: 7px 11px !important;
  margin: 5px 0 13px 12px !important;
  border-radius: 14px !important;
}
.iphone-card-phone:not(.iphone-card-phone-large) .imessage-typing-bubble .typing-dot {
  flex-basis: 6px !important;
  width: 6px !important; height: 6px !important;
  min-width: 6px !important; min-height: 6px !important;
  max-width: 6px !important; max-height: 6px !important;
}
.iphone-card-phone-large .imessage-typing-bubble {
  margin: 8px 0 28px 16px !important;
}
@media (max-width:650px) {
  .gateway-books-art .gw-book-one { top: 45px !important; }
  .gateway-books-art .gw-book-two { top: 37px !important; }
  .gateway-books-art .gw-book-three { top: 47px !important; }
  /* Pas d'effets hover involontaires sur appareils tactiles. */
  .gateway-books:hover .gw-book,
  .gateway-sms:hover .gateway-phone { scale: 1 !important; }
}
@media (prefers-reduced-motion:reduce) {
  .gateway-books-art .gw-book, .gateway-sms-art .gateway-phone { 
    animation: none !important; transition: none !important;
  }
  .iphone-card-phone .imessage-typing-bubble .typing-dot,
  .iphone-card-phone-large .imessage-typing-bubble .typing-dot {
    animation: none !important; opacity: 1;
  }
}
