:root {
  --primary: #1e3a5f;
  --primary-dark: #0f2d4f;
  --secondary: #00b4d8;
  --bg: #f8fafc;
  --bg-alt: #eef2f6;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --success: #10b981;
  --border-radius: 12px;
}

* { box-sizing: border-box; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}
h1, h2, h3 { color: var(--primary); line-height: 1.25; }
a { color: var(--secondary); }

/* ─── Nav ─────────────────────────────────────────────────────────────── */
.site-nav { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.site-nav-inner { max-width: 1120px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--primary); font-weight: 700; font-size: 17px; }
.brand img { border-radius: 8px; }
.site-nav-links { display: flex; gap: 28px; flex-wrap: wrap; }
.site-nav-links a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; }
.site-nav-links a:hover { color: var(--secondary); }
.btn-nav { padding: 10px 22px !important; font-size: 14px !important; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; border: none; background: transparent; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle-bar { display: block; width: 100%; height: 2px; background: var(--primary); border-radius: 2px; }
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav-links { display: none; flex-direction: column; width: 100%; gap: 4px; padding: 12px 0 4px; order: 3; }
  .site-nav-links.is-open { display: flex; }
}

/* ─── Buttons / pills ────────────────────────────────────────────────── */
.btn { display: inline-block; text-decoration: none; font-weight: 700; border-radius: var(--border-radius); padding: 14px 28px; border: none; cursor: pointer; transition: transform .15s; }
.btn:hover { transform: scale(1.02); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; }
.btn-secondary { background: linear-gradient(135deg, var(--secondary), #0090ad); color: white; }
.btn-lg { font-size: 18px; padding: 18px 40px; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.15); color: inherit; border-radius: 999px; padding: 6px 16px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.pill-outline { background: rgba(0,180,216,.1); color: var(--secondary); }
.tag-pill { background: rgba(0,180,216,.12); color: var(--secondary); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 4px 12px; border-radius: 999px; }
.tag-pill-inverse { background: rgba(255,255,255,.15); color: white; }

/* ─── Layout helpers ─────────────────────────────────────────────────── */
.section { padding: 72px 20px; }
.section-inner { max-width: 1120px; margin: 0 auto; }
.section-inner.narrow { max-width: 760px; }
.section-dark { background: var(--primary); color: white; }
.section-dark h2 { color: white; }
.section-alt { background: var(--bg-alt); }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.section-lead { color: var(--muted); font-size: 18px; max-width: 640px; margin: 12px auto 0; }


/* ─── Stats bar ──────────────────────────────────────────────────────── */
.stats-bar { background: white; padding: 48px 20px; }
.stats-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 32px; text-align: center; }
@media (min-width: 700px) { .stats-inner { grid-template-columns: repeat(3, 1fr); } }
.stat-emoji { font-size: 32px; margin-bottom: 8px; }
.stat-value { font-size: 30px; font-weight: 800; color: var(--primary); }
.stat-label { color: var(--muted); font-weight: 500; }
.stat-source { font-size: 11px; color: #94a3b8; margin-top: 2px; }

/* ─── Card grids ─────────────────────────────────────────────────────── */
.cards-3, .cards-2 { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
@media (min-width: 700px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } .cards-2 { grid-template-columns: 1fr 1fr; } }
.card { background: white; border-radius: var(--border-radius); padding: 28px; box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.card-icon { font-size: 30px; margin-bottom: 14px; }
.step { position: relative; padding-top: 8px; }
.step h3 { color: white; }
.step-num { font-size: 44px; font-weight: 900; color: rgba(255,255,255,.25); position: absolute; top: -20px; left: 0; }
.step p { color: rgba(255,255,255,.85); }

/* ─── Author block ───────────────────────────────────────────────────── */
.author-block { display: flex; gap: 20px; background: white; border-radius: var(--border-radius); padding: 24px; box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.author-avatar { font-size: 36px; flex-shrink: 0; }
.author-avatar-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-name { font-weight: 700; margin: 0; }
.author-title { color: var(--muted); font-size: 13px; margin: 0 0 10px; }

.disclaimer-block { background: white; border-radius: var(--border-radius); padding: 24px; box-shadow: 0 4px 20px rgba(0,0,0,.05); margin-top: 24px; }
.disclaimer-block p { color: var(--muted); font-size: 14px; margin: 0; }

/* ─── FAQ ─────────────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.faq-item { background: white; border-radius: var(--border-radius); padding: 4px 24px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.faq-item summary { padding: 18px 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--secondary); font-weight: 900; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--muted); padding-bottom: 18px; margin: 0; }
.cta-emoji { font-size: 48px; margin-bottom: 12px; }

/* ─── Blog ───────────────────────────────────────────────────────────── */
.blog-list { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 700px) { .blog-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .blog-list { grid-template-columns: repeat(3, 1fr); } }
.blog-list .blog-card { display: flex; flex-direction: column; }
.blog-card { background: white; border-radius: var(--border-radius); padding: 24px; box-shadow: 0 4px 20px rgba(0,0,0,.06); text-decoration: none; color: inherit; display: block; overflow: hidden; }
.blog-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.blog-card-image { width: calc(100% + 48px); margin: -24px -24px 20px; max-width: none; height: 220px; object-fit: cover; display: block; }
.blog-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.blog-card h2, .blog-card h3 { margin: 0 0 8px; }
.blog-card p { color: var(--muted); margin: 0; }
.blog-card-link { display: inline-block; margin-top: 12px; color: var(--secondary); font-weight: 600; font-size: 14px; }
.article-hero-image { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--border-radius); margin-bottom: 28px; }
.article-excerpt { font-size: 18px; color: var(--muted); border-left: 4px solid var(--secondary); padding-left: 18px; font-style: italic; margin-bottom: 32px; }
.article-source { font-size: 12px; color: #94a3b8; border-top: 1px solid var(--border); padding-top: 16px; margin-top: 32px; }
.prose-blog h2 { font-size: 24px; margin-top: 36px; }
.prose-blog h3 { font-size: 19px; margin-top: 28px; }
.prose-blog p { color: var(--text); line-height: 1.7; margin-bottom: 16px; }
.prose-blog ul, .prose-blog ol { padding-left: 22px; margin-bottom: 20px; }
.prose-blog li { margin-bottom: 8px; }
.prose-blog strong { color: var(--primary); }
.prose-blog blockquote { border-left: 4px solid var(--secondary); padding-left: 16px; font-style: italic; color: var(--muted); margin: 24px 0; }
.prose-blog img { max-width: 100%; height: auto; display: block; border-radius: var(--border-radius); margin: 24px 0; }

/* ─── Footer ─────────────────────────────────────────────────────────── */
.site-footer { background: var(--bg-alt); padding: 48px 24px; margin-top: 40px; }
.site-footer-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 700px) { .site-footer-inner { grid-template-columns: 1fr 1fr; } }
.footer-brand { color: var(--primary); font-weight: 700; text-decoration: none; display: block; margin-bottom: 8px; }
.site-footer p { color: var(--muted); font-size: 13px; margin: 4px 0; }
.footer-note { max-width: 420px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 700px) { .footer-links { align-items: flex-end; } }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 500; }
.footer-links a:hover { color: var(--primary); }

/* ─── Pages statiques (contact, mentions, etc.) ──────────────────────── */
.page-wrap { max-width: 720px; margin: 0 auto; padding: 48px 20px; }

.contact-form { display: flex; flex-direction: column; gap: 6px; margin: 24px 0; }
.contact-form label { font-weight: 600; font-size: 14px; margin-top: 10px; }
.contact-form input, .contact-form textarea {
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--border-radius);
  font-family: inherit; font-size: 15px; resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--secondary); }
