/* Tribia — site vitrine. Écrit à la main, aucune étape de build. */
/* Nunito (SIL Open Font License 1.1), auto-hébergée : aucune requête vers un tiers. */
@font-face { font-family: 'Nunito'; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(../fonts/nunito-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(../fonts/nunito-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --cream: #FFF6E9;
  --cream2: #FFEFDC;
  --dot: #F3DEC5;
  --lav: #F1ECFF;
  --lavdot: #E2D9FF;
  --ink: #2B2140;
  --ink2: #3A2F55;
  --soft: #6D6585;
  --line: #EEE3D3;
  --coral: #FF6B5B;
  --coral-d: #EF5242;
  --violet: #7B5CFF;
  --violet-d: #5B3FE0;
  --mint: #2EC4A0;
  --mint-d: #158F72;
  --sun: #FFC53D;
  --sky: #4DA8FF;
  --pink: #FF8FB8;
  --white: #fff;
  --radius: 28px;
  --shadow: 0 8px 0 rgba(43, 33, 64, .07);
  --shadow-lg: 0 14px 0 rgba(43, 33, 64, .08);
  --gutter: 16px;
  --font: Nunito, ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font); font-weight: 600; font-size: 17px; line-height: 1.55; color: var(--ink);
  background: var(--cream);
  background-image: radial-gradient(var(--dot) 2.5px, transparent 2.6px);
  background-size: 44px 44px;
  overflow-x: hidden;
}
html[lang="fr"] [data-l="en"], html[lang="en"] [data-l="fr"] { display: none !important; }
img, canvas, video { max-width: 100%; display: block; }
a { color: var(--violet-d); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 900; letter-spacing: -.015em; }
p { margin: 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: rgba(123, 92, 255, .12); padding: .1em .4em; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--violet-d); outline-offset: 3px; border-radius: 10px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; z-index: 100; font-weight: 800; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }
.wrap-narrow { max-width: 860px; }

/* ---------- Wordmark ---------- */
.wm { font-weight: 900; letter-spacing: -.03em; display: inline-flex; line-height: 1; }
.wm span:nth-child(1) { color: var(--coral); }
.wm span:nth-child(2) { color: var(--violet); }
.wm span:nth-child(3) { color: var(--coral); }
.wm span:nth-child(4) { color: var(--mint); }
.wm span:nth-child(5) { color: var(--sun); }
.wm span:nth-child(6) { color: var(--sky); }
.brand .wm { font-size: 30px; }
.wm-md { font-size: 44px; }
.wm-xl { font-size: clamp(72px, 15vw, 150px); display: flex; margin-bottom: 6px; }
.wm-xl span { display: inline-block; animation: hop 3.2s ease-in-out infinite; text-shadow: 0 6px 0 rgba(43, 33, 64, .08); }
.wm-xl span:nth-child(2) { animation-delay: .12s; } .wm-xl span:nth-child(3) { animation-delay: .24s; }
.wm-xl span:nth-child(4) { animation-delay: .36s; } .wm-xl span:nth-child(5) { animation-delay: .48s; } .wm-xl span:nth-child(6) { animation-delay: .6s; }
@keyframes hop { 0%, 70%, 100% { transform: translateY(0); } 78% { transform: translateY(-10px); } 86% { transform: translateY(2px); } }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--white); --fg: var(--ink); --sh: rgba(43, 33, 64, .18);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; text-align: center;
  font: inherit; font-weight: 900; font-size: 17px; line-height: 1.2; color: var(--fg); background: var(--bg);
  border: 0; border-radius: 999px; padding: 14px 24px; cursor: pointer; text-decoration: none;
  box-shadow: 0 5px 0 var(--sh); transition: transform .12s ease, box-shadow .12s ease; min-height: 48px;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--sh); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--sh); }
