/* Identité du studio : ivoire, encre et rouge franc. */
:root {
  --bg: #fffef9;
  --bg-alt: #f3f1e8;
  --hero: #f3f1e8;
  --text: #202b38;
  --hero-text: var(--text);
  --muted: #55554e;
  --line: #deddd1;
  --line-strong: #a8a89c;
  --orange: #c32820;
  --orange-fonce: #971e19;
  --brand-2: var(--orange);
  --carte-bord: 1px solid var(--line);
  --carte-ombre: none;
  --display: Georgia, "Times New Roman", serif;
}
body > header {
  background: #fffef9f5;
  border-bottom: 1px solid var(--line);
}
.brand-signature { display: block; width: 145px; height: auto; }
@media (max-width: 480px) { .brand-signature { width: 122px; } }
header .links { gap: clamp(12px, 1.4vw, 22px); font-size: .86rem; }
.annonce, footer.pied { background: #202b38; }
.annonce-b { background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.annonce-b:hover { background: #3f4e60; }
.btn, .lang { border-radius: 7px; }
.btn-primary, .btn-white, .fab-cta { background: var(--orange); }
.btn-primary:hover, .btn-white:hover, .fab-cta:hover { background: var(--orange-fonce); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid #bc231c;
  outline-offset: 3px;
}
section[id] { scroll-margin-top: 76px; }
.menu-toggle { display: none; }
#site-menu {
  position: fixed;
  inset: 5rem max(16px, calc((100vw - 1112px) / 2)) auto auto;
  margin: 0;
  width: min(280px, calc(100vw - 32px));
  max-height: calc(100dvh - 6rem);
  padding: 8px;
  border: var(--carte-bord);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 16px 48px #29231d26;
}
#site-menu a { display: block; padding: 10px 14px; border-radius: 5px; }
#site-menu a:hover { background: var(--bg-alt); }
@media (max-width:1120px) {
  .menu-toggle { display: inline-block; background: transparent; border: var(--carte-bord); border-radius: 7px; padding: 7px 10px; font: inherit; font-weight: 600; color: var(--text); cursor: pointer; }
}
@media (max-width:480px) {
  header .nav-cta { display: none; }
}

.hero.home, .hero:has(.studio-spread) {
  padding: clamp(32px, 5vw, 76px) 0;
  background: var(--hero);
}
.studio-spread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 70px);
  align-items: center;
}
.studio-photo { display: block; width: 100%; object-fit: cover; }
.studio-spread > .studio-photo {
  aspect-ratio: 6 / 5;
  height: auto;
  border-radius: 4px 42px 4px 4px;
}
.home .studio-spread > .studio-photo { aspect-ratio: 1.08; }
.hero .studio-copy h1, .hero.page-hero h1, .sec-head h2, .rs-sec > .wrap > h2,
.art-body h2, .contact h2, .rs-cta h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.06;
  text-wrap: balance;
}
.hero .studio-copy h1 { font-size: clamp(2.5rem, 4.4vw, 4rem); }
.home .studio-copy h1 { font-size: clamp(3.4rem, 5.6vw, 5rem); }
.home .studio-copy h1 em { color: var(--orange-fonce); font-weight: inherit; }
.hero .studio-copy .lead { font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.6; }
.eyebrow, .sec-head .tag {
  display: inline-flex; align-items: center; gap: .65em;
  padding: 0; border: 0; border-radius: 0; background: transparent;
  color: var(--orange-fonce); font-size: .75rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
}
.eyebrow::before, .sec-head .tag::before {
  content: ""; width: 22px; height: 2px; flex: none; background: var(--orange);
}
.home .proof { border-top: var(--carte-bord); padding-top: 16px; gap: 3px; font-size: .82rem; }
.proof li::before { width: 5px; height: 5px; }
.sec-head h2 { font-size: clamp(2.25rem, 3.8vw, 3.4rem); }
.sec-head { max-width: 730px; }
.reperes { background: var(--bg); border-color: var(--line); }
.rp li { border-left: 1px solid var(--line-strong); }
.rp b { color: var(--orange-fonce); font-family: var(--display); font-weight: 400; font-size: 2.4rem; }
.platform-examples { padding-bottom: clamp(32px, 5vw, 72px); }
.example-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.example-grid > div { border-radius: 12px; background: var(--bg-alt); }
.card, .case, .rs-card, .panel, form fieldset, .pstep, .cmp-box, .ex, .step, .art-toc {
  border-radius: 12px; border-color: var(--line); box-shadow: none;
}
.grid > a.card:hover, .rs-card:hover { box-shadow: 0 9px 20px #58311614; border-color: var(--line-strong); }
.rs-card > .studio-photo { aspect-ratio: 1.95; height: auto; }
.studio-spread > .rs-facts { grid-column: 1 / -1; margin: 0; }
.rs-hero .rs-back { display: block; width: fit-content; }
.sec-head p, .studio-copy { min-width: 0; }
#processus .sec-head {
  display: grid; align-content: center;
  max-width: none; min-height: 220px; padding-right: 48%; position: relative;
}
#processus .sec-head::after {
  content: ""; position: absolute; inset: 0 0 0 56%;
  border-radius: 4px 26px 4px 4px;
  background: url("/assets/exemples/studio-conception-600.webp") center / cover;
}
.contact, .rs-cta { border-radius: 14px; }
.contact { background: #263441; }
.contact .btn-ghost, .rs-cta .btn-ghost { background: #fffef9; color: var(--text); }
main .panel, form fieldset, .assure { background: #fff; }
.panel h2, form legend { color: var(--text); }
.foot h3 { font-size: 1rem; }
@media (max-width:760px) {
  .studio-spread { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .studio-spread > .studio-photo, .home .studio-spread > .studio-photo {
    aspect-ratio: 1.95; border-top-right-radius: 26px;
  }
  .hero .studio-copy h1 { font-size: clamp(2.2rem, 7.6vw, 3.5rem); }
  .home .studio-copy h1 { font-size: clamp(2.85rem, 9.2vw, 4rem); }
  .home .proof { margin-top: 16px; padding-top: 10px; }
  .example-grid { grid-template-columns: minmax(0,1fr); }
  #processus .sec-head { display: block; padding-right: 0; min-height: auto; }
  #processus .sec-head::after { display: block; position: static; aspect-ratio: 2.5; margin-top: 20px; }
}
@media print { .menu-toggle, #site-menu { display: none; } }

/* Accueil : quatre étapes, avec les contenus spécialisés dans la navigation. */
.front .hero.home { background: var(--bg); color: var(--text); padding: clamp(32px,4vw,60px) 0; border-bottom: 1px solid var(--line); }
.front .hero .studio-copy h1 { color: var(--text); }
.front .hero h1 em { color: var(--orange); }
.front .hero .lead { color: var(--muted); }
.front .hero .eyebrow { color: var(--orange-fonce); }
.front .hero .eyebrow::before { background: currentColor; }
.front .hero .btn-primary { background: var(--orange); color: white; }
.front .hero .btn-primary:hover { background: var(--orange-fonce); }
.front-contact .btn-primary { background: #fffef9; color: #971e19; }
.front-contact .btn-primary:hover { background: #fff0e9; }
.front .hero .btn-ghost:hover { background: var(--bg-alt); }
.front .studio-spread > .studio-photo { border-radius: 14px; aspect-ratio: 4/3; }
.front > section:not(.hero) { padding: clamp(36px,4.5vw,66px) 0; }
.front h2 { font: 400 clamp(2rem,3.5vw,3.1rem)/1.06 var(--display); letter-spacing: -.04em; text-wrap: balance; }
.front-split { display: grid; grid-template-columns: minmax(200px,.8fr) minmax(0,1.5fr); gap: 44px; }
.front-split .sec-head { margin: 0; }
.service-index { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 24px; }
.service-index a { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 14px 0; font-weight: 650; }
.service-index a::after { content: "↗"; color: var(--orange); }
.front a:hover:not(.btn) { color: var(--orange-fonce); text-decoration: underline; text-underline-offset: 3px; }
.front #cas { background: var(--bg-alt); }
.front-heading, .front-contact { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.front-heading { margin-bottom: 26px; }
.front-heading a { color: var(--orange-fonce); font-weight: 650; }
.case-index { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.case-index img { height: auto; aspect-ratio: 2; border-radius: 9px; }
.case-index span { display: block; padding-top: 10px; font-weight: 650; }
.front #contact { background: #a8201a; color: white; }
.front-contact p { color: #fff4e9; margin: 8px 0 0; }
.front-contact .btn { flex: none; }
footer.pied .foot { grid-template-columns: 1.3fr 1fr 1fr; }
@media (max-width:760px) {
  .front-split { grid-template-columns: 1fr; gap: 12px; }
  .front .studio-spread > .studio-photo { aspect-ratio: 2.3; }
  .front-heading, .front-contact { align-items: flex-start; flex-direction: column; gap: 12px; }
  .front .hero h1 { margin: 12px 0; }
  .front .hero .lead { margin-bottom: 18px; }
}
@media (max-width:600px) {
  .service-index { grid-template-columns: 1fr; }
  .service-index a { padding: 8px 0; }
  .case-index { grid-template-columns: 1fr; gap: 12px; }
  .case-index a { display: flex; gap: 14px; align-items: center; }
  .case-index img { width: 100px; aspect-ratio: 1.6; }
  .case-index span { padding-top: 0; }
  footer.pied .foot { grid-template-columns: 1fr 1fr; gap: 20px; }
  footer.pied .foot > div:first-child { grid-column: 1/-1; }
}

:root { --text:#202b38; --muted:#465568; --orange:#c32820; --brand:#202b38; --hero-text:var(--text); }
.front .studio-copy .lead { max-width:48ch; }
.case-index small { display:block; margin-top:.35rem; color:var(--orange-fonce); font-size:.85rem; line-height:1.35; }
#faq .faq-title { margin:0 auto 28px; text-align:center; }
#faq .faq-title h2 { margin:0; font:400 clamp(2.25rem,3.8vw,3.4rem)/1.06 var(--display); }
.draft-panel,.form-privacy { padding:20px; margin:0 0 20px; border:1px solid var(--line); border-radius:12px; background:var(--bg); }
.progress-label { display:flex; justify-content:space-between; gap:8px; font-weight:700; }
#project-progress { display:block; width:100%; height:.65rem; margin:10px 0; accent-color:#c32820; }
.draft-panel p,.form-privacy p { color:var(--muted); margin:6px 0; }
.form-privacy h2 { font:600 1.25rem/1.3 system-ui,sans-serif; margin:0 0 .5rem; color:var(--text); }
.text-action { border:none; padding:6px 0; color:var(--orange-fonce); cursor:pointer; background:transparent; font:inherit; text-decoration:underline; }
.service-price { font-weight:700; }
:where(a,button,summary,input,select,textarea,[tabindex]):focus-visible { outline:3px solid #c32820; outline-offset:3px; box-shadow:0 0 0 3px #fffef9; }
.directory .card.sector h2 {font:700 1.2rem/1.3 system-ui,sans-serif;letter-spacing:-.025em}
.front .studio-copy h1 {font-size:clamp(2rem,3.5vw,3rem)}
