/* Refonte locale : les couleurs et les captures de Notre Budget. */
:root, :root[data-theme="light"]{--bg:#f5f8f7;--surface:#fff;--ink:#173b40;--muted:#5e7477;--line:#dbe6e3;--brand-1:#1a6b78;--brand-2:#164d58;--accent:#2f9e5b;--accent-ink:#237544;--chip:#e8f1ed;--display:"Nunito","Avenir Next",system-ui,sans-serif;--body:"Source Sans 3",system-ui,sans-serif;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--bg);color:var(--ink);font-size:18px;line-height:1.6;-webkit-font-smoothing:antialiased}a{color:var(--brand-1);text-underline-offset:4px}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}a,button,summary{touch-action:manipulation}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:5px}button{cursor:pointer}img{max-width:100%}h1,h2,h3{letter-spacing:-.035em}h1 em{font-style:normal;color:var(--brand-1)}[hidden]{display:none!important}.wrap,.nav-wrap{max-width:1184px;padding-inline:36px;margin-inline:auto}.skip{position:fixed;top:-100px;left:20px;background:var(--surface);padding:14px;z-index:100}.skip:focus{top:10px}.site-header{position:sticky;top:0;background:color-mix(in srgb,var(--bg) 95%,transparent);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);z-index:20}.nav-wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:88px}.site-brand{display:flex;align-items:center;gap:12px;font:800 19px var(--display);letter-spacing:-.035em;text-decoration:none;color:var(--ink);white-space:nowrap}.site-brand img{width:38px;height:38px;border-radius:11px;box-shadow:none}.site-header nav{display:flex;gap:28px;align-items:center}.site-header nav a{font-size:15px;font-weight:600;text-decoration:none;color:var(--muted)}.site-header nav a:hover{color:var(--brand-1)}.site-header nav .nav-cta{color:var(--ink);border:1px solid var(--line);border-radius:100px;padding:9px 17px}.nav-cta span{margin-left:10px}.button{display:inline-flex;gap:24px;align-items:center;justify-content:center;padding:13px 24px;min-height:50px;border-radius:100px;text-decoration:none;font-size:16px;font-weight:600;transition:background .15s,transform .15s}.button:hover{transform:translateY(-2px)}.button.primary,.btn.primary{background:var(--brand-1);color:#fff}.button.secondary{color:var(--ink);background:transparent;border:1px solid var(--line)}.hero{background:var(--bg);color:var(--ink);padding-block:65px 62px;overflow:hidden}.hero .wrap{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:70px;align-items:center}.hero-kicker{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:600;color:var(--muted);letter-spacing:.03em;margin-bottom:25px}.hero-kicker i{width:7px;height:7px;background:var(--accent);border-radius:50%}.hero h1{font-size:clamp(38px,4.7vw,60px);font-weight:800;line-height:1.1;letter-spacing:-.055em;text-wrap:initial;max-width:650px}.hero .monthly{margin-top:22px;color:var(--ink);font-weight:600;font-size:21px}.hero .lead{font-size:18px;line-height:1.65;margin-top:12px;color:var(--muted);max-width:490px}.hero .promise{margin-top:17px;color:var(--muted);font-size:14px;line-height:1.65;max-width:460px}.hero .pills{gap:20px;margin-top:20px}.hero .pills .news{padding:0;border:0;background:transparent;color:var(--ink);font-size:13px;gap:7px;flex-wrap:wrap}.hero .pills .news b{background:transparent;color:var(--ink);padding:0;font-size:14px}.hero .pills .news span{white-space:normal;font-size:12px;color:var(--muted)}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.hero-visual{position:relative;display:grid;place-items:center;padding:27px 0 20px;background:#e5efeb;border-radius:180px 180px 40px 40px;max-width:410px;width:100%;justify-self:end}.visual-note{font-size:14px;letter-spacing:.02em;color:var(--brand-1);margin-bottom:18px;font-weight:600}.hero .phone{width:232px;transform:rotate(3deg);box-shadow:0 22px 40px #173b4020;justify-self:center}.visual-caption{font-size:11px;color:var(--muted);margin-top:22px}.budget-home main{padding:0;display:block}.release-line{max-width:1112px;margin:0 auto;display:flex;gap:20px;align-items:center;border-block:1px solid var(--line);padding:18px 0}.release-label{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);white-space:nowrap}.release-line .news{margin:0;border:0;background:none;padding:0;color:var(--muted);display:flex;gap:14px;border-radius:0;font-weight:400;font-size:14px;min-width:0}.release-line .news b{color:var(--accent-ink);background:var(--chip);font-size:11px;padding:3px 9px}.release-line .news span{white-space:normal;overflow:visible}.budget-home section{padding-block:72px!important}.budget-home .section-head{max-width:650px;gap:12px;margin-bottom:32px}.eyebrow{font-size:11px;letter-spacing:.13em;color:var(--brand-1);font-weight:700}.section-head h2{font-size:clamp(28px,3vw,38px);font-weight:800;line-height:1.2;letter-spacing:-.04em}.section-head p{font-size:17px;line-height:1.6}.steps{gap:28px}.step{border-top:1px solid var(--line);padding-top:20px;gap:10px}.step::before{background:transparent;color:var(--brand-1);width:auto;height:auto;display:block;font-size:13px;content:"0" counter(step);margin-bottom:7px}.step h3{font-size:19px}.step p{font-size:16px;line-height:1.6}.budget-home #modes{background:var(--surface)}.modes.track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:28px;padding:0}.modes .mode{width:auto;background:none;border:0;border-radius:0;padding:0;gap:13px}.mode h3{font-size:20px}.mode .diagram{max-height:200px;margin-block:10px}.mode p{font-size:16px}.mode ul{font-size:14px;line-height:1.65}.mode .tag{font-size:11px;background:var(--chip);padding:3px 10px}.modes-note{font-size:13px}.carousel:has(.modes) .car-nav{display:none!important}.budget-home section+section{border-top:1px solid var(--line)}.budget-home #iphone{border:0}.track{gap:24px;scrollbar-width:thin;scrollbar-color:var(--line) transparent;padding-bottom:22px}.track::-webkit-scrollbar{display:block;height:4px}.track::-webkit-scrollbar-thumb{background:var(--line);border-radius:4px}.slide{width:208px}.slide img{box-shadow:none}.slide figcaption{margin-top:12px;font-size:13px;color:var(--muted);text-align:center}.car-nav{justify-content:flex-end;margin-top:12px;gap:12px}.car-btn{width:38px;height:38px;background:none}.dots{margin-inline:6px}.dots button{width:6px;height:6px;background:var(--line)}.dots button[aria-current="true"]{background:var(--brand-1);width:16px}.features{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px}.feature{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:22px 0;box-shadow:none}.feature-detail{display:block;align-self:start}.feature-detail summary{display:flex;gap:12px;align-items:center;font-family:var(--display);font-size:18px;font-weight:700;list-style:none;color:var(--ink);min-height:30px}.feature-detail summary::-webkit-details-marker{display:none}.feature-detail summary:after{content:"+";color:var(--brand-1);margin-left:auto;font:400 24px var(--body);padding-left:10px}.feature-detail[open] summary:after{content:"−"}.feature-detail summary svg{width:22px;height:22px;flex:none;color:var(--brand-1)}.feature-body{padding:18px 0 0 34px}.feature-body ul{font-size:16px}.feature h3{font-size:20px}.feature h3 a{text-decoration:none}.feature p{font-size:16px;color:var(--muted)}.platforms{gap:34px}.platforms .feature{border-top:1px solid var(--line);border-bottom:0}.theme-switch,.palette-toggle{border-radius:100px;background:var(--surface);padding:3px}.theme-switch button[aria-pressed=true],.palette-toggle button[aria-pressed=true]{background:var(--brand-1);color:#fff}.palette-grid{gap:22px}.palette-card{background:none;border:0;box-shadow:none;padding:0}.palette-card h3{font-size:15px;font-weight:700}.palette-note,.palette-status{font-size:13px;color:var(--muted)}.budget-home .privacy{background:#e8f0ed;border:0;border-radius:0}.privacy-grid{gap:50px;font-size:16px}.privacy h3{font-size:19px}.faq{max-width:none;gap:0}.faq details,.tuto{background:none;border:0;border-bottom:1px solid var(--line);padding:20px 0;border-radius:0}.faq summary,.tuto summary{font-size:17px;line-height:1.6;font-weight:600}.faq p{max-width:800px;font-size:16px}.tuto summary small{font-size:12px}.beta{background:var(--surface);border:1px solid var(--line);border-radius:28px;padding:44px;gap:24px}.beta h2{font-size:36px}.beta .intro{font-size:17px;max-width:780px}.beta .notice{font-size:14px;background:var(--bg);border-left:2px solid var(--brand-1);padding:10px 14px}.beta button,.coffee{background:var(--brand-1)}.beta label{font-size:14px}.beta input,.beta select,.beta textarea{background:var(--bg);padding:12px 14px}.support{padding:0;background:transparent;border:0;box-shadow:none;border-radius:0}.support h2{font-size:26px}.support p{font-size:16px}.coffee{font-size:15px}.budget-home footer{background:var(--surface);padding-block:32px}.budget-home footer .wrap{font-size:13px}.budget-home footer .wrap>span:last-child{flex-basis:100%;margin-top:12px;font-size:11px}.content-page .wrap{max-width:950px}.content-page .site-header .nav-wrap{max-width:1184px}.content-page .top{background:var(--bg);color:var(--ink);padding:55px 0 45px;border-bottom:1px solid var(--line)}.content-page .top .brand{color:var(--ink);margin-bottom:22px}.content-page .top .brand img{width:36px;height:36px;border-radius:10px;box-shadow:none}.content-page .top .brand b{color:var(--accent-ink)}.content-page .top p{color:var(--muted);max-width:650px}.content-page .top h1{font-size:clamp(30px,4vw,48px)}.content-page main{padding-block:45px 72px;gap:36px}.content-page section{padding:0;gap:14px}.content-page details,.content-page .card{border-radius:18px;box-shadow:none}.content-page main p,.content-page main li{font-size:17px}.content-page .mail{background:var(--brand-1)}.content-page footer{background:var(--surface)}.content-page .hub-bar{display:none}.content-page .tutorial-grid{gap:40px}.content-page .tutorial-grid figure{max-width:400px}.content-page .tutorial-grid .device-frame--phone{max-width:220px}.content-page article{scroll-margin-top:110px}
/* Accueil des applications */
.hub-home .hero{padding:82px 0 72px}.hub-home .hero .wrap{display:grid;grid-template-columns:1.4fr .6fr;gap:60px;text-align:left;justify-items:stretch}.hub-home .hero h1{font-size:clamp(38px,4.9vw,62px)}.hub-home .hero p{color:var(--muted);font-size:19px;max-width:560px;margin:24px 0 28px}.hub-home .hero p b{color:var(--ink);font-weight:600}.hub-mark{justify-self:end;align-self:center;display:grid;justify-items:center;gap:10px;padding:30px 22px}.hero .hub-mark img{width:142px;height:142px;border-radius:32px;box-shadow:0 15px 40px #173b4015;margin-bottom:16px}.hub-mark>span{font:800 20px var(--display);letter-spacing:-.04em}.hub-mark small{color:var(--muted);font-size:13px}.hub-home main{padding-bottom:72px}.collection-heading{border-top:1px solid var(--line);padding-top:32px;margin-bottom:28px;display:flex;align-items:center;gap:25px;scroll-margin-top:120px}.collection-heading h2{font-size:24px;font-weight:800;margin-right:auto}.collection-heading>span:last-child{font-size:12px;color:var(--muted)}.hub-home .apps{display:flex;flex-direction:column;gap:26px;margin:0}.hub-home .app{display:grid;grid-template-columns:1.1fr .9fr;gap:24px;padding:0;border:1px solid var(--line);border-radius:30px;overflow:hidden;background:var(--surface);box-shadow:none}.app-copy{display:grid;gap:20px;align-content:center;padding:38px 8px 38px 38px}.hub-home .app header img{width:52px;height:52px;border-radius:13px;box-shadow:none}.hub-home .app h2{font-size:30px;font-weight:800}.hub-home .tag{font-size:11px;line-height:1.6;padding:3px 10px;margin-top:5px}.hub-home .app-copy>p{font-size:20px;line-height:1.5;max-width:360px}.hub-home .app ul{gap:11px;font-size:16px;color:var(--muted)}.hub-home .app li::before{background:none;color:var(--accent-ink);width:14px;height:24px;font-size:15px}.hub-home .btn{font-size:14px;min-height:44px;border-radius:100px;padding:0 19px;font-weight:600}.hub-home .btn.ghost{border-width:1px}.budget-preview{align-self:stretch;display:grid;place-items:center;gap:14px;padding:28px 20px 0;background:#e6efeb;overflow:hidden;max-height:487px}.budget-preview>span{font-size:12px;color:var(--brand-1);letter-spacing:.03em}.budget-preview img{width:200px;border:5px solid #153b40;border-radius:29px;transform:rotate(4deg);box-shadow:0 10px 30px #173b4018}.bons-preview{background:#eef0f8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;padding:32px;min-height:350px}.bons-preview img{width:110px;height:110px;border-radius:26px;box-shadow:0 15px 30px #1b1c4814;transform:rotate(-5deg)}.bons-preview span{text-align:center;color:#505771;font:700 25px/1.3 var(--display);letter-spacing:-.04em}.hub-home .app.soon{display:flex;align-items:center;justify-content:space-between;border:0;border-block:1px solid var(--line);border-radius:0;min-height:0;background:transparent;padding:24px 0;gap:16px}.hub-home .app.soon .dot{width:32px;height:32px;border:1px solid var(--line);position:relative;margin:0}.app.soon .dot:after{content:"+";position:absolute;inset:0;display:grid;place-items:center;font-size:20px}.hub-home .app.soon p{margin-right:auto;font-size:14px;text-align:left}.hub-home .app.soon p br{display:none}.hub-home .app.soon b{margin-right:16px}.hub-home .about{margin-top:65px;gap:38px;scroll-margin-top:120px}.hub-home .about div{gap:12px;align-content:start}.hub-home .about h3{font-size:20px}.hub-home .about p{font-size:16px;line-height:1.7}.hub-home footer{background:var(--surface);font-size:14px;padding-block:28px}
@media(min-width:901px){.ipad-gallery .slide{width:520px!important}.palette-grid[data-device=ipad]{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.hero .wrap{gap:35px}.hero h1{font-size:48px}.nav-wrap,.wrap{padding-inline:28px}.site-header nav{gap:18px}.release-line{margin-inline:28px}.hero-visual{max-width:340px}.hero .phone{width:210px}.hero .monthly{font-size:19px}.hero .lead{font-size:17px}.hub-home .app{grid-template-columns:1.2fr .8fr}.app-copy{padding:30px}.hub-home .hero .wrap{gap:20px}.hub-home .hero h1{font-size:50px}}
@media(max-width:760px){.nav-wrap{min-height:72px;gap:12px}.site-brand{font-size:17px;gap:9px}.site-brand img{width:32px;height:32px}.site-header nav{gap:12px}.site-header nav>a:not(.nav-cta){display:none}.site-header nav .nav-cta{font-size:12px;padding:8px 13px}.nav-cta span{margin-left:4px}.wrap,.nav-wrap{padding-inline:22px}.hero{padding-block:45px}.hero .wrap{grid-template-columns:1fr;gap:40px}.hero h1{font-size:46px;max-width:600px}.hero .lead{max-width:100%}.hero-visual{justify-self:center;max-width:360px;padding-top:22px}.hero .phone{width:200px}.hero .promise{max-width:none}.hero-kicker{font-size:11px;margin-bottom:20px}.hero-actions{margin-top:24px}.hero .pills{gap:16px}.release-line{margin-inline:22px;gap:12px;align-items:flex-start}.release-label{display:none}.release-line .news{gap:12px;font-size:12px;align-items:flex-start}.budget-home section{padding-block:45px!important}.section-head h2{font-size:30px}.budget-home .section-head p{font-size:16px}.steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}.step h3{font-size:17px}.step p{font-size:15px}.modes.track{display:flex;overflow:auto;gap:22px;scrollbar-width:thin;padding-bottom:15px}.modes .mode{width:85%;flex-shrink:0;border-right:1px solid var(--line);padding-right:22px}.carousel:has(.modes) .car-nav{display:flex!important}.mode .diagram{max-height:180px}.features{grid-template-columns:1fr}.privacy-grid{grid-template-columns:1fr;gap:28px}.feature{padding-block:18px}.feature-body{padding-left:0}.palette-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.palette-grid[data-device=ipad]{grid-template-columns:1fr}.palette-grid[data-device=ipad] .palette-card{max-width:500px}.slide{width:190px}.beta{padding:24px;border-radius:22px;gap:20px}.beta h2{font-size:30px}.beta .intro{font-size:16px}.support{gap:22px}.tuto summary{align-items:flex-start;flex-wrap:wrap;gap:4px 10px}.tuto summary small{order:3;flex-basis:100%}.tuto summary:after{margin-left:auto}.content-page .top{padding:35px 0}.content-page .top h1{font-size:36px}.hub-home .hero{padding:48px 0}.hub-home .hero .wrap{grid-template-columns:1fr}.hub-home .hero h1{font-size:46px}.hub-home .hero p{font-size:18px}.hub-mark{display:none}.collection-heading{flex-wrap:wrap;gap:8px 18px;padding-top:26px}.collection-heading h2{font-size:22px;flex-basis:100%;order:3}.collection-heading>span:last-child{margin-left:auto}.hub-home .app{grid-template-columns:1fr;gap:0}.app-copy{padding:26px;gap:18px}.hub-home .app h2{font-size:27px}.hub-home .app-copy>p{font-size:19px}.budget-preview{max-height:320px;padding-top:22px}.budget-preview img{width:195px}.bons-preview{min-height:235px;flex-direction:row;gap:24px;padding:30px}.bons-preview img{width:80px;height:80px;border-radius:20px}.bons-preview span{font-size:22px;text-align:left}.hub-home .about{margin-top:40px;gap:28px;grid-template-columns:1fr}.hub-home .app.soon p br{display:block}.hub-home .app.soon b{margin:0}.hub-home footer .wrap{gap:15px}.content-page .tutorial-grid{gap:22px}}
@media(max-width:380px){.hero h1,.hub-home .hero h1{font-size:39px}.button{padding:11px 18px;gap:16px;font-size:14px}.site-brand{font-size:15px}.nav-wrap{padding-inline:16px}.site-header nav .nav-cta{padding-inline:10px}.steps{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.track{scroll-behavior:auto}.button{transition:none}.button:hover{transform:none}}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#102329;--surface:#163037;--ink:#e7f0ed;--muted:#a4b8b7;--line:#2c484d;--brand-1:#8dd4cd;--brand-2:#173a43;--accent:#70d79c;--accent-ink:#8ddbaa;--chip:#204039;color-scheme:dark}.hero-visual,.budget-preview{background:#1a3b3d}.bons-preview{background:#2b3047}.bons-preview span{color:#d4d9ed}.button.primary,.btn.primary,.beta button,.coffee{background:#236c76;color:#fff}.budget-home .privacy{background:#1b3536}}
.theme-button{border:0;background:transparent;color:var(--muted);width:32px;height:32px;display:inline-grid;place-items:center;font-size:21px;border-radius:50%;padding:0}.theme-button:hover{background:var(--chip)}
:root[data-theme=dark]{--bg:#102329;--surface:#163037;--ink:#e7f0ed;--muted:#a4b8b7;--line:#2c484d;--brand-1:#8dd4cd;--brand-2:#173a43;--accent:#70d79c;--accent-ink:#8ddbaa;--chip:#204039;color-scheme:dark}
:root[data-theme=light] .hero-visual,:root[data-theme=light] .budget-preview{background:#e5efeb}:root[data-theme=light] .bons-preview{background:#eef0f8}:root[data-theme=light] .bons-preview span{color:#505771}:root[data-theme=light] .button.primary,:root[data-theme=light] .btn.primary,:root[data-theme=light] .beta button,:root[data-theme=light] .coffee{background:#1a6b78;color:#fff}:root[data-theme=light] .budget-home .privacy{background:#e8f0ed}
@media(max-width:380px){.site-header nav{gap:5px}.theme-button{width:26px}}
.budget-preview img{height:auto;align-self:start}.content-page .top .brand{display:none}
:root[data-theme=dark] .hero-visual,:root[data-theme=dark] .budget-preview{background:#1a3b3d}:root[data-theme=dark] .bons-preview{background:#2b3047}:root[data-theme=dark] .bons-preview span{color:#d4d9ed}:root[data-theme=dark] .button.primary,:root[data-theme=dark] .btn.primary,:root[data-theme=dark] .beta button,:root[data-theme=dark] .coffee{background:#236c76;color:#fff}:root[data-theme=dark] .budget-home .privacy{background:#1b3536}
@media(max-width:760px){.site-header nav>a:not(.nav-cta){display:block;font-size:12px}.site-header .nav-wrap{flex-wrap:wrap;padding-block:14px;gap:12px}.site-header nav{width:100%;justify-content:space-between;gap:10px;order:2}.site-header nav .nav-cta{margin-left:auto}.site-header .theme-button{order:3}.site-header nav>a.nav-cta{order:2}.site-header nav>a:not(.nav-cta){flex-shrink:0}.site-header .site-brand{margin-bottom:0}html{scroll-padding-top:145px}}
.content-page .guide-nav a{color:var(--brand-1);background:var(--surface);border:1px solid var(--line);font-size:14px;padding:7px 14px}.content-page .guide-nav a:hover{background:var(--chip)}.content-page .guide-content section{padding:24px}.content-page .guide-visual{top:110px}.content-page .guide-related{padding-top:34px;padding-bottom:40px}.content-page .guide-content h2{font-size:25px;line-height:1.25}.content-page .controls button[aria-pressed=true]{background:var(--brand-1);color:var(--surface)}
@media(max-width:760px){.content-page .guide-content section{padding:20px}.content-page .guide-content h2{font-size:23px}}

/* Téléphones inclinés sur le même fond que leur texte, sans panneau décoratif. */
:root .budget-home .hero-visual,
:root .hub-home .budget-preview {
  background: transparent;
  border-radius: 0;
}
.budget-home .hero-visual { padding: 28px 24px; }
.budget-home .hero .phone { transform: rotate(8deg); }
.hub-home .app-0 { align-items: center; }
.hub-home .budget-preview {
  padding: 32px 30px;
  max-height: none;
  overflow: visible;
  gap: 24px;
}
.budget-preview .device-frame {
  width: 206px;
  transform: rotate(8deg);
  justify-self: center;
}
.hub-home .budget-preview img {
  width: 100%;
  height: auto;
  border: 0;
  transform: none;
  border-radius: var(--screen-radius);
  box-shadow: none;
}
@media (min-width: 600px) and (max-width: 1000px) {
  .hub-home .app-0 { grid-template-columns: minmax(0, 1fr) 238px; gap: 0; }
  .hub-home .app-0 .app-copy { padding: 30px 0 30px 28px; }
  .hub-home .app-0 .budget-preview { padding-inline: 22px; }
  .budget-preview .device-frame { width: 176px; }
}
@media (min-width: 640px) and (max-width: 760px) {
  .budget-home .hero .wrap { grid-template-columns: minmax(0, 1fr) 220px; gap: 24px; }
  .budget-home .hero h1 { font-size: 38px; }
  .budget-home .hero .phone { width: 176px; }
  .budget-home .hero-visual { padding-inline: 12px; }
  .budget-home .visual-note { font-size: 12px; text-align: center; }
  .budget-home .visual-caption { text-align: center; }
}
@media (max-width: 599px) {
  .hub-home .budget-preview { padding: 25px 30px 36px; }
  .budget-preview .device-frame { width: 194px; }
}

/* Les cinq couleurs restent sur une seule piste, y compris sur petit écran. */
#themes .palette-grid {
  display: flex;
  grid-template-columns: none;
  gap: 24px;
  overflow-x: auto;
  align-items: flex-start;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 3px;
  padding: 8px 3px 24px;
}
#themes .palette-card {
  flex: 0 0 min(206px, 74vw);
  width: min(206px, 74vw);
  max-width: none;
  scroll-snap-align: start;
}
#themes .palette-grid[data-device="ipad"] .palette-card {
  flex-basis: min(520px, 82vw);
  width: min(520px, 82vw);
}
#themes .palette-carousel { min-width: 0; }
#themes .palette-card h3 { margin-bottom: 4px; }

/* Une légende rattachée au cadre, plutôt qu’un titre isolé au-dessus. */
.budget-home .hero .visual-note {
  position: absolute;
  z-index: 2;
  left: -30px;
  bottom: -20px;
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  padding: 12px 16px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgb(0 0 0 / 10%);
  transform: rotate(-8deg);
  font: 700 13px/1.4 var(--body);
  letter-spacing: 0;
  text-align: left;
}
.budget-home .hero .visual-note svg {
  width: 27px;
  height: 27px;
  flex: none;
  color: var(--brand-1);
}
.budget-home .visual-caption { margin-top: 52px; }
@media (min-width: 640px) and (max-width: 760px) {
  .budget-home .hero .visual-note { left: -14px; padding: 10px 12px; gap: 8px; font-size: 12px; }
  .budget-home .hero .visual-note svg { width: 22px; height: 22px; }
}