.contact-form button { align-self: flex-start; margin-top: 8px; }
.form-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; border-radius: var(--border-radius); padding: 16px 20px; }
.form-error { color: #dc2626; font-size: 14px; margin: 4px 0 0; }

/* ─── CTA capture email (fin d'article, cta_variants.py type="email_capture") ────────── */
.cta-email-form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 24px auto 0; max-width: 480px; }
.cta-email-form input[type="email"] {
  flex: 1 1 220px; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--border-radius);
  font-family: inherit; font-size: 15px;
}
.cta-email-form input[type="email"]:focus { outline: none; border-color: var(--secondary); }

/* === BEGIN thème généré (Codex, --apply-theme) === */
.hero {
  max-width: 1920px;
  margin: 0 auto;
  padding: 28px 24px 20px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--secondary) 18%, white) 0, transparent 34%),
    radial-gradient(circle at 86% 24%, color-mix(in srgb, var(--secondary) 22%, white) 0, transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fffaf7 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  top: -140px;
  left: -160px;
  background: radial-gradient(circle, color-mix(in srgb, var(--secondary) 14%, white) 0, transparent 68%);
  opacity: 0.9;
}

.hero::after {
  width: 520px;
  height: 520px;
  right: -190px;
  bottom: -210px;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 10%, white) 0, transparent 72%);
  opacity: 0.45;
}

