/* COSMOYA R13 | Maison de Formulation
 * Local art-direction candidate. Layered over R12 without changing business logic.
 * Palette: natural ivory, deep laboratory green, copper accents only in micro-details.
 * Hero & intro intentionally excluded from all R13 styling.
 */
html[data-cosmoya-r13]{
 --r13-ink:#193b30;
 --r13-ink-deep:#102b23;
 --r13-surface:#f8f6f0;
 --r13-ivory:#fffdf8;
 --r13-muted:#4e6559;
 --r13-stroke:#cbd7ca;
 --r13-copper:#93583d;
 --r13-focus:#b78d59;
}
html[data-cosmoya-r13] body{ text-rendering:optimizeLegibility; }
html[data-cosmoya-r13] :is(a,button,input,textarea,select,summary):focus-visible{
 outline:3px solid var(--r13-focus)!important;
 outline-offset:4px!important;
}
html[data-cosmoya-r13] .section:not(.section-project):not(.hero) :is(h2,h3){
 text-wrap:balance;
}
html[data-cosmoya-r13] .section:not(.hero) .eyebrow{
 color:#765840;
 font-weight:800;
 letter-spacing:.16em;
}
html[data-cosmoya-r13] .section:not(.hero) :is(.section-heading p,.about-copy p,.experience-proof-intro p,.brief-intro p){
 line-height:1.75;
}
html[data-cosmoya-r13] .section:not(.hero) .section-heading h2{
 letter-spacing:-.055em;
 line-height:1.09;
}
html[data-cosmoya-r13] :is(.section-business-guidance,.section-solutions,.section-catalogue-preview,.section-process,.section-brief,.section-faq){
 scroll-margin-top:85px;
}
/* Storytelling: highlight the real process with clean, restrained frames. */
html[data-cosmoya-r13] .wc-r2-chapter__number{
 background:rgba(16,43,35,.9);
 border-color:rgba(255,253,248,.48);
 color:#fffdf8;
 font-size:11px;
 font-weight:750;
}
html[data-cosmoya-r13] .wc-r2-chapter__content{
 color:var(--r13-ink-deep);
}
html[data-cosmoya-r13] .wc-r2-chapter__content p{
 color:#435c51;
}
html[data-cosmoya-r13] .r13-story-cta{
 display:inline-flex;align-items:center;justify-content:center;gap:13px;
 margin-top:26px;min-height:49px;padding:13px 19px;border-radius:5px;
 border:1px solid var(--r13-ink);background:var(--r13-ink);color:#fffdf8;
 text-decoration:none;font-size:12px;font-weight:800;letter-spacing:.005em;
 box-shadow:0 7px 19px rgba(24,49,34,.11);
}
html[data-cosmoya-r13] .r13-story-cta:hover{background:#285d47;color:#fff;border-color:#285d47;}
html[data-cosmoya-r13] .r13-story-cta span:last-child{color:#e3c3a0;font-size:17px;}
/* B2B proof — stop implying unverifiable badges. Support operational clarity. */
html[data-cosmoya-r13] .section-business-guidance{
 background:linear-gradient(155deg,#eff2ea 0%,#f8f8f2 57%,#eef1eb 100%);
}
html[data-cosmoya-r13] .experience-proof-panel{
 border-color:#ccd9cc;
 box-shadow:0 15px 44px rgba(28,58,40,.045);
}
html[data-cosmoya-r13] .experience-proof-item{
 border-color:rgba(32,73,48,.15);
}
html[data-cosmoya-r13] .experience-proof-item :is(p,small){
 color:#425d4e;
}
html[data-cosmoya-r13] #about :is(.about-card p,.about-copy p){
 color:#4a5d52;
 line-height:1.75;
}
html[data-cosmoya-r13] #about .about-card{
 border-color:rgba(23,62,43,.12);
}
html[data-cosmoya-r13] #about .about-media{
 isolation:isolate;
}
html[data-cosmoya-r13] #about .about-media img{
 object-fit:cover;
}
/* Services — four clear paths to starting a cosmetics brand. */
html[data-cosmoya-r13] .section-solutions{
 background:var(--r13-surface);
}
html[data-cosmoya-r13] #solutions .section-heading{
 margin-bottom:clamp(24px,3.2vw,46px);
}
html[data-cosmoya-r13] #solutions .solution-grid{
 gap:clamp(13px,1.6vw,25px);
}
html[data-cosmoya-r13] #solutions .solution-card{
 background:var(--r13-ivory);
 border:1px solid #d0d9cd;
 border-radius:10px;
 overflow:hidden;
 box-shadow:0 11px 30px rgba(24,49,34,.048);
 transition:transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 html[data-cosmoya-r13] #solutions .solution-card:hover{
  transform:translateY(-4px);
  border-color:#a5baa7;
  box-shadow:0 19px 36px rgba(24,49,34,.10);
 }
}
html[data-cosmoya-r13] #solutions .solution-media{
 overflow:hidden;
 background:#dfe6dc;
}
html[data-cosmoya-r13] #solutions .solution-media img{
 width:100%;height:100%;object-fit:cover;
 filter:saturate(.86) contrast(1.045);
}
html[data-cosmoya-r13] #solutions .solution-content{
 padding:clamp(22px,2.4vw,34px);
 gap:0;
}
html[data-cosmoya-r13] #solutions .solution-label{
 color:var(--r13-copper);
 font-size:10px;letter-spacing:.13em;font-weight:850;
}
html[data-cosmoya-r13] #solutions .solution-content h3{
 font-weight:800;letter-spacing:-.046em;color:var(--r13-ink-deep);
 line-height:1.13;margin-top:13px;
}
html[data-cosmoya-r13] #solutions .solution-content > p{
 color:#4e6255;
 line-height:1.67;
}
html[data-cosmoya-r13] #solutions .solution-content li{
 color:#3d5747;font-weight:650;
 border-color:#d3ded2;
}
html[data-cosmoya-r13] #solutions .solution-content > a{
 display:inline-flex;align-items:center;justify-content:space-between;
 min-height:49px;min-width:196px;
 width:fit-content;max-width:100%;
 padding:13px 17px;gap:18px;
 color:#fffdf8;
 background:#20543d;
 border:1px solid #20543d;
 border-radius:6px;
 font-size:12px;font-weight:800;
 text-decoration:none;
 margin-top:auto;
 transition:background .18s ease, border-color .18s ease, transform .18s ease;
}
html[data-cosmoya-r13] #solutions .solution-content > a:hover{
 background:#143a2c;border-color:#143a2c;
 transform:translateY(-1px);
}
html[data-cosmoya-r13] #solutions .solution-content > a:focus-visible{outline-offset:3px;}
html[data-cosmoya-r13] #solutions .solution-content > a span:last-child{
 font-size:19px;line-height:1;
}
/* Product families: sensorial imagery, but a functional B2B entry point. */
html[data-cosmoya-r13] .section-catalogue-preview{
 background:linear-gradient(168deg,#f2f5ee 0%,#fafaf5 100%);
}
html[data-cosmoya-r13] #gammes .catalogue-family-grid{
 gap:clamp(13px,1.5vw,24px);
}
html[data-cosmoya-r13] #gammes .catalogue-family-card{
 border:1px solid #d0dacd;
 background:#fffefa;
 border-radius:10px;overflow:hidden;
 box-shadow:0 8px 26px rgba(20,60,38,.055);
}
html[data-cosmoya-r13] #gammes .catalogue-family-card > img{
 width:100%;height:clamp(205px,19vw,330px);
 object-fit:cover;filter:saturate(.8) contrast(1.025);
}
html[data-cosmoya-r13] #gammes .catalogue-family-card > div{
 padding:clamp(18px,2vw,28px);
}
html[data-cosmoya-r13] #gammes .catalogue-family-card h3{
 color:var(--r13-ink-deep);font-weight:800;
}
html[data-cosmoya-r13] #gammes .catalogue-family-card p{
 color:#4d6253;line-height:1.67;
}
html[data-cosmoya-r13] #gammes .catalogue-family-card a{
 display:inline-flex;align-items:center;justify-content:space-between;
 min-height:49px;width:100%;padding:11px 0;
 border-top:1px solid #dce4d9;color:#27563e;
 font-size:12px;font-weight:850;text-decoration:none;
}
html[data-cosmoya-r13] #gammes .catalogue-family-card a:hover{color:#93583d;}
html[data-cosmoya-r13] #gammes .catalogue-main-cta{
 min-height:48px;color:#fffdf8;background:#28563d;
 border-color:#28563d;
}
html[data-cosmoya-r13] #gammes .catalogue-main-cta:hover{
 color:#fffdf8;background:#173d2c;border-color:#173d2c;
}
/* Process: clear active/inactive states, strong contrast. */
html[data-cosmoya-r13] .section-process{
 background:linear-gradient(123deg,#112b24 0%,#1b4435 62%,#183c30 100%);
}
html[data-cosmoya-r13] #processus .process-tab{
 color:#e6eee7;
 border-color:rgba(255,255,255,.24);
 opacity:1;
 min-height:62px;
}
html[data-cosmoya-r13] #processus .process-tab:not(.active){
 color:#d1e2d5;
 background:rgba(255,255,255,.035);
}
html[data-cosmoya-r13] #processus .process-tab.active,
html[data-cosmoya-r13] #processus .process-tab[aria-selected="true"]{
 color:#fff;
 background:rgba(255,255,255,.135);
 box-shadow:inset 0 -3px 0 #dcb58e;
}
html[data-cosmoya-r13] #processus .process-interactive :is(h3,p){
 text-shadow:none;
}
html[data-cosmoya-r13] .r13-process-cta{
 display:inline-flex;gap:13px;align-items:center;justify-content:center;
 min-height:48px;padding:12px 18px;background:#fffaf1;color:#163d2c;
 border:1px solid #fffaf1;border-radius:5px;
 font-size:12px;font-weight:850;text-decoration:none;
 margin-top:24px;
}
html[data-cosmoya-r13] .r13-process-cta:hover{background:#e6d5c0;color:#173c2d;}
/* Interactive starter brief — respect the existing working summary and data bridge. */
html[data-cosmoya-r13] .wc-atelier__option{
 border-radius:7px;
 min-height:57px;
 border-color:#afc3b3;
 background:#f5f8f1;
 color:#294a38;
 transition:color .15s ease, background .15s ease, border-color .15s ease;
}
html[data-cosmoya-r13] .wc-atelier__option:hover{
 border-color:#396d50;background:#e8f0e7;
}
html[data-cosmoya-r13] .wc-atelier__option[aria-pressed="true"]{
 background:#214c37!important;
 border-color:#214c37!important;
 color:#fffdf7!important;
 box-shadow:0 3px 0 #ba906b;
}
html[data-cosmoya-r13] .wc-atelier__option[aria-pressed="true"] :is(svg,span){
 color:inherit!important;stroke:currentColor;
}
html[data-cosmoya-r13] .wc-atelier__continue{
 min-height:48px;
}
html[data-cosmoya-r13] .r13-atelier-progress{
 display:flex;align-items:center;justify-content:space-between;
 gap:10px;margin:14px 0 16px;
 color:#e8efe5;font-size:11px;font-weight:700;
}
html[data-cosmoya-r13] .r13-atelier-progress strong{
 color:#f4d1aa;font-size:12px;
}
html[data-cosmoya-r13] .r13-atelier-track{
 height:3px;width:100%;background:rgba(251,248,238,.22);
 margin-bottom:12px;border-radius:5px;overflow:hidden;
}
html[data-cosmoya-r13] .r13-atelier-track span{
 display:block;height:100%;background:#e5bc90;
 transition:width .22s ease;
}
/* The three-step brief is informational: a clear final action leads to live forms. */
html[data-cosmoya-r13] .section-brief{
 background:linear-gradient(150deg,#f7f7f3,#ebf1e9);
}
html[data-cosmoya-r13] #brief .brief-card{
 border-color:#cfdbd0;
 border-radius:10px;
 background:#fffefa;
 box-shadow:0 7px 20px rgba(19,57,32,.045);
}
html[data-cosmoya-r13] #brief .brief-card p{
 color:#516958;line-height:1.68;
}
html[data-cosmoya-r13] .r13-brief-cta{
 display:inline-flex;gap:12px;align-items:center;justify-content:center;
 background:#20543e;color:#fffdf8;border:1px solid #20543e;
 border-radius:6px;min-height:50px;padding:13px 21px;
 font-weight:850;font-size:12px;text-decoration:none;
 margin-top:20px;
}
html[data-cosmoya-r13] .r13-brief-cta:hover{background:#123a2b;color:#fff;}
html[data-cosmoya-r13] .section-faq{
 background:#f0f3ed;
}
html[data-cosmoya-r13] .section-faq :is(summary,details){
 color:var(--r13-ink);
}
html[data-cosmoya-r13] .section-faq summary{
 min-height:48px;font-weight:700;
}
html[data-cosmoya-r13] .section-faq details[open]{
 background:#fffefa;border-color:#bdd0be;
}
/* Commercial lead form: critical fix. Previously white links on a pale background. */
html[data-cosmoya-r13] .section-project--standalone .project-copy{
 color:#1a392b;
}
html[data-cosmoya-r13] .section-project--standalone .project-copy h2{
 color:#172f26;
}
html[data-cosmoya-r13] .section-project--standalone .project-copy > p{
 color:#526a5b;
}
html[data-cosmoya-r13] .section-project--standalone .project-copy .contact-lines{
 display:flex;flex-wrap:wrap;align-items:center;gap:9px 11px;
 margin:22px 0 6px;
}
html[data-cosmoya-r13] .section-project--standalone .project-copy .contact-lines a{
 color:#16452f!important;
 background:#edf3e9;
 border:1px solid #c3d2c3;
 padding:10px 14px;min-height:45px;
 width:fit-content;max-width:100%;overflow-wrap:anywhere;
 border-radius:6px;font-weight:800;
 text-decoration:none;
}
html[data-cosmoya-r13] .section-project--standalone .project-copy .contact-lines a:hover{
 background:#dde9dc;border-color:#799782;
}
html[data-cosmoya-r13] .section-project--standalone .project-copy .eyebrow{
 color:#845a3d;font-weight:850;
}
html[data-cosmoya-r13] .section-project--standalone{
 background:linear-gradient(160deg,#f1f5ef 0%,#f9f7f1 78%);
}
html[data-cosmoya-r13] .section-project--standalone .project-layout{
 color:#1c3c2d;
}
html[data-cosmoya-r13] .section-project--standalone input:focus-visible,
html[data-cosmoya-r13] .section-project--standalone textarea:focus-visible{
 border-color:#457557;
}
/* Form-card polish: clean separation without hiding progress or validation. */
html[data-cosmoya-r13] .section-project--standalone .project-form,
html[data-cosmoya-r13] .section-project--standalone .project-form-card{
 box-shadow:0 12px 35px rgba(13,60,27,.075);
 border-radius:11px;
}
html[data-cosmoya-r13] .section-project--standalone .button-primary{
 min-height:48px;
 background:#20533c;
 color:#fffdf9;
}
html[data-cosmoya-r13] .section-project--standalone .button-primary:hover{background:#113527;}
/* Catalogue and secondary pages — preserve React search, filtering and data flow. */
html[data-cosmoya-r13] .f-universe-card{
 border-radius:11px;overflow:hidden;
 border:1px solid #bdd0c1;
}
html[data-cosmoya-r13] .f-universe-card:hover{
 border-color:#587d60;
 box-shadow:0 9px 25px rgba(16,57,28,.10);
}
html[data-cosmoya-r13] .seo-catalogue-static{
 color:var(--r13-ink);
}
html[data-cosmoya-r13] main input[type="search"]{
 accent-color:#2d6146;
}
html[data-cosmoya-r13] .section:not(.hero) :is(p,li){
 text-wrap:pretty;
}
/* RTL: natural flow, deliberate directional cues only on public CTAs */
html[dir="rtl"][data-cosmoya-r13] #solutions .solution-content > a,
html[dir="rtl"][data-cosmoya-r13] #gammes .catalogue-family-card a{
 text-align:right;
}
html[dir="rtl"][data-cosmoya-r13] #solutions .solution-content > a > span:last-child,
html[dir="rtl"][data-cosmoya-r13] #gammes .catalogue-family-card a > span:last-child{
 transform:scaleX(-1);
}
html[dir="rtl"][data-cosmoya-r13] .section-project--standalone .project-copy .contact-lines a{
 direction:ltr;unicode-bidi:isolate;text-align:left;
}
html[dir="rtl"][data-cosmoya-r13] .r13-story-cta span:last-child,
html[dir="rtl"][data-cosmoya-r13] .r13-process-cta span:last-child,
html[dir="rtl"][data-cosmoya-r13] .r13-brief-cta span:last-child{
 transform:scaleX(-1);
}
/* Mobile-first finishing and density controls. */
@media(max-width:767px){
 html[data-cosmoya-r13] :is(#solutions,#gammes,#brief){
  padding-top:clamp(45px,11vw,70px);
  padding-bottom:clamp(46px,11vw,72px);
 }
 html[data-cosmoya-r13] #solutions .solution-grid{gap:15px;}
 html[data-cosmoya-r13] #solutions .solution-media{height:clamp(180px,54vw,230px);}
 html[data-cosmoya-r13] #solutions .solution-media img{height:100%;}
 html[data-cosmoya-r13] #solutions .solution-content{
  padding:21px;
 }
 html[data-cosmoya-r13] #solutions .solution-content > a{
  width:100%;min-height:50px;margin-top:17px;
  justify-content:space-between;
 }
 html[data-cosmoya-r13] #gammes .catalogue-family-card > img{height:220px;}
 html[data-cosmoya-r13] #gammes .catalogue-family-card > div{padding:20px;}
 html[data-cosmoya-r13] #gammes .catalogue-family-card a{min-height:50px;}
 html[data-cosmoya-r13] #gammes .catalogue-main-cta{min-height:50px;}
 html[data-cosmoya-r13] #brief .brief-card{padding:20px 18px;}
 html[data-cosmoya-r13] #processus .process-tab{min-height:66px;}
 html[data-cosmoya-r13] .r13-brief-cta{width:100%;}
 html[data-cosmoya-r13] .section-project--standalone .project-copy .contact-lines{
  margin:16px 0 12px;
  display:flex;flex-direction:column;align-items:stretch;
 }
 html[data-cosmoya-r13] .section-project--standalone .project-copy .contact-lines a{
  display:flex;align-items:center;min-width:0;width:100%;
  font-size:13px;
 }
 html[data-cosmoya-r13] .section-project--standalone{
  padding-top:33px;
 }
 html[data-cosmoya-r13] .section-project--standalone .project-copy h2{
  font-size:clamp(30px,8vw,38px);
  line-height:1.14;
 }
}
@media(prefers-reduced-motion:reduce){
 html[data-cosmoya-r13] #solutions .solution-card,
 html[data-cosmoya-r13] #solutions .solution-content > a,
 html[data-cosmoya-r13] .r13-atelier-track span{
  transition:none!important;transform:none!important;
 }
}
