:root {
  --black: #0a0a0a;
  --dark: #111111;
  --card: #161616;
  --border: rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.18);
  --white: #ffffff;
  --grey: #888780;
  --light: #cccccc;
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 77px; } /* = hauteur du menu fixe, pour que les ancres ne passent pas dessous */
body { background: var(--black); color: var(--white); font-family: 'DM Sans', sans-serif; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; }

/* ---------- Navigation ---------- */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 18px 48px; background: rgba(10,10,10,0.92); backdrop-filter: blur(12px); border-bottom: 0.5px solid var(--border); }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.logo-mark { height: 40px; width: auto; display: block; margin-right: 14px; flex-shrink: 0; }
.logo-word { font-family: 'Montserrat', 'DM Sans', sans-serif; font-weight: 600; font-size: 18px; letter-spacing: -0.2px; color: var(--white); white-space: nowrap; }
.logo-word span { color: #b6b8c1; }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a { font-size: 13px; letter-spacing: 1px; color: var(--grey); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.nav-cta { background: var(--white); color: var(--black); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; padding: 11px 22px; transition: opacity 0.2s; }
.nav-links a.nav-cta:hover { opacity: 0.85; color: var(--black); }
/* Effet menu : au survol d'un lien, une barre verte avec des données qui défilent apparaît dessous (ordi uniquement) */
.nav-links a { position: relative; }
.link-data { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); height: 14px; overflow: hidden; pointer-events: none; opacity: 0; transform: translateY(-4px); transition: opacity 0.25s ease, transform 0.25s ease; }
.link-data::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: #2ee6b0; box-shadow: 0 0 10px 1px rgba(46,230,176,0.6); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; }
.link-data-track { display: flex; width: max-content; padding-top: 5px; font-family: 'Courier New', monospace; font-size: 8px; line-height: 1; letter-spacing: 2px; color: rgba(46,230,176,0.75); white-space: nowrap; animation: linkData 6s linear infinite; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.link-data-track span { padding-right: 2px; }
@keyframes linkData { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (hover: hover) and (min-width: 901px) {
  .link-data { display: block; }
  .nav-links a:hover .link-data, .nav-links a:focus-visible .link-data { opacity: 1; transform: translateY(0); }
  .nav-links a:hover .link-data::before, .nav-links a:focus-visible .link-data::before { transform: scaleX(1); }
  .nav-links a.nav-cta .link-data { display: none; }
}
/* Effet bouton DEVIS GRATUIT : au survol, le bouton passe en noir et un mur de briques néon se construit à l'intérieur (ordi uniquement) */
.nav-links a.nav-cta { isolation: isolate; overflow: hidden; }
.cta-bricks { display: none; position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.cta-brick { position: absolute; left: var(--x); bottom: var(--y); width: calc(25% - 2px); height: calc(33.333% - 2px); border: 1px solid rgba(46,230,176,0.42); background: rgba(46,230,176,0.06); box-shadow: 0 0 4px rgba(46,230,176,0.22), inset 0 0 4px rgba(46,230,176,0.12); opacity: 0; }
.cta-brick.half { width: calc(12.5% - 2px); }
.cta-brick.last { background: rgba(46,230,176,0.13); box-shadow: 0 0 6px rgba(46,230,176,0.35), inset 0 0 4px rgba(46,230,176,0.2); }
@keyframes brickDrop { 0% { opacity: 0; transform: translateY(-60px); } 12% { opacity: 1; } 78% { opacity: 1; transform: translateY(0); } 88% { transform: translateY(-2px); } 100% { opacity: 1; transform: translateY(0); } }
@media (hover: hover) and (min-width: 901px) {
  .cta-bricks { display: block; }
  .nav-links a.nav-cta { transition: background 0.3s ease, color 0.25s ease, box-shadow 0.3s ease; }
  /* Survol sobre : le bouton passe en noir avec un contour vert fin et le texte vert (plus d'animation de briques ici) */
  .nav-links a.nav-cta .cta-bricks { display: none; }
  .nav-links a.nav-cta:hover, .nav-links a.nav-cta:focus-visible { opacity: 1; background: #050807; color: #2ee6b0; text-shadow: none; box-shadow: 0 0 0 1px #2ee6b0, 0 0 18px rgba(46,230,176,0.22); }
}
.nav-toggle { display: none; background: none; border: 0.5px solid var(--border-strong); color: var(--white); font-size: 18px; width: 42px; height: 42px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { min-height: 85vh; display: flex; flex-direction: column; justify-content: center; padding: 100px 48px 0; position: relative; overflow: hidden; }
.hero.hero-page { min-height: 72vh; padding-bottom: 60px; }
.hero-mark { position: absolute; right: 9%; top: 150px; width: min(28vw, 380px); height: auto; pointer-events: none; animation: fadeUp 0.9s ease 0.3s both; }
.hero::before { content:''; position:absolute; top:0; right:0; width:50%; height:100%; background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.02) 100%); pointer-events:none; }
/* Hero accueil : image de fond (briques numériques) */
.hero--image { background: linear-gradient(90deg, rgba(10,10,10,0.75) 0%, rgba(10,10,10,0.25) 50%, rgba(10,10,10,0) 80%), url('hero-bg.jpg') right center / cover no-repeat, #0a0a0a; }
.hero--image::before { display: none; }
.hero--image .hero-mark { display: none; }
/* Version plus discrète pour les pages intérieures */
.hero--soft { background: linear-gradient(90deg, rgba(10,10,10,0.75) 0%, rgba(10,10,10,0.25) 50%, rgba(10,10,10,0) 80%), url('hero-bg.jpg') right center / cover no-repeat, #0a0a0a; }
.hero-tag { font-size: 10px; letter-spacing: 3px; color: var(--grey); margin-bottom: 28px; display: flex; align-items: center; gap: 12px; }
.hero-tag::before { content:''; width: 32px; height: 0.5px; background: var(--grey); }
.hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(52px, 8vw, 96px); font-weight: 900; line-height: 0.95; color: var(--white); margin-bottom: 32px; }
.hero-page .hero-title { font-size: clamp(44px, 6.5vw, 80px); }
.hero-title span { color: var(--light); }
.hero-title .accent { color: #2ee6b0; }
.hero-title + .hero-actions { margin-top: 20px; }
.hero-sub { font-size: 16px; color: var(--grey); max-width: 520px; line-height: 1.8; margin-bottom: 48px; font-weight: 300; }
.hero-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.btn-primary { background: var(--white); color: var(--black); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; padding: 16px 36px; border: none; cursor: pointer; transition: opacity 0.2s; text-decoration: none; display: inline-block; }
.btn-primary:hover { opacity: 0.85; }
.btn-outline { border: 0.5px solid var(--border-strong); color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; padding: 16px 36px; text-decoration: none; display: inline-block; transition: background 0.2s; }
.btn-outline:hover { background: rgba(255,255,255,0.06); }
.btn-secondary { font-size: 13px; letter-spacing: 1px; color: var(--grey); text-decoration: none; transition: color 0.2s; }
.btn-secondary:hover { color: var(--white); }
.hero-stats { display: flex; gap: 48px; margin-top: 48px; padding: 28px 0; border-top: 0.5px solid var(--border); flex-wrap: wrap; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 42px; font-weight: 900; color: var(--white); line-height: 1; }
.stat-label { font-size: 10px; letter-spacing: 2px; color: var(--grey); margin-top: 6px; }

/* ---------- Sections ---------- */
section { padding: 100px 48px; }
.section-tag { font-size: 10px; letter-spacing: 3px; color: var(--grey); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.section-tag::before { content:''; width: 24px; height: 0.5px; background: var(--grey); }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(36px, 5vw, 58px); font-weight: 900; line-height: 1.05; color: var(--white); margin-bottom: 16px; }
.section-title .accent { color: #2ee6b0; }
.section-sub { font-size: 15px; color: var(--grey); max-width: 580px; line-height: 1.8; font-weight: 300; }
.alt { background: var(--dark); border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); }

/* ---------- Deux portes (accueil) ---------- */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); padding: 0; }
.door { background: var(--black); padding: 44px 48px; min-height: 320px; display: flex; flex-direction: column; text-decoration: none; transition: background 0.3s; position: relative; }
.door:hover { background: var(--card); }
.door-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(40px, 4.5vw, 60px); font-weight: 900; line-height: 1; margin-bottom: 16px; }
.door-title.accent { color: var(--white); }
.door-desc { font-size: 15px; color: var(--grey); line-height: 1.8; font-weight: 300; max-width: 430px; }
.door-list { list-style: none; margin: 28px 0 40px; display: flex; flex-direction: column; gap: 10px; }
.door-list li { font-size: 13px; letter-spacing: 1px; color: var(--light); display: flex; align-items: center; gap: 12px; }
.door-list li::before { content:''; width: 6px; height: 6px; background: var(--white); border-radius: 50%; flex-shrink: 0; }
.door-link { margin-top: auto; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; display: flex; align-items: center; gap: 10px; }
.door-link span { transition: transform 0.2s; }
.door:hover .door-link span { transform: translateX(6px); }

.strip { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: 36px 48px; background: var(--dark); border-bottom: 0.5px solid var(--border); text-decoration: none; transition: background 0.3s; }
.strip:hover { background: var(--card); }
.strip-tag { font-size: 9px; letter-spacing: 3px; color: var(--grey); margin-bottom: 8px; }
.strip-title { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 900; }
.strip-text { font-size: 14px; color: var(--grey); max-width: 520px; line-height: 1.7; font-weight: 300; }
.strip-link { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; white-space: nowrap; }

/* ---------- Cartes de services ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; margin-top: 60px; background: var(--border); border: 0.5px solid var(--border); }
.card { background: var(--dark); padding: 40px 32px; transition: background 0.3s; }
.alt .card { background: var(--black); }
.card:hover, .alt .card:hover { background: var(--card); }
.card-name { font-size: 16px; font-weight: 600; color: #2ee6b0; margin-bottom: 10px; letter-spacing: 0.5px; }
.card-desc { font-size: 14px; color: var(--grey); line-height: 1.8; font-weight: 300; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag { font-size: 11px; letter-spacing: 1px; color: var(--white); border: 0.5px solid var(--border); padding: 4px 10px; }
.card-link { display: inline-block; margin-top: 20px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-decoration: none; border-bottom: 0.5px solid var(--border-strong); padding-bottom: 3px; }
.card-status { display: inline-block; margin-top: 20px; font-size: 12px; letter-spacing: 1.5px; color: var(--grey); }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-top: 60px; }
.step { border-top: 0.5px solid var(--border-strong); padding-top: 24px; }
.step-num { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 900; color: rgba(255,255,255,0.3); margin-bottom: 12px; }
.step-name { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: #2ee6b0; letter-spacing: 0.5px; }
.step-desc { font-size: 14px; color: var(--grey); line-height: 1.8; font-weight: 300; }

/* ---------- Photos ---------- */
.photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 48px; }
.photo-slot { aspect-ratio: 4/3; border: 1px dashed var(--border-strong); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--grey); font-size: 11px; letter-spacing: 2px; text-align: center; background: var(--card); overflow: hidden; }
.photo-slot small { font-size: 12px; letter-spacing: 1px; opacity: 0.7; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- À propos ---------- */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-inner--solo { grid-template-columns: 1fr; max-width: 760px; margin-left: auto; text-align: right; }
.about-inner--solo .section-tag { justify-content: flex-end; }
.about-inner--solo .section-tag::before { order: 1; }
.about-inner--solo .section-sub { margin-left: auto; }
.about-inner--solo .about-item { flex-direction: row-reverse; text-align: right; }
.about-right { border-left: 0.5px solid var(--border); padding-left: 80px; }
.about-list { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.about-item { display: flex; align-items: flex-start; gap: 16px; padding-bottom: 16px; border-bottom: 0.5px solid var(--border); }
.about-item-num { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: rgba(255,255,255,0.2); min-width: 24px; }
.about-item-text { font-size: 15px; color: var(--grey); line-height: 1.7; font-weight: 300; }
.about-item-text strong { color: var(--white); font-weight: 500; }
.experience-block { background: var(--card); border: 0.5px solid var(--border); padding: 32px; margin-bottom: 24px; }
.exp-num { font-family: 'Cormorant Garamond', serif; font-size: 64px; font-weight: 900; color: var(--white); line-height: 1; }
.exp-label { font-size: 10px; letter-spacing: 2px; color: var(--grey); margin-top: 6px; }

/* ---------- Zone ---------- */
.zone-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 40px; margin-top: 48px; }
.zone-items { display: flex; gap: 32px; flex-wrap: wrap; }
.zone-item { display: flex; align-items: center; gap: 10px; }
.zone-dot { width: 6px; height: 6px; background: var(--white); border-radius: 50%; }
.zone-name { font-size: 14px; color: var(--light); font-weight: 400; }
.zone-note { font-size: 13px; color: var(--grey); max-width: 240px; text-align: right; line-height: 1.8; }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-top: 60px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-row { display: flex; flex-direction: column; gap: 4px; padding-bottom: 24px; border-bottom: 0.5px solid var(--border); }
.contact-row-label { font-size: 11px; letter-spacing: 2px; color: var(--grey); }
.contact-row-value { font-size: 15px; color: var(--white); font-weight: 400; text-decoration: none; line-height: 1.6; }
a.contact-row-value:hover { text-decoration: underline; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 11px; letter-spacing: 2px; color: var(--grey); }
.form-input { background: var(--card); border: 0.5px solid var(--border); color: var(--white); font-family: 'DM Sans', sans-serif; font-size: 13px; padding: 14px 16px; outline: none; transition: border-color 0.2s; width: 100%; border-radius: 0; }
.form-input:focus { border-color: rgba(255,255,255,0.35); }
.form-input::placeholder { color: var(--grey); }
select.form-input { cursor: pointer; }
textarea.form-input { resize: vertical; min-height: 120px; }
.form-submit { background: var(--white); color: var(--black); font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; padding: 16px; border: none; cursor: pointer; transition: opacity 0.2s; margin-top: 8px; }
.form-submit:hover { opacity: 0.85; }
.form-note { font-size: 12px; color: var(--grey); line-height: 1.7; }
.contact-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }
/* Effets des 3 boutons de contact (accueil) : briques / pluie de chiffres / feux d'artifice.
   La classe .fx-play est posée par script.js au survol, au focus et au clic. */