.hero-inner {
  max-width: 1760px;
  margin: 0 auto;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 48px;
  padding: 52px 42px 36px;
  border-radius: calc(var(--border-radius) * 2.2);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.98) 0, rgba(255, 255, 255, 0.82) 34%, rgba(255, 255, 255, 0.54) 58%, rgba(255, 255, 255, 0.28) 76%, transparent 100%),
    linear-gradient(135deg, rgba(255, 248, 244, 0.96) 0%, rgba(255, 243, 238, 0.94) 42%, rgba(255, 238, 232, 0.95) 100%);
  border: 1px solid color-mix(in srgb, var(--secondary) 16%, white);
  box-shadow:
    0 24px 60px rgba(12, 68, 75, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.hero-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 87% 20%, color-mix(in srgb, var(--secondary) 22%, white) 0, transparent 12%),
    radial-gradient(circle at 83% 25%, rgba(255, 255, 255, 0.18) 0, transparent 9%),
    radial-gradient(circle at 79% 68%, color-mix(in srgb, var(--primary) 10%, white) 0, transparent 18%);
  pointer-events: none;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 760px;
  padding: 14px 0 14px 8px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid color-mix(in srgb, var(--secondary) 18%, white);
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(12, 68, 75, 0.06);
}

.hero-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--secondary) 12%, white);
}

.hero-copy h1 {
  margin: 0;
  max-width: 14ch;
  color: var(--primary);
  font-size: clamp(3rem, 4.55vw, 5.55rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 800;
  text-wrap: balance;
}

.hero-subtext {
  max-width: 600px;
  margin: 24px 0 0;
  color: color-mix(in srgb, var(--primary) 74%, #4b5f63);
  font-size: 1.12rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 76px;
  padding: 18px 34px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow:
    0 18px 32px rgba(0, 109, 119, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero .btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 38px rgba(0, 109, 119, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hero .btn-secondary.btn-lg {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-size: 1.45rem;
  padding-right: 38px;
}

.hero .btn-secondary.btn-lg::before {
  content: "";
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 34%, var(--primary) 0 10%, transparent 11%),
    linear-gradient(180deg, transparent 0 36%, var(--primary) 36% 66%, transparent 66% 100%),
    linear-gradient(90deg, transparent 0 43%, var(--primary) 43% 57%, transparent 57% 100%),
    linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.92) 100%);
  box-shadow:
    inset 0 -10px 18px rgba(0, 0, 0, 0.05),
    0 8px 18px rgba(0, 0, 0, 0.12);
}

.hero-notes {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid color-mix(in srgb, var(--secondary) 16%, white);
  color: color-mix(in srgb, var(--primary) 82%, #687b80);
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-note::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--secondary);
}

.hero-visual {
  min-height: 520px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.hero-scene {
  position: relative;
  width: min(100%, 760px);
  min-height: 520px;
}

.hero-scene::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -26px;
  top: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--secondary) 24%, white) 0%, color-mix(in srgb, var(--secondary) 18%, white) 58%, rgba(255, 255, 255, 0) 59%);
  opacity: 0.95;
}

