/* WEBUP — identité bleue, thèmes clair/sombre et composants partagés. */
:root {
  color-scheme: light;
  --blue: #3f51b5; --blue-strong: #30449d; --ink: #18213d;
  --muted: #59657c; --paper: #ffffff; --soft: #f4f6fd;
  --line: #dce2f0; --card: #ffffff; --header: #ffffffed;
  --glow: #dce6ff; --accent: #078b77; --shadow: 0 22px 65px #263f8410;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --blue: #a5b6ff; --blue-strong: #b9c5ff; --ink: #f0f3ff;
  --muted: #b1bdd6; --paper: #0e1428; --soft: #141d35;
  --line: #2d3955; --card: #18233e; --header: #0e1428ed;
  --glow: #283a72; --accent: #6ddcc7; --shadow: 0 22px 65px #00000024;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.75 "Segoe UI", system-ui, -apple-system, sans-serif; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.container { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; }
h1 { font-size: clamp(46px, 5.25vw, 73px); font-weight: 800; letter-spacing: -3.4px; margin-bottom: 26px; }
h1 em { color: var(--blue); font-style: normal; }
h2 { font-size: clamp(32px, 3.1vw, 45px); font-weight: 750; letter-spacing: -1.9px; margin-bottom: 22px; }
h2 span, h1 > span { color: var(--blue); }
h3 { font-size: 23px; letter-spacing: -.6px; margin-bottom: 15px; }
p { margin-bottom: 24px; }
.eyebrow { font-size: 11px; font-weight: 750; letter-spacing: 1.9px; margin-bottom: 24px; display: flex; align-items: center; gap: 11px; color: var(--blue); }
.small-line { width: 25px; height: 2px; background: var(--blue); }
.intro { color: var(--muted); font-size: 18px; line-height: 1.8; max-width: 580px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 55px; padding: 16px 23px; border-radius: 12px; font-size: 13px; font-weight: 750; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px #3f51b525; }
.lime, .dark { background: #3f51b5; color: white; }
.outline { border-color: var(--line); background: var(--card); color: var(--ink); }
.text-link { color: var(--blue); text-underline-offset: 6px; font-size: 14px; font-weight: 700; }
.skip { position: absolute; top: -100px; left: 20px; z-index: 99; padding: 12px 20px; background: var(--card); }
.skip:focus { top: 10px; }
/* Un menu flottant discret, avec les accès principaux visibles. */
.header { position: sticky; top: 0; z-index: 30; background: var(--header); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 100px; position: relative; }
.logo { display: inline-flex; padding: 8px 10px; background: white; border-radius: 9px; flex-shrink: 0; text-decoration: none; }
.logo img { width: 127px; height: auto; }
#navigation { display: flex; align-items: center; padding: 6px; border: 1px solid var(--line); border-radius: 40px; background: var(--soft); gap: 1px; }
#navigation a { padding: 9px 16px; border-radius: 25px; font-size: 13px; font-weight: 650; text-decoration: none; white-space: nowrap; }
#navigation a:hover { color: var(--blue); }
#navigation .nav-mobile-contact { display: none; }
#navigation a[aria-current="page"] { background: var(--card); color: var(--blue); box-shadow: 0 2px 10px #162a5b0c; }
.nav-actions { display: flex; align-items: center; gap: 15px; }
.nav-contact { background: #3f51b5; color: white; padding: 13px 19px; font-size: 12px; font-weight: 700; border-radius: 11px; text-decoration: none; white-space: nowrap; }
.nav-contact:hover { background: #30449d; }
.theme-control { display: flex; gap: 2px; align-items: center; }
.theme-control button { border: 0; cursor: pointer; color: var(--muted); background: transparent; }
#theme-toggle { width: 38px; height: 38px; border-radius: 50%; font-size: 23px; display: grid; place-items: center; }
#theme-toggle:hover { background: var(--soft); color: var(--blue); }
#theme-auto { font-size: 10px; font-weight: 700; padding: 5px 6px; border-radius: 6px; }
#theme-auto[aria-pressed="true"] { background: var(--soft); color: var(--blue); }
.menu-toggle { display: none; }
.no-script { display: flex; flex-wrap: wrap; gap: 16px; padding: 12px; }
/* Accueil : composition éditoriale et aperçu du studio. */
.hero { position: relative; padding: 76px 0 0; overflow: hidden; background: radial-gradient(ellipse at 90% 20%, var(--glow), transparent 53%), var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.04fr 1fr; gap: 55px; align-items: center; }
.hero-copy { padding-bottom: 25px; position: relative; z-index: 2; }
.actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.hero-note { display: flex; align-items: center; gap: 15px; margin-top: 34px; }
.note-icon { font-size: 38px; color: var(--blue); line-height: 1; }
.hero-note p { font-size: 11px; line-height: 1.8; color: var(--muted); margin: 0; }
.hero-note strong { color: var(--ink); font-weight: 650; }
.hero-art { position: relative; min-height: 490px; display: flex; align-items: center; padding: 0 0 20px; }
.orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; width: 480px; height: 480px; top: -3px; left: 22px; }
.orbit-two { width: 555px; height: 555px; left: -15px; top: -42px; opacity: .6; }
.visual-frame { width: 100%; position: relative; z-index: 1; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: 0 35px 80px #233f8522; overflow: hidden; transform: rotate(-3deg); }
.window-top { min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font-size: 9px; color: var(--muted); border-bottom: 1px solid var(--line); }
.window-dots { display: flex; gap: 4px; }
.window-dots i { width: 5px; height: 5px; border-radius: 50%; background: #98a8d0; }
.tiny-mark { font-size: 21px; color: var(--blue); }
.window-content { display: grid; grid-template-columns: 1fr 1fr; min-height: 285px; }
.window-text { padding: 33px 0 30px 27px; position: relative; z-index: 1; }
.mini-eyebrow { font-size: 8px; letter-spacing: 1.4px; color: var(--blue); font-weight: 750; display: block; margin-bottom: 17px; }
.window-text h2 { font-size: 27px; line-height: 1.18; letter-spacing: -1.4px; margin-bottom: 23px; }
.window-text h2 span { color: #0bb99d; }
.mini-pill { font-size: 8px; color: white; background: #3f51b5; border-radius: 5px; padding: 9px 14px; font-weight: 700; }
.window-content img { width: 100%; height: 100%; min-height: 285px; object-fit: cover; object-position: 31% center; border-radius: 70px 0 0 0; }
.window-bottom { display: flex; justify-content: space-between; padding: 17px 22px; border-top: 1px solid var(--line); font-size: 7px; letter-spacing: .8px; color: var(--muted); }
.floating-tag { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 16px 20px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); border-radius: 13px; }
.floating-tag strong, .floating-tag div > span { display: block; }
.floating-tag strong { font-size: 11px; color: var(--ink); }
.floating-tag div > span { font-size: 9px; color: var(--muted); margin-top: 2px; }
.tag-design { top: 6px; right: -12px; transform: rotate(5deg); }
.tag-code { bottom: 20px; left: 5px; transform: rotate(2deg); }
.tag-icon { font-size: 33px; color: var(--accent); }
.code-symbol { display: grid; place-items: center; width: 37px; height: 37px; font-size: 16px; border-radius: 10px; color: var(--blue); background: var(--soft); font-weight: 800; }
.decor-spark { position: absolute; bottom: 35px; right: 13px; font-size: 65px; color: var(--blue); }
.hero-foot { margin-top: 52px; padding-top: 23px; padding-bottom: 25px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 9px; letter-spacing: 1.5px; font-weight: 600; color: var(--muted); }
.hero-foot span:last-child { letter-spacing: .2px; }
.hero-foot span span { margin-left: 15px; }
.expertise-strip { padding: 24px 0; background: #3f51b5; color: white; }
.expertise-strip .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.expertise-strip span { font-size: 10px; letter-spacing: 1.4px; font-weight: 650; }
.expertise-strip b { font-size: 25px; color: #c8d3ff; font-weight: 400; }
/* Sections et cartes de services. */
.section { padding: 96px 0; }
.section-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 85px; align-items: end; margin-bottom: 44px; }
.section-heading > p { max-width: 460px; color: var(--muted); font-size: 15px; margin-bottom: 5px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { border: 1px solid var(--line); background: var(--card); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card:hover { transform: translateY(-5px); border-color: var(--blue); box-shadow: var(--shadow); }
.service-symbol { display: grid; place-items: center; width: 54px; height: 54px; background: var(--soft); border: 1px solid var(--line); border-radius: 15px; color: var(--blue); font-size: 29px; margin-bottom: 30px; }
.service-card h2, .service-card h3 { font-size: 22px; letter-spacing: -.7px; }
.service-card p { color: var(--muted); font-size: 14px; line-height: 1.85; }
.card-link { color: var(--blue); font-size: 12px; font-weight: 750; margin-top: auto; padding-top: 13px; }
.service-card:last-child:nth-child(3n + 1) { grid-column: span 3; display: grid; grid-template-columns: 75px 1fr 1.4fr; gap: 20px; align-items: center; }
.service-card:last-child:nth-child(3n + 1) .service-symbol { margin-bottom: 0; }
.service-card:last-child:nth-child(3n + 1) .card-link { grid-column: 2 / 4; padding-top: 0; }
.about-band { background: var(--soft); padding: 85px 0; border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.split p { color: var(--muted); }
.large-copy { font-size: 24px; letter-spacing: -.5px; line-height: 1.6; color: var(--ink) !important; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.process article { border-top: 2px solid var(--line); padding-top: 25px; }
.process article > span { display: block; color: var(--blue); font-size: 9px; font-weight: 750; letter-spacing: 1.8px; margin-bottom: 18px; }
.process p { color: var(--muted); font-size: 14px; }
.process h2 { font-size: 28px; }
.soft { background: var(--soft); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 85px; }
details { border-bottom: 1px solid var(--line); padding: 23px 0; }
summary { font-size: 16px; font-weight: 650; cursor: pointer; }
details p { margin: 18px 0 0; color: var(--muted); font-size: 15px; }
/* Appels à l'action et pied de page. */
.cta-section { padding: 70px 0; background: #3f51b5; color: white; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.cta-inner h2 { margin: 0; }
.cta-inner .eyebrow { color: #d8dfff; }
.cta-inner h2 span { color: #c6d4ff; }
.cta-inner .button { background: white; color: #30449d; flex-shrink: 0; }
.footer { background: var(--paper); padding-top: 65px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .85fr 1.2fr 1fr; gap: 45px; }
.footer h2 { font-size: 12px; letter-spacing: .3px; margin-bottom: 23px; }
.footer-grid p { font-size: 12px; color: var(--muted); margin-top: 22px; line-height: 1.9; }
.footer-grid a:not(.logo) { display: block; color: var(--muted); text-decoration: none; font-size: 12px; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--blue); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 45px; padding-block: 25px; display: flex; justify-content: space-between; gap: 25px; font-size: 10px; color: var(--muted); }
/* Pages intérieures et formulaires. */
.page-hero { padding-top: 62px; padding-bottom: 75px; }
.page-hero h1 { font-size: clamp(42px, 5vw, 68px); max-width: 1000px; }
.page-hero .intro { max-width: 800px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); margin-bottom: 35px; }
.breadcrumb a { text-decoration: none; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 23px; }
.detail-card { padding: 35px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.detail-card p { color: var(--muted); font-size: 16px; margin-bottom: 0; }
.related { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.related a { border: 1px solid var(--line); border-radius: 30px; padding: 12px 20px; background: var(--card); color: var(--blue); text-decoration: none; font-size: 13px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; }
.contact-details > a { display: block; font-size: 22px; font-weight: 650; text-decoration: none; margin-bottom: 15px; color: var(--blue); }
.contact-details p { color: var(--muted); }
.form { padding: 35px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.form h2 { font-size: 27px; letter-spacing: -.8px; }
.form label { display: block; font-size: 13px; font-weight: 650; margin-bottom: 8px; }
.form input, .form textarea, .form select { width: 100%; min-height: 48px; margin-bottom: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); color: var(--ink); padding: 12px 14px; font-size: 15px; }
.form textarea { min-height: 150px; resize: vertical; }
.form select { appearance: none; padding-right: 38px; background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23677391' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.form small { display: block; font-size: 12px; color: var(--muted); margin: 5px 0 20px; }
.form .consent { display: flex; align-items: flex-start; gap: 12px; font-size: 12px; font-weight: 400; }
.form .consent input { width: 18px; min-height: 18px; margin-top: 4px; flex-shrink: 0; }
.consent a { text-underline-offset: 3px; }
.form .trap { position: absolute; left: -9999px; }
.notice { padding: 20px; background: var(--soft); border: 1px solid var(--blue); border-radius: 10px; color: var(--ink); }
.notice.error { border-color: #cd5c70; }
.legal { max-width: 850px; }
.legal h2 { font-size: 29px; margin-top: 38px; }
.legal p { color: var(--muted); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.stage-points { padding-left: 20px; color: var(--muted); font-size: 15px; }
.stage-points li { margin-bottom: 15px; }
@media (max-width: 1100px) {
  .container { width: calc(100% - 48px); }
  .nav { gap: 15px; } #navigation a { padding-inline: 11px; }
  .logo img { width: 110px; } .nav-contact { padding-inline: 14px; font-size: 11px; }
  .nav-actions { gap: 8px; } .hero-grid { gap: 35px; } .hero h1 { font-size: 57px; }
  .hero-art { min-height: 460px; } .window-text h2 { font-size: 23px; }
  .window-text { padding-left: 20px; } .window-bottom { padding-inline: 15px; font-size: 6px; }
  .section-heading, .split, .contact-grid { gap: 45px; } .footer-grid { gap: 30px; }
}
@media (max-width: 900px) {
  .nav { min-height: 84px; } .nav-contact { display: none; }
  #navigation { position: absolute; top: calc(100% + 10px); left: 0; right: 0; padding: 12px; border-radius: 17px; box-shadow: var(--shadow); background: var(--card); display: none; flex-direction: column; align-items: stretch; }
  #navigation.is-open { display: flex; } #navigation a { padding: 13px 16px; border-radius: 9px; }
  #navigation a[aria-current="page"] { background: var(--soft); }
  #navigation .nav-mobile-contact { display: block; background: #3f51b5; color: white; margin-top: 5px; text-align: center; }
  .menu-toggle { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
  .menu-toggle span { width: 17px; height: 2px; background: var(--ink); border-radius: 2px; }
  .hero { padding-top: 55px; } .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: clamp(48px, 8vw, 70px); } .hero-copy { max-width: 700px; }
  .hero-art { min-height: 510px; width: min(580px, 100%); margin: 0 auto; }
  .window-text h2 { font-size: 31px; } .window-content { min-height: 300px; }
  .window-text { padding: 35px 0 35px 30px; } .window-bottom { font-size: 8px; }
  .tag-code { bottom: 26px; } .hero-foot { margin-top: 20px; }
  .service-grid { grid-template-columns: 1fr 1fr; } .service-card:last-child:nth-child(3n + 1) { grid-column: span 2; grid-template-columns: 60px 1fr; } .service-card:last-child:nth-child(3n + 1) p { grid-column: 1 / 3; } .service-card:last-child:nth-child(3n + 1) .card-link { grid-column: 1 / 3; }
  .section { padding-block: 70px; } .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 36px); } .nav { min-height: 78px; }
  .logo { padding: 6px 8px; } .logo img { width: 107px; }
  .theme-control { gap: 0; } #theme-auto { padding-inline: 4px; } #theme-toggle { width: 33px; font-size: 21px; }
  .hero { padding-top: 39px; } .hero h1 { font-size: clamp(43px, 10.4vw, 62px); letter-spacing: -2.4px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.2px; gap: 8px; } .small-line { width: 16px; }
  .intro { font-size: 16px; } .actions { gap: 10px; } .button { min-height: 50px; padding: 13px 17px; font-size: 12px; }
  .hero-note { margin-top: 26px; gap: 10px; } .hero-note p { font-size: 10px; }
  .hero-art { min-height: 400px; margin-top: 5px; } .visual-frame { border-radius: 14px; }
  .window-top { padding-inline: 12px; min-height: 38px; font-size: 7px; }
  .window-content { min-height: 240px; } .window-content img { min-height: 240px; border-top-left-radius: 50px; }
  .window-text { padding: 27px 0 25px 18px; } .window-text h2 { font-size: 24px; letter-spacing: -1px; }
  .mini-eyebrow { font-size: 6px; margin-bottom: 14px; } .mini-pill { padding: 8px 10px; font-size: 7px; }
  .window-bottom { font-size: 5px; padding: 13px 12px; letter-spacing: .5px; }
  .floating-tag { padding: 11px 13px; gap: 9px; border-radius: 10px; } .floating-tag strong { font-size: 9px; } .floating-tag div > span { font-size: 7px; }
  .tag-design { top: -2px; right: 0; } .tag-code { bottom: 1px; left: 0; } .tag-icon { font-size: 25px; } .code-symbol { width: 30px; height: 30px; font-size: 13px; }
  .decor-spark { right: 0; bottom: 15px; font-size: 48px; } .orbit { width: 350px; height: 350px; left: 0; top: 10px; } .orbit-two { width: 410px; height: 410px; left: -30px; top: -20px; }
  .hero-foot { font-size: 7px; gap: 20px; letter-spacing: 1px; } .expertise-strip .container { flex-wrap: wrap; justify-content: center; gap: 10px 20px; } .expertise-strip span { font-size: 8px; } .expertise-strip b { display: none; }
  .section { padding-block: 55px; } .section-heading, .split, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 24px; } .section-heading { margin-bottom: 32px; }
  h2 { font-size: 32px; letter-spacing: -1.3px; } .service-grid, .detail-grid, .field-grid { grid-template-columns: 1fr; } .service-card { padding: 26px; }
  .service-card:last-child:nth-child(3n + 1) { display: flex; grid-column: auto; align-items: flex-start; gap: 0; } .service-card:last-child:nth-child(3n + 1) .service-symbol { margin-bottom: 30px; }
  .process { grid-template-columns: 1fr 1fr; gap: 25px; } .process h3 { font-size: 21px; } .process p { font-size: 13px; }
  .about-band { padding-block: 55px; } .large-copy { font-size: 22px; } .cta-inner { flex-direction: column; align-items: flex-start; } .cta-inner h2 { font-size: 32px; }
  .footer-grid { gap: 25px; } .footer-bottom { flex-wrap: wrap; gap: 12px; font-size: 9px; } .footer { padding-top: 50px; }
  .page-hero { padding-top: 38px; padding-bottom: 48px; } .page-hero h1 { font-size: 43px; letter-spacing: -2px; } .breadcrumb { font-size: 10px; gap: 9px; }
  .form { padding: 23px; } .contact-details > a { font-size: 20px; } .detail-card { padding: 27px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
