/* Vitrine publique — Espace Immo. Aucune ressource externe (polices système, aucun traceur). */
:root {
  --ink: #0b1220;
  --ink-2: #111a2e;
  --text: #1f2937;
  --muted: #64748b;
  --line: #e5e7eb;
  --paper: #ffffff;
  --sand: #f6f3ee;
  --brand: #0f4c81;
  --accent: #e8a33d;
  --accent-ink: #1a1306;
  --radius: 18px;
  --shadow: 0 30px 60px -30px rgba(11, 18, 32, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--paper); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; padding: 0.72em 1.25em; border-radius: 999px; border: 1.5px solid transparent; font: 600 0.95rem/1.2 var(--font); cursor: pointer; transition: transform 0.35s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.35s var(--ease); white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 0.95em 1.6em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 12px 30px -12px rgba(232, 163, 61, 0.7); }
.btn-primary:hover { background: #f0b357; box-shadow: 0 18px 36px -14px rgba(232, 163, 61, 0.85); }
.btn-light { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.45); backdrop-filter: blur(6px); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-ghost { color: inherit; border-color: currentColor; background: transparent; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--brand); }
/* Les trois actions de la vitrine : même taille, couleur et icône propres. */
.btn-login, .btn-quote, .btn-space { min-width: 0; }
.btn-login { background: #fff; color: var(--ink); border-color: #fff; }
.btn-login:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.topbar.is-solid .btn-login, .access-card .btn-login, .menu-open .btn-login { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-quote { background: var(--accent); color: var(--accent-ink); box-shadow: 0 12px 30px -12px rgba(232, 163, 61, 0.7); }
.btn-quote:hover { background: #f0b357; }
.btn-space { background: var(--brand); color: #fff; box-shadow: 0 12px 30px -12px rgba(15, 76, 129, 0.75); }
.btn-space:hover { background: #135c9b; }
.hero-actions .btn { flex: 1 1 0; }
.hero-actions { max-width: 860px; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* Barre du haut */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background-color 0.4s, box-shadow 0.4s, color 0.4s, padding 0.4s; padding: 14px 0; }
.topbar.is-solid { background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.6) blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); padding: 8px 0; }
.is-preview .topbar { top: 36px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 750; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand-logo { height: 40px; width: auto; max-width: 180px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px 8px; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--accent), #c97d1a); color: var(--accent-ink); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 22px; font-weight: 550; font-size: 0.95rem; }
.nav > a { position: relative; opacity: 0.9; }
.nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.nav > a:hover::after { transform: scaleX(1); }
.nav-actions { display: inline-flex; gap: 10px; margin-left: 8px; }
.nav-actions .btn { padding: 0.6em 1em; font-size: 0.86rem; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.2s; }
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Accueil */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: radial-gradient(120% 80% at 70% 20%, #1e3a5f 0%, var(--ink) 60%); isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-img { animation: kenburns 24s var(--ease) both; }
.hero-video { opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-playing { opacity: 1; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 18, 32, 0.55) 0%, rgba(11, 18, 32, 0.15) 35%, rgba(11, 18, 32, 0.55) 70%, rgba(11, 18, 32, 0.92) 100%), linear-gradient(90deg, rgba(11, 18, 32, 0.6) 0%, rgba(11, 18, 32, 0) 65%); }
.hero-content { padding: 140px 0 clamp(120px, 16vh, 170px); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 7.2vw, 6.2rem); font-weight: 760; max-width: 13ch; letter-spacing: -0.035em; text-wrap: balance; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.78rem; font-weight: 650; color: var(--accent); margin-bottom: 1.4em; }
.eyebrow::before { content: ""; width: 42px; height: 2px; background: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 56ch; color: rgba(255, 255, 255, 0.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2em; }
.scroll-hint { position: absolute; left: 50%; bottom: 96px; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.6); border-radius: 14px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollhint 2s infinite; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes scrollhint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Chiffres clés */
.band-stats { position: relative; z-index: 2; margin-top: -64px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 30px 32px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--display); font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 760; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; }
.stat strong::after { content: ""; display: block; width: 28px; height: 3px; margin-top: 10px; background: var(--accent); border-radius: 2px; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 0.95rem; }

/* Sections */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.kicker { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.78rem; font-weight: 700; color: var(--brand); margin-bottom: 1em; }
.placeholder { width: 100%; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #1e3a5f, var(--ink)); }
.note { margin-top: 28px; font-size: 0.85rem; color: var(--muted); }

/* À propos */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-media { position: relative; }
.about-media img, .about-media .placeholder { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.about-frame { position: absolute; inset: 28px -28px -28px 28px; border: 2px solid var(--accent); border-radius: var(--radius); z-index: -1; }
.about-text p { color: #374151; font-size: 1.08rem; }
.about-actions { margin-top: 1.6em; }

/* Expertises */
.services { background: var(--sand); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 28px; }
.service { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.service:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-media { overflow: hidden; aspect-ratio: 16 / 11; }
.service-media img, .service-media .placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service:hover .service-media img { transform: scale(1.07); }
.service-body { position: relative; padding: 34px 30px 30px; }
.service-icon { position: absolute; top: -28px; left: 30px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: var(--accent); box-shadow: 0 12px 24px -10px rgba(11, 18, 32, 0.6); }
.service-icon svg { width: 26px; height: 26px; }
.service p { color: var(--muted); margin: 0; }

/* Réalisations */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink); min-height: 340px; color: #fff; }
.project-wide { grid-column: span 2; grid-row: span 2; min-height: 560px; }
.project-open { all: unset; position: absolute; inset: 0; cursor: zoom-in; }
.project-open:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.project img, .project .placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.project:hover img { transform: scale(1.06); }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 18, 32, 0) 40%, rgba(11, 18, 32, 0.88) 100%); pointer-events: none; }
.project figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; z-index: 1; pointer-events: none; }
.project h3 { color: #fff; margin-bottom: 0.25em; }
.project .meta { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 650; }
.project p { margin: 0.6em 0 0; color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; max-width: 52ch; }
.tag { position: absolute; top: 16px; right: 16px; z-index: 1; background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }

/* Méthode */
.method { background: var(--ink); color: rgba(255, 255, 255, 0.8); }
.method h2, .method h3 { color: #fff; }
.method .kicker { color: var(--accent); }
.method .section-head p { color: rgba(255, 255, 255, 0.65); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2px; background: rgba(255, 255, 255, 0.08); border-radius: var(--radius); overflow: hidden; }
.step { background: var(--ink-2); padding: 36px 28px; transition: background-color 0.4s; }
.step:hover { background: #17233d; }
.step-n { display: block; font-family: var(--display); font-size: 2.6rem; font-weight: 760; color: transparent; -webkit-text-stroke: 1.5px var(--accent); line-height: 1; margin-bottom: 22px; }
.step p { margin: 0; font-size: 0.95rem; color: rgba(255, 255, 255, 0.65); }

/* Bandeau d'appel */
.cta { position: relative; overflow: hidden; color: #fff; padding: clamp(100px, 14vw, 180px) 0; background: linear-gradient(120deg, var(--brand), var(--ink)); isolation: isolate; }
.cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 18, 32, 0.9), rgba(11, 18, 32, 0.45)); }
.cta h2 { color: #fff; max-width: 18ch; }
.cta p { font-size: 1.2rem; max-width: 52ch; color: rgba(255, 255, 255, 0.85); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; font-size: 1.1rem; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list svg { width: 22px; height: 22px; color: var(--brand); }
.contact-list a:hover { color: var(--brand); }
.access-card { background: var(--sand); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.access-card p { color: #4b5563; }
/* Trois boutons de même largeur, l’un sous l’autre (côte à côte, le troisième débordait de la carte). */
.access-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 1.4em; max-width: 420px; }
.access-actions .btn { flex: none; width: 100%; }

/* Pied de page */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.7); padding: 64px 0 28px; font-size: 0.95rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.brand-footer { color: #fff; margin-bottom: 12px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer nav a:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); }

/* Fenêtre « Demander un accès » */
.modal { width: min(640px, 100% - 24px); max-height: calc(100svh - 24px); border: 0; border-radius: 22px; padding: 0; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5); color: var(--text); }
.modal::backdrop, .lightbox::backdrop { background: rgba(11, 18, 32, 0.72); backdrop-filter: blur(4px); }
.modal[open] { animation: pop 0.45s var(--ease); }
.modal-form, .modal-done { position: relative; padding: clamp(24px, 4vw, 40px); }
.modal-form h2, .modal-done h2 { font-size: 1.8rem; }
.modal-close { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--sand); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink); }
.modal-close:hover { background: var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin: 20px 0; }
.form-grid label { display: grid; gap: 6px; font-size: 0.85rem; font-weight: 600; color: #374151; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea, .form-grid select { font: inherit; font-size: 1rem; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); transition: border-color 0.2s, box-shadow 0.2s; width: 100%; }
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.12); }
.form-grid [aria-invalid="true"] { border-color: #dc2626; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fef2f2; color: #b91c1c; padding: 10px 14px; border-radius: 10px; font-size: 0.92rem; }
.muted { color: var(--muted); }
.small { font-size: 0.8rem; margin: 12px 0 0; text-align: center; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }

/* Agrandissement des réalisations */
.lightbox { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; display: none; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(94vw, 2400px); max-height: 84svh; object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.lightbox .modal-close { position: fixed; top: 18px; right: 18px; background: rgba(255, 255, 255, 0.9); }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.9); font-size: 2rem; line-height: 1; cursor: pointer; color: var(--ink); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-caption { position: fixed; bottom: 18px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 600; margin: 0; }

/* Aperçu du brouillon */
.preview-banner { position: fixed; inset: 0 0 auto; z-index: 60; height: 36px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 0.9rem; }

/* Apparition au défilement */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Tablettes et téléphones */
@media (max-width: 1280px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 0 0 auto; top: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 88px 24px 28px; background: #fff; color: var(--ink); transform: translateY(-105%); transition: transform 0.5s var(--ease); box-shadow: var(--shadow); z-index: -1; }
  .is-preview .nav { padding-top: 124px; }
  .nav > a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav > a::after { display: none; }
  .nav-actions { margin: 20px 0 0; flex-direction: column; }
  .nav-actions .btn { padding: 0.9em; font-size: 1rem; }
  .menu-open .nav { transform: none; }
  .menu-open .topbar { color: var(--ink); }
}
@media (max-width: 980px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; }
  .about-frame { inset: 18px -14px -18px 14px; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .project-wide { grid-column: 1 / -1; grid-row: auto; min-height: 420px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-content { padding-bottom: 130px; }
  .hero-actions .btn { width: 100%; }
  .scroll-hint { display: none; }
  .step { padding: 26px 24px; }
  .step-n { font-size: 2rem; margin-bottom: 14px; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 24px; }
  .stat:last-child { border-bottom: 0; }
  .projects-grid { grid-template-columns: 1fr; }
  .project, .project-wide { min-height: 320px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .access-actions .btn { flex-basis: 100%; }
  .lb-nav { width: 42px; height: 42px; }
  .footer-legal { flex-direction: column; }
}

/* Mouvement réduit : pas d'animation ni de vidéo */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Vitrines de la plateforme (étape D) : styles propres à chaque entreprise.
   « themed » + une mise en page (l-…) + un jeu de polices (f-…) ; couleurs dans le bloc <style> de la page.
   Sans ces classes (vitrine d'Espace Immo), rien ne change.
   ========================================================================== */
.themed .hero { background: var(--ink); }
.themed .placeholder { background: linear-gradient(135deg, var(--brand), var(--ink)); }
.themed .brand-mark { background: var(--accent); color: var(--accent-ink); }
.themed .btn-quote, .themed .btn-primary { box-shadow: 0 12px 30px -14px var(--accent); }
.themed .btn-quote:hover, .themed .btn-primary:hover { background: var(--accent); filter: brightness(1.08); }
.themed .btn-space { box-shadow: 0 12px 30px -14px var(--brand); }
.themed .btn-space:hover { background: var(--brand); filter: brightness(1.15); }
.themed .step:hover { background: var(--ink-2); filter: brightness(1.15); }

/* Polices (système uniquement : rien n'est téléchargé) */
.f-classique { --display: Georgia, "Times New Roman", "Noto Serif", serif; }
.f-classique h1, .f-classique h2 { font-weight: 700; letter-spacing: -0.01em; }
.f-elegant { --display: "Palatino Linotype", Palatino, "Book Antiqua", "Noto Serif", Georgia, serif; }
.f-elegant h1, .f-elegant h2 { font-weight: 500; letter-spacing: 0; }
.f-elegant .kicker, .f-elegant .eyebrow { letter-spacing: 0.32em; }
.f-technique { --display: "Trebuchet MS", "Segoe UI", system-ui, sans-serif; --font: "Trebuchet MS", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; }
.f-technique h1, .f-technique h2 { letter-spacing: -0.015em; }
.f-affirme { --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Franklin Gothic Medium", "Arial Black", sans-serif; }
.f-affirme h1, .f-affirme h2 { text-transform: uppercase; font-weight: 400; letter-spacing: 0.01em; line-height: 1; }
.f-affirme .stat strong, .f-affirme .step-n { font-weight: 400; }
.f-editorial { --display: Cambria, "Hoefler Text", Georgia, "Noto Serif", serif; --font: Calibri, Candara, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; }
.f-editorial h1 { font-weight: 600; letter-spacing: -0.02em; }
.f-editorial h2 { font-weight: 600; font-style: italic; letter-spacing: -0.01em; }
.f-affirme .modal h2, .f-elegant .modal h2 { text-transform: none; }

/* Mise en page « divisé » : texte sur fond clair à gauche, image à droite */
.l-divise .hero { align-items: center; min-height: 92svh; background: var(--sand); color: var(--ink); }
.l-divise .hero-media { left: 50%; }
.l-divise .hero-img { animation: none; }
.l-divise .hero-shade { background: linear-gradient(90deg, var(--sand) 0%, rgba(0, 0, 0, 0) 16%); }
.l-divise .hero-content { padding: 130px 0 90px; }
.l-divise .hero-content > * { max-width: 46%; }
.l-divise .hero h1 { color: var(--ink); font-size: clamp(2.4rem, 5vw, 4.6rem); }
.l-divise .lead { color: var(--text); }
.l-divise .hero-actions { flex-direction: column; max-width: 420px; }
.l-divise .hero .btn-login, .l-divise .topbar:not(.is-solid) .btn-login { background: var(--ink); color: #fff; border-color: var(--ink); }
.l-divise .topbar:not(.is-solid) { color: var(--ink); }
.l-divise .scroll-hint { display: none; }
.l-divise .band-stats { margin-top: 0; padding-top: 56px; }
.l-divise .stats { box-shadow: none; border: 1px solid var(--line); }
.l-divise .services-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (max-width: 980px) {
  .l-divise .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .l-divise .hero-media { position: relative; left: 0; height: 46svh; order: 2; }
  .l-divise .hero-shade { display: none; }
  .l-divise .hero-content { padding: 110px 0 40px; }
  .l-divise .hero-content > * { max-width: none; }
  .l-divise .hero-actions { max-width: none; }
}

/* Mise en page « magazine » : accueil centré, expertises en grands articles alternés */
.l-magazine .hero { align-items: center; justify-content: center; text-align: center; }
.l-magazine .hero-content { display: flex; flex-direction: column; align-items: center; padding: 160px 0 150px; }
.l-magazine .hero h1 { max-width: 18ch; font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
.l-magazine .hero-shade { background: radial-gradient(80% 70% at 50% 50%, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35)); }
.l-magazine .eyebrow::before { display: none; }
.l-magazine .hero-actions { justify-content: center; }
.l-magazine .scroll-hint { display: none; }
.l-magazine .band-stats { margin-top: 0; background: var(--ink); }
.l-magazine .stats { background: transparent; box-shadow: none; border-radius: 0; }
.l-magazine .stat { border-color: rgba(255, 255, 255, 0.12); text-align: center; }
.l-magazine .stat strong { color: #fff; }
.l-magazine .stat strong::after { margin-inline: auto; }
.l-magazine .stat span { color: rgba(255, 255, 255, 0.7); }
.l-magazine .section-head { text-align: center; margin-inline: auto; }
.l-magazine .services { background: var(--paper); }
.l-magazine .services-grid { grid-template-columns: 1fr; gap: 64px; }
.l-magazine .service { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; background: transparent; box-shadow: none; overflow: visible; }
.l-magazine .service:hover { transform: none; box-shadow: none; }
.l-magazine .service:nth-child(even) .service-media { order: 2; }
.l-magazine .service-media { border-radius: var(--radius); aspect-ratio: 16 / 10; }
.l-magazine .service-body { padding: 0 clamp(20px, 4vw, 56px); }
.l-magazine .service-body h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.l-magazine .service-icon { position: static; margin-bottom: 18px; }
.l-magazine .about-frame { display: none; }
.l-magazine .projects-grid { grid-template-columns: repeat(2, 1fr); }
.l-magazine .project-wide { grid-column: 1 / -1; grid-row: auto; min-height: 520px; }
@media (max-width: 980px) {
  .l-magazine .service { grid-template-columns: 1fr; }
  .l-magazine .service:nth-child(even) .service-media { order: 0; }
  .l-magazine .service-body { padding: 24px 0 0; }
}
@media (max-width: 640px) { .l-magazine .projects-grid { grid-template-columns: 1fr; } }

/* Mise en page « mosaïque » : carte de verre sur l'image, expertises et réalisations en mosaïque */
.l-mosaique .hero { align-items: center; }
.l-mosaique .hero-content { width: min(860px, 100% - 32px); margin: 130px auto 120px; padding: clamp(28px, 4vw, 56px); background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius); }
.l-mosaique .hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); max-width: 16ch; }
.l-mosaique .hero-shade { background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.6)); }
.l-mosaique .scroll-hint { display: none; }
.l-mosaique .services { background: var(--ink); }
.l-mosaique .services h2 { color: #fff; }
.l-mosaique .services .kicker { color: var(--accent); }
.l-mosaique .services-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.l-mosaique .service { position: relative; min-height: 380px; background: var(--ink-2); }
.l-mosaique .service-media { position: absolute; inset: 0; aspect-ratio: auto; }
.l-mosaique .service-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.85)); }
.l-mosaique .service-body { position: absolute; left: 0; right: 0; bottom: 0; }
.l-mosaique .service h3 { color: #fff; }
.l-mosaique .service p { color: rgba(255, 255, 255, 0.82); }
.l-mosaique .service-icon { position: static; margin-bottom: 14px; background: var(--accent); color: var(--accent-ink); }
.l-mosaique .projects-grid { grid-template-columns: 2fr 1fr; gap: 12px; }
.l-mosaique .project { min-height: 300px; border-radius: 10px; }
.l-mosaique .project-wide { grid-column: span 1; grid-row: span 2; min-height: 612px; }
@media (max-width: 980px) {
  .l-mosaique .projects-grid { grid-template-columns: 1fr 1fr; }
  .l-mosaique .project-wide { grid-column: 1 / -1; grid-row: auto; min-height: 400px; }
}
@media (max-width: 640px) {
  .l-mosaique .services-grid, .l-mosaique .projects-grid { grid-template-columns: 1fr; }
}

/* Mise en page « épurée » : fond blanc, grand titre, image en bandeau, angles droits */
.l-epure { --radius: 4px; }
.l-epure .btn { border-radius: 4px; }
.l-epure .hero { flex-direction: column; align-items: stretch; min-height: 0; background: var(--paper); color: var(--ink); padding-top: 96px; }
.l-epure .hero-content { padding: 40px 0 48px; }
.l-epure .hero h1 { color: var(--ink); max-width: 20ch; font-size: clamp(2.4rem, 6vw, 5.2rem); }
.l-epure .lead { color: var(--muted); }
.l-epure .eyebrow { color: var(--brand); }
.l-epure .eyebrow::before { display: none; }
.l-epure .hero-media { position: relative; inset: auto; z-index: 0; order: 2; height: clamp(300px, 62vh, 720px); width: min(1240px, 100% - 32px); margin: 0 auto; border-radius: var(--radius); overflow: hidden; }
.l-epure .hero-img { animation: none; }
.l-epure .hero-shade, .l-epure .scroll-hint { display: none; }
.l-epure .hero .btn-login, .l-epure .topbar:not(.is-solid) .btn-login { background: var(--ink); color: #fff; border-color: var(--ink); }
.l-epure .topbar:not(.is-solid) { color: var(--ink); background: rgba(255, 255, 255, 0.94); }
.l-epure .band-stats { margin-top: 48px; }
.l-epure .stats { box-shadow: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; }
.l-epure .stat strong::after { display: none; }
.l-epure .services { background: var(--paper); }
.l-epure .service { box-shadow: none; border: 1px solid var(--line); }
.l-epure .service:hover { transform: none; box-shadow: none; }
.l-epure .service-icon { display: none; }
.l-epure .service-body { padding: 24px; }
.l-epure .method { background: var(--sand); color: var(--text); }
.l-epure .method h2, .l-epure .method h3 { color: var(--ink); }
.l-epure .method .kicker { color: var(--brand); }
.l-epure .method .section-head p, .l-epure .step p { color: var(--muted); }
.l-epure .steps { background: var(--line); gap: 1px; }
.l-epure .step, .l-epure .step:hover { background: var(--paper); filter: none; }
.l-epure .step-n { -webkit-text-stroke: 0; color: var(--brand); font-size: 1.4rem; }
.l-epure .about-frame { display: none; }
.l-epure .about-media img { box-shadow: none; }

/* Mise en page « audacieuse » : fond sombre, titres en capitales, accueil en biais */
.l-audacieux { background: var(--ink); color: rgba(255, 255, 255, 0.78); }
.l-audacieux .btn { border-radius: 6px; }
.l-audacieux h1, .l-audacieux h2, .l-audacieux h3 { color: #fff; text-transform: uppercase; letter-spacing: 0; }
.l-audacieux .hero { clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
.l-audacieux .hero h1 { font-size: clamp(2.6rem, 8vw, 7rem); max-width: 12ch; line-height: 0.98; }
.l-audacieux .band-stats { margin-top: 0; }
.l-audacieux .stats { background: var(--accent); box-shadow: none; border-radius: 0; }
.l-audacieux .stat { border-color: rgba(0, 0, 0, 0.12); }
.l-audacieux .stat strong { color: var(--accent-ink); }
.l-audacieux .stat strong::after { background: var(--accent-ink); }
.l-audacieux .stat span { color: var(--accent-ink); opacity: 0.8; }
.l-audacieux .kicker { color: var(--accent); }
.l-audacieux .about-text p, .l-audacieux .section-head p, .l-audacieux .access-card p { color: rgba(255, 255, 255, 0.72); }
.l-audacieux .services, .l-audacieux .method, .l-audacieux .access-card, .l-audacieux .footer { background: var(--ink-2); }
.l-audacieux .service { background: var(--ink); box-shadow: none; border: 1px solid rgba(255, 255, 255, 0.08); }
.l-audacieux .service p { color: rgba(255, 255, 255, 0.65); }
.l-audacieux .service-icon { background: var(--accent); color: var(--accent-ink); }
.l-audacieux .contact-list svg { color: var(--accent); }
.l-audacieux .contact-list a:hover { color: var(--accent); }
.l-audacieux .note { color: rgba(255, 255, 255, 0.55); }
.l-audacieux .topbar.is-solid { background: var(--ink); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08); }
.l-audacieux .topbar.is-solid .btn-login, .l-audacieux .access-card .btn-login { background: #fff; color: var(--ink); border-color: #fff; }
.l-audacieux .modal h2, .l-audacieux .modal h3 { color: var(--ink); text-transform: none; }
.l-audacieux .nav { color: inherit; }
@media (max-width: 1280px) { .l-audacieux .nav { color: var(--ink); } .l-audacieux .menu-open .btn-login { background: var(--ink); color: #fff; } }

/* Mise en page « encadrée » : blocs arrondis détachés du bord, cartes cernées */
.l-encadre .btn { border-radius: 14px; }
.l-encadre .hero, .l-encadre .cta { margin: 12px; border-radius: 28px; }
.l-encadre .hero { min-height: calc(100svh - 24px); }
.l-encadre .hero-shade { background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.7)); }
.l-encadre .band-stats { margin-top: -52px; }
.l-encadre .stats { border-radius: 24px; }
.l-encadre .services { background: var(--paper); }
.l-encadre .service { border: 2px solid var(--line); box-shadow: none; }
.l-encadre .service-media { margin: 10px; border-radius: calc(var(--radius) - 6px); }
.l-encadre .service-icon { border-radius: 50%; }
.l-encadre .projects { background: var(--sand); }
.l-encadre .project { border-radius: 28px; }
.l-encadre .method { margin: 0 12px; border-radius: 28px; }
.l-encadre .about-frame { border-style: dashed; }
@media (max-width: 640px) {
  .l-encadre .hero, .l-encadre .cta { margin: 6px; border-radius: 18px; }
  .l-encadre .method { margin: 0 6px; }
}