.hero-scene::after {
  content: "";
  position: absolute;
  inset: auto 18px 26px 30px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 109, 119, 0.24), rgba(0, 109, 119, 0.08));
  filter: blur(2px);
  opacity: 0.45;
}

.hero-dots {
  position: absolute;
  width: 92px;
  height: 62px;
  color: color-mix(in srgb, var(--primary) 62%, white);
  opacity: 0.42;
  background-image: radial-gradient(currentColor 2.2px, transparent 2.2px);
  background-size: 18px 18px;
  background-position: 0 0;
}

.hero-dots-top {
  top: 28px;
  left: 112px;
}

.hero-dots-bottom {
  right: 6px;
  bottom: 42px;
  width: 78px;
  height: 54px;
}

.hero-house {
  position: absolute;
  right: 116px;
  bottom: 42px;
  width: 420px;
  height: 278px;
}

.hero-house-base {
  position: absolute;
  inset: auto 34px 0 44px;
  height: 190px;
  border-radius: 18px 18px 8px 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(242, 247, 248, 0.96) 100%);
  border: 2px solid color-mix(in srgb, var(--primary) 18%, white);
  box-shadow: 0 18px 32px rgba(7, 50, 56, 0.1);
}

.hero-house-roof {
  position: absolute;
  left: 14px;
  top: 16px;
  width: 320px;
  height: 124px;
  background: linear-gradient(135deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 78%, black) 100%);
  clip-path: polygon(12% 84%, 51% 0, 100% 82%, 92% 92%, 51% 20%, 16% 92%);
  box-shadow: 0 14px 24px rgba(0, 109, 119, 0.18);
}

.hero-house-garage {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 122px;
  height: 138px;
  border-radius: 10px 10px 8px 8px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 86%, white) 0%, var(--primary) 100%);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,0.06);
}

.hero-house-garage::before,
.hero-house-garage::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
}

.hero-house-garage::before { top: 34px; }
.hero-house-garage::after { top: 58px; }

.hero-door {
  position: absolute;
  left: 168px;
  bottom: 0;
  width: 58px;
  height: 106px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 90%, white) 0%, var(--primary-dark) 100%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.08);
}

.hero-door::after {
  content: "";
  position: absolute;
  right: 11px;
  top: 54px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
}

.hero-window,
.hero-window-small {
  position: absolute;
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 46%, color-mix(in srgb, var(--primary) 82%, white) 46% 54%, transparent 54%),
    linear-gradient(180deg, transparent 46%, color-mix(in srgb, var(--primary) 82%, white) 46% 54%, transparent 54%),
    linear-gradient(180deg, color-mix(in srgb, var(--secondary) 34%, white) 0%, color-mix(in srgb, var(--secondary) 54%, white) 100%);
  box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--primary) 70%, white);
}

.hero-window {
  width: 64px;
  height: 64px;
  left: 60px;
  bottom: 74px;
}

.hero-window-small {
  width: 50px;
  height: 58px;
  left: 208px;
  top: 92px;
}

.hero-window-right {
  left: auto;
  right: 64px;
  bottom: 72px;
}

.hero-plant,
.hero-plant-soft {
  position: absolute;
  bottom: 0;
  border-radius: 999px 999px 0 0;
  transform-origin: bottom center;
}

.hero-plant {
  width: 72px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 88%, white) 0%, var(--primary) 100%);
}

.hero-plant::before,
.hero-plant::after {
  content: "";
  position: absolute;
  bottom: 26px;
  width: 52px;
  height: 78px;
  border-radius: 999px 999px 0 999px;
  background: inherit;
}

