
:root{--paper:#f2eee5;--ink:#171717;--orange:#f05a36}*{box-sizing:border-box}body{margin:0;background:#ddd6cc;color:var(--ink);font-family:Arial,Helvetica,sans-serif}main{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:1650px;margin:16px auto}.page{background:var(--paper);padding:32px;min-height:1000px}.header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dcd4ca;padding-bottom:22px;font-size:13px;font-weight:800}.logo{font-size:23px;font-weight:1000;line-height:.85;letter-spacing:-1.5px}.dot{color:var(--orange)}nav{display:flex;gap:18px}.active{border-bottom:3px solid var(--orange);padding-bottom:7px}.hero{display:grid;grid-template-columns:40% 60%;gap:12px;align-items:center;margin:48px 0 36px}.hero h1{font-size:clamp(36px,3.2vw,65px);letter-spacing:-3px;line-height:.99;margin:0 0 18px;font-weight:1000}.hero p{font-weight:700;line-height:1.3}.orange{color:var(--orange)}button{border:0;background:var(--orange);color:white;border-radius:9px;padding:15px 18px;font-weight:800;cursor:pointer}.hero-photo{position:relative;transform:rotate(2deg)}.photo{display:block;width:100%;height:100%;object-fit:cover;border-radius:12px;background:#e2d8ca}.hero-photo .photo{height:380px}.photo-label{position:absolute;bottom:10px;left:10px;background:#fffdf2e8;border-radius:5px;padding:6px 9px;font-size:12px;font-weight:700}.composer{position:absolute;right:-7px;bottom:15px;transform:rotate(-2deg);width:61%;background:#fff9f3;box-shadow:0 12px 24px #0003;border-radius:13px;padding:14px;font-size:12px}.composer b{display:block;margin-bottom:10px}.composer textarea{width:100%;height:72px;border:1px solid #ded5cc;border-radius:6px;padding:8px;background:transparent;resize:none}.colors{display:flex;gap:7px;margin:9px 0}.colors span{width:20px;height:20px;border:1px solid #ddd;border-radius:6px}.composer .small{padding:8px 13px;float:right}.section-title{display:flex;align-items:center;gap:20px;font-size:24px;letter-spacing:-1px;margin:24px 0 16px;font-weight:1000}.section-title:after{content:'';height:1px;background:#555;flex:1}.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.tile{min-height:166px;padding:18px;border-radius:11px;display:flex;flex-direction:column;justify-content:space-between;font-size:21px;line-height:1.15;font-weight:850}.tile small{font-size:13px;font-weight:500;margin-top:15px}.tile img{height:166px}.beige{background:#f5dfcf}.white{background:#faf6f3}.black{background:#222;color:white}.accent{background:#ff773c}.outline{background:transparent;border:1px solid #444;color:#222;margin-top:20px}.page-title{font-size:clamp(42px,4vw,75px);line-height:.91;letter-spacing:-3px;margin:44px 0 14px}.subtitle{font-weight:750;margin:0 0 26px}.chips{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:22px}.chip{border:1px solid #c9bfb5;border-radius:30px;padding:9px 12px;font-size:12px;font-weight:700}.chip:first-child{background:var(--orange);color:white;border-color:var(--orange)}.archive{display:grid;grid-template-columns:1fr 1fr;gap:10px}.archive .tile{min-height:145px;font-size:22px}.archive .tile img{height:170px}.caption{font-size:11px;color:#6b6259;margin-top:8px}.notice{margin:25px auto;max-width:1650px;padding:15px;background:#fff9f0;border-radius:8px;font-size:13px}footer{margin-top:28px;border-top:1px solid #d8d0c6;padding-top:16px;font-size:12px}@media(max-width:850px){main{grid-template-columns:1fr}.page{padding:20px;min-height:0}.hero{grid-template-columns:1fr}.hero h1{font-size:48px}.hero-photo .photo{height:300px}.composer{width:57%}.tile{font-size:17px}.archive .tile{font-size:17px}nav{gap:8px;font-size:11px}}

.composer{display:none!important;position:absolute;z-index:10}
.composer.is-visible{display:block!important}
.close-composer{position:absolute;right:10px;top:6px;background:transparent!important;color:#171717!important;border:0!important;font-size:25px!important;padding:2px 8px!important;cursor:pointer}

body{background:var(--paper)}main{display:block;max-width:1160px;margin:0 auto}.page{min-height:calc(100vh - 50px);padding:32px 45px 65px}.header a{color:inherit;text-decoration:none}.header nav a{color:inherit;text-decoration:none}.header nav a:hover{text-decoration:underline}.hero{grid-template-columns:42% 58%;gap:16px}.hero h1{font-size:clamp(48px,5.3vw,80px)}.hero-photo .photo{height:465px}.tiles{gap:16px}.tile{min-height:205px}.tiles .photo{height:205px}.archive{grid-template-columns:repeat(3,1fr);gap:16px}.archive .tile{min-height:205px}.archive .photo{height:205px}.page-title{font-size:clamp(55px,7vw,100px)}.photo-label{display:none}.caption{font-size:12px}.notice{max-width:1160px}.modal-backdrop[hidden],.preview[hidden]{display:none!important}.modal-backdrop{position:fixed;inset:0;z-index:100;background:#17171785;display:grid;place-items:center;padding:15px}.dialog{position:relative;width:min(540px,100%);max-height:92vh;overflow:auto;background:#fffaf4;border-radius:16px;padding:30px;box-shadow:0 24px 70px #0004}.dialog h2{margin:0 0 14px;font-size:27px}.dialog label{display:block;margin:15px 0 7px;font-size:13px;font-weight:800}.dialog textarea,.dialog input[type=text]{width:100%;padding:12px;border:1px solid #bfb4a8;border-radius:7px;background:white;font:inherit}.dialog textarea{min-height:130px;resize:vertical}.dialog .close-composer{position:absolute;right:15px;top:10px;background:transparent;color:#171717;font-size:28px;padding:4px 8px}.dialog .colors button{width:32px;height:32px;border:2px solid #b7aea4;border-radius:7px;padding:0}.dialog .colors button[aria-pressed=true]{outline:3px solid #171717;outline-offset:2px}.demo-warning{font-size:13px;line-height:1.45;color:#65584f}.preview-card{padding:20px;white-space:pre-wrap;border-radius:8px;overflow-wrap:anywhere}.preview-card img{display:block;max-width:100%;max-height:240px;object-fit:contain;margin-top:12px}.archive .tile{font-size:22px}.page footer a{color:inherit}.chips button{background:transparent;color:inherit;border:1px solid #c9bfb5;border-radius:30px;padding:9px 12px;font-size:12px}.chips button[aria-pressed=true]{background:var(--orange);border-color:var(--orange);color:white}.muted{font-size:12px;color:#73685d;margin-top:20px}@media(max-width:850px){main{display:block;margin:0}.page{padding:20px}.hero{grid-template-columns:1fr;gap:24px;margin:35px 0}.hero h1{font-size:clamp(46px,10vw,75px)}.hero-photo .photo{height:360px}.tiles{grid-template-columns:repeat(2,1fr)}.archive{grid-template-columns:repeat(2,1fr)}.header{gap:12px;flex-wrap:wrap}.header nav{flex-wrap:wrap}.tile{font-size:19px}.archive .tile{font-size:19px}}@media(max-width:480px){.tiles,.archive{grid-template-columns:1fr 1fr;gap:8px}.tile,.archive .tile{min-height:155px;padding:13px;font-size:17px}.tiles .photo,.archive .photo{height:155px}.hero-photo .photo{height:310px}.page{padding:16px}.page-title{font-size:48px}.header nav{font-size:11px}.dialog{padding:22px}.section-title{font-size:20px}}

.legal-copy{max-width:760px;margin:55px auto;line-height:1.65;overflow-wrap:anywhere}.legal-copy h1{font-size:clamp(30px,5vw,54px);line-height:1.1}.legal-copy h2{font-size:20px;margin-top:28px}.legal-copy a,.legal-consent a{color:inherit;text-decoration:underline}.legal-footer{line-height:1.8}.legal-footer a{display:inline-block}.legal-consent{border:1px solid #c9bfb5;border-radius:8px;margin:16px 0;padding:12px}.dialog .legal-consent label{display:flex;align-items:baseline;gap:7px;font-weight:400;display:block}.legal-consent input{accent-color:#F05A36}.dialog button:disabled{opacity:.5;cursor:not-allowed}.report-link{display:block;font-size:11px;font-weight:400;color:inherit;text-decoration:underline;margin-top:8px}
[hidden]{display:none!important}.dialog select{display:block;width:100%;padding:10px;border:1px solid #b6ada0;background:white;color:#171717;font:inherit;border-radius:4px;margin:6px 0 14px}.tile img{width:100%;height:auto;object-fit:cover;border-radius:4px}.legal-copy form label,.legal-copy form input,.legal-copy form textarea{display:block;width:100%;margin:.5rem 0}.legal-copy form input[type=checkbox]{width:auto;display:inline}.legal-copy form button{background:#f05a36;color:#171717;border:0;padding:12px 20px;border-radius:4px;font:inherit;cursor:pointer}.legal-copy form button:disabled{opacity:.5}#submission-status textarea{width:100%;overflow-wrap:anywhere}#feed-status:empty{display:none}

/* Minimal contribution composer */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.dialog #message{min-height:112px;margin:4px 0 10px}.dialog #nickname{margin-bottom:4px}.dialog .photo-label-simple{font-size:14px;margin:12px 0 5px}.photo-label-simple span{font-weight:400;color:#65584f}.dialog #photo{display:block;max-width:100%;font:inherit;font-size:13px}.simple-consent{margin:18px 0 12px}.dialog .simple-consent label{font-weight:400;line-height:1.45;margin:0;display:block}.simple-consent input{accent-color:#F05A36}.simple-consent a{color:inherit;text-decoration:underline}.simple-consent p{font-size:12px;margin:8px 0 0;color:#65584f}.dialog #send-contribution{width:100%;margin-top:10px}.dialog #submission-status{font-size:13px;line-height:1.5;margin:8px 0 0}.dialog #submission-status:empty{display:none}.dialog #submission-status h3{font-size:24px;margin:20px 0 6px}.dialog #submission-status p{margin:0 0 14px}

/* Aperçu : seuls les ornements et la couleur du mot MOTS sont ajoutés. */
.doodle{pointer-events:none;display:block;flex:none;overflow:visible}
.hero-doodle{display:inline-block;vertical-align:middle;width:58px;height:58px;margin-left:22px;transform:rotate(-12deg)}
.section-doodle{width:34px;height:34px;transform:rotate(-10deg)}
.title-wrap{position:relative}.title-doodle{position:absolute;right:12%;top:20%;width:104px;height:104px;transform:rotate(10deg)}
.tile.has-doodle{position:relative}.tile-doodle{position:absolute;width:42px;height:42px;bottom:13px;right:14px;transform:rotate(-9deg)}
.tile.has-doodle small,.tile.has-doodle .report-link{padding-right:45px}
@media(max-width:850px){.title-doodle{right:5%;width:68px;height:68px;top:8%}.hero-doodle{width:43px;height:43px;margin-left:14px}.tile-doodle{width:32px;height:32px;right:9px;bottom:9px}.tile.has-doodle small,.tile.has-doodle .report-link{padding-right:32px}}
@media(max-width:480px){.title-doodle{right:0;top:10%;width:43px;height:43px}.section-doodle{width:26px;height:26px}}

.hero h1{position:relative}.headline-doodle{position:absolute;right:8%;bottom:5%;width:42px;height:42px;transform:rotate(12deg)}.archive-extra-doodle{position:absolute;right:3%;top:65%;width:50px;height:50px;transform:rotate(-14deg)}.extra-doodle{width:47px;height:47px}.tile.has-doodle small,.tile.has-doodle .report-link{padding-right:52px}@media(max-width:850px){.headline-doodle{width:30px;height:30px;right:12%}.archive-extra-doodle{right:0;top:90%;width:33px;height:33px}.extra-doodle{width:33px;height:33px}}@media(max-width:480px){.headline-doodle{display:none}.archive-extra-doodle{display:none}}
/* Ornements des contributions réelles, sans superposition sur les photos. */
.tile .live-doodle{color:#bd292e}.tile.black .live-doodle{color:#f05a36}.tile.accent .live-doodle{color:#171717}.tile.white .live-doodle{color:#647b38}

/* Bouton de découverte : séparation nette après la mosaïque. */
body[data-page="home"] a.discover-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 56px 0 8px;
  padding: 15px 22px;
  border: 1px solid var(--orange);
  border-radius: 9px;
  background: var(--orange);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  max-width: 100%;
}
body[data-page="home"] a.discover-more:hover { background: #ff773c; }
body[data-page="home"] a.discover-more:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
@media (max-width: 850px) { body[data-page="home"] a.discover-more { margin-top: 40px; } }

/* Signature du projet */
.legal-footer .footer-tagline { color: #F05A36; }

/* Floral borders — homepage left, archive right. Original photo,
   mirrored and rotated 180 degrees on the home page; archive unchanged. */
@media (min-width: 1050px) {
  body:is([data-page="home"],[data-page="archive"]) main {
    max-width: 1600px;
    position: relative;
    --floral-rail: clamp(180px, 19vw, 300px);
    --floral-height: clamp(620px, 60vw, 960px);
  }
  body:is([data-page="home"],[data-page="archive"]) main::before {
    content: "";
    display: block;
    position: absolute;
    top: 105px;
    z-index: 1;
    width: var(--floral-rail);
    height: var(--floral-height);
    background: url("images/flowers.jpg") center / 100% 100% no-repeat;
    filter: grayscale(1) contrast(1.35);
    mix-blend-mode: multiply;
    pointer-events: none;
  }
  body[data-page="home"] main::before { left: 0; transform: rotate(180deg) scaleX(-1); }
  body[data-page="archive"] main::before { right: 0; transform: rotate(180deg); }
  body:is([data-page="home"],[data-page="archive"]) .page {
    position: relative;
    padding-inline: clamp(24px, 3vw, 45px);
  }
  body[data-page="home"] .floral-content { margin-left: var(--floral-rail); }
  body[data-page="archive"] .floral-content { margin-right: var(--floral-rail); }
  body:is([data-page="home"],[data-page="archive"]) .floral-content {
    position: relative;
    z-index: 2;
    min-height: calc(var(--floral-height) - 40px);
  }
  body:is([data-page="home"],[data-page="archive"]) .header,
  body:is([data-page="home"],[data-page="archive"]) .legal-footer { position: relative; z-index: 2; }
  body[data-page="home"] .hero { grid-template-columns: minmax(0,42fr) minmax(0,58fr); }
  body[data-page="home"] .hero h1 { font-size: clamp(48px, 4.8vw, 80px); }
}

/* Full viewport floral edges */
@media (min-width:1050px) {
  body:is([data-page="home"],[data-page="archive"]) main { max-width:none; width:100%; margin:0; --edge-padding:clamp(24px,3vw,45px); }
  body:is([data-page="home"],[data-page="archive"]) .page { padding-inline:var(--edge-padding); }
  body[data-page="home"] .floral-content { margin-left:calc(var(--floral-rail) - var(--edge-padding) + 10px); margin-right:calc(12px - var(--edge-padding)); }
  body[data-page="archive"] .floral-content { margin-right:calc(var(--floral-rail) - var(--edge-padding) + 10px); margin-left:calc(12px - var(--edge-padding)); }
}

/* Narrow-screen refinements. The desktop layout is unchanged. */
@media(max-width:600px){
  main{width:100%;max-width:100%;margin:0}
  .page{padding:18px 16px 32px;min-height:100dvh}
  .header{gap:14px;padding-bottom:16px;align-items:center;justify-content:space-between}
  .header nav{flex-basis:100%;display:flex;justify-content:space-between;gap:8px;font-size:12px;align-items:center}
  .header nav a{padding:8px 0;line-height:1.2}
  .hero{grid-template-columns:minmax(0,1fr);margin:28px 0;gap:22px}
  .hero h1{font-size:clamp(38px,11vw,64px);letter-spacing:-.05em;line-height:1}
  .hero p{font-size:15px;line-height:1.45}
  .hero-photo{transform:none;min-width:0}
  .hero-photo .photo{height:auto;aspect-ratio:4/3;object-fit:cover}
  .page-title{font-size:clamp(34px,10.5vw,58px);letter-spacing:-.045em;line-height:.98;margin-top:30px}
  .title-doodle{display:none}
  .subtitle{font-size:15px;line-height:1.4}
  .section-title{font-size:20px;gap:8px;line-height:1.15}
  .tiles,.archive{grid-template-columns:minmax(0,1fr);gap:12px}
  .tiles>*{min-width:0}
  .tile,.archive .tile{min-height:160px;padding:18px;font-size:20px;line-height:1.3;overflow-wrap:anywhere}
  .tiles .photo,.archive .photo{height:auto;aspect-ratio:4/3;object-fit:cover}
  .report-link{padding-block:6px;font-size:12px}
  .caption{font-size:13px}
  body[data-page="home"] a.discover-more{margin-top:32px;padding:14px 18px;text-align:center}
  .legal-footer{font-size:12px;overflow-wrap:anywhere}
  .legal-copy{margin:30px auto}
  .legal-copy form input,.legal-copy form textarea,.dialog input[type=text],.dialog textarea{font-size:16px;max-width:100%}
  .dialog{max-height:90dvh;padding:22px 18px}
  .dialog .close-composer{min-width:44px;min-height:44px}
}

/* Continuation of the archive */
.creative-label{font-size:13px;color:#65584f;margin:-12px 0 24px}.archive-pagination{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin-top:56px}.page-next,.page-back{display:inline-flex;align-items:center;padding:15px 22px;border-radius:9px;font-weight:800;text-decoration:none;color:var(--ink)}.page-next{background:var(--orange)}.page-back{border:1px solid #a69e91}.page-next:focus-visible,.page-back:focus-visible{outline:3px solid var(--ink);outline-offset:4px}@media(max-width:600px){.archive-pagination{margin-top:32px;gap:10px}.page-next,.page-back{font-size:14px;padding:12px 16px}}

/* Popularity wall: independent from the decorative drawings. */
[data-wall-page] .tile{position:relative;padding-bottom:60px;}
[data-wall-page] .tile-doodle{bottom:48px;}
[data-wall-page] .like-button{position:absolute;right:14px;bottom:10px;min-height:40px;min-width:60px;display:flex;gap:6px;align-items:center;justify-content:center;background:transparent;border:1px solid currentColor;border-radius:20px;color:inherit;font:600 14px Arial,sans-serif;cursor:pointer;padding:5px 10px;}
.like-heart{font-size:24px;line-height:1;color:#bd292e;}
.black .like-heart{color:#ff8165;}
.accent .like-heart{color:#171717;}
.like-button:focus-visible{outline:2px solid currentColor;outline-offset:3px;}
.like-button:disabled{opacity:.55;cursor:default;}
.example-label{display:block;font-size:11px;font-weight:400;margin-top:7px;opacity:.85;}
[data-wall-page] figure{position:relative;padding-bottom:52px;}
@media(max-width:700px){[data-wall-page] .like-button{min-height:44px;min-width:66px;}}

[data-wall-page]>div[data-like-target]{position:relative;padding-bottom:58px;}
[data-wall-page] .tile img.photo{height:205px;margin-bottom:10px;object-fit:cover;}
[data-wall-page] .tile>div{white-space:pre-wrap;overflow-wrap:anywhere;}
[data-wall-page] .tile small{overflow-wrap:anywhere;}
[data-wall-page] .tile.has-doodle .example-label{padding-right:55px;}
@media(max-width:700px){[data-wall-page] .tile img.photo{height:auto;max-height:520px;object-fit:contain;}}
.wall-status{font-size:15px;line-height:1.5;color:#65584f}.wall-status:not(:empty){padding:18px 0}.header nav{flex-wrap:wrap}.header nav a{white-space:nowrap}@media(max-width:700px){.header nav{gap:10px 14px;flex-wrap:wrap}.header nav a{white-space:normal}}

.editorial-credit{display:block;font-size:11px;font-weight:400;margin-top:5px;color:inherit}

.editorial-origin{font-size:12px;line-height:1.5;color:#65584f;margin:0 0 16px;}

[data-wall-page] .promoted-label{position:absolute;left:12px;top:10px;z-index:2;background:#f2eee5;color:#171717;border:1px solid #17171735;border-radius:20px;padding:4px 8px;font:600 11px system-ui;letter-spacing:.02em;}
[data-wall-page] .tile:has(.promoted-label){padding-top:40px;}


/* Public score: genuine reactions plus clearly identified editorial points. */
[data-wall-page] .tile,[data-wall-page]>div[data-like-target]{padding-bottom:14px;}
[data-wall-page] .wall-score{display:flex;flex-direction:column;align-items:flex-end;gap:6px;margin-top:16px;min-width:0;white-space:normal;position:relative;z-index:1;}
[data-wall-page] .wall-score .like-button{position:static;flex-shrink:0;max-width:100%;white-space:normal;text-align:center;}
[data-wall-page] .tile-doodle{bottom:62px;}

/* Signature de l’accueil : même phrase sur tous les écrans. */
body .header.header-with-blog .header-manifesto { margin:0; font-size:13px; line-height:1.4; font-weight:800; text-align:left; color:#b83b22; }
body .header.header-with-blog .header-manifesto span { display:block; }
body .header.header-with-blog .header-bubble { font-size:24px; font-weight:800; color:var(--ink); white-space:nowrap; }
@media (max-width:900px) {
  body .header.header-with-blog { flex-wrap:wrap; gap:12px; }
  body .header.header-with-blog .header-manifesto { flex-basis:100%; order:3; padding-top:8px; }
}
@media (max-width:600px) {
  body .header.header-with-blog .header-manifesto { text-align:center; font-size:13px; }
  body .header.header-with-blog .header-bubble { font-size:20px; }
}
/* Ordinateur : espaces libres identiques entre logo, signature, hashtag et navigation. */
@media (min-width:901px) {
  body .header.header-with-blog { display:flex; flex-wrap:nowrap; justify-content:space-between; gap:12px; }
  body .header.header-with-blog .logo { font-size:34px; flex:none; }
  body .header.header-with-blog .header-manifesto { flex:none; white-space:nowrap; }
  body .header.header-with-blog .header-bubble { font-size:19px; flex:none; }
  body .header.header-with-blog nav { flex:none; flex-wrap:nowrap; }
}
@media (min-width:901px) and (max-width:1049px) {
  body .header.header-with-blog { gap:8px; }
  body .header.header-with-blog nav { gap:10px; font-size:12px; }
  body .header.header-with-blog .header-manifesto { font-size:12px; }
}

.dialog .simple-consent .consent-line{display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:1.45;margin:0 0 11px}.dialog .consent-line input[type=checkbox]{flex:0 0 auto;width:17px;height:17px;margin:2px 0 0}.dialog .consent-line small{font-size:11px;color:#65584f}.dialog .simple-consent p{font-size:12px;line-height:1.4;margin:6px 0}.dialog #composer-fields>p.muted{font-size:12px;line-height:1.4;margin:0 0 10px}

.wall-more-wrap{text-align:center;margin:24px 0}.wall-more-wrap button{font:inherit;font-weight:700;background:transparent;color:inherit;border:1px solid currentColor;border-radius:6px;padding:10px 20px;cursor:pointer}.wall-more-wrap button[hidden]{display:none}.wall-more-wrap button:disabled{opacity:.5;cursor:wait}

/* Mes mots — five equally spaced groups on wide displays. */
.header.header-with-blog{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.header.header-with-blog .header-blog,.header.header-with-blog .header-bubble{font-size:19px;font-weight:800;white-space:nowrap;flex:none;color:var(--ink)}
.header.header-with-blog .header-manifesto{font-size:13px;font-weight:800;color:#b83b22;margin:0;line-height:1.4;white-space:nowrap;flex:none;order:0;padding:0}
.header.header-with-blog .logo{flex:none;font-size:34px}
.header.header-with-blog .header-blog.active{border-bottom:2px solid var(--orange);padding-bottom:8px}
@media(min-width:1150px){body .header.header-with-blog{flex-wrap:nowrap;gap:12px}body .header.header-with-blog nav{flex:none;flex-wrap:nowrap}}
@media(max-width:1149px){body .header.header-with-blog{flex-wrap:wrap}body .header.header-with-blog nav{flex:1 0 100%;justify-content:space-between;flex-wrap:wrap}body .header.header-with-blog .header-manifesto{order:0;flex-basis:auto;padding:0}}
@media(max-width:600px){body .header.header-with-blog{display:grid;grid-template-columns:1fr auto auto;gap:12px 10px}body .header.header-with-blog .logo{font-size:25px;grid-column:1;grid-row:1}body .header.header-with-blog .header-blog{font-size:16px;grid-column:2;grid-row:1}body .header.header-with-blog .header-bubble{font-size:16px;grid-column:3;grid-row:1}body .header.header-with-blog .header-manifesto{grid-column:1/-1;grid-row:2;white-space:normal;text-align:center}body .header.header-with-blog nav{grid-column:1/-1;grid-row:3;gap:8px;font-size:11px}}
@media(max-width:360px){body .header.header-with-blog{column-gap:7px}body .header.header-with-blog .logo{font-size:22px}body .header.header-with-blog :is(.header-blog,.header-bubble){font-size:14px}}

/* V22 — mobile: Mes mots au milieu de l'espace entre le logo et #ForBubble. */
@media(max-width:600px){
  body .header.header-with-blog{grid-template-columns:max-content minmax(0,1fr) max-content}
  body .header.header-with-blog .logo{justify-self:start}
  body .header.header-with-blog .header-blog{justify-self:center;align-self:center;position:relative}
  body .header.header-with-blog .header-bubble{justify-self:end}
  body .header.header-with-blog .header-blog.active{border-bottom:0;padding-bottom:0}
  body .header.header-with-blog .header-blog.active::after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:2px;background:var(--orange)}
}

/* V24 — consentement explicite et photo : choix réversible, jamais décoché automatiquement. */
#remove-photo:not([hidden]){display:block;margin:6px 0 12px;padding:6px 0;border:0;background:transparent;color:inherit;text-decoration:underline;cursor:pointer;font:inherit;font-size:.8rem;font-weight:700}
#sensitive-confirm:disabled{opacity:.55;cursor:not-allowed}
#sensitive-help{display:inline-block;margin-top:3px}

/* V27 — filet animé sous les liens textuels, sans déplacement de mise en page.
   Les liens d'image, le logo et les repères de navigation actifs sont préservés. */
body a[href]:not(.logo,.active,.artwork-image-link,.bubble-photo-link,.artwork-title,.artwork-social,.animated-label-link),
body a[href] .link-underline,
body a.artwork-social > span {
  background-image:linear-gradient(currentColor,currentColor);
  background-repeat:no-repeat;
  background-position:left bottom;
  background-size:0% 1px;
  background-origin:content-box;
  -webkit-box-decoration-break:clone;
  box-decoration-break:clone;
  transition:background-size 260ms ease;
}
body a[href] .link-underline{font:inherit;color:inherit;letter-spacing:inherit}
body a.report-link{width:max-content;max-width:100%}
/* Le bouton orange conserve sa couleur de fond, même au survol. */
body[data-page="home"] a.discover-more:hover{background-color:#ff773c;background-image:linear-gradient(currentColor,currentColor);background-repeat:no-repeat;background-position:left bottom;background-origin:content-box}
@media (hover:hover) and (pointer:fine){
  body a[href]:not(.logo,.active,.artwork-image-link,.bubble-photo-link,.artwork-title,.artwork-social,.animated-label-link):hover,
  body a[href]:hover .link-underline,
  body a.artwork-social:hover > span {
    background-size:100% 1px;
    text-decoration:none;
  }
  body .hero-artwork a.artwork-title:hover{text-decoration:none}
}
body a[href]:not(.logo,.active,.artwork-image-link,.bubble-photo-link,.artwork-title,.artwork-social,.animated-label-link):is(:focus-visible,:active),
body a[href]:is(:focus-visible,:active) .link-underline,
body a.artwork-social:is(:focus-visible,:active) > span {
  background-size:100% 1px;
  text-decoration:none;
}
body .hero-artwork a.artwork-title:is(:focus-visible,:active){text-decoration:none}
@media(prefers-reduced-motion:reduce){
  body a[href]:not(.logo,.active,.artwork-image-link,.bubble-photo-link,.artwork-title,.artwork-social,.animated-label-link),
  body a[href] .link-underline,body a.artwork-social > span{transition:none}
}

/* V38 — en-tête public commun ; largeur indépendante du contenu intérieur. */
.header.header-with-blog .header-manifesto span{display:block}
.header.header-with-blog .header-bubble.active{border-bottom:2px solid var(--orange);padding-bottom:8px}
@media(min-width:1050px){
 body:not([data-page="home"],[data-page="archive"],[data-page="blog"]) .header.header-with-blog{width:calc(100vw - 2 * clamp(24px,3vw,45px));margin-inline:calc((100% - (100vw - 2 * clamp(24px,3vw,45px)))/2)}
}
@media(max-width:600px){
 body .header.header-with-blog .header-bubble.active{border-bottom:0;padding-bottom:0;position:relative}
 body .header.header-with-blog .header-bubble.active::after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:2px;background:var(--orange)}
}

/* BUBBLE300 — sélection éditoriale */
.bubble-editorial{margin-block:clamp(24px,4vw,56px)}
.bubble-editorial .section-title{margin-bottom:18px}

/* BUBBLE300 — photos originales, sans recadrage. */
.bubble-editorial .bubble-photo{min-width:0;display:flex;flex-direction:column}.bubble-editorial .bubble-photo .photo{display:block;width:100%;height:clamp(200px,24vw,360px);object-fit:contain;background:var(--paper);border-radius:12px}.bubble-editorial .tile{position:relative}.bubble-editorial .creative-label{margin-bottom:20px}.bubble-editorial .bubble-photo .report-link{margin-top:6px}
@media(max-width:650px){.bubble-editorial .bubble-photo .photo{height:auto;max-height:none;aspect-ratio:auto}}

/* Wall photo cards, original card colours retained. */
.bubble-editorial[hidden]{display:none!important}
[data-wall-page] .bubble-photo{min-width:0;display:flex;flex-direction:column}
[data-wall-page] .bubble-photo .photo{object-fit:contain;background:var(--paper)}

/* V48 : liens sociaux locaux, sans widget tiers */
.legal-footer .footer-social{display:flex;align-items:center;justify-content:center;gap:4px 8px;flex-wrap:wrap;margin:12px 0 0}
.legal-footer .footer-social-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;color:var(--ink);border-radius:6px;text-decoration:none}
.legal-footer .footer-social-icon svg{display:block;width:20px;height:20px}
.legal-footer .footer-social a:hover{color:var(--orange)}
.legal-footer .footer-social a:focus-visible{outline:2px solid var(--ink);outline-offset:2px}

/* V51 — plein écran, proportions compactes, grille adaptative. */
.wall-wide { display: contents; }
@media (min-width: 1050px) {
  body:is([data-page="home"],[data-page="archive"]) .wall-wide {
    display: flow-root;
    position: relative;
    background: var(--paper);
    --wall-edge: clamp(20px, 1.6vw, 32px);
  }
  body[data-page="home"] .wall-wide {
    margin-left: calc(var(--wall-edge) - var(--floral-rail) - 10px);
    margin-right: calc(var(--wall-edge) - 12px);
  }
  body[data-page="archive"] .wall-wide {
    margin-left: calc(var(--wall-edge) - 12px);
    margin-right: calc(var(--wall-edge) - var(--floral-rail) - 10px);
  }
  .wall-wide :is(.tiles,.archive) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 1vw, 20px);
    align-items: stretch;
  }
  .wall-wide :is(.tiles,.archive) > * { min-width: 0; }
  .wall-wide :is(.tiles,.archive) .tile {
    min-height: 238px;
    padding: 20px;
    font-size: clamp(21px, 1.38vw, 26px);
    line-height: 1.17;
    justify-content: flex-start;
    overflow-wrap: anywhere;
  }
  .wall-wide .tile small { font-size: 14px; margin-top: 14px; }
  .wall-wide .tile .report-link { margin-top: 10px; }
  .wall-wide :is(.tiles,.archive) .photo,
  .wall-wide [data-wall-page] .tile img.photo,
  .wall-wide .bubble-editorial .bubble-photo .photo {
    display: block;
    width: 100%;
    height: clamp(185px, 11vw, 215px);
    max-height: none;
    object-fit: contain;
    background: var(--paper);
  }
  .wall-wide [data-wall-page] > div[data-like-target] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    align-content: start;
    align-items: start;
    column-gap: 10px;
    padding-bottom: 10px;
  }
  .wall-wide [data-wall-page] > div[data-like-target] > .photo { grid-column: 1 / -1; grid-row: 1; }
  .wall-wide [data-wall-page] > div[data-like-target] > .caption { grid-column: 1; grid-row: 2; }
  .wall-wide [data-wall-page] > div[data-like-target] > .report-link { grid-column: 1; grid-row: 3; margin-top: 5px; }
  .wall-wide [data-wall-page] > div[data-like-target] > .wall-score {
    grid-column: 2; grid-row: 2 / 4; margin-top: 0; padding-top: 8px;
  }
  .wall-wide .caption { font-size: 13px; }
  .wall-wide [data-wall-page] .wall-score {
    margin-top: auto;
    padding-top: 14px;
  }
  .wall-wide [data-wall-page] .like-button {
    min-height: 40px;
    min-width: 60px;
    font-size: 14px;
  }
  .wall-wide .editorial-origin { font-size: 13px; }
}
@media (min-width: 1560px) {
  .wall-wide :is(.tiles,.archive) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 2350px) {
  .wall-wide :is(.tiles,.archive) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* V52 — mur éditorial en mosaïque : hauteurs indépendantes, photos entières. */
@media (min-width: 1050px) {
  .wall-wide :is(.tiles,.archive) { align-items: start; }
  .wall-wide :is(.tiles,.archive).wall-masonry {
    grid-auto-rows: 4px;
    grid-auto-flow: row;
    row-gap: 0;
  }
  .wall-wide .wall-masonry > * {
    grid-row-end: span var(--wall-span, 1);
    align-self: start;
    min-width: 0;
    margin-block: 0;
  }
  .wall-wide :is(.tiles,.archive) .tile {
    min-height: 205px;
    padding: 20px;
    font-size: clamp(21px, 1.3vw, 26px);
    line-height: 1.17;
  }
  .wall-wide :is(.tiles,.archive) .photo,
  .wall-wide [data-wall-page] .tile img.photo,
  .wall-wide .bubble-editorial .bubble-photo .photo {
    display: block;
    width: 100%;
    height: auto;
    max-height: 1000px;
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 12px;
  }
  .wall-wide [data-wall-page] .tile:has(img.photo) { min-height: 0; }
  .wall-wide [data-wall-page] > div[data-like-target] > .wall-score { padding-top: 8px; }
  .wall-wide [data-wall-page] .tile.has-doodle small,
  .wall-wide [data-wall-page] .tile.has-doodle .report-link { padding-right: 55px; }
}

/* V61 — mascotte du logo */
body .header.header-with-blog .logo.logo-with-mascot{display:inline-flex;align-items:center;gap:12px;white-space:nowrap}
.logo-with-mascot .logo-wordmark{display:block;flex:none}
.logo-with-mascot .logo-mascot{display:block;height:1.75em;width:auto;max-width:none;flex:none;object-fit:contain}
@media(max-width:600px){body .header.header-with-blog .logo.logo-with-mascot{gap:6px}.logo-with-mascot .logo-mascot{height:1.6em}}
@media(max-width:360px){body .header.header-with-blog .logo.logo-with-mascot{gap:4px}.logo-with-mascot .logo-mascot{height:1.35em}}

/* V71: inline punctuation and edition links. */
.logo-wordmark .dot{display:inline-block;width:.13em;height:.13em;background:#f05a36;color:transparent;font-size:inherit;line-height:0;vertical-align:baseline;margin-left:.045em;border-radius:0;overflow:hidden}
.edition-switch{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;white-space:nowrap;font-size:14px;line-height:1;color:#171717}
.edition-switch a{display:inline-flex;align-items:center;justify-content:center;min-height:32px;min-width:28px;padding:2px}
.edition-switch img{display:block;width:24px;height:16px;object-fit:fill;border-radius:0}
.edition-switch a:focus-visible{outline:2px solid #171717;outline-offset:2px}
@media(max-width:767px){body .header.header-with-blog .edition-switch{grid-column:1/-1;grid-row:4;justify-self:end}}
@media(min-width:768px){body .header.header-with-blog{flex-wrap:wrap}}
