/* Identité et réglages communs : modifier ces valeurs pour faire évoluer le site. */
:root {
  --paper: #fdfcfb;
  --white: #ffffff;
  --ink: #25212b;
  --muted: #696270;
  --accent: #713cb4;
  --accent-dark: #57298e;
  --tint: #f4effa;
  --line: #e4dee9;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.1; }
h1, h2 { letter-spacing: -.055em; }
h2 { font-size: clamp(34px, 4vw, 54px); font-weight: 500; }
h2 em { font-family: var(--serif); font-weight: 400; color: var(--accent); }
h3 { font-size: 28px; letter-spacing: -.035em; font-weight: 500; }
p { color: var(--muted); }
[hidden] { display: none !important; }
::selection { background: #e4d5f7; color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline-offset: 2px; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 100px; }
.eyebrow { color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.section-label { margin-bottom: 22px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 45px; }
.section-heading > p { font-size: 14px; line-height: 1.75; max-width: 350px; padding-bottom: 3px; }
.skip-link { position: fixed; top: -90px; left: 16px; z-index: 30; padding: 12px 20px; color: white; background: var(--accent); }
.skip-link:focus { top: 12px; }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(253,252,251,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.wordmark { font-size: 21px; font-weight: 600; letter-spacing: -.055em; line-height: 1.3; white-space: nowrap; }
.wordmark span { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; letter-spacing: .015em; font-weight: 400; }
nav { display: flex; align-items: center; gap: 24px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; white-space: nowrap; }
nav a:hover { color: var(--accent); }
.nav-contact { gap: 20px; padding: 10px 16px; border: 1px solid var(--accent); border-radius: 5px; color: var(--accent); }
.nav-contact:hover { background: var(--tint); }
.menu-toggle { display: none; align-items: center; gap: 12px; min-height: 44px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--ink); }

/* Boutons et liens */
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 52px; padding: 17px 23px; border: 1px solid transparent; border-radius: 5px; font-size: 13px; font-weight: 500; line-height: 1.4; transition: background .18s, color .18s; }
.button span { font-size: 21px; font-weight: 400; }
.button-primary, .button-dark { background: var(--accent); color: white; }
.button-primary:hover, .button-dark:hover { background: var(--accent-dark); }
.button-outline { color: var(--accent); border-color: var(--accent); background: transparent; }
.button-outline:hover { background: var(--tint); }
.text-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; border-bottom: 1px solid var(--accent); color: var(--accent); font-size: 13px; line-height: 1.4; }
.text-link:hover { color: var(--accent-dark); border-color: var(--accent-dark); }
.text-link span { font-size: 20px; }

/* Accueil : priorité au métier, puis aux offres et aux exemples. */
.hero { padding-block: 46px 0; }
.hero-topline { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hero-topline .eyebrow { display: flex; align-items: center; gap: 10px; }
.small-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero-location { font-size: 11px; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 65px; align-items: center; padding-block: 48px 54px; }
.hero h1 { font-size: clamp(60px, 6.3vw, 91px); font-weight: 500; line-height: 1.055; letter-spacing: -.06em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-aside { padding-bottom: 5px; }
.hero-intro { color: var(--ink); font-size: 17px; font-weight: 500; margin-bottom: 12px; letter-spacing: -.025em; }
.hero-description { font-size: 15px; line-height: 1.75; }
.hero-aside .button { margin-top: 25px; width: 100%; }
.hero-footnote { font-size: 11px; margin-top: 12px; }
.hero-bottom { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-block: 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-prices { display: flex; align-items: center; gap: 46px; }
.hero-prices a { padding-right: 46px; border-right: 1px solid var(--line); }
.hero-prices a:last-child { padding-right: 0; border-right: 0; }
.hero-prices a > span { display: block; color: var(--muted); font-size: 11px; margin-bottom: 4px; }
.hero-prices strong { font-size: 15px; font-weight: 500; }
.hero-prices b { color: var(--accent); margin-left: 20px; font-size: 18px; font-weight: 500; }
.hero-prices a:hover strong { color: var(--accent); }

/* Réalisations : captures réelles, hébergées localement. */
#realisations { padding-top: 82px; }
.projects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.project { min-width: 0; }
.project-image { position: relative; display: block; padding: 60px 30px 32px; background: #f0edef; border: 1px solid #e9e3e9; border-radius: 8px; }
.project-image.elec { background: #eeedf1; }
.demo-badge { position: absolute; top: 18px; left: 22px; border: 1px solid #ddd0ee; background: var(--white); border-radius: 20px; color: var(--accent); font-size: 10px; font-weight: 500; padding: 4px 12px; }
.project-screen { overflow: hidden; border: 1px solid #e2dce4; border-radius: 5px; box-shadow: 0 15px 28px -22px #46344c70; transition: transform .22s; }
.project-image:hover .project-screen { transform: translateY(-4px); }
.browser-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 11px; background: white; border-bottom: 1px solid #eee9f0; color: #6d6576; font-size: 8px; }
.browser-bar span:first-child { font-size: 6px; color: #bab2c1; }
.project-screen img { width: 100%; aspect-ratio: 1265 / 712; object-fit: cover; object-position: top; }
.project-info { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-top: 22px; }
.project-info h3 { font-size: 26px; }
.project-info p { margin-top: 7px; font-size: 12px; }
.project-visit { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; font-size: 12px; color: var(--accent); white-space: nowrap; }
.project-visit span { font-size: 21px; }
.project-visit:hover { text-decoration: underline; text-underline-offset: 5px; }
.project-note { font-size: 12px; margin-top: 30px; padding-left: 14px; border-left: 2px solid #b292d5; }

/* Services */
.services-section { border-block: 1px solid var(--line); background: #f7f5f9; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.service { padding-top: 25px; border-top: 1px solid #d8d0df; }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; color: var(--accent); }
.service-top > span { font-size: 11px; }
.service h3 { margin-bottom: 17px; }
.service p { font-size: 15px; line-height: 1.8; max-width: 475px; }
.check-list { padding: 0; margin: 23px 0 18px; list-style: none; font-size: 13px; }
.check-list li { margin-block: 10px; }
.check-list li:before { content: '•'; display: inline-block; width: 22px; color: var(--accent); }

/* Offres : deux formats confirmés, sans liste de prestations inventées. */
.offers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.offer { display: flex; flex-direction: column; padding: 34px 36px; border: 1px solid #dcd3e5; border-radius: 7px; background: white; }
.offer-tinted { background: var(--tint); }
.offer-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 21px; color: var(--accent); }
.offer-kicker { color: var(--accent); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.offer h3 { font-size: 32px; }
.price { margin-block: 22px 20px; color: var(--ink); font-size: 76px; line-height: 1; letter-spacing: -.06em; }
.price span { font-size: 43px; font-weight: 400; }
.offer-description { max-width: 440px; font-size: 15px; min-height: 80px; }
.offer-specs { margin: 25px 0 28px; font-size: 13px; }
.offer-specs > div { display: grid; grid-template-columns: 100px 1fr; gap: 22px; padding-block: 16px; border-top: 1px solid #ddd5e5; }
.offer-specs dt { color: var(--muted); }
.offer-specs dd { margin: 0; }
.offer .button { margin-top: auto; width: 100%; }
.offers-note { display: flex; gap: 15px; max-width: 830px; margin-top: 26px; }
.offers-note p { font-size: 12px; line-height: 1.85; }
.offers-note strong { color: var(--ink); font-weight: 500; }

/* Méthode et présentation personnelle */
.process { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; border-top: 1px solid var(--line); }
.process-intro > p:not(.eyebrow) { font-size: 14px; margin-top: 26px; }
.process-intro .payment-note { border-left: 2px solid var(--accent); padding-left: 18px; margin-top: 38px; }
.payment-note strong { color: var(--accent); font-size: 16px; font-weight: 500; line-height: 1.6; }
.payment-note span { display: block; font-size: 12px; margin-top: 10px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; display: flex; gap: 25px; padding-bottom: 27px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.steps li:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.steps li:before { content: '0' counter(step); display: block; color: var(--accent); font-size: 12px; padding-top: 2px; }
.steps h3 { font-size: 21px; margin-bottom: 10px; letter-spacing: -.025em; }
.steps p { font-size: 14px; line-height: 1.75; }
.steps strong { color: var(--ink); font-weight: 500; }
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; border-top: 1px solid var(--line); }
.about-copy p { max-width: 510px; margin-bottom: 20px; font-size: 15px; }
.about-copy .large-copy { color: var(--ink); font-size: 23px; line-height: 1.5; letter-spacing: -.03em; }
.about-copy .text-link { margin-top: 2px; }

/* Contact et préparation d’e-mail */
.contact-section { background: var(--tint); border-block: 1px solid #e6ddef; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.contact-copy > p:not(.eyebrow) { font-size: 15px; max-width: 365px; margin-top: 26px; }
.contact-details { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 38px; }
.contact-details > a { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; overflow-wrap: anywhere; color: var(--accent); font-size: 19px; line-height: 1.6; letter-spacing: -.025em; padding-block: 5px 9px; border-bottom: 1px solid #cfc0df; }
.contact-details > a:hover { color: var(--accent-dark); border-color: var(--accent-dark); }
.contact-details > a span { min-width: 0; }
.contact-icon { flex: 0 0 20px; }
.location { display: flex; gap: 10px; align-items: center; margin-top: 5px; font-size: 13px; }
.form-help { color: #5e526b; font-size: 13px; line-height: 1.7; margin-bottom: 10px; }
.required-note { font-size: 11px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 500; }
label span { color: var(--muted); font-size: 11px; font-weight: 400; }
input, select, textarea { display: block; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #cfc3db; border-radius: 4px; background: var(--white); color: var(--ink); font-size: 14px; }
input::placeholder, textarea::placeholder { color: #7c7384; opacity: 1; }
textarea { resize: vertical; line-height: 1.65; }
select { padding-right: 28px; }
.form-submit { width: 100%; margin-top: 3px; }
.privacy-note { font-size: 11px; line-height: 1.8; margin-top: 15px; }
.privacy-note a { text-decoration: underline; text-underline-offset: 3px; }
.email-preview { margin-top: 24px; padding: 24px; background: white; border: 1px solid #cfc3db; border-radius: 5px; }
.email-preview h3 { font-size: 21px; }
.email-preview p { font-size: 13px; margin-block: 14px; }
.email-preview .button { width: 100%; }
.email-actions { display: grid; gap: 10px; }
.email-actions .button { flex-direction: column; gap: 4px; white-space: normal; text-align: center; }
.email-actions .email-action-note { display: block; font-size: 11px; font-weight: 400; opacity: .9; }
.email-actions #open-email { background: white; color: var(--accent); border-color: #cfc3db; }
.email-actions #open-email:hover { background: #f4eff9; }
.email-preview details { margin-top: 20px; }
.email-preview summary { cursor: pointer; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.email-preview textarea { font-size: 13px; }

/* Pied de page et mentions légales */
.footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 42px; }
.footer > p { font-size: 11px; }
.footer > p span { font-size: 10px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 11px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 32px; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal { max-width: 800px; padding-block: 70px; }
.legal h1 { font-size: 52px; font-weight: 500; margin-bottom: 25px; }
.legal h1 em { font-family: var(--serif); color: var(--accent); }
.legal h2 { font-size: 28px; margin: 40px 0 16px; letter-spacing: -.03em; }
.legal p, .legal li, .legal dd, .legal dt { font-size: 14px; }
.legal p { margin-block: 14px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal dt { font-weight: 600; margin-top: 14px; }
.legal dd { margin-left: 0; color: var(--muted); }
.draft-notice { background: var(--tint); border-left: 3px solid var(--accent); padding: 15px 20px; }
.legal .to-complete { color: var(--accent-dark); }
.legal ul { padding-left: 20px; }

/* Tablettes et navigation compacte */
@media (max-width: 1200px) {
  .container { width: calc(100% - 72px); }
  nav { gap: 15px; }
  nav a { font-size: 11px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) 255px; gap: 35px; }
  .hero h1 { font-size: clamp(56px, 6.2vw, 76px); }
  .hero-prices { gap: 25px; }
  .hero-prices a { padding-right: 25px; }
  .contact-grid { gap: 55px; }
  .project-info { align-items: flex-start; flex-direction: column; gap: 4px; }
}
@media (max-width: 1100px) {
  .header-inner { min-height: 80px; }
  .menu-toggle:not([hidden]) { display: inline-flex; }
  nav { flex-wrap: wrap; padding-block: 15px; }
  body:has(.menu-toggle:not([hidden])) nav { display: none; position: absolute; inset: 100% 0 auto; padding: 18px 36px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 10px 16px #25212b08; }
  body:has(.menu-toggle:not([hidden])) nav.is-open { display: flex; }
  nav a { padding: 8px; font-size: 13px; }
  .hero { padding-top: 35px; }
  .hero-layout { gap: 28px; }
  .hero h1 { font-size: clamp(47px, 6.1vw, 68px); }
  .hero-intro { font-size: 16px; }
  .hero-description { font-size: 14px; }
  .hero-bottom { align-items: flex-start; flex-direction: column; gap: 15px; }
  .hero-bottom > .text-link { align-self: flex-end; }
  .section { padding-block: 80px; }
  .section-heading > p { max-width: 280px; }
  .services-grid { gap: 40px; }
  .offer { padding: 28px; }
  .offer-description { min-height: 105px; }
  .offer-specs > div { grid-template-columns: 75px 1fr; gap: 15px; }
  .process, .about { gap: 50px; }
  .contact-grid { gap: 38px; }
  .contact-details > a { font-size: 16px; }
  .footer { flex-wrap: wrap; }
}

/* Mobile */
@media (max-width: 760px) {
  html { scroll-padding-top: 95px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 76px; }
  .wordmark { font-size: 20px; }
  .wordmark span { font-size: 9px; }
  body:has(.menu-toggle:not([hidden])) nav { padding: 14px 20px; gap: 4px 12px; max-height: calc(100dvh - 76px); overflow: auto; }
  nav a { flex: 1 0 40%; }
  .nav-contact { flex-basis: 100%; justify-content: space-between; margin-top: 6px; }
  .hero { padding-top: 28px; }
  .hero-topline { gap: 12px; }
  .hero-topline .eyebrow { font-size: 9px; gap: 7px; letter-spacing: .09em; }
  .hero-location { font-size: 10px; white-space: nowrap; }
  .hero-layout { display: block; padding-block: 35px 32px; }
  .hero h1 { font-size: clamp(40px, 8.9vw, 65px); line-height: 1.09; letter-spacing: -.055em; }
  .hero-aside { margin-top: 28px; max-width: 450px; padding: 0; }
  .hero-intro { font-size: 16px; margin-bottom: 8px; }
  .hero-description { font-size: 15px; }
  .hero-aside .button { width: auto; min-width: 240px; margin-top: 20px; }
  .hero-footnote { font-size: 11px; }
  .hero-bottom { padding-block: 21px; gap: 17px; }
  .hero-prices { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 17px; }
  .hero-prices a { padding-right: 15px; }
  .hero-prices a > span { font-size: 10px; line-height: 1.6; min-height: 32px; max-width: 180px; }
  .hero-prices strong { display: block; font-size: 14px; line-height: 1.4; }
  .hero-prices b { display: block; margin: 6px 0 0; font-size: 22px; }
  .hero-bottom > .text-link { align-self: flex-start; font-size: 12px; }
  .section, #realisations { padding-block: 62px; }
  .section-label { font-size: 10px; margin-bottom: 18px; }
  h2 { font-size: clamp(32px, 7.2vw, 44px); }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading > p { max-width: 450px; margin-top: 20px; font-size: 14px; }
  .projects-grid, .services-grid, .offers-grid, .process, .about, .contact-grid { grid-template-columns: 1fr; }
  .projects-grid { gap: 36px; }
  .project-image { padding: 55px 20px 24px; }
  .demo-badge { left: 16px; top: 15px; }
  .project-info { flex-direction: row; align-items: center; padding-top: 17px; gap: 12px; }
  .project-info h3 { font-size: 23px; }
  .project-info p { font-size: 11px; max-width: 240px; }
  .project-visit { font-size: 11px; gap: 7px; }
  .project-note { font-size: 11px; margin-top: 27px; }
  .services-grid { gap: 35px; }
  .service-top { margin-bottom: 20px; }
  .service h3 { font-size: 27px; }
  .service p { font-size: 14px; }
  .check-list { font-size: 12px; }
  .offers-grid { gap: 20px; }
  .offer { padding: 26px; }
  .offer-description { min-height: 0; font-size: 14px; }
  .offer h3 { font-size: 30px; }
  .price { font-size: 68px; }
  .offer-specs { font-size: 12px; margin-top: 23px; }
  .offer-specs > div { grid-template-columns: 80px 1fr; gap: 15px; }
  .offers-note p { font-size: 11px; }
  .process { gap: 35px; }
  .process-intro .payment-note { margin-top: 24px; }
  .steps li { gap: 20px; }
  .steps h3 { font-size: 20px; }
  .steps p { font-size: 14px; }
  .about { gap: 28px; }
  .about-copy .large-copy { font-size: 21px; }
  .about-copy p { font-size: 14px; }
  .contact-grid { gap: 35px; }
  .contact-copy > p:not(.eyebrow) { max-width: 440px; font-size: 14px; }
  .contact-details { margin-top: 25px; gap: 13px; }
  .contact-details > a { font-size: 17px; }
  input, select, textarea, .email-preview textarea { font-size: 16px; }
  .form-help { font-size: 12px; }
  .footer { display: block; padding-block: 32px; }
  .footer > p { margin-block: 22px; }
  .footer-links { gap: 18px; }
  .legal h1 { font-size: 39px; }
  .legal h2 { font-size: 26px; }
}
@media (max-width: 390px) {
  .hero-topline { align-items: flex-start; }
  .hero-topline .eyebrow { max-width: none; }
  .hero-location { display: none; }
  .hero h1 { font-size: clamp(34px, 9.25vw, 38px); }
  .hero-prices { gap: 12px; }
  .hero-prices a { padding-right: 12px; }
  .hero-prices strong { font-size: 13px; }
  .project-info { align-items: flex-start; flex-direction: column; gap: 2px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .offer { padding: 23px; }
  .offer .button { padding-inline: 16px; font-size: 12px; gap: 15px; }
  .contact-details > a { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .menu-toggle, .contact-form-panel, .skip-link, .footer-links { display: none !important; }
  body { background: white; color: black; }
  .container { width: 100%; }
  .section, #realisations, .hero { padding-block: 24px; }
  .hero h1 { font-size: 50px; }
  h2 { font-size: 30px; }
  .hero-layout { display: block; padding-block: 25px; }
  .hero-aside { margin-top: 20px; }
  .service, .project, .offer { break-inside: avoid; }
  .services-section, .contact-section, .offer-tinted { background: white; }
  .button { background: white; color: black; border: 1px solid black; }
}