.hero-plant::before {
  left: -18px;
  transform: rotate(-18deg);
}

.hero-plant::after {
  right: -14px;
  transform: rotate(18deg) scaleX(-1);
}

.hero-plant-left {
  left: -18px;
  height: 128px;
}

.hero-plant-right {
  right: 118px;
  width: 84px;
  height: 88px;
}

.hero-plant-soft {
  left: 12px;
  width: 92px;
  height: 64px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--secondary) 52%, white) 0%, color-mix(in srgb, var(--secondary) 70%, white) 100%);
}

.hero-plant-soft::before {
  content: "";
  position: absolute;
  width: 58px;
  height: 58px;
  right: -22px;
  bottom: 10px;
  border-radius: 999px 999px 0 999px;
  background: inherit;
  transform: rotate(28deg);
}

.hero-device,
.hero-camera {
  position: absolute;
  box-shadow: 0 18px 28px rgba(7, 50, 56, 0.12);
}

.hero-camera {
  background: linear-gradient(180deg, #ffffff 0%, #eef4f4 100%);
}

.hero-camera-dome {
  top: 18px;
  right: 98px;
  width: 134px;
  height: 134px;
  border-radius: 50% 50% 48% 48%;
}

.hero-camera-dome::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 0;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #edf4f4 100%);
  box-shadow: inset 0 -4px 0 rgba(0, 109, 119, 0.45);
}

.hero-camera-dome::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 12px;
  height: 62px;
  border-radius: 0 0 46px 46px;
  background:
    radial-gradient(circle at 50% 54%, rgba(9, 28, 37, 0.96) 0 10px, rgba(18, 64, 73, 0.9) 11px 21px, rgba(3, 22, 31, 0.98) 22px 100%);
}

.hero-camera-bullet {
  top: 178px;
  right: 6px;
  width: 158px;
  height: 74px;
  border-radius: 34px;
  transform: rotate(-26deg);
}

.hero-camera-bullet::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 7px;
  width: 104px;
  height: 60px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #eef4f4 100%);
  box-shadow: inset 0 -3px 0 rgba(0, 109, 119, 0.28);
}

.hero-camera-bullet::after {
  content: "";
  position: absolute;
  left: 34px;
  top: 18px;
  width: 46px;
  height: 38px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(9, 28, 37, 0.96) 0 9px, rgba(18, 64, 73, 0.92) 10px 18px, rgba(3, 22, 31, 0.98) 19px 100%);
}

.hero-camera-arm {
  position: absolute;
  right: 8px;
  bottom: 10px;
  width: 58px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #edf3f3 100%);
  transform: rotate(34deg);
}

.hero-device {
  right: 30px;
  bottom: 0;
  width: 142px;
  height: 158px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7f7 100%);
  border: 1px solid rgba(0,0,0,0.06);
}

.hero-device::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 18px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 86%, white) 0%, var(--primary-dark) 100%);
}

.hero-device::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 56px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 18% 50%, rgba(0, 109, 119, 0.24) 0 6px, transparent 7px),
    radial-gradient(circle at 52% 22%, var(--primary) 0 5px, transparent 6px),
    radial-gradient(circle at 70% 22%, var(--primary) 0 5px, transparent 6px),
    radial-gradient(circle at 88% 22%, var(--primary) 0 5px, transparent 6px),
    radial-gradient(circle at 52% 50%, var(--primary) 0 5px, transparent 6px),
    radial-gradient(circle at 70% 50%, var(--primary) 0 5px, transparent 6px),
    radial-gradient(circle at 88% 50%, var(--primary) 0 5px, transparent 6px),
    radial-gradient(circle at 52% 78%, var(--primary) 0 5px, transparent 6px),
    radial-gradient(circle at 70% 78%, var(--primary) 0 5px, transparent 6px),
    radial-gradient(circle at 88% 78%, var(--primary) 0 5px, transparent 6px);
}