.contact-cta a { position: relative; isolation: isolate; transition: background 0.3s ease, color 0.25s ease, box-shadow 0.3s ease; }
.fx { position: absolute; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.fx-fire { z-index: 2; overflow: visible; }
/* Survol sobre (comme DEVIS GRATUIT) : fond noir, contour vert fin, texte vert. Les animations sont masquées. */
.contact-cta a .fx, .contact-cta a .cta-bricks { display: none !important; }
.contact-cta a:hover, .contact-cta a:focus-visible, .contact-cta a.fx-play { opacity: 1; background: #050807; color: #2ee6b0; text-shadow: none; box-shadow: 0 0 0 1px #2ee6b0, 0 0 18px rgba(46,230,176,0.22); }
.contact-cta a.fx-play .cta-brick { animation: brickDrop 0.4s cubic-bezier(0.4, 0, 0.9, 0.6) var(--d) both; }
.fx-rain-col { position: absolute; top: 0; left: var(--x); font-family: 'Courier New', monospace; font-size: 11px; line-height: 11px; white-space: pre; color: rgba(46,230,176,0.7); opacity: 0; -webkit-mask-image: linear-gradient(180deg, transparent, #000 85%); mask-image: linear-gradient(180deg, transparent, #000 85%); }
.contact-cta a.fx-play .fx-rain-col { animation: rainFall var(--t) linear var(--d) infinite; }
@keyframes rainFall { 0% { opacity: 1; transform: translateY(-100%); } 100% { opacity: 1; transform: translateY(54px); } }
.fx-spark { position: absolute; left: var(--cx); top: var(--cy); width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: #2ee6b0; box-shadow: 0 0 8px 2px rgba(46,230,176,0.95); opacity: 0; }
.fx-spark.w { background: #c9ffee; box-shadow: 0 0 8px 2px rgba(201,255,238,0.9); }
.contact-cta a.fx-play .fx-spark { animation: spark 1.5s ease-out var(--d) infinite; }
@keyframes spark { 0% { opacity: 1; transform: translate(0, 0) scale(1.5); } 50% { opacity: 1; transform: translate(var(--dx), var(--dy)) scale(0.9); } 80% { opacity: 0; transform: translate(calc(var(--dx) * 1.08), calc(var(--dy) * 1.08 + 12px)) scale(0.3); } 100% { opacity: 0; transform: translate(calc(var(--dx) * 1.08), calc(var(--dy) * 1.08 + 12px)) scale(0.3); } }

/* ---------- Footer ---------- */
footer { padding: 40px 48px; border-top: 0.5px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
footer .logo-mark { height: 32px; margin-right: 12px; }
footer .logo-word { font-size: 15px; }
.footer-mid, .footer-right { font-size: 12px; color: var(--grey); line-height: 1.7; }
.footer-right { text-align: right; }
.footer-right a { text-decoration: none; }
/* Bande de données qui défile en bas du site */
.footer-data { flex: 0 0 calc(100% + 96px); margin: 16px -48px -40px; height: 30px; position: relative; overflow: hidden; pointer-events: none; background: linear-gradient(180deg, rgba(46,230,176,0.06), rgba(10,10,10,0)); }
.footer-data::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, #2ee6b0 20%, #2ee6b0 80%, transparent); box-shadow: 0 0 12px 1px rgba(46,230,176,0.45); }
.footer-data-track { display: flex; width: max-content; padding-top: 10px; font-family: 'Courier New', monospace; font-size: 10px; line-height: 1; letter-spacing: 3px; color: rgba(46,230,176,0.6); white-space: nowrap; animation: footerData 26s linear infinite; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.footer-data-track span { padding-right: 3px; }
@keyframes footerData { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Animations ---------- */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
.hero-tag, .hero-title, .hero-sub, .hero-actions, .hero-stats { animation: fadeUp 0.7s ease both; }
.hero-tag { animation-delay: 0.1s; }
.hero-title { animation-delay: 0.2s; }
.hero-sub { animation-delay: 0.3s; }
.hero-actions { animation-delay: 0.4s; }
.hero-stats { animation-delay: 0.5s; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Mobile ---------- */
@media (max-width: 1000px) { .hero-mark { display: none; } }
@media (max-width: 900px) {
  html { scroll-padding-top: 57px; }
  .hero--image { background: linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.55) 100%), url('hero-bg.jpg') 70% center / cover no-repeat, #0a0a0a; }
  .hero--soft { background: linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.55) 100%), url('hero-bg.jpg') 70% center / cover no-repeat, #0a0a0a; }
  /* Navigation : barre de 56px */
  nav { padding: 6px 16px; flex-wrap: wrap; }
  .nav-logo { min-height: 44px; }
  .logo-mark { height: 32px; margin-right: 10px; }
  .logo-word { font-size: 16px; }
  .nav-toggle { display: block; width: 44px; height: 44px; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 0; padding: 4px 0 10px; }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 14px 0; border-top: 0.5px solid var(--border); font-size: 13px; }
  .nav-links a.nav-cta { text-align: center; margin-top: 8px; padding: 14px; }

  /* Hero */
  .hero, .hero.hero-page { min-height: auto; padding: 88px 20px 0; }
  .hero.hero-page { padding-bottom: 36px; }
  .hero-tag { margin-bottom: 16px; }
  .hero-title { font-size: 46px; margin-bottom: 16px; }
  .hero-page .hero-title { font-size: 40px; margin-bottom: 14px; }
  .hero-sub { font-size: 15px; line-height: 1.6; margin-bottom: 24px; }
  .hero-actions { gap: 8px 20px; }
  .btn-primary, .btn-outline { padding: 13px 24px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .btn-secondary { display: inline-flex; align-items: center; min-height: 44px; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; padding: 18px 0 22px; }
  .stat-num { font-size: 26px; }
  .stat-label { font-size: 9px; letter-spacing: 1px; line-height: 1.4; margin-top: 4px; }

  /* Sections */
  section { padding: 44px 20px; }
  .section-tag { margin-bottom: 12px; }
  .section-title { font-size: 32px; margin-bottom: 10px; }
  .section-sub { line-height: 1.6; }

  /* Deux portes (accueil) */
  .doors { grid-template-columns: 1fr; }
  .door { padding: 28px 20px; min-height: 0; }
  .door-title { font-size: 36px; margin-bottom: 10px; }
  .door-desc { line-height: 1.6; }
  .door-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 16px 0 20px; }
  .door-list li { font-size: 12px; letter-spacing: 0.5px; gap: 8px; }
  .door-list li::before { width: 5px; height: 5px; }
  .door-link { min-height: 44px; }

  /* Bandeau cashless */
  .strip { flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px 20px 14px; }
  .strip-tag { margin-bottom: 4px; }
  .strip-title { font-size: 24px; }
  .strip-text { font-size: 14px; line-height: 1.6; }
  .strip-link { min-height: 44px; display: flex; align-items: center; }

  /* Cartes : défilement horizontal avec aimantation */
  .cards { display: flex; gap: 10px; margin: 24px -20px 0; padding: 0 20px 4px; background: none; border: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 80%; padding: 22px 20px; border: 0.5px solid var(--border-strong); scroll-snap-align: start; display: flex; flex-direction: column; }
  .card-name { font-size: 15px; margin-bottom: 6px; }
  .card-desc { font-size: 14px; line-height: 1.6; }
  .card-tags { gap: 4px; margin-top: 12px; }
  .tag { padding: 3px 8px; }
  .card-link { margin-top: auto; padding-top: 6px; min-height: 44px; display: inline-flex; align-items: center; align-self: flex-start; border-bottom: none; padding-bottom: 0; text-decoration: underline; text-decoration-thickness: 0.5px; text-underline-offset: 4px; }
  .card-status { margin-top: auto; padding-top: 14px; }

  /* Étapes */
  .steps { grid-template-columns: 1fr 1fr; gap: 20px 16px; margin-top: 24px; }
  .step { padding-top: 12px; }
  .step-num { font-size: 22px; margin-bottom: 4px; }
  .step-name { font-size: 14px; margin-bottom: 4px; }
  .step-desc { font-size: 14px; line-height: 1.5; }

  /* Photos : même défilement que les cartes */
  .photos { display: flex; gap: 10px; margin: 24px -20px 0; padding: 0 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; }
  .photos::-webkit-scrollbar { display: none; }
  .photo-slot { flex: 0 0 80%; scroll-snap-align: start; }

  /* À propos */
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 28px; }
  .about-right { border-left: none; padding-left: 0; }
  .about-inner--solo { margin-left: 0; max-width: none; text-align: left; }
  .about-inner--solo .section-tag { justify-content: flex-start; }
  .about-inner--solo .section-tag::before { order: 0; }
  .about-inner--solo .section-sub { margin-left: 0; }
  .about-inner--solo .about-item { flex-direction: row; text-align: left; }
  .about-list { margin-top: 20px; gap: 10px; }
  .about-item { gap: 12px; padding-bottom: 10px; }
  .about-item-num { font-size: 18px; }
  .about-item-text { line-height: 1.6; }
  .experience-block { display: flex; align-items: center; gap: 16px; padding: 12px 16px; margin-bottom: 8px; }
  .exp-num { font-size: 30px; min-width: 64px; }
  .exp-label { margin-top: 0; font-size: 9px; letter-spacing: 1.5px; line-height: 1.5; }

  /* Zone d'intervention : pastilles */
  .zone-inner { gap: 16px; margin-top: 20px; }
  .zone-items { gap: 8px; }
  .zone-item { gap: 8px; padding: 6px 12px; border: 0.5px solid var(--border-strong); border-radius: 999px; }
  .zone-dot { width: 4px; height: 4px; }
  .zone-note { text-align: left; }

  /* Contact */
  .contact-inner { margin-top: 24px; }
  .contact-info { gap: 12px; }
  .contact-row { gap: 2px; padding-bottom: 12px; border-bottom-color: rgba(255,255,255,0.05); }
  a.contact-row-value { padding: 11px 0; margin: -11px 0; }
  .contact-cta { gap: 8px; margin-top: 16px; }

  /* Formulaires */
  .contact-form { gap: 12px; }
  .form-group { gap: 5px; }
  .form-input { padding: 12px 14px; min-height: 44px; }
  textarea.form-input { min-height: 90px; height: 90px; }
  .form-submit { padding: 14px; min-height: 44px; margin-top: 4px; }

  /* Footer */
  footer { padding: 18px 16px 20px; flex-direction: row; justify-content: center; gap: 2px 0; text-align: center; }
  .footer-data { flex-basis: calc(100% + 32px); margin: 12px -16px -20px; }
  footer .nav-logo { flex-basis: 100%; justify-content: center; }
  footer .logo-mark { height: 26px; margin-right: 8px; }
  footer .logo-word { font-size: 14px; }
  .footer-mid, .footer-right { line-height: 1.6; flex-basis: 100%; }
  .footer-mid { margin-top: 6px; }
  .footer-right { text-align: center; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 44px; }
  .hero-page .hero-title { font-size: 38px; }
  .hero-actions .btn-primary { padding: 13px 20px; }
  .contact-cta .btn-primary, .contact-cta .btn-outline { flex: 1 1 100%; }
}

/* ---------- Page mentions légales ---------- */
.legal { max-width: 820px; padding: 140px 48px 80px; }
.legal .section-title { margin-bottom: 8px; }
.legal-date { font-size: 12px; letter-spacing: 1px; color: var(--grey); margin-bottom: 48px; }
.legal h2 { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 900; margin: 48px 0 14px; padding-top: 32px; border-top: 0.5px solid var(--border); }
.legal p, .legal li { font-size: 15px; color: var(--light); line-height: 1.9; font-weight: 300; }
.legal p { margin-bottom: 14px; }
.legal strong { color: var(--white); font-weight: 500; }
.legal a { color: var(--white); text-underline-offset: 3px; }
.legal ul { list-style: none; margin: 4px 0 18px; }
.legal li { padding: 10px 0; border-bottom: 0.5px solid var(--border); }
.legal li span { display: block; font-size: 11px; letter-spacing: 2px; color: var(--grey); text-transform: uppercase; margin-bottom: 2px; }
.legal .todo { color: #ffd166; font-style: normal; }
.footer-right a { color: var(--grey); text-decoration: underline; text-underline-offset: 3px; }
.footer-right a:hover { color: var(--white); }
@media (max-width: 900px) { .legal { padding: 100px 20px 56px; } .legal h2 { font-size: 24px; margin-top: 32px; padding-top: 24px; } }

/* ===== Voile vert numérique léger au survol des cases (ordi uniquement) ===== */
@media (hover: hover) and (min-width: 901px) {
  .door, .strip { position: relative; overflow: hidden; isolation: isolate; }
  .door::before, .strip::before {
    content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 55%;
    z-index: -1; pointer-events: none; opacity: 0; transform: translateX(-110%);
    background:
      repeating-linear-gradient(0deg, rgba(46,230,176,.20) 0 1px, transparent 1px 4px),
      linear-gradient(100deg, transparent 0%, rgba(46,230,176,.10) 55%, rgba(46,230,176,.16) 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 70%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 70%, transparent 100%);
  }
  .door::after, .strip::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
    background: linear-gradient(180deg, rgba(46,230,176,.045), rgba(46,230,176,0) 70%);
    box-shadow: inset 0 -1px 0 rgba(46,230,176,.30);
    transition: opacity .4s;
  }
  .door:hover::before, .strip:hover::before { animation: veilPass 1.3s ease-out; }
  .door:hover::after, .strip:hover::after { opacity: 1; }
  @keyframes veilPass {
    0%   { opacity: 0; transform: translateX(-110%); }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { opacity: 0; transform: translateX(190%); }
  }
}

/* ===== Lisibilité : gris des textes descriptifs un peu plus clair ===== */
.door-desc, .strip-text, .card-desc, .step-desc, .about-item-text, .section-sub, .hero-sub { color: #a9a8a2; }
.zone-note, .form-note { color: #9a9993; }
/* Mot en vert dans les titres des autres pages */
.hero-title span.accent, .section-title .accent { color: #2ee6b0; }

.strip-title .accent { color: #2ee6b0; }

/* ===== Logo en fond, à gauche de la section À propos (grands écrans) ===== */
@media (min-width: 1200px) {
  #about { position: relative; overflow: hidden; }
  #about::before, #about::after {
    content: ''; position: absolute; pointer-events: none;
    left: 0; top: 0; bottom: 0; width: calc(100% - 808px); /* toute la zone vide à gauche */
    background-position: center; background-repeat: no-repeat;
    background-size: min(440px, 78%) auto; /* logo centré dans cette zone */
  }
  #about::before { background-image: url('logo-s-corps.svg'); opacity: 0.14; }   /* le S en gris très discret */
  #about::after  { background-image: url('logo-s-circuit.svg'); opacity: 0.30; } /* les 3 barres + boules en vert, faible opacité */
  #about .about-inner { position: relative; z-index: 1; }
}

/* ===== Mobile condensé : moins d'espace, moins de bruit visuel ===== */
@media (max-width: 900px) {
  /* Rythme général */
  section { padding: 34px 20px; }
  .section-title { font-size: 28px; margin-bottom: 8px; }
  .section-sub { font-size: 14px; line-height: 1.55; }
  .hero, .hero.hero-page { padding-top: 80px; }
  .hero.hero-page { padding-bottom: 26px; }
  .hero-title { margin-bottom: 12px; }
  .hero-sub { font-size: 14px; margin-bottom: 18px; }

  /* Accueil : cases métiers et bandeaux plus compacts */
  .door { padding: 26px 20px 6px; }
  .door-title { font-size: 32px; margin-bottom: 8px; }
  .door-desc { font-size: 14px; line-height: 1.5; }
  .door-list { margin: 12px 0 8px; gap: 6px 12px; }
  .door-list li { font-size: 11px; }
  .door-link { min-height: 40px; font-size: 11px; }
  .strip { padding: 18px 20px 6px; gap: 4px; }
  .strip-title { font-size: 21px; }
  .strip-text { font-size: 13px; line-height: 1.5; }
  .strip-link { min-height: 40px; font-size: 11px; }

  /* À propos : on retire les petits numéros, liste plus serrée */
  .about-inner, .contact-inner { gap: 20px; }
  .about-item-num { display: none; }
  .about-list { margin-top: 14px; gap: 6px; }
  .about-item { padding-bottom: 8px; }
  .about-item-text { font-size: 14px; line-height: 1.5; }

  /* Cartes, étapes, zones */
  .cards, .photos, .steps { margin-top: 18px; }
  .card { padding: 18px 18px; }
  .card-desc { font-size: 13.5px; line-height: 1.5; }
  .steps { gap: 16px 14px; }
  .step-desc { font-size: 13.5px; line-height: 1.45; }
  .zone-inner { margin-top: 14px; gap: 12px; }

  /* Contact : lignes plus serrées, formulaire resserré */
  .contact-inner { margin-top: 16px; }
  .contact-info { gap: 8px; }
  .contact-row { padding-bottom: 8px; }
  .contact-cta { margin-top: 12px; }
  .contact-form { gap: 10px; }
  .form-note { font-size: 11px; }

  /* Pied de page plus discret */
  footer { padding: 16px 16px 14px; }
  .footer-mid, .footer-right { font-size: 11px; line-height: 1.5; }
  .footer-data { height: 24px; margin-top: 10px; margin-bottom: -14px; }
}

/* ===== Mobile allégé : on garde l'essentiel à l'écran (ordi inchangé) ===== */
@media (max-width: 900px) {
  /* Textes d'introduction secondaires masqués, sauf là où ils portent le message */
  .hero-sub { display: none; }
  .section-sub { display: none; }
  #about .section-sub, #pourquoi .section-sub, #inclus .section-sub { display: block; }

  /* Accueil : cases métiers = titre + liste + lien ; bandeaux = titre + lien */
  .door-desc { display: none; }
  .strip-text { display: none; }
  #about .about-list { display: none; }

  /* Pages Construction / Digital / Cashless */
  .card-tags { display: none; }
  .step-desc { display: none; }
  .steps { gap: 14px 14px; }

  /* Contact : téléphone et email d'abord, le reste caché */
  .contact-row.m-hide { display: none; }
  .form-note { display: none; }

  /* Pied de page : l'essentiel */
  .footer-mid { display: none; }
}

/* ===== Pages intérieures : un peu d'air entre la barre de navigation et le titre ===== */
.hero.hero-page { padding-top: 140px; }
@media (max-width: 900px) { .hero.hero-page { padding-top: 100px; } }

/* ===== Pages Construction, Digital et Cashless : image de fond dédiée, visible en entier =====
   Le fondu du bord gauche est cuit dans les images (avec un grain léger) : pas de bandes verticales. */
.hero--construction { --hero-img: url('hero-construction.jpg?v=2'); --hero-ratio: 1672 / 941; }
.hero--digital { --hero-img: url('hero-digital.jpg?v=2'); --hero-ratio: 1671 / 941; }
.hero--cashless { --hero-img: url('hero-cashless.jpg?v=2'); --hero-ratio: 1717 / 916; }
.hero--construction, .hero--digital, .hero--cashless { background: #0a0a0a; }
.hero--construction::before, .hero--digital::before, .hero--cashless::before { display: block; content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: auto; width: auto; max-width: 100%; height: 100%; aspect-ratio: var(--hero-ratio); background: var(--hero-img) right top / contain no-repeat; pointer-events: none; }
.hero--cashless::before { width: 100%; height: auto; max-height: 100%; bottom: auto; }
.hero--construction::after, .hero--digital::after, .hero--cashless::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(90px, 18%, 160px); background: linear-gradient(180deg, rgba(17,17,17,0), var(--dark)); pointer-events: none; }
.hero--construction + section.alt, .hero--digital + section.alt, .hero--cashless + section.alt { border-top-color: transparent; }
.hero--construction > *, .hero--digital > *, .hero--cashless > * { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .hero--construction::before, .hero--digital::before { width: 100%; height: auto; max-height: 100%; bottom: auto; }
  .hero--construction::before, .hero--digital::before, .hero--cashless::before { opacity: 0.7; }
  .hero--construction::before, .hero--digital::before { -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 80%, transparent 100%); }
}

/* ===== Accueil : même traitement (image visible en entier, fondu cuit dans l'image) ===== */
.hero--home { background: #0a0a0a; }
.hero--home::before { display: block; content: ''; position: absolute; top: 0; right: 0; left: auto; bottom: auto; width: 100%; max-width: 100%; height: auto; max-height: 100%; aspect-ratio: 1920 / 1024; background: url('hero-home.jpg?v=2') right top / contain no-repeat; pointer-events: none; }
.hero--home::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(90px, 18%, 160px); background: linear-gradient(180deg, rgba(10,10,10,0), var(--black)); pointer-events: none; }
.hero--home + section.doors { border-top: 0; }
.hero--home > * { position: relative; z-index: 1; }
@media (max-width: 900px) { .hero--home { padding-bottom: 40px; } .hero--home::before { opacity: 0.7; } }

/* Menu : on garde la barre verte sous le lien, sans les 0 et 1 qui défilent */
.link-data-track { display: none; }

/* Sections grises : plus de traits (le changement de gris suffit), ni ligne verticale ni traits dans la liste */
.alt { border-top: 0; border-bottom: 0; }
.about-right { border-left: 0; padding-left: 0; }
.about-item { border-bottom: 0; }

/* Pied de page : on retire la bande de 0 et de 1 tout en bas, pour un rendu plus sobre */
.footer-data { display: none !important; }

/* Accueil, section contact : image du téléphone en fond, très discrète (fondu et opacité cuits dans l'image) */
.section--phone { position: relative; overflow: hidden; }
.section--phone::before { content: ''; position: absolute; top: 0; right: 0; width: 100%; height: auto; max-height: 100%; aspect-ratio: 1671 / 941; background: url('hero-contact.jpg?v=2') right top / contain no-repeat; pointer-events: none; }
.section--phone > * { position: relative; z-index: 1; }
.section--phone .contact-cta a.btn-outline { background: rgba(10,10,10,0.6); }

/* Plus de numéros (01, 02...) devant les phrases des listes */
.about-item-num { display: none; }

/* Survol des 4 cases (Construction, Digital, Cashless, MATIX) : effet A.
   Fond à peine éclairci, un trait vert très fin qui se dessine sous le titre, la flèche qui avance. */
@media (hover: hover) and (min-width: 901px) {
  .door::before, .strip::before, .door::after, .strip::after { display: none; }
  .door, .strip { transition: background 0.45s ease; }
  .door:hover, .strip:hover { background: #101614; }
  .door-title, .strip-title { width: fit-content; padding-bottom: 8px; background: linear-gradient(#2ee6b0, #2ee6b0) no-repeat left bottom / 0 1px; transition: background-size 0.6s ease; }
  /* Grandes cases : trait vert fixe sous le titre, qui apparaît en fondu au survol */
  .door-title { margin-bottom: 8px; padding-bottom: 7px; background: none; border-bottom: 1px solid transparent; transition: border-color 0.45s ease; }
  .door:hover .door-title { border-bottom-color: #2ee6b0; }
  .strip-title { margin-bottom: -8px; }
  .door:hover .door-title, .strip:hover .strip-title { background-size: 100% 1px; }
  .door-link span { display: inline-block; transition: transform .4s ease; }
  .door:hover .door-link span { transform: translateX(6px); }
}

/* Formulaires : état d'envoi + champ anti-spam */
.form-status { font-size: 13px; line-height: 1.6; margin: 0; min-height: 0; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #8fd19e; }
.form-status.is-error { color: #ff9b8f; }
.form-submit:disabled { opacity: 0.6; cursor: wait; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