.btn-lg { font-size: 19px; padding: 18px 30px; min-height: 60px; }
.btn-sm { font-size: 15px; padding: 9px 16px; min-height: 40px; box-shadow: 0 4px 0 var(--sh); }
.btn-coral { --bg: var(--coral-d); --fg: #fff; --sh: #B8382B; }
.btn-violet { --bg: var(--violet-d); --fg: #fff; --sh: #3D27A8; }
.btn-ghost { --bg: var(--white); --fg: var(--ink); }
.btn-plain { --bg: var(--white); --fg: var(--ink); --sh: rgba(43, 33, 64, .12); }
.play-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--violet-d); color: #fff; display: inline-grid; place-items: center; font-size: 12px; padding-left: 2px; }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 246, 233, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 2px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { text-decoration: none; display: inline-flex; align-items: center; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: rgba(123, 92, 255, .1); color: var(--violet-d); }
.top-act { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; background: #fff; border-radius: 999px; padding: 3px; box-shadow: var(--shadow); }
.lang button { font: inherit; font-weight: 900; font-size: 13px; border: 0; background: transparent; color: var(--soft); border-radius: 999px; padding: 6px 10px; cursor: pointer; min-width: 40px; min-height: 32px; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow); cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 3px; background: var(--ink); border-radius: 3px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
@media (max-width: 920px) {
  .burger { display: inline-flex; }
  .top-act { margin-left: auto; }
  .nav { position: absolute; left: var(--gutter); right: var(--gutter); top: 72px; flex-direction: column; background: #fff; border-radius: 24px; padding: 10px; box-shadow: var(--shadow-lg); display: none; margin: 0; }
  .nav.open { display: flex; }
  .nav a { font-size: 18px; padding: 12px 16px; }
}
@media (max-width: 520px) { .hide-sm { display: none; } }

/* ---------- Pastilles / titres ---------- */
.kick { display: inline-block; font-weight: 900; font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: #fff; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.kick-coral { background: var(--coral-d); } .kick-violet { background: var(--violet-d); } .kick-mint { background: var(--mint-d); }
.kick-sky { background: #1F6FC4; } .kick-sun { background: var(--sun); color: var(--ink); }
.sec { padding: 88px 0; position: relative; }
@media (max-width: 720px) { .sec { padding: 64px 0; } }
.sec-head { max-width: 780px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(32px, 5.4vw, 54px); margin-bottom: 14px; }
.sec-head h2 em { font-style: normal; color: var(--violet-d); background: linear-gradient(transparent 62%, rgba(255, 197, 61, .55) 62%); padding: 0 .08em; }
.sub { font-size: clamp(17px, 2vw, 20px); color: var(--soft); font-weight: 700; }
.sec-lav { background-color: var(--lav); background-image: radial-gradient(var(--lavdot) 2.5px, transparent 2.6px); background-size: 44px 44px; }
.sec-cream2 { background-color: var(--cream2); background-image: radial-gradient(#F0D7B8 2.5px, transparent 2.6px); background-size: 44px 44px; }
.sec-dark { background-color: var(--ink); color: #fff; background-image: radial-gradient(var(--ink2) 2.5px, transparent 2.6px); background-size: 44px 44px; }
.sec-dark .sub { color: #D8D0F0; }
.card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.fine { font-size: 14px; color: var(--soft); margin-top: 18px; font-weight: 700; }
.h3-lg { font-size: 26px; margin: 48px 0 18px; }

/* ---------- Héros ---------- */
.hero { padding: 40px 0 0; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 980px) { .hero-in { grid-template-columns: 1fr 1.08fr; gap: 40px; padding-top: 24px; } }
.tagline { display: block; font-size: clamp(28px, 4.4vw, 46px); line-height: 1.1; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--soft); font-weight: 700; margin: 20px 0 28px; max-width: 34em; }
.lead b { color: var(--ink); font-weight: 900; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 520px) { .cta-row .btn { width: 100%; } .btn-lg { font-size: 17px; padding: 16px 18px; } }
.micro { font-size: 14px; color: var(--soft); margin-top: 16px; font-weight: 700; }
.hero-art { position: relative; }
.stage { position: relative; aspect-ratio: 1200 / 760; width: 100%; }
.stage-cv { width: 100%; height: 100%; }
.live { position: absolute; left: 3%; bottom: -4px; right: 18%; display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 999px; padding: 10px 16px; box-shadow: var(--shadow-lg); font-weight: 800; font-size: 14px; min-width: 0; }
.live-dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(255, 107, 91, .7); animation: ping 1.6s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(255, 107, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 107, 91, 0); } }
.live-lbl { color: var(--sun); font-weight: 900; letter-spacing: .08em; font-size: 12px; flex: none; }
.live-txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; transition: opacity .3s, transform .3s; }
.live-txt.swap { opacity: 0; transform: translateY(6px); }
.sticker { position: absolute; background: #fff; border-radius: 16px; padding: 8px 12px; font-weight: 900; font-size: 14px; box-shadow: var(--shadow-lg); white-space: nowrap; animation: float 5s ease-in-out infinite; }
.s1 { top: 2%; left: 38%; transform: rotate(-4deg); }
.s2 { top: 22%; right: 0; animation-delay: -2.5s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (max-width: 520px) { .sticker { font-size: 12px; padding: 6px 9px; } .live { right: 3%; font-size: 13px; } }
.marquee { margin-top: 56px; background: var(--ink); color: #fff; overflow: hidden; padding: 14px 0; transform: rotate(-1.2deg); width: 104%; margin-left: -2%; }
.marquee-in { display: flex; gap: 40px; width: max-content; animation: slide 38s linear infinite; font-weight: 900; font-size: 18px; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Nommer sa tribu ---------- */
.name-it { display: grid; grid-template-columns: 110px 1fr 110px; gap: 20px; align-items: center; background: #fff; border-radius: var(--radius); padding: 18px 26px; box-shadow: var(--shadow); margin-bottom: 28px; border: 3px dashed #E6DAFF; }
.name-cv canvas { width: 110px; height: 130px; }
.name-q { font-weight: 900; font-size: 20px; margin-bottom: 10px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 800; font-size: 14px; color: var(--soft); }
.field input { font: inherit; font-weight: 900; font-size: 20px; color: var(--ink); border: 2px solid var(--line); background: var(--cream); border-radius: 14px; padding: 10px 14px; width: 100%; min-height: 48px; }
.field input:focus { border-color: var(--violet); outline: none; box-shadow: 0 0 0 4px rgba(123, 92, 255, .2); }
@media (max-width: 720px) {
  .name-it { grid-template-columns: 1fr 1fr; padding: 18px; }
  .name-fields { grid-column: 1 / -1; order: 2; }
  .name-cv { justify-self: center; }
  .fields { grid-template-columns: 1fr; }
}

/* ---------- Deux mondes ---------- */
.worlds { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) { .worlds { grid-template-columns: 1fr 1fr; } }
.world { border-radius: 32px; padding: 28px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.world-work { background: #fff; border-top: 10px solid var(--violet); }
.world-home { background: #fff; border-top: 10px solid var(--coral); }
.world-top { display: flex; gap: 14px; align-items: center; }
.world-ico { width: 56px; height: 56px; flex: none; border-radius: 18px; display: grid; place-items: center; font-size: 28px; background: var(--lav); }
.world-home .world-ico { background: #FFE6E2; }
.world h3 { font-size: 24px; }
.world-sub { color: var(--soft); font-weight: 800; font-size: 15px; }
.world-cv { width: 100%; height: 190px; margin: 14px 0 6px; background: linear-gradient(transparent 70%, #F7E8D6 70%); border-radius: 20px; }
.world-home .world-cv { background: linear-gradient(transparent 70%, #FBE3DA 70%); }
.steps { list-style: none; padding: 0; margin: 10px 0 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 12px 0 12px 50px; border-top: 2px dashed var(--line); color: var(--soft); }
.steps li b { color: var(--ink); font-weight: 900; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 12px; width: 34px; height: 34px; border-radius: 50%; background: var(--violet-d); color: #fff; font-weight: 900; display: grid; place-items: center; }
.world-home .steps li::before { background: var(--coral-d); }

.flow { margin-top: 28px; background: #fff; border-radius: 32px; padding: 22px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.flow-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.flow-lbl { flex: 0 0 100%; font-weight: 900; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--violet-d); }
.node { flex: 1; min-width: 0; background: var(--cream); border-radius: 20px; padding: 14px 10px; text-align: center; }
.node .e { font-size: 30px; display: block; }
.node b { display: block; font-weight: 900; font-size: 16px; }
.node small { display: block; color: var(--soft); font-size: 13px; line-height: 1.3; margin-top: 2px; }
.node-hl { background: var(--sun); }
.node-hl small { color: var(--ink); }
.arr { align-self: center; font-weight: 900; color: var(--violet); font-size: 22px; }
@media (max-width: 760px) {
  .flow-row { display: grid; grid-template-columns: 1fr 1fr; }
  .flow-lbl { grid-column: 1 / -1; }
  .arr { display: none; }
}

/* ---------- Vidéos ---------- */
.vgrid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.vcard { all: unset; box-sizing: border-box; cursor: pointer; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.vcard:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow-lg); }
.vcard:focus-visible { outline: 3px solid var(--violet-d); outline-offset: 3px; }
.vthumb { position: relative; aspect-ratio: 16 / 9; background: var(--cream); }
.vthumb img { width: 100%; height: 100%; object-fit: cover; }
.vplay { position: absolute; left: 12px; bottom: 12px; }
.vplay span { width: 54px; height: 54px; border-radius: 50%; background: rgba(43, 33, 64, .86); color: #fff; display: grid; place-items: center; font-size: 22px; padding-left: 4px; box-shadow: 0 6px 0 rgba(0, 0, 0, .15); transition: transform .15s; }
.vcard:hover .vplay span { transform: scale(1.1); background: var(--coral-d); }
.vdur { position: absolute; right: 10px; bottom: 10px; background: var(--ink); color: #fff; font-weight: 900; font-size: 12px; padding: 3px 9px; border-radius: 999px; }
.vnum { position: absolute; left: 10px; top: 10px; background: var(--sun); color: var(--ink); font-weight: 900; font-size: 12px; padding: 3px 9px; border-radius: 999px; }
.vmeta { padding: 16px 18px 18px; }
.vmeta b { display: block; font-weight: 900; font-size: 18px; line-height: 1.25; }
.vmeta small { display: block; color: var(--soft); font-size: 14px; margin-top: 4px; font-weight: 700; }
@media (min-width: 900px) {
  .vgrid { grid-template-columns: repeat(3, 1fr); }
  .vcard.feat { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .vcard.feat .vthumb { flex: 0 0 62%; }
  .vcard.feat .vmeta { padding: 28px 32px; }
  .vcard.feat .vmeta b { font-size: 30px; }
  .vcard.feat .vmeta small { font-size: 17px; margin-top: 8px; }
  .vcard.feat .vplay span { width: 84px; height: 84px; font-size: 28px; }
}

/* ---------- Captures ---------- */
.shots { position: relative; margin: 0 0 56px; padding-right: 10%; padding-bottom: 7%; }
.shot { margin: 0; }
.shot-main { background: #fff; border-radius: 22px; padding: 0 10px 10px; box-shadow: var(--shadow-lg); }
.shot-main img { border-radius: 12px; width: 100%; height: auto; }
.shot-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 6px; }
.shot-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--coral); }
.shot-bar i:nth-child(2) { background: var(--sun); } .shot-bar i:nth-child(3) { background: var(--mint); }
.shot-bar span { margin-left: 10px; font-size: 12px; font-weight: 800; color: var(--soft); background: var(--cream); border-radius: 999px; padding: 2px 12px; }
.shot-toc { position: absolute; right: 0; bottom: 0; width: 38%; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 30px rgba(43, 33, 64, .25); border: 6px solid #fff; transform: rotate(2deg); }
.shot-toc img { width: 100%; height: auto; }
.shot-phone { position: absolute; left: -1%; bottom: -2%; width: 15%; min-width: 86px; border: 6px solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 0 12px 30px rgba(43, 33, 64, .25); transform: rotate(-4deg); background: var(--ink); }
.shot-phone img { width: 100%; height: auto; }

/* ---------- Bento fonctions ---------- */
.bento { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .f-live { grid-column: span 3; } .f-org { grid-column: span 3; }
  .f-meet { grid-column: span 2; } .f-learn { grid-column: span 4; }
  .f-conn { grid-column: span 3; } .f-site { grid-column: span 3; }
  .f-mem { grid-column: span 6; }
}
.bento .card h3 { font-size: 22px; margin: 12px 0 8px; }
.bento .card p { color: var(--soft); }
.bento .card p b { color: var(--ink); }
.f-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: var(--lav); }
.f-live .f-ico { background: #FFE6E2; } .f-learn .f-ico { background: #FFF2CC; } .f-conn .f-ico { background: #DDF6EE; } .f-site .f-ico { background: #DDEEFF; }
.f-mem { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center; background: var(--violet-d); color: #fff; }
.f-mem h3 { margin: 0 !important; } .f-mem p { color: #E8E2FF !important; grid-column: 2; }
.f-mem .f-ico { grid-row: span 2; background: rgba(255, 255, 255, .16); }
.feed { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.feed li { display: flex; gap: 12px; align-items: baseline; background: var(--cream); border-radius: 14px; padding: 9px 12px; font-size: 15px; animation: feedIn .5s both; }
.feed time { flex: none; font-weight: 900; font-size: 12px; color: var(--soft); min-width: 44px; }
.feed li:nth-child(2) { animation-delay: .15s; } .feed li:nth-child(3) { animation-delay: .3s; } .feed li:nth-child(4) { animation-delay: .45s; }
@keyframes feedIn { from { opacity: 0; transform: translateX(-8px); } }
.org { display: flex; flex-direction: column; align-items: center; margin-top: 18px; }
.o { width: 46px; height: 46px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-size: 22px; }
.o-ceo { background: var(--ink); width: 54px; height: 54px; }
.o-sup { background: var(--lav); }
.o-line { width: 3px; height: 16px; background: var(--line); }
.o-kids { display: flex; gap: 8px; margin-top: 10px; padding-top: 12px; border-top: 3px solid var(--line); flex-wrap: wrap; justify-content: center; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; align-items: center; }
.badges span { width: 48px; height: 48px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-size: 22px; position: relative; }
.badges span:not(:last-child)::after { content: ''; position: absolute; right: -8px; width: 8px; height: 3px; background: var(--line); }
.badges .b-gold { background: var(--sun); width: 58px; height: 58px; font-size: 28px; animation: wob 2.4s ease-in-out infinite; }
@keyframes wob { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-10deg); } 75% { transform: rotate(10deg); } }
.chips { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--cream); border: 2px solid var(--line); border-radius: 999px; padding: 5px 13px; font-weight: 800; font-size: 14px; }
.approve { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; background: var(--ink); color: #fff; border-radius: 18px; padding: 14px 16px; }
.ap-txt small { display: block; color: #CFC6EA; font-size: 13px; }
.ap-btns { display: flex; gap: 8px; }
.ap-btns span { border-radius: 999px; padding: 6px 14px; font-weight: 900; font-size: 14px; }
.ap-no { background: rgba(255, 255, 255, .14); }
.ap-yes { background: var(--mint); color: var(--ink); }
.tuner { margin-top: 16px; background: var(--cream); border-radius: 18px; padding: 12px 14px; display: grid; gap: 10px; }
.tu-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.tu-row > span:first-child { font-weight: 900; min-width: 92px; color: var(--soft); }
.tu-pill { background: #fff; border-radius: 999px; padding: 3px 12px; font-weight: 900; border: 2px solid var(--violet); color: var(--violet-d); }
.tu-pill.off { border-color: var(--line); color: var(--soft); }
.tu-txt { background: #fff; border-radius: 10px; padding: 3px 10px; font-weight: 700; }

/* ---------- Forfaits ---------- */
.seg { display: inline-flex; background: #fff; border-radius: 999px; padding: 5px; box-shadow: var(--shadow); margin-bottom: 28px; }
.seg button { font: inherit; font-weight: 900; font-size: 17px; border: 0; background: transparent; color: var(--soft); padding: 10px 22px; border-radius: 999px; cursor: pointer; min-height: 46px; }
.seg button[aria-selected="true"] { background: var(--ink); color: #fff; }
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); align-items: stretch; }
.plans.home { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 380px)); justify-content: center; }
.plan { background: #fff; border-radius: 30px; padding: 26px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; border: 3px solid transparent; animation: popIn .35s both; }
.plan:nth-child(2) { animation-delay: .05s; } .plan:nth-child(3) { animation-delay: .1s; } .plan:nth-child(4) { animation-delay: .15s; }
@keyframes popIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.plan.feat { border-color: var(--coral); box-shadow: 0 14px 0 rgba(239, 82, 66, .18); transform: translateY(-6px); }
.plan-flag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%) rotate(-2deg); background: var(--coral-d); color: #fff; font-weight: 900; font-size: 13px; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.plan-ico { font-size: 34px; }
.plan h3 { font-size: 26px; margin-top: 6px; }
.plan-desc { color: var(--soft); font-size: 15px; min-height: 2.9em; margin-top: 4px; }
.price { margin: 14px 0 4px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price b { font-size: 44px; font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.price small { color: var(--soft); font-weight: 800; font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 14px 0 22px; }
.plan li { display: flex; gap: 10px; padding: 8px 0; border-top: 2px dashed var(--line); font-size: 15px; }
.plan li span:first-child { flex: none; width: 24px; text-align: center; }
.plan li b { font-weight: 900; }
.plan .btn { margin-top: auto; width: 100%; }
.free { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); margin-top: 24px; }
.freec { display: flex; gap: 16px; align-items: center; background: rgba(255, 255, 255, .7); border: 3px dashed #E2CFB4; border-radius: 24px; padding: 16px 20px; }
.freec .plan-ico { font-size: 30px; }
.freec b { font-weight: 900; font-size: 18px; }
.freec p { color: var(--soft); font-size: 14px; }
.freec .zero { margin-left: auto; font-weight: 900; font-size: 26px; white-space: nowrap; }
.addons { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .addons { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .addons { grid-template-columns: repeat(3, 1fr); } }
.addon { background: #fff; border-radius: 20px; padding: 16px 18px; box-shadow: var(--shadow); display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; }
.addon .ai { grid-row: span 2; width: 44px; height: 44px; border-radius: 14px; background: var(--cream); display: grid; place-items: center; font-size: 22px; }
.addon b { font-weight: 900; font-size: 15px; line-height: 1.3; }
.addon small { color: var(--soft); font-size: 13px; font-weight: 700; }
.addon .ap { grid-column: 2; font-weight: 900; color: var(--violet-d); font-size: 15px; }
.recharges { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.rech { background: var(--ink); color: #fff; border-radius: 24px; padding: 20px 22px; position: relative; overflow: hidden; }
.rech::after { content: '⚡'; position: absolute; right: -6px; bottom: -22px; font-size: 96px; opacity: .14; }
.rech b { display: block; font-size: 28px; font-weight: 900; color: var(--sun); }
.rech .rp { font-size: 22px; font-weight: 900; margin-top: 6px; }
.rech small { color: #CFC6EA; font-weight: 700; font-size: 13px; }

/* ---------- Énergie ---------- */
.sizes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); margin-bottom: 28px; }
.size { background: #fff; border-radius: 24px; padding: 20px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.size .size-n { color: var(--ink); font-size: 46px; font-weight: 900; line-height: 1; }
.size-n small { font-size: 22px; }
.size b { display: block; font-weight: 900; font-size: 19px; margin-top: 6px; }
.size p { color: var(--soft); font-size: 14px; margin-top: 4px; }
.size-bar { height: 10px; border-radius: 10px; background: var(--cream); margin-top: 14px; overflow: hidden; }
.size-bar i { display: block; height: 100%; border-radius: 10px; background: var(--sun); }
.ecalc { display: grid; gap: 24px; background: #fff; border-radius: 32px; padding: 28px; box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .ecalc { grid-template-columns: 1fr 1fr; padding: 36px; } }
.ecalc h3 { font-size: 24px; margin-bottom: 16px; }
.ecalc-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ecalc-pick button { font: inherit; font-weight: 900; font-size: 15px; border: 2px solid var(--line); background: var(--cream); color: var(--ink); border-radius: 999px; padding: 7px 14px; cursor: pointer; min-height: 40px; }
.ecalc-pick button[aria-checked="true"] { background: var(--violet-d); border-color: var(--violet-d); color: #fff; }
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rules li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--soft); }
.rules li > span:first-child { font-size: 20px; }
.ecalc-r { background: var(--lav); border-radius: 24px; padding: 22px; }
.e-total { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.e-total b { font-size: 48px; font-weight: 900; line-height: 1; color: var(--violet-d); }
.e-total span { font-weight: 800; color: var(--soft); }
.e-row { display: grid; grid-template-columns: 112px 1fr auto; gap: 10px; align-items: center; margin-top: 12px; font-size: 15px; }
.e-row .eb { height: 14px; background: #fff; border-radius: 10px; overflow: hidden; }
.e-row .eb i { display: block; height: 100%; background: var(--violet); border-radius: 10px; transition: width .5s cubic-bezier(.2, .9, .3, 1.2); }
.e-row b { font-weight: 900; white-space: nowrap; }
.e-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.e-meta div { background: #fff; border-radius: 16px; padding: 10px 14px; }
.e-meta b { display: block; font-size: 22px; font-weight: 900; }
.e-meta small { color: var(--soft); font-weight: 700; font-size: 13px; }
@media (max-width: 420px) { .e-row { grid-template-columns: 90px 1fr auto; font-size: 14px; } }

/* ---------- Sécurité ---------- */
.sec-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.dcard { background: rgba(255, 255, 255, .06); border: 2px solid rgba(255, 255, 255, .1); border-radius: 26px; padding: 24px; }
.dcard h3 { font-size: 21px; margin: 12px 0 6px; }
.dcard p { color: #D8D0F0; font-size: 15px; }
.dcard code { background: rgba(255, 255, 255, .14); color: #fff; }
.d-ico { width: 50px; height: 50px; border-radius: 16px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; font-size: 25px; }

/* ---------- Comparaison ---------- */
.table-wrap { overflow-x: auto; border-radius: 28px; box-shadow: var(--shadow-lg); background: #fff; }
.comp { border-collapse: collapse; width: 100%; min-width: 620px; }
.comp th, .comp td { padding: 14px 18px; text-align: left; border-bottom: 2px solid #F4ECE0; vertical-align: middle; font-size: 15px; }
.comp thead th { background: var(--ink); color: #fff; font-weight: 900; font-size: 15px; }
.comp thead th.c-us { background: var(--violet-d); }
.comp tbody th { font-weight: 800; }
.comp td.c-us { background: #F6F2FF; }
.comp td small { color: var(--soft); font-weight: 700; display: inline; }
.comp tr:last-child th, .comp tr:last-child td { border-bottom: 0; }
.ok, .part, .no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 900; margin-right: 6px; }
.ok { background: var(--mint); color: #fff; } .part { background: var(--sun); color: var(--ink); } .no { background: #EEE6DA; color: var(--soft); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 22px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 900; font-size: 18px; position: relative; border-radius: 22px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-size: 20px; transition: transform .2s; }
.faq details[open] summary::after { content: '–'; background: var(--sun); }
.faq details > div { padding: 0 22px 20px; color: var(--soft); }

/* ---------- CTA final ---------- */
.final { padding: 80px 0 96px; text-align: center; background: linear-gradient(180deg, transparent, #FFE4D6); }
.final-in { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.final-cv { width: min(100%, 760px); height: 200px; }
.final h2 { font-size: clamp(38px, 7vw, 72px); }
.final .sub { max-width: 30em; margin-bottom: 10px; }

/* ---------- Pied de page ---------- */
.foot { background: var(--ink); color: #D8D0F0; padding: 56px 0 24px; }
.foot-in { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .foot-in { grid-template-columns: 1.3fr 1fr 1.3fr; } }
.foot-brand p { margin-top: 10px; font-weight: 800; color: #fff; }
.foot-h { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--sun); margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: #fff; }
.foot address { font-style: normal; display: grid; gap: 10px; font-size: 15px; }
.foot-base { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }

/* ---------- Toc toc ---------- */
.toc { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 26px; padding: 12px 16px 12px 8px; box-shadow: 0 18px 40px rgba(43, 33, 64, .28); max-width: min(420px, calc(100vw - 32px)); border: 3px solid var(--sun); animation: tocIn .5s cubic-bezier(.2, .9, .3, 1.3) both, knock .5s .6s 3; }
.toc[hidden] { display: none; }
.toc-cv { width: 84px; height: 104px; flex: none; }
.toc-k { font-weight: 900; color: #B07800; letter-spacing: .06em; font-size: 15px; }
.toc-m { font-weight: 800; font-size: 15px; margin: 2px 0 10px; line-height: 1.35; }
.toc-btns { display: flex; gap: 8px; flex-wrap: wrap; }
@keyframes tocIn { from { opacity: 0; transform: translateY(30px) scale(.9); } }
@keyframes knock { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* ---------- Lecteur ---------- */
.lb { border: 0; padding: 0; background: transparent; width: min(1100px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); color: #fff; }
.lb::backdrop { background: rgba(28, 20, 44, .86); backdrop-filter: blur(4px); }
.lb-in { background: var(--ink); border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.lb-head { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 22px; }
.lb-title { font-size: 19px; flex: 1; }
.lang-dark { background: rgba(255, 255, 255, .12); box-shadow: none; }
.lang-dark button { color: #D8D0F0; }
.lang-dark button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.lb-x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 18px; cursor: pointer; }
.lb-x:hover { background: var(--coral-d); }
.lb-media { aspect-ratio: 16 / 9; background: #000; position: relative; }
.lb-media video, .lb-media img { width: 100%; height: 100%; object-fit: contain; }
.lb-miss { position: absolute; inset: auto 16px 16px 16px; background: rgba(43, 33, 64, .92); border-radius: 16px; padding: 12px 16px; font-weight: 800; font-size: 15px; text-align: center; }
.lb-foot { display: flex; align-items: center; gap: 12px; padding: 12px; }
.lb-desc { flex: 1; text-align: center; color: #D8D0F0; font-size: 14px; font-weight: 700; }
@media (max-width: 560px) { .lb-desc { display: none; } .lb-foot { justify-content: space-between; } }

/* ---------- Apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Forfaits Maison : 5 cartes ---------- */
.plans.home { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); justify-content: stretch; }
.plans.home .plan { padding: 22px 18px; }
.plans.home .plan h3 { font-size: 22px; }

/* ---------- Maison : coin des enfants + idées ---------- */
.kid-hero { display: grid; gap: 28px; align-items: center; background: #fff; border-radius: 32px; padding: 28px; box-shadow: var(--shadow-lg); margin-bottom: 28px; }
@media (min-width: 900px) { .kid-hero { grid-template-columns: 1.2fr 1fr; padding: 40px; } }
.kid-badge { display: inline-block; background: var(--sun); color: var(--ink); font-weight: 900; font-size: 14px; border-radius: 999px; padding: 6px 14px; }
.kid-hero h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; margin: 12px 0 14px; }
.kid-hero h3 em { font-style: normal; color: var(--coral-d); }
.kid-hero ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; font-size: 16px; }
.kid-shot { background: linear-gradient(#FFF6E9, #F1ECFF); border-radius: 28px; padding: 20px; box-shadow: inset 0 0 0 3px #fff, var(--shadow); transform: rotate(1.5deg); }
.ks-top { display: flex; align-items: center; gap: 8px; font-size: 22px; }
.ks-top b { font-size: 18px; flex: 1; }
.ks-star { background: var(--sun); border-radius: 999px; padding: 2px 12px; font-size: 15px; font-weight: 900; }
.ks-q { font-weight: 900; font-size: 20px; margin: 16px 0 10px; }
.ks-ch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ks-ch span { background: #fff; border-radius: 16px; padding: 12px; font-weight: 900; }
.ks-ch .ks-ok { background: var(--mint); color: #fff; }
.ks-h { margin-top: 12px; background: rgba(255, 197, 61, .35); border-radius: 16px; padding: 10px 12px; font-weight: 800; font-size: 15px; }
.uses { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.use { background: #fff; border-radius: 24px; padding: 20px; box-shadow: var(--shadow); position: relative; }
.use-e { font-size: 34px; line-height: 1; }
.use-k { position: absolute; top: 18px; right: 18px; background: var(--lav); color: var(--violet-d); font-weight: 900; font-size: 13px; border-radius: 999px; padding: 4px 10px; }
.use h3 { font-size: 19px; margin-top: 10px; }
.use p { color: var(--soft); font-size: 15px; margin-top: 4px; }

/* ---------- Planificateur d'énergie ---------- */
.planner { display: grid; gap: 24px; background: #fff; border-radius: 32px; padding: 22px; box-shadow: var(--shadow-lg); }
@media (min-width: 980px) { .planner { grid-template-columns: 1fr 380px; padding: 34px; } }
.pl-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.pl-head h3 { font-size: 24px; flex: 1; }
.pl-seg { display: flex; background: var(--lav); border-radius: 999px; padding: 4px; }
.pl-seg button, .pl-pre button { font: inherit; font-weight: 900; font-size: 14px; border: 0; cursor: pointer; border-radius: 999px; padding: 7px 14px; min-height: 38px; background: transparent; color: var(--soft); }
.pl-seg button[aria-pressed="true"] { background: var(--violet-d); color: #fff; }
.pl-pre { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pl-pre button { background: var(--lav); color: var(--violet-d); }
.pl-pre button[aria-pressed="true"] { background: var(--violet-d); color: #fff; }
.pl-kids { display: flex; align-items: center; gap: 10px; background: var(--cream); border-radius: 18px; padding: 10px 14px; margin-bottom: 10px; font-weight: 900; }
.pl-kids span { flex: 1; }
.pl-kids b { font-size: 22px; min-width: 24px; text-align: center; }
.pl-kids button, .pl-c button { font: inherit; font-weight: 900; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 2px 0 rgba(43, 33, 64, .12); cursor: pointer; color: var(--ink); }
.pl-rows { display: grid; gap: 6px; }
.pl-row { display: grid; grid-template-columns: 34px 1fr 64px; grid-template-areas: "e n s" "c c c"; gap: 2px 10px; align-items: center; background: var(--cream); border-radius: 18px; padding: 8px 12px; transition: background .2s; }
@media (min-width: 640px) { .pl-row { grid-template-columns: 34px 1fr 210px 64px; grid-template-areas: "e n c s"; } }
.pl-row.on { background: #F1ECFF; }
.pl-e { grid-area: e; font-size: 24px; text-align: center; }
.pl-n { grid-area: n; min-width: 0; }
.pl-n b { display: block; font-size: 15px; line-height: 1.25; }
.pl-n small { color: var(--soft); font-weight: 800; font-size: 12px; }
.pl-c { grid-area: c; display: flex; align-items: center; gap: 6px; }
.pl-c input { flex: 1; min-width: 0; accent-color: var(--violet-d); }
.pl-c output { width: 38px; text-align: right; font-weight: 900; font-variant-numeric: tabular-nums; }
.pl-sum { grid-area: s; text-align: right; font-weight: 900; color: var(--violet-d); font-variant-numeric: tabular-nums; }
.pl-r { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 980px) { .pl-r { position: sticky; top: 90px; align-self: start; } }
.pl-tot { background: var(--ink); color: #fff; border-radius: 26px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.pl-tot small { text-transform: uppercase; letter-spacing: .1em; font-size: 12px; opacity: .7; }
.pl-tot b { font-size: 48px; line-height: 1; font-weight: 900; font-variant-numeric: tabular-nums; }
.pl-tot span { font-size: 13px; opacity: .8; font-weight: 800; }
.pl-bat { display: flex; align-items: center; gap: 4px; margin: 10px 0 2px; }
.pl-cell { flex: 1; height: 44px; border: 4px solid rgba(255, 255, 255, .85); border-radius: 14px; padding: 4px; position: relative; }
.pl-cell i { display: block; height: 100%; border-radius: 7px; background: var(--mint); transition: width .5s cubic-bezier(.2, .9, .3, 1.1); }
.pl-cell i.hot { background: var(--sun); }
.pl-cell em { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-weight: 900; text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.pl-tip { width: 8px; height: 18px; border-radius: 0 6px 6px 0; background: rgba(255, 255, 255, .85); }
.pl-rec { border: 4px solid var(--coral); background: #FFF1EE; border-radius: 26px; padding: 18px; }
.pl-rec small { color: var(--coral-d); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.pl-rec b { font-size: 26px; font-weight: 900; }
.pl-price { font-weight: 900; font-size: 18px; margin-left: 6px; }
.pl-price small { color: var(--soft); text-transform: none; letter-spacing: 0; }
.pl-rec p { color: var(--soft); font-weight: 800; font-size: 14px; margin: 2px 0 10px; }
.pl-plans { display: grid; gap: 6px; }
.pl-p { background: var(--cream); border-radius: 16px; padding: 8px 12px; }
.pl-p.best { box-shadow: inset 0 0 0 3px var(--coral); background: #FFF1EE; }
.pl-p div:first-child { display: flex; justify-content: space-between; font-size: 15px; font-weight: 900; }
.pl-pb { height: 8px; background: #fff; border-radius: 8px; overflow: hidden; margin: 4px 0 2px; }
.pl-pb i { display: block; height: 100%; border-radius: 8px; transition: width .5s; }
.pl-pb i.ok { background: var(--mint); } .pl-pb i.no { background: var(--coral); }
.pl-p small { color: var(--soft); font-weight: 800; font-size: 12px; }
.pl-mini { position: sticky; bottom: 10px; z-index: 5; margin-top: 10px; display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 999px; padding: 10px 16px; font-weight: 800; font-size: 14px; box-shadow: var(--shadow-lg); }
.pl-mini b { font-size: 18px; font-weight: 900; }
.pl-mini span { flex: 1; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-mini em { font-style: normal; color: var(--sun); font-weight: 900; }
@media (min-width: 980px) { .pl-mini { display: none; } }

/* ---------- Business / Maison ---------- */
.parts { position: sticky; top: 68px; z-index: 40; background: rgba(255, 246, 233, .92); backdrop-filter: blur(8px); border-bottom: 2px solid var(--line); }
.parts-in { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
.parts button { font: inherit; cursor: pointer; display: flex; align-items: center; gap: 12px; border: 3px solid transparent; background: #fff; border-radius: 22px; padding: 10px 16px; text-align: left; box-shadow: var(--shadow); color: var(--ink); min-height: 56px; }
.parts button .pi { font-size: 30px; }
.parts button b { display: block; font-size: 18px; font-weight: 900; line-height: 1.1; }
.parts button small { display: block; color: var(--soft); font-weight: 800; font-size: 13px; }
.parts button[aria-pressed="true"] { border-color: var(--violet-d); background: #F1ECFF; }
.parts button[data-part="home"][aria-pressed="true"] { border-color: var(--coral-d); background: #FFF1EE; }
@media (max-width: 560px) { .parts button { padding: 8px 10px; gap: 8px; } .parts button .pi { font-size: 24px; } .parts button small { display: none; } .parts { top: 60px; } }
.zone[hidden] { display: none !important; }
.part-hero { max-width: 860px; margin-bottom: 30px; }
.part-hero h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.08; margin: 12px 0 14px; }
.part-hero h2 em { font-style: normal; color: var(--violet-d); }
.part-badge { display: inline-block; background: var(--ink); color: #fff; border-radius: 999px; padding: 7px 16px; font-weight: 900; font-size: 15px; letter-spacing: .02em; }
.part-badge-home { background: var(--coral-d); }
.flyers-h { margin: 34px 0 16px; }
.flyers { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.flyer { margin: 0; background: #fff; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; border-top: 8px solid var(--fl, var(--violet)); transition: transform .2s; }
.flyer:hover { transform: translateY(-4px) rotate(-.4deg); }
.fl-violet { --fl: var(--violet); --flbg: #F1ECFF; } .fl-sun { --fl: var(--sun); --flbg: #FFF6DA; } .fl-mint { --fl: var(--mint); --flbg: #E6F9F3; } .fl-sky { --fl: #4DA8FF; --flbg: #E8F3FF; } .fl-coral { --fl: var(--coral); --flbg: #FFF1EE; } .fl-pink { --fl: #FF8FB8; --flbg: #FFEFF5; }
.fl-img { display: block; border: 0; padding: 0; margin: 0; background: var(--flbg); cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; }
.fl-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.flyer:hover .fl-img img { transform: scale(1.03); }
.flyer figcaption { padding: 16px 18px 20px; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: start; }
.fl-e { font-size: 28px; grid-row: span 2; line-height: 1; }
.flyer b { font-size: 18px; font-weight: 900; line-height: 1.2; }
.flyer small { color: var(--soft); font-weight: 700; font-size: 14px; margin-top: 4px; line-height: 1.35; }
.flz { position: fixed; inset: 0; z-index: 200; background: rgba(43, 33, 64, .86); display: none; flex-direction: column; align-items: center; justify-content: center; padding: 24px; gap: 12px; }
.flz.on { display: flex; }
.flz img { max-width: min(96vw, 1200px); max-height: 82vh; border-radius: 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); background: #fff; }
.flz p { color: #fff; font-weight: 900; font-size: 18px; margin: 0; }
.flz-x { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 18px; font-weight: 900; cursor: pointer; }
.zone, .zone section, #energie { scroll-margin-top: 150px; }

/* ---------- Assistant du site (chat Claude) ---------- */
.cb { position: fixed; right: 16px; bottom: 16px; z-index: 80; font-family: var(--font); }
.cb-fab { display: flex; align-items: center; gap: 8px; border: 0; cursor: pointer; background: var(--violet); color: #fff; font: 800 15px/1 var(--font); padding: 14px 18px; border-radius: 999px; box-shadow: 0 10px 24px rgba(91, 63, 224, .35); transition: transform .15s; }
.cb-fab:hover { transform: translateY(-2px); background: var(--violet-d); }
.cb-fab-ico { font-size: 20px; }
.cb.open .cb-fab { display: none; }
.cb-panel { width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100dvh - 32px)); display: flex; flex-direction: column; background: var(--white); border-radius: 24px; box-shadow: 0 20px 60px rgba(43, 33, 64, .28); overflow: hidden; border: 2px solid var(--lav); }
.cb-panel[hidden] { display: none; }
.cb-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: linear-gradient(135deg, var(--violet), var(--violet-d)); color: #fff; }
.cb-ava { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-size: 20px; }
.cb-ttl { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.cb-ttl b { font-size: 16px; } .cb-ttl small { font-size: 11.5px; opacity: .85; font-weight: 700; }
.cb-x { border: 0; background: rgba(255, 255, 255, .18); color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 14px; }
.cb-log { flex: 1; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--cream); }
.cb-m { max-width: 86%; padding: 10px 13px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; font-weight: 600; color: var(--ink); word-wrap: break-word; }
.cb-bot { align-self: flex-start; background: var(--white); border: 1.5px solid var(--line); border-bottom-left-radius: 6px; }
.cb-me { align-self: flex-end; background: var(--violet); color: #fff; border-bottom-right-radius: 6px; }
.cb-m a { color: var(--violet-d); font-weight: 800; text-decoration: underline; }
.cb-li { display: block; padding-left: 4px; }
.cb-typing { display: flex; gap: 4px; }
.cb-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--soft); animation: cbdot 1s infinite; }
.cb-typing i:nth-child(2) { animation-delay: .15s; } .cb-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cbdot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.cb-sugg { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px; background: var(--cream); }
.cb-sugg:not(:empty) { padding-bottom: 10px; }
.cb-sugg button { border: 1.5px solid var(--lavdot); background: var(--lav); color: var(--violet-d); font: 700 12.5px var(--font); padding: 7px 11px; border-radius: 999px; cursor: pointer; }
.cb-sugg button:hover { border-color: var(--violet); }
.cb-form { display: flex; gap: 8px; padding: 10px; border-top: 1.5px solid var(--line); background: var(--white); align-items: flex-end; }
.cb-form textarea { flex: 1; resize: none; border: 2px solid var(--line); border-radius: 18px; padding: 10px 13px; font: 600 15px/1.35 var(--font); color: var(--ink); outline: none; max-height: 120px; }
.cb-form textarea:focus { border-color: var(--violet); }
.cb-send { border: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--coral); color: #fff; font-size: 18px; cursor: pointer; flex: none; }
.cb-send:hover { background: var(--coral-d); }
.cb-note { margin: 0; padding: 0 12px 8px; font-size: 10.5px; color: var(--soft); font-weight: 700; background: var(--white); }
@media (max-width: 640px) {
  .cb { right: 12px; bottom: 12px; }
  .cb.open { inset: 0; }
  .cb-panel { width: 100vw; height: 100dvh; border-radius: 0; border: 0; }
  .cb-fab-txt { display: none; }
  .cb-fab { padding: 15px; }
}
@media (prefers-reduced-motion: reduce) { .cb-typing i { animation: none; } .cb-fab { transition: none; } }

/* Téléchargement de l'appli de bureau */
.dl { margin-top: 10px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dl-t { font-weight: 800; color: var(--soft, #6D6585); margin: 0; }
.dl-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.dl-row .btn { gap: 8px; }

.dl-hero { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 14px; font-weight: 800; }
.dl-hero-t { color: var(--soft); }
.dl-hero a { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 2px solid #EDE6DA; border-radius: 999px; padding: 6px 12px; color: inherit; text-decoration: none; }
.dl-hero a:hover { border-color: #7B5CFF; }