.hero-device-lock {
  position: absolute;
  top: 30px;
  left: 56px;
  width: 28px;
  height: 18px;
  border-radius: 4px;
  border: 3px solid rgba(255,255,255,0.8);
  border-top-width: 6px;
}

.hero-device-lock::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: -14px;
  height: 16px;
  border: 3px solid rgba(255,255,255,0.8);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

@media (max-width: 1180px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 28px 24px;
  }

  .hero-copy {
    max-width: 100%;
    padding: 0;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-scene {
    min-height: 420px;
  }

  .hero-house {
    right: 84px;
    transform: scale(0.88);
    transform-origin: right bottom;
  }

  .hero-camera-dome {
    right: 84px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 16px 14px 10px;
  }

  .hero-inner {
    min-height: 0;
    padding: 26px 18px 18px;
    gap: 18px;
    border-radius: calc(var(--border-radius) * 1.5);
  }

  .hero-kicker {
    margin-bottom: 16px;
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 12vw, 3.3rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
  }

  .hero-subtext {
    margin-top: 16px;
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero .btn,
  .hero .btn-secondary.btn-lg {
    width: 100%;
    min-height: 64px;
    font-size: 1.08rem;
    padding: 16px 20px;
    border-radius: 18px;
  }

  .hero .btn-secondary.btn-lg::before {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 14px;
  }

  .hero-notes {
    gap: 10px;
    margin-top: 18px;
  }

  .hero-note {
    width: 100%;
    justify-content: flex-start;
    font-size: 0.88rem;
  }

  .hero-visual {
    min-height: 280px;
  }

  .hero-scene {
    min-height: 280px;
  }

  .hero-scene::before {
    width: 280px;
    height: 280px;
    right: -32px;
    top: 8px;
  }

  .hero-dots-top {
    top: 10px;
    left: 16px;
    width: 64px;
    height: 44px;
    background-size: 14px 14px;
  }

  .hero-dots-bottom {
    right: 0;
    bottom: 22px;
    width: 56px;
    height: 38px;
    background-size: 14px 14px;
  }

  .hero-house {
    right: 24px;
    bottom: 24px;
    transform: scale(0.52);
    transform-origin: right bottom;
  }

  .hero-camera-dome {
    top: 8px;
    right: 48px;
    transform: scale(0.72);
    transform-origin: top right;
  }

  .hero-camera-bullet {
    top: 98px;
    right: -10px;
    transform: scale(0.72) rotate(-26deg);
    transform-origin: top right;
  }

  .hero-device {
    right: 6px;
    bottom: 8px;
    transform: scale(0.74);
    transform-origin: bottom right;
  }
}
/* === END thème généré (Codex) === */

/* === BEGIN hero compact blog (garde-fou --apply-theme) === */
.hero-compact { padding: 40px 24px 44px; }

.hero-compact .hero-inner {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  max-width: 1120px; /* aligné sur .site-nav-inner / .section-inner */
}

.hero-compact .hero-copy {
  max-width: 860px;
  padding: 0;
}

/* Décors en position absolue calés sur la hero d'accueil (hauteur ~470px) : hors sujet et souvent
   débordants sur une hero compacte. */
.hero-compact .hero-copy::before,
.hero-compact .hero-copy::after { display: none; }

.hero-compact .hero-copy h1 {
  max-width: none;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.breadcrumb a { color: inherit; font-size: 14px; font-weight: 600; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.hero-compact .hero-meta,
.hero-compact .hero-lead { color: inherit; opacity: .75; }

/* Pills du template pensées pour une hero sombre (texte blanc sur voile blanc) : en currentColor
   elles restent lisibles quelle que soit la couleur de fond du thème. */
.hero-compact .tag-pill-inverse,
.hero-compact .pill {
  background: color-mix(in srgb, currentColor 14%, transparent);
  color: inherit;
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .hero-compact { padding: 28px 16px 32px; }
  .hero-compact .hero-copy h1 { font-size: clamp(1.75rem, 7vw, 2.3rem); }
}
/* === END hero compact blog === */
