/* =====================================================================
   Digital Balise — Site public
   Titres Marcellus, texte Nunito. Orange #EF560F, noir #0B0A0A,
   ivoire #FBF9F8, brun #433934. Thèmes clair et sombre.
   ===================================================================== */

@font-face {
  font-family: 'Marcellus';
  src: url('../fonts/marcellus-latin.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito-latin-var.woff2') format('woff2');
  font-weight: 400 800; font-style: normal; font-display: swap;
}

:root {
  --orange: #EF560F;
  --orange-deep: #D94A08;
  --orange-ink: #B83E07;          /* orange lisible en petit texte sur ivoire */
  --orange-soft: #FCE7DB;
  --orange-glow: rgba(239, 86, 15, .14);
  --noir: #0B0A0A;
  --ivoire: #FBF9F8;
  --brun: #433934;

  --bg: #FBF9F8;
  --bg-alt: #F5EEE9;
  --surface: #FFFFFF;
  --fg: #0B0A0A;
  --fg-soft: #2E2724;
  --muted: #6B605A;
  --line: #ECE3DD;
  --line-strong: #DDD1C9;
  --arch: linear-gradient(180deg, #F8E4D6 0%, #FBEDE3 70%, #FBF3EE 100%);
  --disc: linear-gradient(160deg, #F58A55 0%, #EF560F 70%);
  --shadow-sm: 0 1px 2px rgba(67, 57, 52, .06), 0 2px 8px rgba(67, 57, 52, .04);
  --shadow: 0 12px 32px -8px rgba(67, 57, 52, .16);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Marcellus', Georgia, serif;
  --header-h: 96px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --orange-ink: #FF8A55;
  --orange-soft: rgba(239, 86, 15, .16);
  --orange-glow: rgba(239, 86, 15, .22);
  --bg: #0B0A0A;
  --bg-alt: #141110;
  --surface: #191514;
  --fg: #FBF9F8;
  --fg-soft: #E8E0DB;
  --muted: #B8ABA4;
  --line: #2B2421;
  --line-strong: #3A312D;
  --arch: linear-gradient(180deg, #3A2A22 0%, #2A1E19 60%, #1A1412 100%);
  --disc: linear-gradient(160deg, #F07A3F 0%, #C9460B 80%);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 16px 40px -10px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font);
  font-size: 1.0625rem; line-height: 1.65; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h3, h4 { font-weight: 800; line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--line-strong) var(--bg); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.container { width: min(100% - 32px, 1240px); margin-inline: auto; }
.icon { width: 22px; height: 22px; flex: none; }
.icon-sm { width: 17px; height: 17px; flex: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 800; font-size: 1rem; line-height: 1.2; letter-spacing: .005em;
  padding: .85rem 1.45rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.btn .icon-sm { transition: transform .25s var(--ease); }
.btn:hover .icon-sm { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 1.02rem 1.85rem; font-size: 1.0625rem; }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px -8px rgba(239, 86, 15, .6); }
.btn-primary, .btn-primary.btn-lg, .btn-primary.btn-sm { font-size: 1.1875rem; font-weight: 800; }
.btn-primary:hover { background: var(--orange-deep); box-shadow: 0 12px 26px -10px rgba(239, 86, 15, .7); }
.btn-outline { border-color: var(--fg); color: var(--fg); background: transparent; }
.btn-outline:hover { border-color: var(--orange); color: var(--orange-ink); }
.btn-light { background: #fff; color: var(--noir); }
.btn-whatsapp { background: #25d366; color: #0b3d1f; }
.btn-whatsapp:hover { background: #1fbf5b; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--orange-ink); }
.text-link .icon-sm { transition: transform .25s var(--ease); }
.text-link:hover .icon-sm { transform: translateX(4px); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { border-color: var(--orange); color: var(--orange-ink); }
.icon-btn .icon { width: 20px; height: 20px; }

/* ---------- En-tête : pilule flottante ---------- */
.site-header { position: sticky; top: 0; z-index: 100; padding: 14px 0 0; pointer-events: none; }
.header-bar {
  pointer-events: auto; height: 72px; display: flex; align-items: center; gap: 20px;
  padding: 0 14px 0 26px; border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.logo-on-dark { display: none !important; }
:root[data-theme="dark"] .logo-on-light { display: none !important; }
:root[data-theme="dark"] .logo-on-dark { display: block !important; }

.main-nav { margin-inline: auto; }
.main-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.main-nav a {
  position: relative; display: block; padding: 10px 14px; font-weight: 700; font-size: .98rem; color: var(--fg-soft);
  transition: color .2s var(--ease);
}
.main-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav a:hover { color: var(--fg); }
.main-nav a:hover::after { transform: scaleX(.5); }
.main-nav a.active { color: var(--fg); }
.main-nav a.active::after { transform: scaleX(1); }
.main-nav .nav-mobile-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { padding: .78rem 1.35rem; }
.nav-toggle { display: none; }
.nav-icon-close, .theme-icon-sun { display: none; }
:root[data-theme="dark"] .theme-icon-moon { display: none; }
:root[data-theme="dark"] .theme-icon-sun { display: block; }

@media (max-width: 1080px) {
  .header-cta { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 84px; }
  .header-bar { height: 64px; padding: 0 10px 0 18px; border-radius: 18px; }
  .brand img { height: 40px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: 92px 16px auto 16px; margin: 0; padding: 14px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: block; animation: drop .35s var(--ease); }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 13px 14px; border-radius: 12px; font-size: 1.05rem; }
  .main-nav a::after { left: 14px; right: auto; width: 22px; bottom: 6px; }
  .main-nav a.active { background: var(--orange-soft); }
  .main-nav .nav-mobile-cta { display: flex; margin-top: 10px; }
  .header-actions { margin-left: auto; }
  body.nav-open .nav-icon-open { display: none; }
  body.nav-open .nav-icon-close { display: block; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-first { padding-top: 48px; }
.section-flush { padding-top: 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.section-head-row > div { max-width: 720px; }
.section-title {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1.12; letter-spacing: -.01em; color: var(--fg); margin-bottom: 12px;
}
.section-title::before {
  content: ""; display: block; width: 40px; height: 3px; border-radius: 3px; background: var(--orange); margin-bottom: 18px;
}
.section-head.center .section-title::before { margin-inline: auto; }
.section-desc { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 28px 0 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% 40% auto -20%; height: 120%;
  background: radial-gradient(closest-side, var(--orange-glow), transparent); opacity: .55; pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); gap: 24px; align-items: end; }
.hero-copy { padding: 56px 0 72px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 400; letter-spacing: -.015em;
  font-size: clamp(2.6rem, 4.7vw, 4.25rem); line-height: 1.04; margin-bottom: 26px; color: var(--fg);
}
.hero h1 { max-width: 9.4em; }
.hero h1 .accent { display: block; color: var(--orange); }
.hero-lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--fg-soft); max-width: 34em; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; align-self: stretch; min-height: 560px; }
.hero-arch {
  position: absolute; left: 12%; right: 6%; top: 3%; bottom: 0;
  border-radius: 999px 999px 0 0; background: var(--arch);
}
.hero-disc {
  position: absolute; left: -2%; bottom: 0; width: 50%; height: 50%;
  border-top-left-radius: 100% 100%; background: var(--disc);
}
.hero-visual img {
  position: absolute; right: 2%; bottom: 0; width: min(94%, 560px); height: auto;
  filter: drop-shadow(0 24px 30px rgba(67, 57, 52, .18));
}

/* Entrée orchestrée : le titre, puis la photo (rien d'autre ne s'anime à l'arrivée) */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 { animation: rise .9s var(--ease) both; }
  .hero-lead { animation: rise .9s .08s var(--ease) both; }
  .hero-actions { animation: rise .9s .16s var(--ease) both; }
  .hero-arch { animation: arch-in 1.1s .05s var(--ease) both; }
  .hero-visual img { animation: photo-in 1.1s .25s var(--ease) both; }
}
@keyframes rise { from { opacity: .001; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes arch-in { from { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); } to { clip-path: inset(0 0 0 0 round 999px 999px 0 0); } }
@keyframes photo-in { from { opacity: .001; transform: translateY(28px); filter: blur(6px) drop-shadow(0 24px 30px rgba(67,57,52,.18)); } to { opacity: 1; transform: none; } }

/* Chiffres clés */
.stats-band {
  list-style: none; margin: 0; padding: 26px 12px; position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
}
.stats-band li { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 6px 24px; }
.stats-band li + li { border-left: 1px solid var(--line-strong); }
.stat-icon { width: 40px; height: 40px; color: var(--orange); stroke-width: 1.6; }
.stats-band strong, .stats-stack strong { display: block; font-size: clamp(1.6rem, 2.6vw, 2.05rem); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats-band span, .stats-stack span { color: var(--muted); font-size: 1rem; }

/* ---------- Services : une ligne, séparée par des filets ---------- */
.service-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-item {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 8px 32px 10px; color: inherit;
}
.service-item:first-child { padding-left: 0; }
.service-item + .service-item { border-left: 1px solid var(--line-strong); }
.service-glyph { width: 44px; height: 44px; color: var(--orange); stroke-width: 1.6; margin-bottom: 10px; transition: transform .35s var(--ease); }
.service-item h2, .service-item h3 { font-family: var(--font); font-weight: 800; font-size: 1.2rem; margin: 0; letter-spacing: -.005em; }
.service-item p { color: var(--muted); margin: 0; font-size: 1rem; flex: 1; }
.service-arrow { margin-top: 14px; color: var(--fg); display: inline-flex; transition: transform .3s var(--ease), color .3s var(--ease); }
.service-item:hover .service-glyph { transform: translateY(-3px); }
.service-item:hover .service-arrow { transform: translateX(6px); color: var(--orange-ink); }
.service-item:hover h2, .service-item:hover h3 { color: var(--orange-ink); }
.service-row-page .service-item { padding-top: 22px; padding-bottom: 22px; }
.service-row-page .service-item h2 { font-size: 1.35rem; }
.service-row-compact .service-glyph { width: 34px; height: 34px; margin-bottom: 4px; }
.service-glyph-lg { width: 54px; height: 54px; margin-bottom: 18px; }

@media (max-width: 1000px) {
  .service-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .service-item:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
  .service-row { grid-template-columns: 1fr; row-gap: 0; }
  .service-item, .service-item:first-child { padding: 22px 0; border-left: 0; }
  .service-item + .service-item { border-left: 0; border-top: 1px solid var(--line-strong); }
  .service-item { display: grid; grid-template-columns: 52px 1fr auto; column-gap: 14px; row-gap: 4px; align-items: start; }
  .service-glyph { grid-row: span 2; margin: 2px 0 0; width: 38px; height: 38px; }
  .service-item p { grid-column: 2; }
  .service-arrow { grid-column: 3; grid-row: 1 / span 2; align-self: center; margin: 0; }
}

/* ---------- Réalisations (accueil) ---------- */
.work-panel {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 2.6fr); gap: 36px; align-items: center;
  padding: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.work-intro .section-desc { margin-bottom: 24px; }
.work-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.work-tile { display: flex; flex-direction: column; gap: 14px; color: inherit; }
.work-media {
  display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius) var(--radius) 10px 10px;
  background: var(--bg-alt); border: 1px solid var(--line);
}
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-media .project-cover { transition: transform .6s var(--ease); }
.work-tile:hover .work-media img, .work-tile:hover .work-media .project-cover { transform: scale(1.04); }
.work-meta { display: flex; align-items: center; gap: 12px; }
.work-meta strong { display: block; font-weight: 800; font-size: 1.05rem; line-height: 1.25; }
.work-meta small { display: block; color: var(--muted); font-size: .9rem; }
.work-tile:hover strong { color: var(--orange-ink); }
.work-tiles-wide { gap: 24px; }

/* Couverture d'un projet sans capture : nom du projet sur un aplat de la palette */
.project-cover {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  width: 100%; height: 100%; padding: 18px 20px; overflow: hidden; color: #fff; isolation: isolate;
}
.cover-0 { background: var(--brun); }
.cover-1 { background: var(--orange); }
.cover-2 { background: #1A1615; }
.cover-arch {
  position: absolute; z-index: -1; right: -14%; top: 14%; width: 62%; aspect-ratio: 3 / 4;
  border-radius: 999px 999px 0 0; background: rgba(255, 255, 255, .1);
}
.cover-1 .cover-arch { background: rgba(255, 255, 255, .18); }
.cover-2 .cover-arch { background: rgba(239, 86, 15, .35); }
:root[data-theme="dark"] .cover-2 { background: #F3E9E2; color: var(--noir); }
:root[data-theme="dark"] .cover-2 .cover-arch { background: rgba(239, 86, 15, .28); }
.cover-name { font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.05; }
.cover-tag { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.cover-initial { font-family: var(--font-display); font-size: clamp(3.4rem, 6vw, 5rem); line-height: .8; opacity: .95; }

@media (max-width: 1000px) {
  .work-panel { grid-template-columns: 1fr; padding: 28px; }
}
@media (max-width: 720px) {
  .work-tiles { grid-template-columns: 1fr; }
  .work-tile { display: grid; grid-template-columns: 132px 1fr; align-items: center; gap: 16px; }
  .work-media { aspect-ratio: 4 / 3; }
  .work-media .cover-name { display: none; }
  .work-media .cover-tag { display: none; }
}

/* ---------- Présentation de l'entreprise (accueil) ---------- */
.agency { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.agency-lead { font-size: 1.15rem; color: var(--fg-soft); margin-bottom: 28px; }
.agency-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.agency-points li { display: flex; gap: 18px; align-items: flex-start; }
.agency-points h3 { font-size: 1.15rem; margin: 2px 0 6px; }
.agency-points p { margin: 0; color: var(--muted); }
.agency-icon {
  flex: none; width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px 999px 14px 14px; background: var(--orange-soft); color: var(--orange-ink);
}
.agency-points-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.agency-points-row li { flex-direction: column; }
@media (max-width: 900px) {
  .agency { grid-template-columns: 1fr; gap: 40px; }
  .agency-points-row { grid-template-columns: 1fr; }
  .agency-points-row li { flex-direction: row; }
}

/* ---------- Bandeau d'appel ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap;
  padding: 56px 56px; border-radius: var(--radius-lg); color: var(--ivoire); background: var(--brun);
}
.cta-band::after {
  content: ""; position: absolute; z-index: -1; right: -70px; top: 22px; width: 300px; aspect-ratio: 3 / 4;
  border-radius: 999px 999px 0 0; border: 2px solid rgba(239, 86, 15, .55); border-bottom: 0;
  box-shadow: inset 0 0 0 26px rgba(239, 86, 15, .08);
}
.cta-band h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 10px; }
.cta-band p { margin: 0; max-width: 560px; color: #E9DED7; }
.cta-band .btn-primary { box-shadow: none; }
.cta-band > div { max-width: 640px; }
:root[data-theme="dark"] .cta-band { background: #2A211E; border: 1px solid var(--line-strong); }

/* ---------- En-tête des pages intérieures ---------- */
.page-hero { position: relative; padding: 56px 0 44px; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; right: max(-60px, calc((100vw - 1240px) / 2 - 140px)); top: 34px; width: 340px; height: 140%;
  border-radius: 999px 999px 0 0; background: var(--arch); pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 {
  font-family: var(--font-display); font-weight: 400; letter-spacing: -.012em;
  font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.08; color: var(--fg); margin-bottom: 16px; max-width: 18em;
}
.page-hero p { color: var(--fg-soft); font-size: 1.15rem; max-width: 40em; margin: 0; }
.breadcrumb { font-size: .92rem; color: var(--muted); margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb a:hover { color: var(--orange-ink); }
.hero-actions .btn { min-width: 0; }
.service-hero .hero-actions { margin-top: 30px; }

.page-404 { padding: 72px 0 56px; }
.page-404 .error-code {
  font-family: var(--font-display); font-size: clamp(5.5rem, 16vw, 9.5rem); line-height: .9;
  color: var(--orange); margin: 0 0 6px; letter-spacing: .02em;
}
.page-404 .error-path { margin-top: 14px; font-size: .95rem; }
.page-404 .error-path code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; background: var(--orange-soft); padding: .15em .45em; border-radius: 6px; color: var(--fg); overflow-wrap: anywhere; }
.page-404 .hero-actions { margin-top: 30px; }

/* ---------- Pages services : FAQ, encart ---------- */
.faq-list { display: grid; gap: 0; margin-top: 8px; border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { cursor: pointer; list-style: none; padding: 22px 52px 22px 0; font-weight: 800; font-size: 1.08rem; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(45deg);
  transition: transform .3s var(--ease), margin .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq-item summary:hover { color: var(--orange-ink); }
.faq-item p { margin: 0; padding: 0 0 24px; color: var(--muted); max-width: 62ch; }

.service-promo {
  margin-top: 44px; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; box-shadow: var(--shadow-sm);
}
.service-promo .service-glyph { margin: 0; width: 40px; height: 40px; }
.service-promo > div { flex: 1; min-width: 220px; }
.service-promo p { margin: 0; color: var(--muted); font-size: .97rem; }
.service-promo .service-promo-title { font-size: 1.15rem; font-weight: 800; color: var(--fg); margin: 0 0 4px; }
.service-promo .service-promo-title a:hover { color: var(--orange-ink); }
.service-promo .btn-outline { border-color: var(--line-strong); }

/* ---------- Page Réalisations ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-btn {
  font: inherit; font-size: .95rem; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.filter-btn:hover { border-color: var(--orange); }
.filter-btn[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.filter-btn .count { font-size: .8rem; opacity: .7; font-variant-numeric: tabular-nums; }
a.filter-btn { text-decoration: none; }
.filter-empty { color: var(--muted); text-align: center; padding: 32px 0; }

.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 28px; }
.project-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.project-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.project-card[hidden] { display: none; }
.project-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-card:hover .project-media img, .project-card:hover .project-media .project-cover { transform: scale(1.03); }
.project-media .project-cover { transition: transform .6s var(--ease); padding: 24px 26px; }
.project-media .cover-name { font-size: 2rem; }
.project-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.project-meta { margin: -6px 0 0; font-size: .95rem; font-weight: 700; color: var(--orange-ink); }
.project-year { font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.project-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; margin: 2px 0 0; }
.project-card h3 a:hover { color: var(--orange-ink); }
.project-sub { color: var(--fg-soft); font-weight: 700; margin: -4px 0 0; }
.project-desc { margin: 0; color: var(--muted); }
.project-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .97rem; }
.project-points li { display: flex; gap: 9px; align-items: flex-start; }
.project-points .icon-sm { color: var(--orange); margin-top: 5px; }
.project-stack { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.stack-label { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.tech-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.tech-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 6px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line); font-size: .86rem; font-weight: 700;
}
.tech-chip img, .tech-chip .tech-initial { width: 24px; height: 24px; padding: 3px; border-radius: 999px; background: #fff; flex: none; object-fit: contain; }
.tech-initial { display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 800; color: var(--orange-ink); }
.project-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; color: var(--orange-ink); font-size: .97rem; }
.project-link .icon-sm { transition: transform .25s var(--ease); }
.project-link:hover .icon-sm { transform: translateX(4px); }

/* ---------- Fiche d'un projet ---------- */
.case-hero h1 { margin-bottom: 10px; }
.case-lead { font-size: 1.3rem !important; color: var(--fg-soft); }
.case-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 30px 0 0; padding: 0; }
.case-facts li { font-weight: 800; }
.case-facts span { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.case-visual {
  margin: 0; aspect-ratio: 16 / 7; overflow: hidden; border-radius: 240px 240px var(--radius) var(--radius) / 120px 120px var(--radius) var(--radius);
  background: var(--bg-alt); border: 1px solid var(--line);
}
.case-visual img { width: 100%; height: 100%; object-fit: cover; }
.case-visual .project-cover { padding: 6% 7%; justify-content: center; align-items: flex-start; }
.case-visual .cover-name { font-size: clamp(2.6rem, 7vw, 5.5rem); }
.case-visual .cover-tag { font-size: .95rem; }
.case-visual .cover-arch { right: 6%; top: 18%; width: 30%; }
.case-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.case-description { font-size: 1.15rem; color: var(--fg-soft); max-width: 62ch; }
.case-subtitle { font-size: 1.15rem; margin: 34px 0 14px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon-sm { color: var(--orange); margin-top: 5px; }
.case-aside { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 14px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.aside-title { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.case-aside .tech-list { margin-bottom: 8px; }
@media (max-width: 900px) {
  .case-grid { grid-template-columns: 1fr; gap: 36px; }
  .case-aside { position: static; }
  .case-visual { aspect-ratio: 4 / 3; border-radius: 160px 160px var(--radius) var(--radius) / 90px 90px var(--radius) var(--radius); }
}

/* ---------- Page À propos ---------- */
.mission { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.mission-text { font-family: var(--font-display); font-size: clamp(1.45rem, 2.4vw, 1.95rem); line-height: 1.35; color: var(--fg); margin: 0; }
.stats-stack { list-style: none; margin: 0; padding: 8px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.stats-stack li { display: flex; align-items: center; gap: 18px; padding: 18px 0; }
.stats-stack li + li { border-top: 1px solid var(--line); }
.method { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.method li { counter-increment: step; position: relative; padding: 52px 24px 0 0; border-top: 2px solid var(--line-strong); }
.method li::before {
  content: counter(step); position: absolute; top: -19px; left: 0; width: 36px; height: 36px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; background: var(--orange); color: #fff;
  font-weight: 800; font-size: .95rem; box-shadow: 0 0 0 6px var(--bg);
}
.method h3 { font-size: 1.1rem; margin-bottom: 8px; }
.method p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 1000px) {
  .mission { grid-template-columns: 1fr; gap: 36px; }
  .method { grid-template-columns: 1fr; gap: 0; border-left: 2px solid var(--line-strong); margin-left: 17px; }
  .method li { border-top: 0; padding: 0 0 30px 34px; }
  .method li::before { top: -4px; left: -19px; }
}

/* Mur des technologies */
.tech-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 14px; }
.tech-wall li {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: .92rem; font-weight: 700;
  padding: 20px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.tech-wall-icon { width: 56px; height: 56px; border-radius: 999px 999px 14px 14px; background: #fff; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.tech-wall-icon img { width: 32px; height: 32px; object-fit: contain; }
.tech-wall-icon .tech-initial { font-size: 1.2rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.form-card, .contact-aside { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.contact-aside { position: sticky; top: calc(var(--header-h) + 16px); }
.contact-aside h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; margin-bottom: 22px; }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; word-break: break-word; }
.contact-list .icon { color: var(--orange); margin-top: 3px; }
.contact-list span { display: block; font-size: .78rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.contact-list a:hover { color: var(--orange-ink); }
.aside-steps { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.aside-steps h3 { font-size: 1.05rem; }
.aside-steps ol { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 8px; }
.aside-steps li::marker { color: var(--orange); font-weight: 800; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .contact-aside { position: static; } }

.contact-form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } .form-card, .contact-aside { padding: 22px; } }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label, .field-label { font-size: .93rem; font-weight: 800; }
.req { color: var(--orange-ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--fg); background: var(--bg);
  border: 1.5px solid var(--line-strong); border-radius: 14px; padding: .8rem 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.field textarea { resize: vertical; min-height: 160px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--orange) 40%, var(--line-strong)); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-glow); background: var(--surface); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #C2341B; }
.field-hint { font-size: .9rem; color: var(--muted); margin: 0; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-footer .btn[disabled] { opacity: .7; cursor: progress; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.type-switch { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.type-switch legend { margin-bottom: 10px; padding: 0; }
.type-switch label { position: relative; cursor: pointer; }
.type-switch input { position: absolute; opacity: 0; }
.type-switch span { display: inline-block; padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-weight: 700; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.type-switch label:hover span { border-color: var(--orange); }
.type-switch input:checked + span { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.type-switch input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.contact-form.is-contact .devis-only { display: none; }

.captcha-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.captcha-img { width: 200px; height: 64px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff7f0; }
.captcha-row input { flex: 1; min-width: 140px; max-width: 220px; text-transform: uppercase; letter-spacing: .25em; font-weight: 800; }
.captcha-row input::placeholder { text-transform: none; letter-spacing: normal; font-weight: 400; }

.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; margin-bottom: 22px; font-size: .97rem; }
.alert .icon-sm { margin-top: 4px; }
.alert-success { background: #E9F6EE; color: #14532d; border: 1px solid #B7E4C7; }
.alert-error { background: #FDECEA; color: #8A1C12; border: 1px solid #F5C2BB; }
.alert-info { background: var(--orange-soft); color: var(--fg); border: 1px solid var(--line-strong); }
:root[data-theme="dark"] .alert-success { background: #0F2A1B; color: #A7E8C1; border-color: #1E5134; }
:root[data-theme="dark"] .alert-error { background: #2E1210; color: #F6B4AB; border-color: #5C2620; }

.empty-state { text-align: center; padding: 48px 16px; color: var(--muted); }

/* ---------- Blog ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 28px; }
.post-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.posts-count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 861px) {
  .posts-count-1 { grid-template-columns: 1fr; }
  .posts-count-1 .post-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .posts-count-1 .post-media { aspect-ratio: auto; height: 100%; min-height: 340px; }
  .posts-count-1 .post-body { padding: 44px 48px; justify-content: center; gap: 16px; }
  .posts-count-1 .post-card h3 { font-size: 2.1rem; }
  .posts-count-1 .post-excerpt { -webkit-line-clamp: 5; font-size: 1.08rem; }
}
@media (max-width: 760px) { .posts-count-2 { grid-template-columns: 1fr; } }
.post-media { display: block; aspect-ratio: 1200 / 630; background: var(--orange-soft); overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.04); }
.post-media-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--orange); }
.post-media-fallback .icon { width: 44px; height: 44px; opacity: .7; }
.post-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; font-size: .92rem; color: var(--muted); }
.post-meta span:first-child { color: var(--orange-ink); font-weight: 700; }
.post-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; line-height: 1.22; margin: 0; }
.post-card h3 a:hover { color: var(--orange-ink); }
.post-excerpt { color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-body .project-link { margin-top: auto; padding-top: 6px; }

.public-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.public-pagination a { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-weight: 800; }
.public-pagination a:hover { border-color: var(--orange); }
.public-pagination a[aria-current="page"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }

/* Article */
.preview-banner { background: var(--orange-soft); color: var(--fg); border-bottom: 1px solid var(--line-strong); padding: 10px 16px; text-align: center; font-size: .95rem; display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; }
.preview-banner a { font-weight: 800; text-decoration: underline; }
.article-container { max-width: 780px; }
.article-header { padding: 52px 0 36px; }
.article-header h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.1; margin: 8px 0 18px; letter-spacing: -.012em; }
.article-lead { font-size: 1.2rem; color: var(--fg-soft); margin-bottom: 24px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: .95rem; margin: 0; }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta .icon-sm { color: var(--orange); }
.article-cover-wrap { max-width: 1040px; margin-bottom: 48px; }
.article-cover { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: var(--radius-lg); }

.prose { font-size: 1.125rem; line-height: 1.8; overflow-wrap: break-word; color: var(--fg-soft); }
.prose > * + * { margin-top: 1.15em; }
.prose p { margin-bottom: 0; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1.2; color: var(--fg); margin: 2em 0 .55em; }
.prose h3 { font-size: 1.3rem; color: var(--fg); margin: 1.7em 0 .5em; }
.prose h4 { font-size: 1.1rem; color: var(--fg); margin: 1.5em 0 .4em; }
.prose strong { color: var(--fg); font-weight: 800; }
.prose a { color: var(--orange-ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--orange); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--orange); font-weight: 800; }
.prose blockquote { margin-left: 0; padding: 18px 24px; background: var(--bg-alt); border-radius: var(--radius); font-family: var(--font-display); font-size: 1.3rem; line-height: 1.45; color: var(--fg); }
.prose img { border-radius: var(--radius); margin-inline: auto; }
.prose pre { background: #141110; color: #F3ECE7; padding: 20px 22px; border-radius: var(--radius-sm); overflow-x: auto; font-size: .9rem; line-height: 1.6; }
.prose code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9em; }
.prose :not(pre) > code { background: var(--orange-soft); padding: .1em .4em; border-radius: 5px; }
.prose hr { border: 0; border-top: 1px solid var(--line-strong); margin: 2.5em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .97rem; display: block; overflow-x: auto; font-variant-numeric: tabular-nums; }
.prose th, .prose td { border-bottom: 1px solid var(--line-strong); padding: 10px 12px; text-align: left; }
.prose iframe.ql-video { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); display: block; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }
.prose .ql-indent-1 { padding-left: 2em; }
.prose .ql-indent-2 { padding-left: 4em; }
.prose .ql-indent-3 { padding-left: 6em; }

/* Partage */
.share-box { margin: 44px 0 72px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.share-title { font-weight: 800; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--fg); font: inherit; font-size: .92rem; font-weight: 700;
  cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.share-btn:hover { color: #fff; border-color: transparent; }
.share-btn.share-facebook:hover { background: #1877f2; }
.share-btn.share-linkedin:hover { background: #0a66c2; }
.share-btn.share-x:hover { background: #111; }
.share-btn.share-whatsapp:hover { background: #1fa855; }
.share-btn.share-telegram:hover { background: #1c8cc4; }
.share-btn.share-email:hover, .share-btn.share-copy:hover, .share-btn.share-native:hover { background: var(--orange-deep); }
.share-btn[hidden] { display: none; }
.share-feedback { font-size: .9rem; color: #157347; }
:root[data-theme="dark"] .share-feedback { color: #6fdc9d; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--noir); color: #D9CEC8; padding: 72px 0 0; margin-top: 32px; }
:root[data-theme="dark"] .site-footer { background: #070606; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.1fr .8fr 1.1fr; gap: 40px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: #B3A6A0; max-width: 340px; }
.footer-col h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { transition: color .2s var(--ease); }
.footer-col a:hover { color: #FF8A55; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; word-break: break-word; }
.footer-contact .icon-sm { margin-top: 5px; color: var(--orange); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid #3A312D; color: #EDE5E0; }
.footer-social a:hover { border-color: var(--orange); color: var(--orange); }
.footer-bottom { margin-top: 56px; padding: 22px 0; border-top: 1px solid #2A2321; font-size: .9rem; color: #8F827C; }
.footer-bottom p { margin: 0; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 58px; height: 58px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; background: #25d366; color: #fff;
  box-shadow: 0 10px 24px -6px rgba(0,0,0,.35); transition: transform .25s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float .icon { width: 28px; height: 28px; }

/* ---------- Responsive : hero et rythmes ---------- */
@media (max-width: 960px) {
  .hero { padding-top: 12px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 36px 0 28px; }
  .hero-visual { min-height: 0; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; margin-inline: auto; }
  .stats-band { margin-top: -1px; }
}
@media (max-width: 640px) {
  body { font-size: 1.03rem; }
  .section { padding: 68px 0; }
  .section-tight { padding: 48px 0; }
  .section-flush { padding-top: 0; }
  .section-head { margin-bottom: 32px; }
  .hero h1 { font-size: clamp(2.35rem, 10.4vw, 3rem); }
  .hero-actions .btn { width: 100%; }
  .stats-band { grid-template-columns: 1fr; padding: 4px 0; }
  .stats-band li { justify-content: flex-start; padding: 16px 0; }
  .stats-band li + li { border-left: 0; border-top: 1px solid var(--line); }
  .stat-icon { width: 34px; height: 34px; }
  .cta-band { padding: 36px 26px; }
  .cta-band::after { width: 200px; right: -90px; top: auto; bottom: -60px; }
  .cta-band .btn { width: 100%; }
  .work-panel { padding: 22px; }
  .page-hero { padding: 36px 0 32px; }
  .page-hero::before { display: none; }
  .project-body { padding: 22px; }
  .share-box { padding: 18px; }
  .article-header { padding-top: 32px; }
  .prose { font-size: 1.05rem; }
  .prose h2 { font-size: 1.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
