:root {
  --bg: #f5f3ee;
  --surface: #ffffff;
  --ink: #1e2023;
  --muted: #66707a;
  --line: #d7d9de;
  --accent: #0f9d8c;
  --accent-2: #f9b233;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 16px 45px rgba(10, 23, 36, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  text-align: center;
}

.site-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(15, 157, 140, 0.16), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(249, 178, 51, 0.2), transparent 35%),
    linear-gradient(160deg, #f5f3ee, #f0ede4 55%, #ece8dc);
  z-index: -1;
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(245, 243, 238, 0.82);
  border-bottom: 1px solid rgba(30, 32, 35, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 116px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  flex-shrink: 0;
  font-family: "Fraunces", serif;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
}

.brand-logo {
  width: auto;
  height: 92px;
  max-width: none;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

.main-nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.25s ease;
}

.main-nav a:not(.btn):hover,
.main-nav a:not(.btn).active {
  color: var(--ink);
  background: rgba(15, 157, 140, 0.1);
}

.main-nav .btn {
  color: #fff;
  padding: 10px 16px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
}

.hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 42px 22px;
  min-height: calc(100vh - 76px);
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.hero-cover {
  background-image:
    linear-gradient(120deg, rgba(15, 20, 24, 0.78), rgba(15, 20, 24, 0.55)),
    url("images/hero-monsite.jpg");
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
}

.hero-compact {
  min-height: 58vh;
  padding-top: 28px;
  padding-bottom: 28px;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  text-align: center;
  color: #f5f8fb;
}

.hero h1 {
  max-width: 17ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 14px;
  text-wrap: balance;
}

.hero .kicker {
  color: #ffe0a2;
  margin-bottom: 8px;
}

.hero .lead {
  max-width: 64ch;
  margin-left: auto;
  margin-right: auto;
  color: #e6edf3;
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
}

.hero-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 16px auto 4px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(8, 17, 30, 0.32);
  color: #f2f7ff;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 20px 0 30px;
  flex-wrap: wrap;
  justify-content: center;
}


.hero .stats-grid {
  width: min(920px, 100%);
}

.hero .stats-grid article {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(4px);
}

.hero .stats-grid strong,
.hero .stats-grid span {
  color: #f7fbff;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

h1, h2, h3 {
  font-family: "Fraunces", serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 4.3rem);
  margin: 12px 0;
  max-width: 24ch;
}

.lead {
  max-width: 84ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--accent), #0d7f72);
  color: #fff;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 24px rgba(15, 157, 140, 0.25);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 16px; }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.section { padding: 56px 0; }

.section-head { margin-bottom: 24px; }

.section-sub {
  max-width: 92ch;
  margin: 12px auto 0;
  color: var(--muted);
}

.section h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.8rem);
  margin-top: 10px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card,
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 28%, rgba(15, 157, 140, 0.09), transparent 68%);
  transform: translateX(-120%);
  transition: transform 0.75s ease;
  pointer-events: none;
}

.card:hover,
.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 157, 140, 0.5);
}

.card:hover {
  box-shadow: 0 20px 44px rgba(15, 157, 140, 0.18);
}

.card:hover::before {
  transform: translateX(120%);
}

.card h3 {
  transition: color 0.25s ease;
}

.card:hover h3 {
  color: #0d7f72;
}

.card h3,
.price-card h3 { margin-bottom: 10px; font-size: 1.35rem; }

.card p { color: var(--muted); }

.card,
.price-card,
.content-block,
.process-step,
.faq-item,
.footer-grid > div,
.proof-stats article {
  text-align: center;
}

.section-system {
  position: relative;
  padding: 68px 0;
}

.section-system::before {
  content: "";
  position: absolute;
  inset: 8px 0;
  border-radius: 24px;
  background:
    radial-gradient(circle at 15% 22%, rgba(15, 157, 140, 0.12), transparent 36%),
    radial-gradient(circle at 88% 8%, rgba(249, 178, 51, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.55);
  z-index: -1;
}

.section-system .section-head {
  text-align: center;
}

.system-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 22px;
}

.system-badges span {
  border: 1px solid rgba(15, 157, 140, 0.2);
  background: rgba(255, 255, 255, 0.78);
  color: #2b3640;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.83rem;
  letter-spacing: 0.03em;
}

.system-badges span:nth-child(2) { animation-delay: 0.2s; }
.system-badges span:nth-child(3) { animation-delay: 0.4s; }
.system-badges span:nth-child(4) { animation-delay: 0.6s; }
.system-badges span:nth-child(5) { animation-delay: 0.8s; }

.system-grid {
  margin-top: 6px;
}

.system-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #ffffff, #f9fcff 68%, #f5fbfa);
  border: 1px solid rgba(15, 157, 140, 0.16);
  transform: translateY(0);
}

.system-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(15, 157, 140, 0.08), transparent 64%);
  transform: translateX(-110%);
  transition: transform 0.7s ease;
}

.system-card:hover::after {
  transform: translateX(110%);
}

.system-card:hover {
  transform: translateY(-7px);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(130deg, rgba(15, 157, 140, 0.15), rgba(249, 178, 51, 0.22));
  border: 1px solid rgba(15, 157, 140, 0.24);
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.system-card:hover .card-icon {
  transform: translateY(-3px) scale(1.06) rotate(-4deg);
  box-shadow: 0 10px 24px rgba(15, 157, 140, 0.28);
}

.card-points {
  list-style: none;
  margin-top: 12px;
  display: grid;
  gap: 6px;
}

.card-points li {
  position: relative;
  color: #4b5660;
  padding-left: 0;
  font-size: 0.93rem;
}

.card-points li::before {
  content: none;
}

.system-card.reveal:nth-child(1) { transition-delay: 0.05s; }
.system-card.reveal:nth-child(2) { transition-delay: 0.14s; }
.system-card.reveal:nth-child(3) { transition-delay: 0.23s; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  max-width: 760px;
  margin: 0 auto;
}

.stats-grid article {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.stats-grid strong {
  display: block;
  font-size: 1.4rem;
  font-family: "Fraunces", serif;
}

.stats-grid span { color: var(--muted); font-size: 0.88rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  position: relative;
  isolation: isolate;
}

.pricing-showcase .pricing-grid::before {
  content: "";
  position: absolute;
  inset: -14px;
  background:
    radial-gradient(circle at 10% 25%, rgba(15, 157, 140, 0.14), transparent 40%),
    radial-gradient(circle at 86% 80%, rgba(249, 178, 51, 0.16), transparent 36%);
  z-index: -1;
  filter: blur(2px);
}

.pricing-showcase .pricing-grid {
  gap: 20px;
}

.pricing-showcase .section-sub {
  white-space: normal;
  max-width: 110ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.pricing-trust {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 18px;
}

.pricing-trust span {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 157, 140, 0.2);
  background: rgba(255, 255, 255, 0.8);
  color: #2e3a44;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.price {
  font-size: 2rem;
  margin: 8px 0 14px;
  display: inline-block;
}

.price-card ul {
  list-style: none;
  margin-bottom: 16px;
  padding-left: 0;
}

.price-card li {
  padding: 6px 0;
  color: var(--muted);
}

.featured {
  border-color: rgba(15, 157, 140, 0.5);
  position: relative;
  background: linear-gradient(165deg, #ffffff, #f3fbf9 62%, #eef7ff);
  box-shadow: 0 16px 36px rgba(15, 157, 140, 0.16);
}

.tag {
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--accent-2);
  color: #2f2310;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 18px rgba(249, 178, 51, 0.3);
}

.pricing-showcase .price-card.reveal:nth-child(1) { transition-delay: 0.04s; }
.pricing-showcase .price-card.reveal:nth-child(2) { transition-delay: 0.12s; }
.pricing-showcase .price-card.reveal:nth-child(3) { transition-delay: 0.20s; }
.pricing-showcase .price-card.reveal:nth-child(4) { transition-delay: 0.28s; }

.pricing-showcase .price-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
  position: relative;
  overflow: visible;
  padding: 26px;
  border-radius: 20px;
  background: linear-gradient(168deg, #ffffff, #f8fbff 70%, #f4faf8);
  border: 1px solid rgba(15, 157, 140, 0.18);
}

.pricing-showcase .price-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(15, 157, 140, 0.85), rgba(249, 178, 51, 0.9));
  opacity: 0.65;
}

.pricing-showcase .price-card h3 {
  min-height: 2.5em;
  margin-bottom: 4px;
}

.pricing-showcase .price-card .price {
  font-size: clamp(1.8rem, 3.2vw, 2.2rem);
  margin: 2px 0 6px;
  color: #12323a;
}

.pricing-showcase .price-desc {
  margin: 0 0 8px;
  color: #2f3a45;
  font-weight: 600;
  font-size: 0.95rem;
}

.pricing-showcase .price-meta {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 157, 140, 0.12);
  border: 1px solid rgba(15, 157, 140, 0.2);
  color: #24544e;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-showcase .price-card .btn {
  margin-top: 0;
  width: 100%;
  justify-content: center;
}

.price-card-actions {
  margin-top: 2px;
  display: grid;
  gap: 9px;
}

.price-card-more {
  display: inline-block;
  text-align: center;
  font-weight: 700;
  color: #1d4b69;
  text-decoration: underline;
  text-decoration-thickness: 1.25px;
  text-underline-offset: 2px;
}

.price-card-more:hover {
  color: #0f9d8c;
}

.pricing-showcase .price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(10, 23, 36, 0.14);
}

.pricing-showcase .price-card li {
  transition: transform 0.22s ease, color 0.22s ease;
  position: relative;
  padding-left: 0;
}

.pricing-showcase .price-card li::before {
  content: none;
}

.pricing-showcase .price-card:hover li {
  transform: translateX(3px);
  color: #4b5660;
}

.pricing-footnote {
  margin-top: 16px;
  color: #56616b;
  font-size: 0.92rem;
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.process-band {
  position: relative;
}

.process-head {
  text-align: center;
}

.process-steps {
  list-style: none;
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 26px;
  height: 2px;
  background: linear-gradient(90deg, rgba(15, 157, 140, 0.22), rgba(249, 178, 51, 0.42), rgba(15, 157, 140, 0.22));
}

.process-step {
  background: linear-gradient(170deg, #ffffff, #f9fcff);
  border: 1px solid rgba(15, 157, 140, 0.16);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.process-step:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 157, 140, 0.4);
  box-shadow: 0 20px 38px rgba(15, 157, 140, 0.16);
}

.step-index {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #0d7f72);
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
  box-shadow: 0 8px 18px rgba(15, 157, 140, 0.25);
}

.process-step h3 {
  margin-bottom: 7px;
  font-size: 1.2rem;
}

.process-step p {
  color: var(--muted);
  font-size: 0.95rem;
}

.process-step.reveal:nth-child(1) { transition-delay: 0.05s; }
.process-step.reveal:nth-child(2) { transition-delay: 0.12s; }
.process-step.reveal:nth-child(3) { transition-delay: 0.19s; }
.process-step.reveal:nth-child(4) { transition-delay: 0.26s; }

.steps {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.steps li {
  margin: 10px 0;
  color: var(--muted);
}

.quote p {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.quote span {
  color: var(--muted);
  font-size: 0.92rem;
}

.proof-zone {
  position: relative;
}

.proof-zone::before {
  content: "";
  position: absolute;
  inset: 8px 0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 14% 24%, rgba(15, 157, 140, 0.11), transparent 35%),
    radial-gradient(circle at 82% 10%, rgba(249, 178, 51, 0.13), transparent 30%),
    rgba(255, 255, 255, 0.52);
  z-index: -1;
}

.proof-zone .section-head {
  text-align: center;
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.proof-stats article {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 157, 140, 0.16);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.proof-stats strong {
  display: block;
  font-size: 1.35rem;
  font-family: "Fraunces", serif;
}

.proof-stats span {
  color: #56616b;
  font-size: 0.88rem;
}

.proof-grid {
  margin-top: 8px;
}

.proof-card {
  background: linear-gradient(165deg, #ffffff, #f8fbff);
}

.proof-card p {
  margin-bottom: 10px;
}

.stars {
  color: #f2aa2a;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.featured-proof {
  border-color: rgba(15, 157, 140, 0.4);
  position: relative;
}

.proof-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 9px;
}

.proof-card.reveal:nth-child(1) { transition-delay: 0.06s; }
.proof-card.reveal:nth-child(2) { transition-delay: 0.14s; }
.proof-card.reveal:nth-child(3) { transition-delay: 0.22s; }

.proof-actions {
  margin-top: 16px;
  text-align: center;
}

.anim-lab .section-head {
  text-align: center;
}

.anim-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.anim-card {
  background: linear-gradient(170deg, #ffffff, #f7fbff);
  border: 1px solid rgba(15, 157, 140, 0.16);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.anim-card h3 {
  margin-bottom: 4px;
  font-size: 1.08rem;
}

.anim-card p {
  color: #56616b;
  font-size: 0.86rem;
  margin-bottom: 10px;
}

.anim-stage {
  height: 86px;
  border-radius: 12px;
  border: 1px dashed rgba(15, 157, 140, 0.25);
  background: linear-gradient(160deg, rgba(15, 157, 140, 0.08), rgba(255, 255, 255, 0.9));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.anim-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--accent);
}

.anim-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 157, 140, 0.14);
  border: 1px solid rgba(15, 157, 140, 0.25);
  font-size: 0.84rem;
  font-weight: 700;
  color: #205f58;
}

.anim-bar {
  width: 58px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f9d8c, #f9b233);
}

.anim-square {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 2px solid #0f9d8c;
  background: rgba(15, 157, 140, 0.14);
}

.anim-ring {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #0f9d8c;
  box-shadow: 0 0 0 0 rgba(15, 157, 140, 0.45);
}

.anim-shimmer {
  width: 74px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d5e1ec 0%, #f6fbff 50%, #d5e1ec 100%);
  background-size: 200% 100%;
}

.anim-blob {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.anim-typing {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.86rem;
  color: #1d2d3a;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #0f9d8c;
  width: 0;
}

.anim-orbit-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}

.anim-orbit-core {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #0f9d8c;
}

.anim-orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f9b233;
  transform-origin: 24px 24px;
}

.anim-hover-card {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(15, 157, 140, 0.24);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e2f3b;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.anim-hover-card:hover {
  transform: translateY(-5px) rotate(-2deg);
  border-color: rgba(15, 157, 140, 0.5);
  box-shadow: 0 12px 24px rgba(15, 157, 140, 0.2);
}

.included-zone .section-head {
  text-align: center;
}

.included-zone {
  position: relative;
}

.included-zone::before {
  content: "";
  position: absolute;
  inset: 8px 0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 18%, rgba(15, 157, 140, 0.12), transparent 32%),
    radial-gradient(circle at 88% 82%, rgba(249, 178, 51, 0.14), transparent 30%),
    rgba(255, 255, 255, 0.52);
  z-index: -1;
}

.included-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 14px;
}

.included-badges span {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  border: 1px solid rgba(15, 157, 140, 0.2);
  background: rgba(255, 255, 255, 0.8);
  color: #3f4a55;
}

.included-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.included-card {
  background: linear-gradient(168deg, #ffffff, #f9fcff);
  border: 1px solid rgba(15, 157, 140, 0.16);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
}

.included-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(15, 157, 140, 0.85), rgba(249, 178, 51, 0.9));
  opacity: 0.6;
}

.included-card h3 {
  min-height: 2.4em;
  margin-bottom: 4px;
}

.included-card p {
  color: #4d5964;
  margin-bottom: 2px;
}

.included-points {
  list-style: none;
  margin-top: 12px;
  display: grid;
  gap: 6px;
}

.included-points li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  color: #4f5a64;
}

.included-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 10px;
}

.included-card.reveal:nth-child(1) { transition-delay: 0.04s; }
.included-card.reveal:nth-child(2) { transition-delay: 0.10s; }
.included-card.reveal:nth-child(3) { transition-delay: 0.16s; }
.included-card.reveal:nth-child(4) { transition-delay: 0.22s; }

.domain-zone .section-head {
  text-align: center;
}

.domain-zone {
  position: relative;
}

.domain-zone::before {
  content: "";
  position: absolute;
  inset: 8px 0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 14% 18%, rgba(15, 157, 140, 0.11), transparent 33%),
    radial-gradient(circle at 85% 80%, rgba(249, 178, 51, 0.12), transparent 30%),
    rgba(255, 255, 255, 0.5);
  z-index: -1;
}

.domain-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.domain-card {
  background: linear-gradient(168deg, #ffffff, #f8fbff);
  border: 1px solid rgba(15, 157, 140, 0.16);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto 1fr;
}

.domain-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(15, 157, 140, 0.85), rgba(249, 178, 51, 0.9));
  opacity: 0.58;
}

.domain-card h3 {
  min-height: 2.4em;
}

.domain-price {
  display: inline-block;
  margin: 8px 0 10px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #205f58;
  background: rgba(15, 157, 140, 0.14);
}

.domain-note {
  margin-top: 12px;
  text-align: center;
  color: #56616b;
  font-size: 0.92rem;
}

.addon-zone .section-head {
  text-align: center;
}

.addon-grid {
  grid-template-columns: repeat(2, 1fr);
}

.addon-card {
  background: linear-gradient(168deg, #ffffff, #f8fbff);
  border: 1px solid rgba(15, 157, 140, 0.16);
}

.addon-meta {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 157, 140, 0.12);
  color: #1f5f58;
  font-size: 0.82rem;
  font-weight: 600;
}

.addon-actions {
  margin-top: 16px;
  text-align: center;
}

.addon-proof {
  margin-bottom: 10px;
  color: #56616b;
  font-size: 0.92rem;
}

.addon-card.reveal:nth-child(1) { transition-delay: 0.04s; }
.addon-card.reveal:nth-child(2) { transition-delay: 0.10s; }
.addon-card.reveal:nth-child(3) { transition-delay: 0.16s; }
.addon-card.reveal:nth-child(4) { transition-delay: 0.22s; }

.order-flow .content-block {
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(168deg, #ffffff, #f8fbff 70%, #f5faf8);
  border: 1px solid rgba(15, 157, 140, 0.18);
}

.order-flow .content-block::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(15, 157, 140, 0.85), rgba(249, 178, 51, 0.9));
  opacity: 0.6;
}

.order-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 16px 0;
}

.order-steps article {
  border: 1px solid rgba(15, 157, 140, 0.18);
  background: linear-gradient(165deg, #ffffff, #f7fbff);
  border-radius: 14px;
  padding: 14px;
  text-align: left;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.order-steps article:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 157, 140, 0.14);
}

.order-steps strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1rem;
  color: #163942;
}

.order-steps p {
  color: #4f5a64;
  font-size: 0.92rem;
}

.order-proof {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 8px 0 14px;
}

.order-proof span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 157, 140, 0.12);
  border: 1px solid rgba(15, 157, 140, 0.2);
  font-size: 0.82rem;
  color: #2b5f58;
}

.faq-zone .section-head {
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(15, 157, 140, 0.18);
  border-radius: 12px;
  padding: 10px 12px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 8px;
  color: #58636d;
}

.sticky-cta-mobile {
  display: none;
}

.hero-nowrap h1,
.hero-nowrap .lead {
  max-width: none;
  white-space: nowrap;
}

.hero-nowrap .hero-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.realisations-zone .card-grid {
  margin-top: 6px;
}

.simple-types .section-head {
  text-align: center;
}

.simple-grid {
  grid-template-columns: repeat(3, 1fr);
}

.simple-card {
  background: linear-gradient(168deg, #ffffff, #f8fbff);
  border: 1px solid rgba(15, 157, 140, 0.16);
  text-align: left;
}

.simple-card h3 {
  margin-bottom: 8px;
}

.simple-card p {
  color: #56616b;
}

.simple-card.reveal:nth-child(1) { transition-delay: 0.04s; }
.simple-card.reveal:nth-child(2) { transition-delay: 0.10s; }
.simple-card.reveal:nth-child(3) { transition-delay: 0.16s; }
.simple-card.reveal:nth-child(4) { transition-delay: 0.22s; }
.simple-card.reveal:nth-child(5) { transition-delay: 0.28s; }
.simple-card.reveal:nth-child(6) { transition-delay: 0.34s; }

.portfolio-zone .section-head {
  text-align: center;
}

.portfolio-shell {
  border: 1px solid rgba(15, 157, 140, 0.15);
  background: linear-gradient(165deg, rgba(255,255,255,0.85), rgba(247,251,255,0.9));
  border-radius: 20px;
  padding: 22px;
}

.portfolio-grid {
  grid-template-columns: repeat(3, 1fr);
}

.metier-grid {
  grid-template-columns: repeat(4, 1fr);
}

.portfolio-card {
  background: linear-gradient(165deg, #ffffff, #f7fbff);
  border: 1px solid rgba(15, 157, 140, 0.18);
  display: block;
}

.portfolio-link {
  margin-top: 12px;
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  color: #1f6258;
  border: 1px solid rgba(15, 157, 140, 0.2);
  background: rgba(15, 157, 140, 0.1);
}

.portfolio-note {
  margin-top: 12px;
  text-align: center;
  color: #5a6670;
  font-size: 0.9rem;
}

.portfolio-card.reveal:nth-child(1) { transition-delay: 0.04s; }
.portfolio-card.reveal:nth-child(2) { transition-delay: 0.12s; }

.cta {
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #121a21, #1a2731 58%, #0f6a62);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(var(--radius) + 6px);
  padding: 54px 22px 46px;
  margin: 26px auto 74px;
  box-shadow: 0 26px 50px rgba(10, 20, 30, 0.28);
}

.cta::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -10%;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(249, 178, 51, 0.24), transparent 65%);
  pointer-events: none;
}

.cta::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 68%);
  pointer-events: none;
}

.cta-kicker {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fce8b7;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cta h2 {
  max-width: 24ch;
  margin-left: auto;
  margin-right: auto;
  margin-top: 12px;
  margin-bottom: 8px;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  text-wrap: balance;
}

.cta p {
  color: #c9d0d7;
  margin: 12px auto 20px;
  max-width: 62ch;
}

.cta .btn {
  min-width: 230px;
}

.cta-points {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.cta-points span {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #f2f7ff;
  font-size: 0.82rem;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid rgba(30, 32, 35, 0.08);
  background: rgba(255, 255, 255, 0.58);
}

.footer-grid {
  padding: 34px 0;
  display: grid;
  gap: 16px;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-grid a,
.footer-grid p { display: block; margin: 5px 0; color: #424b54; }

.page-hero {
  padding: 74px 0 24px;
}

.page-hero h1 {
  max-width: 18ch;
}

.content-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin: 14px 0;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: #31404d;
  font-weight: 600;
}

.contact-zone .content-block {
  margin: 0;
  height: 100%;
}

.contact-form-card {
  background: linear-gradient(170deg, #ffffff, #f8fbff);
  border: 1px solid rgba(15, 157, 140, 0.18);
}

.contact-info-card {
  background: linear-gradient(170deg, #ffffff, #fffaf0);
  border: 1px solid rgba(249, 178, 51, 0.26);
}

.contact-form-card h2,
.contact-info-card h2 {
  margin-bottom: 10px;
}

.contact-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.contact-quick-actions .btn {
  flex: 1 1 220px;
}

.contact-points {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.contact-points li {
  position: relative;
  padding-left: 16px;
}

.contact-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.contact-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0;
}

.contact-metrics article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}

.contact-metrics strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  line-height: 1.1;
}

.contact-metrics span {
  color: var(--muted);
  font-size: 0.84rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  font: inherit;
  background: #fff;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(15, 157, 140, 0.55);
  box-shadow: 0 0 0 3px rgba(15, 157, 140, 0.14);
}

textarea { min-height: 130px; resize: vertical; }

.form-note {
  margin-top: 2px;
  color: #4d5b67;
  font-size: 0.88rem;
}

.form-feedback {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(17, 57, 79, 0.16);
  background: rgba(255, 255, 255, 0.86);
  color: #1e3345;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-feedback.success {
  border-color: rgba(12, 122, 107, 0.35);
  background: rgba(12, 122, 107, 0.1);
  color: #0a5e53;
}

.form-feedback.error {
  border-color: rgba(170, 32, 32, 0.34);
  background: rgba(170, 32, 32, 0.09);
  color: #7d1f1f;
}

.contact-form.is-submitting {
  opacity: 0.72;
  transition: opacity 0.2s ease;
}

.form-success-panel {
  margin-top: 10px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(12, 122, 107, 0.3);
  background:
    radial-gradient(circle at 0 0, rgba(12, 122, 107, 0.12), transparent 44%),
    linear-gradient(165deg, #ffffff, #f2fbf8 70%);
  box-shadow: 0 16px 32px rgba(12, 65, 56, 0.14);
}

.form-success-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a5e53;
  background: rgba(12, 122, 107, 0.14);
  border: 1px solid rgba(12, 122, 107, 0.25);
}

.form-success-panel h3 {
  margin-top: 10px;
  margin-bottom: 8px;
  font-size: clamp(1.2rem, 2.7vw, 1.5rem);
  color: #14323a;
}

.form-success-lead {
  color: #314a58;
  margin-bottom: 10px;
}

.form-success-points {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.form-success-points li {
  position: relative;
  padding-left: 18px;
  color: #28424f;
  font-weight: 500;
}

.form-success-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f9d8c, #0a665a);
}

.form-success-actions {
  display: grid;
  gap: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes featuredGlow {
  0%, 100% { box-shadow: 0 16px 45px rgba(10, 23, 36, 0.08); }
  50% { box-shadow: 0 18px 40px rgba(15, 157, 140, 0.24); }
}

@keyframes glowShift {
  0%, 100% { opacity: 0.8; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-4px); }
}

@keyframes tagBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes pricePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@keyframes softFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@media (prefers-reduced-motion: no-preference) {
  .system-badges span { animation: softFloat 4.2s ease-in-out infinite; }
  .pricing-showcase .pricing-grid::before { animation: glowShift 8s ease-in-out infinite; }
  .price { animation: pricePulse 3.2s ease-in-out infinite; }
  .featured { animation: featuredGlow 2.6s ease-in-out infinite; }
  .tag { animation: tagBounce 2.2s ease-in-out infinite; }
  .stats-grid article { animation: floatY 7.5s ease-in-out infinite; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 860px) {
  .card-grid,
  .pricing-grid,
  .footer-grid,
  .process-steps,
  .split,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .proof-stats { grid-template-columns: 1fr; }

  .included-grid {
    grid-template-columns: 1fr;
  }

  .domain-grid {
    grid-template-columns: 1fr;
  }

  .addon-grid {
    grid-template-columns: 1fr;
  }

  .order-steps {
    grid-template-columns: 1fr;
  }

  .has-sticky-cta {
    padding-bottom: 86px;
  }

  .hero-nowrap h1,
  .hero-nowrap .lead {
    white-space: normal;
  }

  .sticky-cta-mobile {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    height: 52px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    z-index: 50;
    background: linear-gradient(135deg, var(--accent), #0d7f72);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 14px 32px rgba(15, 157, 140, 0.35);
  }
}

@media (max-width: 760px) {
  html, body { overflow-x: hidden; }

  .container {
    width: min(720px, 94vw);
  }

  .site-header {
    background: rgba(245, 243, 238, 0.94);
  }

  .nav-wrap {
    min-height: 88px;
    gap: 10px;
  }

  /* Mobile animation tuning: lighter and clearer on touch devices */
  .reveal {
    transform: translateY(10px);
    transition: opacity 0.32s ease, transform 0.32s ease;
  }

  .system-badges span,
  .pricing-showcase .pricing-grid::before,
  .price,
  .featured,
  .tag,
  .stats-grid article {
    animation: none !important;
  }

  .hero { min-height: auto; padding: 20px 14px; border-radius: 0; margin-left: 0; margin-right: 0; width: 100%; }
  .hero h1 {
    font-size: clamp(1.9rem, 8.2vw, 2.5rem);
    line-height: 1.15;
    max-width: 20ch;
  }
  .hero .lead {
    font-size: 0.98rem;
    line-height: 1.52;
    max-width: 56ch;
  }
  .hero-note { font-size: 0.8rem; padding: 7px 12px; }
  .hero-actions {
    gap: 10px;
    margin: 16px 0 22px;
  }
  .nav-toggle { display: inline-flex; }
  .brand { font-size: 1.2rem; gap: 6px; }
  .brand-logo { width: auto; height: 62px; max-width: none; }

  h2 {
    font-size: clamp(1.45rem, 6.2vw, 2rem);
    line-height: 1.2;
  }

  .section {
    padding: 38px 0;
  }

  .section-head {
    margin-bottom: 18px;
  }

  .section-sub {
    margin-top: 10px;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .btn {
    min-height: 44px;
    padding: 11px 16px;
    font-size: 0.94rem;
    font-weight: 700;
  }

  .main-nav {
    position: absolute;
    top: 96px;
    right: 4vw;
    left: 4vw;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 12px 24px rgba(15, 45, 66, 0.14);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.open { display: flex; }

  .main-nav a { text-align: center; }

  .footer-grid,
  .split,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .price-card,
  .content-block,
  .process-step {
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 10px 22px rgba(15, 45, 66, 0.09);
  }

  .card h3,
  .price-card h3,
  .process-step h3 {
    font-size: 1.08rem;
    line-height: 1.28;
  }

  .card p,
  .price-card li,
  .process-step p,
  .content-block p {
    font-size: 0.93rem;
    line-height: 1.5;
  }

  .stats-grid article,
  .proof-stats article {
    border-radius: 12px;
    padding: 10px;
  }

  .process-steps::before {
    display: none;
  }

  .section-system {
    padding: 46px 0;
  }

  .section-system::before {
    inset: 0;
    border-radius: 18px;
  }

  .proof-zone::before {
    inset: 0;
    border-radius: 18px;
  }

  .cta {
    padding: 44px 16px 36px;
  }

  .cta .btn {
    width: 100%;
    min-width: 0;
  }

  .cta-points span {
    font-size: 0.78rem;
  }

  .contact-metrics {
    grid-template-columns: 1fr;
  }

  .contact-quick-actions .btn {
    flex-basis: 100%;
  }

  /* Mobile carousels: cards/pricing/process/proof without impacting desktop */
  .card-grid,
  .pricing-grid,
  .process-steps,
  .proof-grid {
    position: relative;
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4px 10px 12px;
    scroll-padding-left: 10px;
    scroll-padding-right: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(15, 157, 140, 0.65) rgba(15, 157, 140, 0.14);
    cursor: grab;
  }

  .card-grid.is-carousel::before,
  .pricing-grid.is-carousel::before,
  .process-steps.is-carousel::before,
  .proof-grid.is-carousel::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 56px;
    background: linear-gradient(90deg, rgba(245, 243, 238, 0), rgba(245, 243, 238, 0.92) 65%);
    pointer-events: none;
    z-index: 2;
  }

  .card-grid.is-carousel::after,
  .pricing-grid.is-carousel::after,
  .process-steps.is-carousel::after,
  .proof-grid.is-carousel::after {
    content: ">";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: #0f5f56;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 157, 140, 0.35);
    box-shadow: 0 8px 16px rgba(15, 45, 66, 0.14);
    pointer-events: none;
    z-index: 3;
  }

  .card-grid > *,
  .pricing-grid > *,
  .process-steps > *,
  .proof-grid > * {
    flex: 0 0 min(78vw, 320px);
    max-width: min(78vw, 320px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
  }

  /* Disable desktop-like hover lifts on mobile, keep touch stable */
  .btn:hover,
  .card:hover,
  .price-card:hover,
  .system-card:hover,
  .process-step:hover,
  .pricing-showcase .price-card:hover,
  .about-card:hover,
  .services-prix-page .content-block:hover,
  .service-detail-page .content-block:hover,
  .service-detail-page .faq-item:hover,
  .faq-page .faq-item:hover,
  .process-stage:hover .process-stage-body {
    transform: none;
    box-shadow: var(--shadow);
  }

  .btn:active,
  .card:active,
  .price-card:active {
    transform: scale(0.99);
  }

  .card-grid.is-scrolled::before,
  .pricing-grid.is-scrolled::before,
  .process-steps.is-scrolled::before,
  .proof-grid.is-scrolled::before,
  .card-grid.is-scrolled::after,
  .pricing-grid.is-scrolled::after,
  .process-steps.is-scrolled::after,
  .proof-grid.is-scrolled::after {
    display: none;
  }

  .carousel-hint {
    margin: 2px 0 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #0f5f56;
    text-align: center;
  }

  .carousel-nav {
    margin: 4px 0 12px;
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  .carousel-btn {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(15, 157, 140, 0.35);
    background: rgba(255, 255, 255, 0.96);
    color: #0f5f56;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    display: inline-grid;
    place-items: center;
    box-shadow: 0 8px 14px rgba(15, 45, 66, 0.12);
  }

  .carousel-btn[disabled] {
    opacity: 0.45;
  }
}

















.service-hubs {
  margin-top: 6px;
}

.service-hubs-grid {
  margin-top: 8px;
  grid-template-columns: repeat(2, 1fr);
}

.service-hub-card {
  background: linear-gradient(160deg, #ffffff, #f3fbff);
  border: 1px solid rgba(15, 157, 140, 0.2);
}

.examples-wrap {
  position: relative;
}

.examples-grid {
  margin-top: 8px;
}

.theme-card {
  background: linear-gradient(165deg, #ffffff, #f8fbff);
  border: 1px solid rgba(15, 157, 140, 0.16);
}

.theme-pill {
  display: inline-flex;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-2);
  border: 1px solid rgba(26, 77, 140, 0.24);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
  background: rgba(26, 77, 140, 0.08);
}

.examples-back {
  margin-top: 16px;
  text-align: center;
}

@media (max-width: 760px) {
  .service-hubs-grid {
    grid-template-columns: 1fr;
  }
}

.realisations-redesign {
  position: relative;
}

.metier-grid {
  margin-top: 10px;
  grid-template-columns: repeat(4, 1fr);
}

.metier-card {
  background: linear-gradient(165deg, #ffffff, #f2fbff);
  border: 1px solid rgba(15, 157, 140, 0.2);
}

.metier-chip {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #0f5f56;
  background: rgba(15, 157, 140, 0.14);
  border: 1px solid rgba(15, 157, 140, 0.26);
}

.quick-demos {
  margin-top: -8px;
}

.quick-demos-grid {
  margin-top: 8px;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 980px) {
  .metier-grid,
  .quick-demos-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .metier-grid,
  .quick-demos-grid {
    grid-template-columns: 1fr;
  }
}

.theme-preview {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(20, 27, 39, 0.08);
  box-shadow: inset 0 -24px 36px rgba(20, 27, 39, 0.08);
}

.preview-beaute-live {
  background:
    radial-gradient(circle at 76% 24%, rgba(255, 255, 255, 0.7), transparent 38%),
    linear-gradient(135deg, #f8d7e9, #f9efe3 50%, #ead6ff);
}

.preview-beaute-1 {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.65), rgba(255,255,255,0.25)),
    linear-gradient(130deg, #f6e6ee, #f3d6c5 55%, #ffe5f8);
}

.preview-beaute-2 {
  background:
    radial-gradient(circle at 15% 30%, rgba(255,255,255,0.55), transparent 45%),
    linear-gradient(130deg, #d7ecef, #d8d5f1 55%, #f0e6d7);
}

.preview-beaute-3 {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.2)),
    linear-gradient(140deg, #f6f3ef, #e4e1dc 52%, #f4efeb);
}

.preview-beaute-4 {
  background:
    radial-gradient(circle at 80% 24%, rgba(255,255,255,0.5), transparent 40%),
    linear-gradient(140deg, #f4dce8, #f2cfc6 52%, #efdfd8);
}

.preview-beaute-5 {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.16)),
    linear-gradient(140deg, #d9e8f6, #c7d1e8 50%, #e3d8f4);
}

.site-preview {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(20, 27, 39, 0.12);
  margin-bottom: 12px;
  background: #fff;
}

.site-preview iframe {
  width: 1280px;
  height: 780px;
  border: 0;
  transform: scale(0.34);
  transform-origin: top center;
  pointer-events: none;
}

/* Ajustement apercus beaute: visuel plus grand, texte plus discret */
.examples-wrap .theme-card {
  display: flex;
  flex-direction: column;
}

.examples-wrap .site-preview {
  height: 240px;
  margin-bottom: 10px;
}

.examples-wrap .site-preview iframe {
  width: 1200px;
  height: 760px;
  transform: scale(0.4);
  transform-origin: top center;
  pointer-events: none;
}

.examples-wrap .theme-pill {
  font-size: 0.68rem;
  padding: 3px 9px;
  margin-top: auto;
  margin-bottom: 8px;
}

.examples-wrap .theme-card h3 {
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: 6px;
}

.examples-wrap .theme-card p {
  font-size: 0.9rem;
  line-height: 1.35;
  margin-bottom: 0;
  opacity: 0.88;
}

.examples-wrap .theme-card .portfolio-link {
  font-size: 0.86rem;
  margin-top: 8px;
}

@media (max-width: 760px) {
  .examples-wrap .site-preview {
    height: 205px;
  }

  .examples-wrap .site-preview iframe {
    transform: scale(0.34);
  }
}

/* Rework beaute: preview dominant + texte discret en bas */
.page-beaute .examples-grid {
  gap: 14px;
}

.page-beaute .theme-card {
  padding: 12px;
  display: grid;
  gap: 6px;
}

.page-beaute .site-preview {
  height: 290px;
  margin-bottom: 4px;
  border-radius: 10px;
}

.page-beaute .site-preview iframe {
  width: 1280px;
  height: 820px;
  transform: scale(0.43);
  transform-origin: top left;
}

.page-beaute .theme-pill {
  font-size: 0.63rem;
  padding: 3px 8px;
  margin: 0;
  opacity: 0.85;
}

.page-beaute .theme-card h3 {
  font-size: 0.95rem;
  margin: 0;
}

.page-beaute .theme-card p {
  font-size: 0.82rem;
  line-height: 1.3;
  margin: 0;
  opacity: 0.82;
}

.page-beaute .theme-card .portfolio-link {
  font-size: 0.8rem;
  margin-top: 2px;
}

@media (max-width: 760px) {
  .page-beaute .site-preview {
    height: 230px;
  }

  .page-beaute .site-preview iframe {
    transform: scale(0.35);
  }
}

/* Final layout - Beaute gallery clean */
.page-beaute .beaute-gallery-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.page-beaute .preview-card {
  padding: 8px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.page-beaute .preview-card .site-preview {
  height: 320px;
  margin: 0;
  border-radius: 12px;
}

.page-beaute .preview-card .site-preview iframe {
  width: 1280px;
  height: 820px;
  transform: scale(0.46);
  transform-origin: top left;
}

:is(.page-beaute,.page-artisan) .preview-card.preview-bubble {
  position: relative;
}

:is(.page-beaute,.page-artisan) .preview-card.preview-bubble .site-preview {
  position: relative;
  overflow: hidden;
}

:is(.page-beaute,.page-artisan) .preview-card.preview-bubble .site-preview iframe {
  position: relative;
  z-index: 1;
}

:is(.page-beaute,.page-artisan) .preview-card.preview-bubble .bubble-sheen {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 28%, rgba(15, 157, 140, 0.26), transparent 68%),
    radial-gradient(circle at 22% 40%, rgba(255, 255, 255, 0.28), transparent 36%);
  transform: translateX(-125%);
  transition: transform 0.8s ease;
  pointer-events: none;
  z-index: 4;
  opacity: 0.95;
}

:is(.page-beaute,.page-artisan) .preview-card.preview-bubble:hover .bubble-sheen {
  transform: translateX(125%);
}


.page-beaute .preview-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px 4px;
}

.page-beaute .preview-meta .theme-pill {
  margin: 0;
  font-size: 0.62rem;
  padding: 3px 7px;
}

.page-beaute .preview-meta h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  flex: 1;
}

.page-beaute .preview-meta .portfolio-link {
  margin: 0;
  font-size: 0.78rem;
}

@media (max-width: 980px) {
  .page-beaute .beaute-gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-beaute .preview-card .site-preview {
    height: 220px;
  }

  .page-beaute .preview-card .site-preview iframe {
    transform: scale(0.34);
  }

  .page-beaute .preview-meta h3 {
    font-size: 0.86rem;
  }
}

/* Gallery clean shared for all metiers */
:is(.page-beaute,.page-artisan,.page-garagiste,.page-electricien,.page-entreprise) .beaute-gallery-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  justify-items: center;
}

:is(.page-beaute,.page-artisan,.page-garagiste,.page-electricien,.page-entreprise) .preview-card {
  padding: 8px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  width: 100%;
}

:is(.page-beaute,.page-artisan,.page-garagiste,.page-electricien,.page-entreprise) .preview-card .site-preview {
  width: calc(100% - 14px);
  height: 240px;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(20, 27, 39, 0.12);
  box-shadow: none;
  background: #fff;
}

:is(.page-beaute,.page-artisan,.page-garagiste,.page-electricien,.page-entreprise) .preview-card .site-preview iframe {
  width: 1200px;
  height: 760px;
  position: relative;
  left: 50%;
  transform: translateX(-50%) scale(0.4);
  transform-origin: top center;
}

.page-artisan .preview-card.preview-couvreur-local .site-preview iframe {
  position: relative;
  left: 50%;
  transform: translateX(-50%) scale(0.4);
  transform-origin: top center;
}

.page-beaute .preview-card.preview-site-spa .site-preview iframe {
  position: relative;
  left: 50%;
  transform: translateX(-50%) scale(0.4);
  transform-origin: top center;
}

:is(.page-beaute,.page-artisan,.page-garagiste,.page-electricien,.page-entreprise) .preview-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px 4px;
}

:is(.page-beaute,.page-artisan,.page-garagiste,.page-electricien,.page-entreprise) .preview-meta .theme-pill {
  margin: 0;
  font-size: 0.62rem;
  padding: 3px 7px;
}

:is(.page-beaute,.page-artisan,.page-garagiste,.page-electricien,.page-entreprise) .preview-meta h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  flex: 1;
}

:is(.page-beaute,.page-artisan,.page-garagiste,.page-electricien,.page-entreprise) .preview-meta .portfolio-link {
  margin: 0;
  font-size: 0.78rem;
}



@media (max-width: 980px) {
  :is(.page-beaute,.page-artisan,.page-garagiste,.page-electricien,.page-entreprise) .beaute-gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .card-grid.is-carousel::before,
  .pricing-grid.is-carousel::before,
  .process-steps.is-carousel::before,
  .proof-grid.is-carousel::before,
  .card-grid.is-carousel::after,
  .pricing-grid.is-carousel::after,
  .process-steps.is-carousel::after,
  .proof-grid.is-carousel::after {
    display: none;
  }

  .card-grid > *,
  .pricing-grid > *,
  .process-steps > *,
  .proof-grid > * {
    flex: 0 0 calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  /* Keep examples pages in a vertical list on mobile (no horizontal carousel UX). */
  .examples-wrap .examples-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
    cursor: default;
  }

  .examples-wrap .examples-grid > * {
    flex: initial;
    max-width: none;
  }

  :is(.page-beaute,.page-artisan,.page-garagiste,.page-electricien,.page-entreprise) .preview-card .site-preview {
    width: 100%;
    height: 230px;
    border-radius: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    border: 0;
    box-shadow: none;
    background: #fff;
  }

  /* Remove remaining phone-frame style on mobile demo-live cards. */
  :is(.page-beaute,.page-artisan,.page-garagiste,.page-electricien,.page-entreprise) .preview-card.is-demo-live .site-preview {
    width: 100%;
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }

  :is(.page-beaute,.page-artisan,.page-garagiste,.page-electricien,.page-entreprise) .preview-card .site-preview iframe {
    width: 1280px;
    height: 780px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(0.3);
    transform-origin: top center;
    pointer-events: none;
  }

  .page-artisan .preview-card.preview-couvreur-local .site-preview iframe,
  .page-beaute .preview-card.preview-site-spa .site-preview iframe {
    transform: translateX(-50%) scale(0.3);
    transform-origin: top center;
  }

  .examples-wrap .preview-card {
    padding: 0;
    border-radius: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    content-visibility: auto;
    contain-intrinsic-size: 360px;
  }

  .examples-wrap .preview-meta {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 8px;
    padding: 10px 6px 6px;
  }

  :is(.page-beaute,.page-artisan,.page-garagiste,.page-electricien,.page-entreprise) .preview-card.is-demo-live .preview-meta {
    margin-top: 0;
    padding-top: 10px;
    border-top: 0;
  }

  :is(.page-beaute,.page-artisan,.page-garagiste,.page-electricien,.page-entreprise) .preview-meta h3 {
    font-size: 1rem;
    line-height: 1.3;
  }

  .examples-wrap .preview-meta .portfolio-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 42px;
    width: 100%;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 10px;
  }
}

/* ANIM HOVER MODE */
.anim-card { position: relative; }

.anim-fade,
.anim-slide-up,
.anim-slide-left,
.anim-zoom,
.anim-spin,
.anim-bounce,
.anim-pulse,
.anim-shimmer,
.anim-gradient,
.anim-typing,
.anim-orbit-dot {
  animation: none;
}

.anim-typing { border-right-color: transparent; }

.anim-orbit-dot {
  left: 50%;
  top: 50%;
  transform-origin: 0 0;
  transform: rotate(0deg) translateX(18px);
}

.anim-card:hover .anim-fade,
.anim-card:focus-within .anim-fade { animation: animFade 1.05s ease both; }

.anim-card:hover .anim-slide-up,
.anim-card:focus-within .anim-slide-up { animation: animSlideUp 0.95s cubic-bezier(.2,.8,.2,1) both; }

.anim-card:hover .anim-slide-left,
.anim-card:focus-within .anim-slide-left { animation: animSlideLeft 0.95s cubic-bezier(.2,.8,.2,1) both; }

.anim-card:hover .anim-zoom,
.anim-card:focus-within .anim-zoom { animation: animZoom 0.9s ease both; }

.anim-card:hover .anim-spin,
.anim-card:focus-within .anim-spin { animation: animSpin 1.2s linear both; }

.anim-card:hover .anim-bounce,
.anim-card:focus-within .anim-bounce { animation: animBounce 0.9s ease both; }

.anim-card:hover .anim-pulse,
.anim-card:focus-within .anim-pulse { animation: animPulse 1s ease both; }

.anim-card:hover .anim-shimmer,
.anim-card:focus-within .anim-shimmer { animation: animShimmer 1.2s linear both; }

.anim-card:hover .anim-gradient,
.anim-card:focus-within .anim-gradient { animation: animGradient 1.2s ease both; }

.anim-card:hover .anim-typing,
.anim-card:focus-within .anim-typing {
  border-right-color: #0f9d8c;
  animation: animTyping 1.2s steps(14, end) both, animCaret 0.7s step-end 2;
}

.anim-card:hover .anim-orbit-dot,
.anim-card:focus-within .anim-orbit-dot { animation: animOrbit 1.2s linear both; }

@keyframes animFade {
  from { opacity: 0.2; }
  to { opacity: 1; }
}

@keyframes animSlideUp {
  from { transform: translateY(16px); opacity: 0.25; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes animSlideLeft {
  from { transform: translateX(16px); opacity: 0.25; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes animZoom {
  from { transform: scale(0.45); opacity: 0.2; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes animSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes animBounce {
  0% { transform: translateY(16px); }
  55% { transform: translateY(-6px); }
  75% { transform: translateY(2px); }
  100% { transform: translateY(0); }
}

@keyframes animPulse {
  0% { box-shadow: 0 0 0 0 rgba(15, 157, 140, 0.45); }
  100% { box-shadow: 0 0 0 16px rgba(15, 157, 140, 0); }
}

@keyframes animShimmer {
  from { background-position: 0% 0; }
  to { background-position: 200% 0; }
}

@keyframes animGradient {
  0% { transform: translateX(-6px) rotate(-4deg); filter: saturate(0.9); }
  100% { transform: translateX(6px) rotate(4deg); filter: saturate(1.15); }
}

@keyframes animTyping {
  from { width: 0; }
  to { width: 14ch; }
}

@keyframes animCaret {
  50% { border-right-color: transparent; }
}

@keyframes animOrbit {
  from { transform: rotate(0deg) translateX(18px); }
  to { transform: rotate(360deg) translateX(18px); }
}

/* ANIM SHOWCASE V2 */
.anim-showcase {
  border: 1px solid rgba(15, 157, 140, 0.18);
  border-radius: 22px;
  padding: 18px;
  background:
    radial-gradient(circle at 10% 5%, rgba(15, 157, 140, 0.11), transparent 35%),
    radial-gradient(circle at 95% 95%, rgba(249, 178, 51, 0.12), transparent 35%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(245, 251, 255, 0.9));
}

.anim-showcase .section-head {
  text-align: center;
  margin-bottom: 10px;
}

.anim-showcase-tip {
  text-align: center;
  font-size: 0.86rem;
  color: #49606f;
  margin-bottom: 14px;
}

.anim-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.anim-demo-card {
  border-radius: 16px;
  border: 1px solid rgba(15, 157, 140, 0.14);
  background: linear-gradient(170deg, #ffffff, #f8fcff);
  padding: 12px;
  box-shadow: 0 10px 24px rgba(19, 34, 53, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.anim-demo-card:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 157, 140, 0.35);
  box-shadow: 0 16px 30px rgba(15, 157, 140, 0.16);
}

.anim-demo-card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.anim-demo-visual {
  height: 98px;
  border-radius: 12px;
  border: 1px dashed rgba(15, 157, 140, 0.28);
  background: linear-gradient(160deg, rgba(15, 157, 140, 0.07), rgba(255, 255, 255, 0.92));
  padding: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.demo-title {
  text-align: center;
}

.demo-title p {
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
  color: #1a2f3f;
}

.demo-title-line {
  display: inline-block;
  opacity: 0.35;
  transform: translateY(8px);
}

.demo-btn {
  position: relative;
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, #0f9d8c, #1cb0a0);
  overflow: hidden;
}

.demo-btn::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -130%;
  width: 45%;
  height: 160%;
  background: rgba(255, 255, 255, 0.55);
  transform: rotate(20deg);
}

.demo-mini-card {
  width: 100%;
  max-width: 155px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 157, 140, 0.2);
  padding: 10px;
  display: grid;
  gap: 3px;
  transform: translateY(0);
}

.demo-mini-card strong {
  color: #183140;
  font-size: 0.88rem;
}

.demo-mini-card span {
  color: #516773;
  font-size: 0.76rem;
}

.demo-underline {
  position: relative;
  margin: 0;
  font-weight: 700;
  color: #1f3442;
}

.demo-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #0f9d8c, #f9b233);
  transform: scaleX(0);
  transform-origin: left;
}

.demo-progress {
  width: min(150px, 100%);
  height: 10px;
  border-radius: 999px;
  background: #dfe8ef;
  overflow: hidden;
  margin-bottom: 5px;
}

.demo-progress span {
  display: block;
  width: 18%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f9d8c, #f9b233);
}

.anim-demo-visual small {
  font-size: 0.74rem;
  color: #5e727f;
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  background: linear-gradient(120deg, #f6a623, #ef7f45);
  transform: scale(0.8);
  opacity: 0.65;
}

.demo-typing {
  margin: 0;
  width: 0;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid transparent;
  color: #1c3342;
  font-weight: 700;
}

.demo-shimmer {
  width: 88%;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d9e3ec 0%, #f9fcff 50%, #d9e3ec 100%);
  background-size: 200% 100%;
}

.demo-photo {
  width: 100%;
  max-width: 155px;
  height: 72px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(130deg, #0f9d8c, #205f92);
  transform: scale(1);
}

.demo-gradient {
  width: 86%;
  max-width: 150px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(130deg, #0f9d8c, #3ea7ff, #f9b233);
  background-size: 200% 200%;
}

.demo-orbit {
  width: 52px;
  height: 52px;
  position: relative;
  border-radius: 999px;
  border: 1px solid rgba(15, 157, 140, 0.45);
}

.demo-orbit-core {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #0f9d8c;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.demo-orbit-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f9b233;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: rotate(0deg) translateX(19px);
  transform-origin: center;
}

.demo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 94%;
  height: 58px;
  border-radius: 10px;
  overflow: hidden;
}

.demo-split span {
  background: #1f3848;
  transform: translateX(0);
}

.demo-split span:last-child {
  background: #0f9d8c;
}

.demo-arrow {
  font-size: 1.7rem;
  color: #0f9d8c;
  display: inline-block;
}

.demo-glow-box {
  width: 92%;
  max-width: 150px;
  height: 54px;
  border-radius: 10px;
  border: 1px solid rgba(15, 157, 140, 0.3);
  display: grid;
  place-items: center;
  color: #1f3746;
  font-weight: 700;
  background: #fff;
}

.demo-marquee {
  width: 95%;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(15, 157, 140, 0.24);
  background: #fff;
}

.demo-marquee span {
  display: inline-block;
  white-space: nowrap;
  padding: 7px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #2a4250;
}

.demo-list {
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 5px;
}

.demo-list li {
  opacity: 0.35;
  transform: translateX(-10px);
  font-size: 0.78rem;
  color: #314755;
}

.anim-demo-card:hover .demo-title-line:nth-child(1) { animation: asRise .35s ease forwards; }
.anim-demo-card:hover .demo-title-line:nth-child(2) { animation: asRise .35s ease .1s forwards; }
.anim-demo-card:hover .demo-title-line:nth-child(3) { animation: asRise .35s ease .2s forwards; }
.anim-demo-card:hover .demo-btn::after { animation: asShine .65s ease forwards; }
.anim-demo-card:hover .demo-mini-card { animation: asLift .5s ease forwards; }
.anim-demo-card:hover .demo-underline::after { animation: asLine .45s ease forwards; }
.anim-demo-card:hover .demo-progress span { animation: asFill .9s ease forwards; }
.anim-demo-card:hover .demo-badge { animation: asPop .55s ease forwards; }
.anim-demo-card:hover .demo-typing { animation: asType 1.1s steps(29, end) forwards, asCaret .6s step-end 2; border-right-color: #0f9d8c; }
.anim-demo-card:hover .demo-shimmer { animation: asShimmer 1s linear forwards; }
.anim-demo-card:hover .demo-photo { animation: asZoom .55s ease forwards; }
.anim-demo-card:hover .demo-gradient { animation: asGradient 1s ease forwards; }
.anim-demo-card:hover .demo-orbit-dot { animation: asOrbit 1s linear forwards; }
.anim-demo-card:hover .demo-split span:first-child { animation: asSplitLeft .6s ease forwards; }
.anim-demo-card:hover .demo-split span:last-child { animation: asSplitRight .6s ease forwards; }
.anim-demo-card:hover .demo-arrow { animation: asBounce .7s ease forwards; }
.anim-demo-card:hover .demo-glow-box { animation: asGlow .8s ease forwards; }
.anim-demo-card:hover .demo-marquee span { animation: asMarquee 1.2s linear forwards; }
.anim-demo-card:hover .demo-list li:nth-child(1) { animation: asList .35s ease forwards; }
.anim-demo-card:hover .demo-list li:nth-child(2) { animation: asList .35s ease .12s forwards; }
.anim-demo-card:hover .demo-list li:nth-child(3) { animation: asList .35s ease .24s forwards; }

@keyframes asRise { from { opacity: 0.35; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes asShine { to { left: 135%; } }
@keyframes asLift { to { transform: translateY(-6px); box-shadow: 0 12px 20px rgba(15, 157, 140, 0.18); } }
@keyframes asLine { to { transform: scaleX(1); } }
@keyframes asFill { to { width: 100%; } }
@keyframes asPop { 0% { transform: scale(0.8); opacity: 0.65; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes asType { from { width: 0; } to { width: 29ch; } }
@keyframes asCaret { 50% { border-right-color: transparent; } }
@keyframes asShimmer { from { background-position: 0% 0; } to { background-position: 200% 0; } }
@keyframes asZoom { to { transform: scale(1.08); } }
@keyframes asGradient { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
@keyframes asOrbit { from { transform: rotate(0deg) translateX(19px); } to { transform: rotate(360deg) translateX(19px); } }
@keyframes asSplitLeft { to { transform: translateX(-100%); } }
@keyframes asSplitRight { to { transform: translateX(100%); } }
@keyframes asBounce { 0% { transform: translateY(0); } 45% { transform: translateY(-8px); } 70% { transform: translateY(2px); } 100% { transform: translateY(0); } }
@keyframes asGlow { 50% { box-shadow: 0 0 0 6px rgba(15, 157, 140, 0.12); } 100% { box-shadow: 0 0 0 0 rgba(15, 157, 140, 0); } }
@keyframes asMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes asList { from { opacity: 0.35; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }

@media (max-width: 1100px) {
  .anim-showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .anim-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .anim-showcase-grid {
    grid-template-columns: 1fr;
  }

  .anim-demo-visual {
    height: 92px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .anim-demo-card,
  .anim-demo-card * {
    animation: none !important;
    transition: none !important;
  }
}

/* ANIM GROUPS UI */
.anim-groups {
  display: grid;
  gap: 12px;
}

.anim-group {
  border: 1px solid rgba(15, 157, 140, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  overflow: hidden;
}

.anim-group > summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  display: grid;
  gap: 2px;
  background: linear-gradient(180deg, rgba(15, 157, 140, 0.08), rgba(255, 255, 255, 0.7));
  border-bottom: 1px solid transparent;
}

.anim-group > summary::-webkit-details-marker {
  display: none;
}

.anim-group > summary span {
  font-weight: 700;
  color: #173545;
}

.anim-group > summary small {
  color: #4b6270;
  font-size: 0.78rem;
}

.anim-group[open] > summary {
  border-bottom-color: rgba(15, 157, 140, 0.2);
}

.anim-group .anim-showcase-grid {
  padding: 12px;
}

/* ANIM SHOWCASE EXTRA V3 */
.demo-flip {
  width: 120px;
  height: 58px;
  perspective: 500px;
}

.demo-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.demo-flip-front,
.demo-flip-back {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  backface-visibility: hidden;
}

.demo-flip-front {
  background: #e8f6f3;
  color: #145548;
  border: 1px solid rgba(15, 157, 140, 0.25);
}

.demo-flip-back {
  background: #0f9d8c;
  color: #fff;
  transform: rotateY(180deg);
}

.demo-toast {
  min-width: 124px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #173545;
  color: #fff;
  font-size: 0.76rem;
  transform: translateX(-40px);
  opacity: 0;
}

.demo-modal {
  width: 122px;
  height: 62px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 157, 140, 0.25);
  color: #1f3948;
  font-size: 0.74rem;
  display: grid;
  place-items: center;
  transform: scale(0.6);
  opacity: 0.35;
}

.demo-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.demo-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #0f9d8c;
  transform: translateY(0);
}

.demo-wave {
  height: 28px;
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
}

.demo-wave span {
  width: 5px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, #0f9d8c, #66d6c8);
}

.demo-skeleton {
  width: 88%;
  display: grid;
  gap: 6px;
}

.demo-skeleton i {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, #dce5ee, #f8fcff, #dce5ee);
  background-size: 200% 100%;
}

.demo-border-sweep {
  position: relative;
  padding: 8px 11px;
  border-radius: 10px;
  color: #183446;
  font-weight: 700;
  font-size: 0.76rem;
  border: 1px solid rgba(15, 157, 140, 0.3);
  overflow: hidden;
}

.demo-border-sweep::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid #0f9d8c;
  clip-path: inset(0 100% 0 0);
}

.demo-accordion {
  width: min(150px, 100%);
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(15, 157, 140, 0.26);
  background: #fff;
  position: relative;
  overflow: hidden;
}

.demo-accordion span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  background: rgba(15, 157, 140, 0.14);
}

.demo-gradient-text {
  margin: 0;
  font-weight: 800;
  font-size: 0.98rem;
  color: #1b3342;
  background: linear-gradient(90deg, #0f9d8c, #1f6ab0, #f9b233);
  -webkit-background-clip: text;
  background-clip: text;
}

.demo-highlight-text {
  margin: 0;
  font-weight: 700;
  color: #1d3645;
  background: linear-gradient(120deg, rgba(249,178,51,0.45), rgba(249,178,51,0.45)) no-repeat;
  background-size: 0% 100%;
}

.demo-blur-text {
  margin: 0;
  font-weight: 700;
  color: #1d3645;
  opacity: 0.35;
  filter: blur(3px);
}

.demo-chars {
  margin: 0;
  font-weight: 800;
  color: #173646;
}

.demo-chars span {
  display: inline-block;
  transform: translateY(8px);
  opacity: 0.2;
}

.demo-word-swap {
  position: relative;
  margin: 0;
  height: 1.2em;
  min-width: 90px;
}

.demo-word-swap b {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transform: translateY(8px);
  color: #1b3948;
}

.demo-outline-text {
  margin: 0;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px #1a3b4a;
  letter-spacing: 0.04em;
}

.demo-kern-text {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: #1b3d4c;
}

.demo-subtitle-line {
  margin: 0;
  font-size: 0.82rem;
  color: #35505f;
  transform: translateY(10px);
  opacity: 0.3;
}

.anim-demo-card:hover .demo-flip-inner { animation: asFlip .75s ease forwards; }
.anim-demo-card:hover .demo-toast { animation: asToast .55s ease forwards; }
.anim-demo-card:hover .demo-modal { animation: asModal .6s ease forwards; }
.anim-demo-card:hover .demo-dots span:nth-child(1) { animation: asDot .45s ease .02s 2; }
.anim-demo-card:hover .demo-dots span:nth-child(2) { animation: asDot .45s ease .12s 2; }
.anim-demo-card:hover .demo-dots span:nth-child(3) { animation: asDot .45s ease .22s 2; }
.anim-demo-card:hover .demo-wave span:nth-child(1) { animation: asWave .55s ease .02s 2; }
.anim-demo-card:hover .demo-wave span:nth-child(2) { animation: asWave .55s ease .08s 2; }
.anim-demo-card:hover .demo-wave span:nth-child(3) { animation: asWave .55s ease .14s 2; }
.anim-demo-card:hover .demo-wave span:nth-child(4) { animation: asWave .55s ease .2s 2; }
.anim-demo-card:hover .demo-wave span:nth-child(5) { animation: asWave .55s ease .26s 2; }
.anim-demo-card:hover .demo-skeleton i { animation: asShimmer 1s linear forwards; }
.anim-demo-card:hover .demo-border-sweep::after { animation: asBorderSweep .7s ease forwards; }
.anim-demo-card:hover .demo-accordion span { animation: asAccordion .5s ease forwards; }

.anim-demo-card:hover .demo-gradient-text { animation: asGradientText .85s ease forwards; }
.anim-demo-card:hover .demo-highlight-text { animation: asHighlight .55s ease forwards; }
.anim-demo-card:hover .demo-blur-text { animation: asBlurIn .6s ease forwards; }
.anim-demo-card:hover .demo-chars span:nth-child(1) { animation: asChar .35s ease forwards; }
.anim-demo-card:hover .demo-chars span:nth-child(2) { animation: asChar .35s ease .05s forwards; }
.anim-demo-card:hover .demo-chars span:nth-child(3) { animation: asChar .35s ease .1s forwards; }
.anim-demo-card:hover .demo-chars span:nth-child(4) { animation: asChar .35s ease .15s forwards; }
.anim-demo-card:hover .demo-chars span:nth-child(5) { animation: asChar .35s ease .2s forwards; }
.anim-demo-card:hover .demo-chars span:nth-child(6) { animation: asChar .35s ease .25s forwards; }
.anim-demo-card:hover .demo-chars span:nth-child(7) { animation: asChar .35s ease .3s forwards; }
.anim-demo-card:hover .demo-word-swap b:nth-child(1) { animation: asWord .45s ease .02s forwards; }
.anim-demo-card:hover .demo-word-swap b:nth-child(2) { animation: asWord .45s ease .45s forwards; }
.anim-demo-card:hover .demo-word-swap b:nth-child(3) { animation: asWord .45s ease .88s forwards; }
.anim-demo-card:hover .demo-outline-text { animation: asOutline .55s ease forwards; }
.anim-demo-card:hover .demo-kern-text { animation: asKern .6s ease forwards; }
.anim-demo-card:hover .demo-subtitle-line { animation: asSubline .55s ease forwards; }

@keyframes asFlip { to { transform: rotateY(180deg); } }
@keyframes asToast { to { transform: translateX(0); opacity: 1; } }
@keyframes asModal { 70% { transform: scale(1.05); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes asDot { 50% { transform: translateY(-6px); } 100% { transform: translateY(0); } }
@keyframes asWave { 50% { height: 24px; } 100% { height: 7px; } }
@keyframes asBorderSweep { to { clip-path: inset(0 0 0 0); } }
@keyframes asAccordion { to { height: 100%; } }
@keyframes asGradientText { to { color: transparent; } }
@keyframes asHighlight { to { background-size: 100% 100%; } }
@keyframes asBlurIn { to { opacity: 1; filter: blur(0); } }
@keyframes asChar { to { transform: translateY(0); opacity: 1; } }
@keyframes asWord { 0% { opacity: 0; transform: translateY(8px); } 25%, 75% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes asOutline { to { color: #1a3b4a; -webkit-text-stroke: 0; } }
@keyframes asKern { to { letter-spacing: 0.05em; } }
@keyframes asSubline { to { transform: translateY(0); opacity: 1; } }

@media (max-width: 860px) {
  .anim-showcase-grid-text {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .anim-showcase-grid-text {
    grid-template-columns: 1fr;
  }
}

/* UNIFORM CARD ANIMATIONS */
.demo-uniform-card {
  width: min(168px, 100%);
  border-radius: 12px;
  border: 1px solid rgba(15, 157, 140, 0.26);
  background: linear-gradient(170deg, #ffffff, #eef8f6);
  padding: 10px;
  display: grid;
  gap: 2px;
  position: relative;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  box-shadow: 0 8px 16px rgba(15, 56, 72, 0.1);
}

.demo-uniform-card strong {
  font-size: 0.82rem;
  color: #173646;
}

.demo-uniform-card span {
  font-size: 0.72rem;
  color: #4a626f;
}

.demo-uniform-card small {
  font-size: 0.68rem;
  color: #5f7783;
}

.demo-uniform-card::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -140%;
  width: 45%;
  height: 170%;
  transform: rotate(20deg);
  background: rgba(255, 255, 255, 0.62);
}

.card-ani-lift:hover .demo-uniform-card { animation: ucLift .45s ease forwards; }
.card-ani-shine:hover .demo-uniform-card::after { animation: ucShine .65s ease forwards; }
.card-ani-glow:hover .demo-uniform-card { animation: ucGlow .8s ease forwards; }
.card-ani-tilt:hover .demo-uniform-card { animation: ucTilt .5s ease forwards; }
.card-ani-zoom:hover .demo-uniform-card { animation: ucZoom .45s ease forwards; }
.card-ani-float:hover .demo-uniform-card { animation: ucFloat .85s ease forwards; }
.card-ani-shake:hover .demo-uniform-card { animation: ucShake .5s ease forwards; }
.card-ani-press:hover .demo-uniform-card { animation: ucPress .4s ease forwards; }
.card-ani-flip:hover .demo-uniform-card { animation: ucFlip .6s ease forwards; }
.card-ani-border:hover .demo-uniform-card { animation: ucBorder .7s ease forwards; }
.card-ani-gradient:hover .demo-uniform-card { animation: ucGradient .9s ease forwards; }
.card-ani-shadow:hover .demo-uniform-card { animation: ucShadow .8s ease forwards; }

@keyframes ucLift {
  to { transform: translateY(-7px); box-shadow: 0 16px 26px rgba(15, 157, 140, 0.2); }
}

@keyframes ucShine { to { left: 135%; } }

@keyframes ucGlow {
  50% { box-shadow: 0 0 0 6px rgba(15, 157, 140, 0.14), 0 14px 22px rgba(15, 157, 140, 0.18); }
  100% { box-shadow: 0 8px 16px rgba(15, 56, 72, 0.1); }
}

@keyframes ucTilt {
  50% { transform: rotate(-3deg) translateY(-4px); }
  100% { transform: rotate(0) translateY(0); }
}

@keyframes ucZoom {
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

@keyframes ucFloat {
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

@keyframes ucShake {
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
  100% { transform: translateX(0); }
}

@keyframes ucPress {
  40% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

@keyframes ucFlip {
  50% { transform: rotateY(16deg); }
  100% { transform: rotateY(0deg); }
}

@keyframes ucBorder {
  0% { border-color: rgba(15, 157, 140, 0.26); }
  50% { border-color: rgba(15, 157, 140, 0.95); }
  100% { border-color: rgba(15, 157, 140, 0.26); }
}

@keyframes ucGradient {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

@keyframes ucShadow {
  50% { box-shadow: 0 18px 28px rgba(22, 57, 86, 0.24); }
  100% { box-shadow: 0 8px 16px rgba(15, 56, 72, 0.1); }
}




/* FOOTER UPGRADE */
.site-footer {
  margin-top: 34px;
  border-top: 1px solid rgba(27, 63, 88, 0.2);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(15, 157, 140, 0.09) 0%, rgba(15, 157, 140, 0) 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 249, 255, 0.98));
}

.footer-grid {
  gap: 22px;
  padding: 38px 0;
}

.site-footer .brand {
  display: inline-block;
  margin-bottom: 8px;
  color: #163850;
}

.footer-title {
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  color: #163850;
}

.footer-grid p {
  color: #4a5a67;
  line-height: 1.55;
}

.footer-grid a {
  color: #1d4b69;
  text-decoration: underline;
  text-decoration-thickness: 1.25px;
  text-underline-offset: 2px;
  text-decoration-color: rgba(29, 75, 105, 0.55);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-grid a:hover {
  color: #0f9d8c;
  text-decoration-color: currentColor;
}

.footer-grid a:focus-visible {
  outline: 2px solid rgba(15, 157, 140, 0.5);
  outline-offset: 3px;
  border-radius: 4px;
}

.footer-contact-actions {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.footer-contact-link {
  display: inline-flex;
  width: fit-content;
  font-weight: 700;
}

.footer-meta {
  padding: 0 0 24px;
}

.footer-meta p {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(27, 63, 88, 0.16);
  font-size: 0.9rem;
  color: #5a6a77;
}

@media (max-width: 760px) {
  .site-footer {
    margin-top: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px 0 6px;
  }

  .footer-grid > div {
    text-align: left;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(29, 75, 105, 0.16);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 6px 12px rgba(14, 44, 65, 0.06);
  }

  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .site-footer .brand {
    display: inline-flex;
    align-items: center;
    margin-bottom: 6px;
  }

  .site-footer .brand-logo {
    height: 38px;
  }

  .footer-title {
    margin-bottom: 4px;
    font-size: 0.82rem;
  }

  .footer-grid a,
  .footer-grid p {
    margin: 2px 0;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .footer-contact-actions {
    margin-top: 6px;
    gap: 6px;
  }

  .footer-contact-link {
    width: 100%;
    justify-content: flex-start;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid rgba(15, 157, 140, 0.22);
    background: rgba(255, 255, 255, 0.92);
    text-decoration: none;
  }

  .footer-meta {
    padding: 0 0 8px;
  }

  .footer-meta p {
    text-align: left;
    font-size: 0.74rem;
    padding-top: 8px;
  }
}

/* SERVICE PAGES UPGRADE */
.services-prix-page .hero-overlay,
.service-detail-page .hero-overlay {
  background: linear-gradient(145deg, rgba(14, 28, 36, 0.76), rgba(22, 44, 58, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  box-shadow: 0 26px 48px rgba(5, 17, 24, 0.28);
  animation: serviceGlow 9s ease-in-out infinite;
}

.services-prix-page .section,
.service-detail-page .section {
  position: relative;
}

.services-prix-page .section::before,
.service-detail-page .section::before {
  content: "";
  position: absolute;
  inset: 10px -8px;
  border-radius: 20px;
  background: radial-gradient(circle at 5% 0%, rgba(15, 157, 140, 0.1), transparent 44%);
  opacity: 0.65;
  pointer-events: none;
  z-index: -1;
}

.services-prix-page .content-block,
.service-detail-page .content-block {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.95));
  border: 1px solid rgba(15, 157, 140, 0.2);
  box-shadow: 0 20px 42px rgba(15, 45, 66, 0.12);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.services-prix-page .content-block:hover,
.service-detail-page .content-block:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 157, 140, 0.34);
  box-shadow: 0 24px 48px rgba(15, 45, 66, 0.16);
}

.service-detail-page .included-grid {
  gap: 18px;
}

.service-detail-page .included-card {
  border: 1px solid rgba(15, 157, 140, 0.24);
  background: linear-gradient(165deg, #ffffff, #f7fcff 62%, #f4fbf9);
}

.service-detail-page .included-card li {
  transition: transform 0.22s ease, color 0.22s ease;
}

.service-detail-page .included-card:hover li {
  transform: translateX(2px);
  color: #3c4c59;
}

.services-prix-page .price-card {
  border-color: rgba(15, 157, 140, 0.2);
  box-shadow: 0 18px 34px rgba(15, 45, 66, 0.12);
}

.services-prix-page .price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 50px rgba(15, 45, 66, 0.18);
}

.services-prix-page .price-card .btn,
.service-detail-page .content-block .btn {
  box-shadow: 0 8px 18px rgba(15, 157, 140, 0.22);
}

.services-prix-page .price-card-more {
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, transform 0.2s ease;
}

.services-prix-page .price-card-more:hover {
  transform: translateY(-1px);
}

.service-detail-page .faq-item {
  border: 1px solid rgba(29, 75, 105, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 255, 0.94));
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-detail-page .faq-item:hover {
  border-color: rgba(15, 157, 140, 0.35);
  box-shadow: 0 14px 28px rgba(15, 45, 66, 0.12);
}

.service-detail-page .faq-item summary {
  font-weight: 700;
}

.service-detail-page .content-block p a.btn + a.btn {
  margin-left: 8px;
}

@media (max-width: 760px) {
  .services-prix-page .hero-overlay,
  .service-detail-page .hero-overlay {
    border-radius: 18px;
    box-shadow: 0 16px 30px rgba(5, 17, 24, 0.24);
  }

  .service-detail-page .content-block p a.btn + a.btn {
    margin-left: 0;
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-prix-page .hero-overlay,
  .service-detail-page .hero-overlay {
    animation: none;
  }
}

@keyframes serviceGlow {
  0% {
    box-shadow: 0 20px 40px rgba(5, 17, 24, 0.26);
  }
  50% {
    box-shadow: 0 30px 58px rgba(5, 17, 24, 0.34);
  }
  100% {
    box-shadow: 0 20px 40px rgba(5, 17, 24, 0.26);
  }
}

/* FAQ PAGE UPGRADE */
.faq-page .hero-overlay {
  background: linear-gradient(145deg, rgba(13, 32, 44, 0.78), rgba(21, 52, 74, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  box-shadow: 0 24px 46px rgba(7, 20, 31, 0.3);
}

.faq-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.faq-pill-row a {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 157, 140, 0.28);
  background: rgba(255, 255, 255, 0.82);
  color: #1a3f5c;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.faq-pill-row a:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 157, 140, 0.55);
  background: #ffffff;
}

.faq-page .faq-zone {
  position: relative;
}

.faq-page .faq-zone::before {
  content: "";
  position: absolute;
  inset: 8px -8px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 6% 0%, rgba(15, 157, 140, 0.11), transparent 42%),
    radial-gradient(circle at 92% 100%, rgba(249, 178, 51, 0.12), transparent 38%);
  z-index: -1;
  pointer-events: none;
}

.faq-page .faq-list {
  gap: 12px;
}

.faq-page .faq-item {
  border: 1px solid rgba(18, 66, 94, 0.2);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 251, 255, 0.95));
  box-shadow: 0 12px 24px rgba(16, 46, 68, 0.09);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.faq-page .faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 157, 140, 0.4);
  box-shadow: 0 16px 30px rgba(16, 46, 68, 0.13);
}

.faq-page .faq-item summary {
  font-weight: 700;
  color: #173a52;
}

.faq-page .faq-item p {
  color: #3f4e5b;
}

.faq-page .faq-item a {
  color: #145b84;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-cta-block {
  background: linear-gradient(155deg, #ffffff, #f3fbff 62%, #eefaf7);
  border: 1px solid rgba(15, 157, 140, 0.22);
  box-shadow: 0 18px 36px rgba(12, 42, 62, 0.12);
}

@media (max-width: 760px) {
  .faq-page .hero-overlay {
    border-radius: 18px;
  }

  .faq-pill-row {
    justify-content: flex-start;
  }
}

/* ABOUT PAGE UPGRADE */
.about-page .hero-overlay {
  background: linear-gradient(145deg, rgba(14, 30, 38, 0.78), rgba(19, 52, 66, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  box-shadow: 0 24px 46px rgba(7, 20, 31, 0.3);
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.about-badges span {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 157, 140, 0.24);
  background: rgba(255, 255, 255, 0.82);
  color: #1b3f58;
  font-size: 0.86rem;
  font-weight: 700;
}

.about-page .content-block {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 255, 0.95));
  border: 1px solid rgba(15, 157, 140, 0.2);
  box-shadow: 0 20px 42px rgba(14, 44, 65, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-page .content-block:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 157, 140, 0.34);
  box-shadow: 0 24px 48px rgba(14, 44, 65, 0.15);
}

.about-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-card {
  border: 1px solid rgba(15, 157, 140, 0.2);
  background: linear-gradient(165deg, #ffffff, #f7fcff 62%, #f4fbf9);
}

.about-card:hover {
  transform: translateY(-8px);
}

.about-steps {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-steps article {
  border: 1px solid rgba(29, 75, 105, 0.18);
  border-radius: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.86);
}

.about-steps strong {
  display: block;
  margin-bottom: 6px;
  color: #173a52;
}

.about-steps p {
  margin: 0;
  color: #44525e;
}

.about-page .faq-item {
  border: 1px solid rgba(18, 66, 94, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 251, 255, 0.95));
  box-shadow: 0 12px 24px rgba(16, 46, 68, 0.09);
}

.about-page .faq-item summary {
  font-weight: 700;
  color: #173a52;
}

.about-cta-block {
  background: linear-gradient(155deg, #ffffff, #f3fbff 62%, #eefaf7);
  border: 1px solid rgba(15, 157, 140, 0.22);
}

@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .about-page .hero-overlay {
    border-radius: 18px;
  }

  .about-grid,
  .about-steps {
    grid-template-columns: 1fr;
  }

  .about-badges {
    justify-content: flex-start;
  }
}

/* PROCESS PAGE UPGRADE */
.process-page .hero-overlay {
  background: linear-gradient(145deg, rgba(12, 30, 40, 0.78), rgba(19, 56, 73, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  box-shadow: 0 24px 46px rgba(7, 20, 31, 0.3);
}

.process-intro {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-intro article {
  border: 1px solid rgba(15, 157, 140, 0.22);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(245, 251, 255, 0.92));
  padding: 14px;
  box-shadow: 0 12px 24px rgba(14, 44, 65, 0.09);
}

.process-intro strong {
  display: block;
  font-size: 1.05rem;
  color: #173a52;
}

.process-intro span {
  color: #4b5966;
  font-size: 0.92rem;
}

.process-roadmap .section-head {
  text-align: center;
}

.process-timeline {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding: 0;
}

.process-stage {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: start;
}

.process-stage-index {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #143447;
  background: linear-gradient(130deg, rgba(15, 157, 140, 0.2), rgba(249, 178, 51, 0.28));
  border: 1px solid rgba(15, 157, 140, 0.3);
  box-shadow: 0 8px 18px rgba(15, 157, 140, 0.2);
}

.process-stage-body {
  border: 1px solid rgba(15, 157, 140, 0.2);
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(165deg, #ffffff, #f7fcff 62%, #f4fbf9);
  box-shadow: 0 14px 28px rgba(14, 44, 65, 0.11);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.process-stage:hover .process-stage-body {
  transform: translateY(-3px);
  border-color: rgba(15, 157, 140, 0.36);
  box-shadow: 0 18px 34px rgba(14, 44, 65, 0.15);
}

.process-stage-body h3 {
  margin-bottom: 8px;
}

.process-stage-body p {
  color: #445563;
}

.process-stage-body ul {
  margin-top: 10px;
  padding-left: 16px;
  display: grid;
  gap: 5px;
}

.process-stage-body li {
  color: #495864;
}

.process-page .content-block {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 255, 0.95));
  border: 1px solid rgba(15, 157, 140, 0.2);
  box-shadow: 0 20px 42px rgba(14, 44, 65, 0.12);
}

.process-page .faq-item {
  border: 1px solid rgba(18, 66, 94, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 251, 255, 0.95));
}

.process-page .faq-item summary {
  font-weight: 700;
  color: #173a52;
}

.process-cta-block {
  background: linear-gradient(155deg, #ffffff, #f3fbff 62%, #eefaf7);
  border: 1px solid rgba(15, 157, 140, 0.24);
}

@media (max-width: 980px) {
  .process-intro {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .process-page .hero-overlay {
    border-radius: 18px;
  }

  .process-intro,
  .process-stage {
    grid-template-columns: 1fr;
  }

  .process-stage {
    gap: 8px;
  }
}

/* LEGAL PAGE UPGRADE */
.legal-page .hero-overlay {
  background: linear-gradient(145deg, rgba(14, 30, 38, 0.78), rgba(20, 52, 68, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  box-shadow: 0 24px 46px rgba(7, 20, 31, 0.3);
}

.legal-page .legal-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 255, 0.95));
  border: 1px solid rgba(15, 157, 140, 0.2);
  box-shadow: 0 18px 36px rgba(14, 44, 65, 0.11);
}

.legal-page .legal-card h2 {
  margin-bottom: 10px;
}

.legal-page .legal-card p {
  margin: 8px 0;
  color: #445564;
}

.legal-page .legal-card a {
  color: #16587f;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page .legal-highlight {
  border-color: rgba(15, 157, 140, 0.32);
  background: linear-gradient(155deg, #ffffff, #f3fbff 62%, #eefaf7);
}

@media (max-width: 760px) {
  .legal-page .hero-overlay {
    border-radius: 18px;
  }
}

/* PRIVACY PAGE UPGRADE */
.privacy-page .hero-overlay {
  background: linear-gradient(145deg, rgba(14, 30, 38, 0.78), rgba(20, 52, 68, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  box-shadow: 0 24px 46px rgba(7, 20, 31, 0.3);
}

.privacy-page .privacy-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 255, 0.95));
  border: 1px solid rgba(15, 157, 140, 0.2);
  box-shadow: 0 18px 36px rgba(14, 44, 65, 0.11);
}

.privacy-page .privacy-card h2 {
  margin-bottom: 10px;
}

.privacy-page .privacy-card p {
  margin: 8px 0;
  color: #445564;
}

.privacy-page .privacy-card ul {
  margin: 8px 0 10px;
  padding-left: 18px;
  display: grid;
  gap: 5px;
}

.privacy-page .privacy-card li {
  color: #495864;
}

.privacy-page .privacy-card a {
  color: #16587f;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-page .privacy-highlight {
  border-color: rgba(15, 157, 140, 0.32);
  background: linear-gradient(155deg, #ffffff, #f3fbff 62%, #eefaf7);
}

@media (max-width: 760px) {
  .privacy-page .hero-overlay {
    border-radius: 18px;
  }
}

/* MOBILE POLISH - GLOBAL */
@media (max-width: 760px) {
  :root {
    --radius: 16px;
    --radius-sm: 12px;
  }

  body {
    line-height: 1.55;
  }

  .container {
    width: min(700px, calc(100vw - 24px));
  }

  .site-header {
    backdrop-filter: blur(12px);
    background: rgba(245, 243, 238, 0.96);
  }

  .nav-wrap {
    min-height: 82px;
  }

  .brand-logo {
    height: 56px;
  }

  .main-nav {
    top: 84px;
    left: 12px;
    right: 12px;
    padding: 10px;
    border-radius: 16px;
    gap: 6px;
    box-shadow: 0 16px 34px rgba(10, 30, 48, 0.18);
  }

  .main-nav a {
    padding: 11px 12px;
    border-radius: 12px;
    font-size: 0.96rem;
    line-height: 1.35;
  }

  .main-nav .btn {
    margin-top: 4px;
    width: 100%;
  }

  h1 {
    font-size: clamp(1.85rem, 8.4vw, 2.45rem);
    line-height: 1.13;
  }

  h2 {
    font-size: clamp(1.4rem, 6.7vw, 1.95rem);
    line-height: 1.2;
  }

  .lead,
  .section-sub,
  .content-block p,
  .card p,
  .price-card li,
  .faq-item p,
  .legal-card p,
  .privacy-card p {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .page-hero {
    padding: 56px 0 14px;
  }

  .hero {
    padding: 18px 12px 16px;
  }

  .hero-actions {
    width: 100%;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 34px 0;
  }

  .section-system {
    padding: 40px 0;
  }

  .card,
  .price-card,
  .content-block,
  .process-step,
  .faq-item,
  .legal-card,
  .privacy-card {
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 10px 24px rgba(14, 39, 56, 0.1);
  }

  .card-grid,
  .pricing-grid,
  .process-steps,
  .proof-grid {
    gap: 10px;
    padding: 2px 8px 12px;
    scroll-padding-left: 8px;
    scroll-padding-right: 8px;
  }

  .card-grid > *,
  .pricing-grid > *,
  .process-steps > *,
  .proof-grid > * {
    flex: 0 0 min(84vw, 360px);
    max-width: min(84vw, 360px);
  }

  .btn,
  .footer-action-btn,
  .contact-quick-actions .btn {
    min-height: 46px;
  }

  .form-grid {
    gap: 10px;
  }

  input,
  textarea,
  select {
    font-size: 16px;
    border-radius: 12px;
    padding: 11px 12px;
  }

  textarea {
    min-height: 120px;
  }

  .site-preview,
  .theme-preview {
    border-radius: 10px;
  }

  iframe,
  img,
  video,
  svg,
  table {
    max-width: 100%;
  }

  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-footer {
    margin-top: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 0 8px;
  }

  .footer-grid > div {
    text-align: left;
    padding: 12px;
  }

  .footer-title {
    margin-bottom: 6px;
    font-size: 0.9rem;
  }

  .footer-grid a,
  .footer-grid p {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .footer-meta p {
    text-align: left;
    font-size: 0.8rem;
  }
}

/* GLOBAL MOBILE OVERFLOW FIX */
@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  main,
  section,
  .container,
  .site-header,
  .site-footer {
    max-width: 100vw;
  }
}

/* REALISATIONS PAGE REWORK */
.realisations-page .hero-overlay {
  background: linear-gradient(145deg, rgba(12, 29, 39, 0.78), rgba(19, 49, 65, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  box-shadow: 0 22px 44px rgba(7, 20, 31, 0.28);
}

.realisations-page .realisations-intro .content-block {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 255, 0.94));
  border: 1px solid rgba(15, 157, 140, 0.2);
}

.realisations-page .metier-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.realisations-page .metier-card {
  text-align: left;
  border: 1px solid rgba(15, 157, 140, 0.24);
  background: linear-gradient(165deg, #ffffff, #f5fbff 62%, #f2faf8);
}

.realisations-page .metier-card h3 {
  margin-bottom: 6px;
}

.realisations-page .metier-card p {
  color: #4c5a66;
}

.realisations-page .metier-card .portfolio-link {
  margin-top: 10px;
}

@media (max-width: 980px) {
  .realisations-page .metier-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .realisations-page .hero-overlay {
    border-radius: 18px;
  }

  .realisations-page .section {
    padding: 30px 0;
  }

  .realisations-page .card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
    cursor: default;
  }

  .realisations-page .card-grid > * {
    flex: initial;
    max-width: none;
  }

  .realisations-page .metier-card {
    border-radius: 14px;
    padding: 16px;
  }
}

/* MOBILE SAFETY PATCH: prevent right-side gap on all pages */
@media (max-width: 760px) {
  .container {
    width: calc(100% - 24px) !important;
  }

  .hero {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  main,
  section,
  header,
  footer {
    overflow-x: clip;
  }
}

/* MOBILE HARD FIX: disable horizontal carousel layouts that cause right overflow */
@media (max-width: 760px) {
  .card-grid,
  .pricing-grid,
  .process-steps,
  .proof-grid,
  .stats-grid,
  .footer-grid,
  .split {
    display: grid !important;
    grid-template-columns: 1fr !important;
    overflow: visible !important;
    overflow-x: visible !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    scroll-snap-type: none !important;
  }

  .card-grid > *,
  .pricing-grid > *,
  .process-steps > *,
  .proof-grid > * {
    flex: initial !important;
    max-width: 100% !important;
  }

  .card-grid::before,
  .card-grid::after,
  .pricing-grid::before,
  .pricing-grid::after,
  .process-steps::before,
  .process-steps::after,
  .proof-grid::before,
  .proof-grid::after {
    display: none !important;
  }

  .carousel-hint,
  .carousel-nav {
    display: none !important;
  }

  .container,
  main,
  section,
  header,
  footer {
    overflow-x: hidden !important;
  }
}

/* MOBILE HEADER FIX: remove right overflow from header only */
@media (max-width: 760px) {
  .site-header {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .site-header .nav-wrap {
    min-width: 0;
    grid-template-columns: 1fr auto;
  }

  .site-header .brand {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .site-header .brand-logo {
    display: block;
    width: clamp(140px, 48vw, 220px) !important;
    height: auto !important;
    max-width: 100% !important;
  }

  .site-header .nav-toggle {
    flex: 0 0 auto;
  }

  .site-header .main-nav {
    left: 12px;
    right: 12px;
    width: auto;
    max-width: calc(100vw - 24px);
  }
}

@media (max-width: 760px) {
  .site-header .nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .site-header .brand {
    flex: 1 1 auto;
  }

  .site-header .nav-toggle {
    margin-left: 6px;
  }
}

/* MOBILE HERO FULL-BLEED FIX: remove beige strip on the right */
@media (max-width: 760px) {
  .hero.container {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
  }
}

/* DESKTOP REDESIGN ONLY: realisations + exemples pages */
@media (min-width: 981px) {
  .realisations-page .hero {
    min-height: 62vh;
    padding: 56px 28px;
  }

  .realisations-page .hero-overlay {
    max-width: 920px;
    margin: 0 auto;
    padding: 34px 32px;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(12, 29, 39, 0.74), rgba(19, 49, 65, 0.58));
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 26px 54px rgba(7, 20, 31, 0.28);
  }

  .realisations-page .realisations-intro .content-block {
    max-width: 860px;
    margin: 0 auto;
    padding: 30px 34px;
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 255, 0.94));
    border: 1px solid rgba(15, 157, 140, 0.2);
  }

  .realisations-page .metier-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .realisations-page .metier-card {
    min-height: 280px;
    display: grid;
    align-content: start;
    gap: 8px;
    text-align: left;
    border-radius: 18px;
    padding: 22px;
    border: 1px solid rgba(15, 157, 140, 0.24);
    background: linear-gradient(165deg, #ffffff, #f5fbff 62%, #f2faf8);
    box-shadow: 0 14px 30px rgba(12, 38, 55, 0.11);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  }

  .realisations-page .metier-card:hover {
    transform: translateY(-7px);
    border-color: rgba(15, 157, 140, 0.42);
    box-shadow: 0 22px 38px rgba(12, 38, 55, 0.16);
  }

  .realisations-page .metier-card .portfolio-link {
    margin-top: auto;
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .hero {
    min-height: 56vh;
    padding: 48px 28px;
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .hero-overlay {
    max-width: 900px;
    margin: 0 auto;
    padding: 28px 30px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(13, 29, 41, 0.72), rgba(20, 48, 66, 0.56));
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 24px 48px rgba(8, 22, 34, 0.28);
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .examples-wrap {
    border: 1px solid rgba(15, 157, 140, 0.16);
    border-radius: 22px;
    padding: 24px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.86), rgba(246, 251, 255, 0.92));
    box-shadow: 0 18px 36px rgba(12, 38, 55, 0.11);
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .examples-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .preview-card {
    display: grid;
    grid-template-rows: auto 1fr;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(15, 157, 140, 0.2);
    background: linear-gradient(165deg, #ffffff, #f7fbff 65%, #f3faf8);
    box-shadow: 0 12px 26px rgba(12, 38, 55, 0.11);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .preview-card:hover {
    transform: translateY(-6px);
    border-color: rgba(15, 157, 140, 0.38);
    box-shadow: 0 20px 36px rgba(12, 38, 55, 0.16);
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .site-preview {
    height: 250px;
    margin: 0;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid rgba(15, 157, 140, 0.16);
    background: #eef4fb;
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .site-preview iframe {
    width: 1280px;
    height: 780px;
    transform: scale(0.44);
    transform-origin: top center;
    pointer-events: none;
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .preview-meta {
    display: grid;
    gap: 8px;
    padding: 14px;
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .preview-meta h3 {
    font-size: 1.06rem;
    line-height: 1.3;
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .examples-back {
    margin-top: 22px;
  }
}

/* DESKTOP: highlight demo-live cards in exemples pages */
@media (min-width: 981px) {
  .examples-wrap .theme-card.is-demo-live {
    position: relative;
    border-color: rgba(15, 157, 140, 0.5) !important;
    background: linear-gradient(165deg, #ffffff, #eefaf8 62%, #eaf4ff) !important;
    box-shadow: 0 22px 40px rgba(10, 34, 48, 0.16), 0 0 0 1px rgba(15, 157, 140, 0.16) inset;
  }

  .examples-wrap .theme-card.is-demo-live::after {
    content: "Demo live";
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0b3f37;
    background: linear-gradient(135deg, #6ef0dc, #f3ffb2);
    border: 1px solid rgba(11, 63, 55, 0.2);
    box-shadow: 0 8px 14px rgba(10, 34, 48, 0.18);
    z-index: 3;
  }

  .examples-wrap .theme-card.is-demo-live .theme-pill {
    color: #0d5d54;
    border-color: rgba(15, 157, 140, 0.35);
    background: rgba(15, 157, 140, 0.14);
  }

  .examples-wrap .theme-card.is-demo-live .portfolio-link {
    color: #0c5a52;
    border-color: rgba(15, 157, 140, 0.32);
    background: rgba(15, 157, 140, 0.12);
  }

  .examples-wrap .theme-card.is-demo-live:hover {
    border-color: rgba(15, 157, 140, 0.62) !important;
    box-shadow: 0 28px 46px rgba(10, 34, 48, 0.2), 0 0 0 1px rgba(15, 157, 140, 0.24) inset;
  }
}

/* DESKTOP TUNE: prettier cards on exemples-artisan */
@media (min-width: 981px) {
  .page-artisan .examples-wrap {
    padding: 28px;
    border-radius: 28px;
  }

  .page-artisan .examples-grid {
    gap: 20px;
  }

  .page-artisan .preview-card {
    border-radius: 26px !important;
    padding: 10px;
    border: 1px solid rgba(15, 157, 140, 0.24) !important;
    background:
      radial-gradient(circle at 86% 8%, rgba(249, 178, 51, 0.16), transparent 34%),
      linear-gradient(165deg, #ffffff, #f4fbff 66%, #f2faf7) !important;
    box-shadow: 0 18px 34px rgba(12, 38, 55, 0.13) !important;
    overflow: visible;
  }

  .page-artisan .preview-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 28px 46px rgba(12, 38, 55, 0.19) !important;
  }

  .page-artisan .preview-card .site-preview {
    height: 230px;
    border-radius: 18px;
    border: 1px solid rgba(15, 157, 140, 0.18);
    margin-bottom: 10px;
    overflow: hidden;
    background: #eef3fa;
  }

  .page-artisan .preview-card .preview-meta {
    border-radius: 14px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(15, 157, 140, 0.15);
  }

  .page-artisan .preview-card .theme-pill {
    width: fit-content;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 0.72rem;
  }

  .page-artisan .preview-card .portfolio-link {
    border-radius: 999px;
  }
}

/* DESKTOP FIX: remove frame-in-frame and enlarge artisan preview cards */
@media (min-width: 981px) {
  .page-artisan .preview-card {
    padding: 0 !important;
    border-radius: 28px !important;
    overflow: hidden !important;
  }

  .page-artisan .preview-card .site-preview {
    height: 320px !important;
    border: 0 !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
  }

  .page-artisan .preview-card .preview-meta {
    border: 0 !important;
    border-top: 1px solid rgba(15, 157, 140, 0.18) !important;
    border-radius: 0 !important;
    padding: 14px 16px 16px !important;
    background: rgba(255, 255, 255, 0.92) !important;
  }
}

/* ARTISAN CARDS REDESIGN (desktop) */
@media (min-width: 981px) {
  .page-artisan .examples-wrap {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .page-artisan .examples-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
  }

  .page-artisan .preview-card {
    position: relative;
    border: 0 !important;
    border-radius: 30px !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #0f1b26 !important;
    box-shadow: 0 24px 44px rgba(8, 20, 32, 0.28) !important;
    transform: translateY(0);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .page-artisan .preview-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 34px 54px rgba(8, 20, 32, 0.34) !important;
  }

  .page-artisan .preview-card .site-preview {
    height: 360px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #0f1b26 !important;
  }

  .page-artisan .preview-card .site-preview iframe {
    width: 1280px;
    height: 780px;
    transform: scale(0.52) !important;
    transform-origin: top center;
    pointer-events: none;
  }

  .page-artisan .preview-card .preview-meta {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 16px !important;
    padding: 12px 14px !important;
    background: linear-gradient(160deg, rgba(8, 24, 36, 0.78), rgba(15, 33, 46, 0.62)) !important;
    backdrop-filter: blur(5px);
    color: #f4f8fb;
    z-index: 2;
  }

  .page-artisan .preview-card .preview-meta h3 {
    color: #f4f8fb;
    font-size: 1.08rem;
    line-height: 1.25;
    margin: 0;
  }

  .page-artisan .preview-card .theme-pill {
    color: #0d5b53 !important;
    background: linear-gradient(135deg, #69edd7, #f0ffb4) !important;
    border: 0 !important;
    font-weight: 800;
    padding: 5px 10px;
  }

  .page-artisan .preview-card .portfolio-link {
    color: #eff7fb;
    border-color: rgba(255, 255, 255, 0.32) !important;
    background: rgba(255, 255, 255, 0.1) !important;
  }
}

/* DESKTOP: center all site previews inside example cards */
@media (min-width: 981px) {
  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .preview-card .site-preview {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .preview-card .site-preview iframe {
    display: block;
    margin: 0 auto;
    left: auto !important;
    position: relative;
    transform-origin: top center !important;
  }
}

/* ARTISAN DESKTOP HOTFIX: override legacy demo-live iframe offsets */
@media (min-width: 981px) {
  .page-artisan .preview-card.is-demo-live .site-preview {
    width: 100% !important;
    border-radius: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .page-artisan .preview-card.is-demo-live .site-preview iframe,
  .page-artisan .preview-card .site-preview iframe {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    width: 1280px !important;
    height: 780px !important;
    transform: translateX(-50%) scale(0.44) !important;
    transform-origin: top center !important;
    margin: 0 !important;
    display: block !important;
  }

  .page-artisan .preview-card .site-preview {
    position: relative !important;
    background: #dfe7f1 !important;
    cursor: ns-resize;
  }

  .page-artisan .preview-card .site-preview iframe {
    pointer-events: none !important;
  }
}

/* DESKTOP: interactive centered previews on all main exemples pages */
@media (min-width: 981px) {
  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .preview-card.is-demo-live .site-preview {
    width: 100% !important;
    border-radius: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .preview-card .site-preview {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    overflow: hidden !important;
    cursor: ns-resize;
    background: #dfe7f1 !important;
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .preview-card .site-preview iframe {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    width: 1280px !important;
    height: 780px !important;
    transform: translateX(-50%) scale(0.44) !important;
    transform-origin: top center !important;
    margin: 0 !important;
    display: block !important;
    pointer-events: none !important;
  }
}



/* DESKTOP: artisan-like cards for beaute / electricien / garagiste (2 per row) */
@media (min-width: 981px) {
  :is(.page-beaute,.page-electricien,.page-garagiste) .examples-wrap {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  :is(.page-beaute,.page-electricien,.page-garagiste) .examples-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
    max-width: 1200px;
    margin: 0 auto;
  }

  :is(.page-beaute,.page-electricien,.page-garagiste) .preview-card {
    position: relative;
    border: 0 !important;
    border-radius: 30px !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #0f1b26 !important;
    box-shadow: 0 24px 44px rgba(8, 20, 32, 0.28) !important;
    transform: translateY(0);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  :is(.page-beaute,.page-electricien,.page-garagiste) .preview-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 34px 54px rgba(8, 20, 32, 0.34) !important;
  }

  :is(.page-beaute,.page-electricien,.page-garagiste) .preview-card .site-preview {
    height: 360px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #dfe7f1 !important;
  }

  :is(.page-beaute,.page-electricien,.page-garagiste) .preview-card .site-preview iframe {
    width: 1280px !important;
    height: 780px !important;
    transform: translateX(-50%) scale(0.44) !important;
    transform-origin: top center !important;
  }

  :is(.page-beaute,.page-electricien,.page-garagiste) .preview-card .preview-meta {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 16px !important;
    padding: 12px 14px !important;
    background: linear-gradient(160deg, rgba(8, 24, 36, 0.78), rgba(15, 33, 46, 0.62)) !important;
    backdrop-filter: blur(5px);
    color: #f4f8fb;
    z-index: 2;
  }

  :is(.page-beaute,.page-electricien,.page-garagiste) .preview-card .preview-meta h3 {
    color: #f4f8fb;
    font-size: 1.08rem;
    line-height: 1.25;
    margin: 0;
  }

  :is(.page-beaute,.page-electricien,.page-garagiste) .preview-card .theme-pill {
    color: #0d5b53 !important;
    background: linear-gradient(135deg, #69edd7, #f0ffb4) !important;
    border: 0 !important;
    font-weight: 800;
    padding: 5px 10px;
  }

  :is(.page-beaute,.page-electricien,.page-garagiste) .preview-card .portfolio-link {
    color: #eff7fb;
    border-color: rgba(255, 255, 255, 0.32) !important;
    background: rgba(255, 255, 255, 0.1) !important;
  }
}

/* QUICK BACK BUTTON (examples pages) */
.back-shortcut {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  border: 1px solid rgba(15, 157, 140, 0.38);
  background: linear-gradient(135deg, #0f9d8c, #0d7f72);
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1;
  box-shadow: 0 12px 26px rgba(10, 37, 52, 0.24);
  cursor: pointer;
}

.back-shortcut:hover {
  transform: translateY(-1px);
}

.examples-wrap .portfolio-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  width: 100% !important;
  margin-top: 8px !important;
  padding: 10px 14px !important;
  border-radius: 999px !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  color: #f7fdff !important;
  border: 1px solid rgba(120, 244, 224, 0.65) !important;
  background: linear-gradient(135deg, rgba(15, 157, 140, 0.92), rgba(9, 117, 126, 0.92)) !important;
  box-shadow: 0 10px 24px rgba(8, 32, 42, 0.28) !important;
}

.examples-wrap .portfolio-link:hover {
  transform: translateY(-1px) !important;
  filter: brightness(1.05);
}


@media (max-width: 760px) {
  .back-shortcut {
    left: 12px;
    bottom: 78px;
    padding: 10px 13px;
    font-size: 0.88rem;
  }
}

/* MOBILE UNIFIED PASS - single source of truth */
@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  .container {
    width: calc(100% - 24px) !important;
    max-width: none !important;
  }

  .hero.container {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .site-header {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .site-header .nav-wrap {
    min-height: 82px;
    gap: 8px;
  }

  .site-header .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .site-header .brand-logo {
    width: clamp(145px, 50vw, 210px) !important;
    height: auto !important;
    max-width: 100% !important;
  }

  .site-header .main-nav {
    left: 12px !important;
    right: 12px !important;
    max-width: calc(100vw - 24px) !important;
  }

  .site-header .main-nav.open {
    display: flex !important;
  }

  .section {
    padding: 34px 0 !important;
  }

  .page-hero {
    padding: 52px 0 14px !important;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
    line-height: 1.14;
  }

  .lead,
  .section-sub,
  .content-block p,
  .card p,
  .price-card li {
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .card-grid,
  .pricing-grid,
  .process-steps,
  .proof-grid,
  .stats-grid,
  .split,
  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    overflow: visible !important;
    padding: 0 !important;
    scroll-snap-type: none !important;
  }

  .card-grid > *,
  .pricing-grid > *,
  .process-steps > *,
  .proof-grid > * {
    max-width: 100% !important;
    flex: initial !important;
  }

  .carousel-hint,
  .carousel-nav {
    display: none !important;
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .examples-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .preview-card {
    padding: 0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .preview-card .site-preview {
    width: 100% !important;
    height: 220px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #eef3f9 !important;
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .preview-card .site-preview iframe {
    width: 100% !important;
    height: 100% !important;
    position: static !important;
    left: auto !important;
    transform: none !important;
    transform-origin: initial !important;
    pointer-events: none !important;
    display: block !important;
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .preview-card .preview-meta {
    position: static !important;
    border: 0 !important;
    border-top: 1px solid rgba(17, 57, 79, 0.12) !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.92) !important;
    padding: 12px !important;
  }

  .examples-wrap .portfolio-link {
    min-height: 44px !important;
    width: 100% !important;
  }

  .site-footer {
    margin-top: 14px !important;
  }

  .footer-grid > div {
    text-align: left;
    padding: 12px !important;
  }

  .back-shortcut {
    bottom: 86px !important;
  }
}

/* STABILITY PATCH - mobile nav + scroll */
@media (max-width: 760px) {
  html,
  body {
    height: auto !important;
    min-height: 100%;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  main,
  section,
  .section,
  .examples-wrap {
    overflow-y: visible !important;
    max-height: none !important;
  }

  .site-header .nav-toggle {
    display: none !important;
  }

  .site-header .nav-wrap {
    flex-wrap: wrap !important;
    row-gap: 8px !important;
  }

  .site-header .brand {
    flex: 1 1 auto !important;
  }

  .site-header .main-nav {
    display: flex !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: none !important;
    margin-top: 4px;
    padding: 8px !important;
    border-radius: 12px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    box-shadow: 0 8px 18px rgba(10, 30, 48, 0.12) !important;
    background: #fff !important;
    border: 1px solid rgba(17, 57, 79, 0.14) !important;
    z-index: 30;
  }

.site-header .main-nav a {
    text-align: center;
  }
}

/* MOBILE REDESIGN - FULL UI REFRESH (DESKTOP UNAFFECTED) */
@media (max-width: 760px) {
  :root {
    --m-bg: #f3f6fb;
    --m-surface: #ffffff;
    --m-ink: #112133;
    --m-muted: #607285;
    --m-line: #d7e0ea;
    --m-accent: #0c7a6b;
    --m-accent-strong: #0a5e53;
    --m-sun: #f2b949;
    --m-shadow: 0 12px 30px rgba(10, 35, 56, 0.12);
    --m-radius: 18px;
  }

  body {
    background:
      radial-gradient(circle at 0% 0%, rgba(12, 122, 107, 0.14), transparent 38%),
      radial-gradient(circle at 100% 0%, rgba(242, 185, 73, 0.2), transparent 34%),
      linear-gradient(180deg, #f3f7fc 0%, #eef3f9 44%, #f7f9fc 100%) !important;
    color: var(--m-ink) !important;
    text-align: left !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  .site-bg {
    background: none !important;
  }

  .container {
    width: calc(100% - 28px) !important;
    max-width: none !important;
  }

  .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 50 !important;
    backdrop-filter: blur(14px) !important;
    background: rgba(246, 250, 255, 0.9) !important;
    border-bottom: 1px solid rgba(17, 33, 51, 0.08) !important;
  }

  .site-header .nav-wrap {
    min-height: 78px !important;
    padding: 8px 0 !important;
    gap: 10px !important;
    align-items: center !important;
  }

  .site-header .brand {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .site-header .brand-logo {
    height: 56px !important;
    width: auto !important;
    max-width: 100% !important;
  }

  .site-header .main-nav {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 8px !important;
    padding: 6px 2px 2px !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    scrollbar-width: none;
  }

  .site-header .main-nav::-webkit-scrollbar {
    display: none;
  }

  .site-header .main-nav a,
  .site-header .main-nav .btn {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    text-align: center !important;
    border-radius: 999px !important;
    border: 1px solid rgba(17, 33, 51, 0.12) !important;
    background: #ffffff !important;
    color: var(--m-ink) !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    padding: 10px 13px !important;
  }

  .site-header .main-nav a.active {
    background: linear-gradient(135deg, #0f8d7c, #0a665a) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 8px 18px rgba(10, 102, 90, 0.25) !important;
  }

  .hero {
    width: 100% !important;
    margin: 0 !important;
    min-height: auto !important;
    border-radius: 0 !important;
    padding: 18px 14px 8px !important;
  }

  .hero-cover {
    border-radius: 22px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.26) !important;
    box-shadow: var(--m-shadow) !important;
  }

  .hero-overlay {
    width: 100% !important;
    margin: 0 !important;
    padding: 16px 14px !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, rgba(9, 23, 36, 0.74), rgba(9, 23, 36, 0.58)) !important;
    text-align: left !important;
  }

  .hero .kicker {
    font-size: 0.72rem !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 10px !important;
    color: #ffe5a6 !important;
  }

  .hero h1 {
    max-width: none !important;
    font-size: clamp(1.75rem, 8.2vw, 2.25rem) !important;
    line-height: 1.08 !important;
    margin: 0 0 10px !important;
    color: #f8fbff !important;
  }

  .hero .lead {
    max-width: none !important;
    margin: 0 !important;
    font-size: 0.98rem !important;
    color: #e8f0f7 !important;
  }

  .hero-note {
    margin: 14px 0 8px !important;
    justify-content: flex-start !important;
    font-size: 0.78rem !important;
    padding: 7px 12px !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
  }

  .hero-actions {
    margin: 16px 0 12px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .btn,
  .contact-quick-actions .btn {
    width: 100% !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
  }

  .btn:not(.btn-ghost) {
    background: linear-gradient(135deg, var(--m-accent), var(--m-accent-strong)) !important;
    box-shadow: 0 10px 22px rgba(12, 122, 107, 0.24) !important;
  }

  .btn-ghost {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #f4f8fc !important;
    border-color: rgba(255, 255, 255, 0.32) !important;
  }

  .section {
    padding: 28px 0 !important;
  }

  .section-head {
    margin-bottom: 14px !important;
  }

  h2 {
    font-size: clamp(1.35rem, 6.7vw, 1.8rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
  }

  .section-sub,
  .content-block p,
  .card p,
  .price-card li,
  .faq-item p,
  .process-step p {
    font-size: 0.95rem !important;
    line-height: 1.56 !important;
  }

  .card-grid,
  .pricing-grid,
  .process-steps,
  .proof-grid,
  .stats-grid,
  .footer-grid,
  .form-grid,
  .included-grid,
  .service-hubs-grid,
  .examples-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 0 !important;
  }

  .card,
  .price-card,
  .content-block,
  .process-step,
  .faq-item,
  .included-card,
  .service-hub-card,
  .theme-card,
  .contact-form-card {
    border-radius: var(--m-radius) !important;
    border: 1px solid var(--m-line) !important;
    background: linear-gradient(180deg, #ffffff, #fbfdff) !important;
    box-shadow: var(--m-shadow) !important;
    padding: 14px !important;
  }

  .card h3,
  .price-card h3,
  .process-step h3 {
    font-size: 1.18rem !important;
    margin-bottom: 6px !important;
  }

  .pricing-showcase .price-card .price {
    font-size: 1.45rem !important;
    line-height: 1.1 !important;
  }

  .pricing-showcase .price-card.featured {
    border-color: rgba(12, 122, 107, 0.35) !important;
    box-shadow: 0 14px 30px rgba(12, 122, 107, 0.22) !important;
    background: linear-gradient(180deg, #ffffff, #f0fbf8) !important;
  }

  .process-step {
    position: relative !important;
    padding-left: 16px !important;
  }

  .process-step::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 12px !important;
    bottom: 12px !important;
    width: 4px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #13a28f, #0a675a) !important;
  }

  .process-steps::before {
    display: none !important;
  }

  .stats-grid article,
  .proof-stats article {
    border-radius: 14px !important;
    border: 1px solid rgba(17, 33, 51, 0.1) !important;
    background: #ffffff !important;
    padding: 12px !important;
  }

  .stats-grid strong,
  .proof-stats strong {
    color: var(--m-accent-strong) !important;
    font-size: 1.2rem !important;
  }

  .faq-item summary {
    font-size: 0.96rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
  }

  input,
  textarea,
  select {
    border-radius: 12px !important;
    border: 1px solid var(--m-line) !important;
    background: #f9fcff !important;
    color: var(--m-ink) !important;
    padding: 12px !important;
    font-size: 0.94rem !important;
  }

  input:focus,
  textarea:focus,
  select:focus {
    outline: none !important;
    border-color: rgba(12, 122, 107, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(12, 122, 107, 0.14) !important;
  }

  .examples-wrap .theme-card,
  .examples-wrap .preview-card {
    overflow: hidden !important;
    padding: 0 !important;
  }

  .examples-wrap .site-preview {
    border: 0 !important;
    border-radius: 0 !important;
    height: 220px !important;
    margin: 0 !important;
    background: #eaf0f7 !important;
  }

  .examples-wrap .preview-meta,
  .examples-wrap .theme-card > :not(.site-preview) {
    padding: 12px !important;
  }

  .examples-wrap .portfolio-link {
    width: 100% !important;
    min-height: 44px !important;
    border-radius: 10px !important;
    font-size: 0.84rem !important;
  }

  .site-footer {
    margin-top: 12px !important;
    border-top: 1px solid rgba(17, 33, 51, 0.08) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(244, 248, 252, 0.92)) !important;
  }

  .site-footer .brand-logo {
    height: 50px !important;
  }
}

/* MOBILE SCROLL HOTFIX - prevent touch lock on some pages */
@media (max-width: 760px) {
  html,
  body {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
  }

  body,
  main,
  .section,
  .examples-wrap,
  .site-footer {
    max-height: none !important;
    overflow-y: visible !important;
  }

  /* Horizontal nav should scroll sideways without locking page scroll */
  .site-header .main-nav {
    touch-action: pan-x !important;
    overscroll-behavior-x: contain !important;
  }

  /*
    Some pages use embedded iframe previews. On mobile, iframes can hijack touch
    and block vertical page scroll. Keep previews visual-only.
  */
  .site-preview iframe,
  .examples-wrap .site-preview iframe,
  .preview-card .site-preview iframe {
    pointer-events: none !important;
    touch-action: pan-y !important;
  }
}

/* MOBILE CLEAN V2 - authoritative mobile-only layer */
@media (max-width: 760px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
  }

  main,
  section,
  .section,
  .container,
  .examples-wrap,
  .site-footer {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    max-height: none !important;
    max-width: 100% !important;
  }

  .container {
    width: calc(100% - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero,
  .hero.container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    min-height: auto !important;
  }

  .site-header .nav-toggle {
    display: none !important;
  }

  .site-header .nav-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .site-header .main-nav {
    display: flex !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    margin: 0 !important;
    padding: 6px 0 2px !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    touch-action: pan-x !important;
  }

  .site-header .main-nav::-webkit-scrollbar {
    display: none !important;
  }

  .site-header .main-nav a,
  .site-header .main-nav .btn {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }

  .card-grid,
  .pricing-grid,
  .process-steps,
  .proof-grid,
  .stats-grid,
  .split,
  .footer-grid,
  .form-grid,
  .included-grid,
  .service-hubs-grid,
  .examples-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 0 !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
  }

  .card-grid::before,
  .card-grid::after,
  .pricing-grid::before,
  .pricing-grid::after,
  .process-steps::before,
  .process-steps::after,
  .proof-grid::before,
  .proof-grid::after,
  .carousel-hint,
  .carousel-nav {
    display: none !important;
  }

  .card-grid > *,
  .pricing-grid > *,
  .process-steps > *,
  .proof-grid > * {
    max-width: 100% !important;
    flex: initial !important;
  }

  .site-preview iframe,
  .examples-wrap .site-preview iframe,
  .preview-card .site-preview iframe,
  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .site-preview iframe {
    pointer-events: none !important;
    touch-action: pan-y !important;
  }
  .sticky-cta-mobile {
    display: none !important;
  }

  .back-shortcut {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .price-card-actions .price-card-more,
  .services-prix-page .price-card-more {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 42px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(12, 122, 107, 0.35) !important;
    background: rgba(12, 122, 107, 0.08) !important;
    color: #0a5e53 !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    letter-spacing: 0.01em !important;
  }

  .pricing-showcase .price-card:not(.featured) .btn.btn-ghost,
  .services-prix-page .price-card:not(.featured) .btn.btn-ghost {
    background: linear-gradient(135deg, #0f8d7c, #0a665a) !important;
    color: #ffffff !important;
    border: 1px solid rgba(10, 94, 83, 0.9) !important;
    box-shadow: 0 10px 22px rgba(12, 122, 107, 0.24) !important;
    opacity: 1 !important;
  }

  /* Realisations page - richer mobile design with lighter text density */
  .realisations-page .hero {
    padding-top: 12px !important;
  }

  .realisations-page .hero-overlay {
    border-radius: 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    box-shadow: 0 14px 28px rgba(7, 22, 33, 0.24) !important;
  }

  .realisations-page .realisations-intro .content-block,
  .realisations-page .realisations-redesign .section-head,
  .realisations-page main > .section:last-of-type .content-block {
    border-radius: 16px !important;
    border: 1px solid rgba(17, 57, 79, 0.12) !important;
    background: linear-gradient(170deg, #ffffff, #f6faff 72%) !important;
    box-shadow: 0 10px 22px rgba(10, 36, 52, 0.1) !important;
    padding: 14px !important;
  }

  .realisations-page .realisations-intro .content-block p,
  .realisations-page .realisations-redesign .section-sub,
  .realisations-page main > .section:last-of-type .content-block p {
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
    color: #516273 !important;
  }

  .realisations-page .metier-grid {
    gap: 14px !important;
  }

  .realisations-page .metier-card {
    position: relative !important;
    border-radius: 18px !important;
    padding: 14px !important;
    border: 1px solid rgba(17, 57, 79, 0.14) !important;
    background: linear-gradient(170deg, #ffffff, #f4f9ff 72%) !important;
    box-shadow: 0 12px 24px rgba(8, 35, 52, 0.12) !important;
    text-align: left !important;
    overflow: hidden !important;
  }

  .realisations-page .metier-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    border-radius: 999px;
    background: linear-gradient(180deg, #10a391, #0a6c60);
  }

  .realisations-page .metier-card:nth-child(2)::before {
    background: linear-gradient(180deg, #f3ae2d, #d9880a);
  }

  .realisations-page .metier-card:nth-child(3)::before {
    background: linear-gradient(180deg, #3f8cff, #2258b6);
  }

  .realisations-page .metier-card:nth-child(4)::before {
    background: linear-gradient(180deg, #9a6bff, #6540b8);
  }

  .realisations-page .metier-chip {
    display: inline-flex !important;
    align-items: center !important;
    padding: 5px 10px !important;
    border-radius: 999px !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    border: 1px solid rgba(17, 57, 79, 0.15) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #21465f !important;
    margin-bottom: 8px !important;
  }

  .realisations-page .metier-card h3 {
    font-size: 1.18rem !important;
    margin-bottom: 6px !important;
  }

  .realisations-page .metier-card p {
    margin-bottom: 10px !important;
    font-size: 0.91rem !important;
    line-height: 1.4 !important;
    color: #556575 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .realisations-page .metier-card .portfolio-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 42px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(12, 122, 107, 0.35) !important;
    background: rgba(12, 122, 107, 0.08) !important;
    color: #0a5e53 !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    text-transform: none !important;
    letter-spacing: 0.01em !important;
  }
}

/* MOBILE POLISH V3 - realisations page only */
@media (max-width: 760px) {
  .realisations-page {
    background:
      radial-gradient(circle at 8% 4%, rgba(14, 156, 138, 0.1), transparent 34%),
      radial-gradient(circle at 92% 12%, rgba(246, 182, 62, 0.16), transparent 28%),
      linear-gradient(180deg, #f2f6fb 0%, #edf3fa 48%, #f6f9fd 100%) !important;
  }

  .realisations-page .section {
    padding: 22px 0 !important;
  }

  .realisations-page .realisations-intro .content-block,
  .realisations-page .realisations-redesign .section-head,
  .realisations-page main > .section:last-of-type .content-block {
    padding: 16px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(22, 62, 86, 0.14) !important;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(243, 249, 255, 0.94)) !important;
    box-shadow: 0 14px 28px rgba(9, 30, 44, 0.12) !important;
  }

  .realisations-page .realisations-intro .content-block p,
  .realisations-page .realisations-redesign .section-sub,
  .realisations-page main > .section:last-of-type .content-block p {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    font-size: 0.9rem !important;
    line-height: 1.38 !important;
    color: #4d6070 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .realisations-page .metier-grid {
    gap: 12px !important;
  }

  .realisations-page .metier-card {
    border-radius: 16px !important;
    padding: 12px !important;
    border: 1px solid rgba(18, 57, 79, 0.15) !important;
    background: linear-gradient(170deg, #ffffff, #f4f8ff 68%) !important;
    box-shadow: 0 10px 20px rgba(10, 37, 52, 0.12) !important;
  }

  .realisations-page .metier-chip {
    font-size: 0.68rem !important;
    letter-spacing: 0.05em !important;
    padding: 4px 9px !important;
    margin-bottom: 7px !important;
  }

  .realisations-page .metier-card h3 {
    font-size: 1.08rem !important;
    margin-bottom: 5px !important;
  }

  .realisations-page .metier-card p {
    font-size: 0.87rem !important;
    line-height: 1.34 !important;
    margin-bottom: 9px !important;
    -webkit-line-clamp: 2 !important;
  }

  .realisations-page .metier-card .portfolio-link,
  .realisations-page .btn {
    min-height: 44px !important;
    border-radius: 12px !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.01em !important;
  }

  .realisations-page .metier-card .portfolio-link {
    border: 1px solid rgba(12, 122, 107, 0.9) !important;
    background: linear-gradient(135deg, #0f8d7c, #0a665a) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(12, 122, 107, 0.24) !important;
  }

  .realisations-page main > .section:last-of-type .btn {
    background: linear-gradient(135deg, #133e5b, #0e2f46) !important;
    border: 1px solid rgba(14, 47, 70, 0.9) !important;
    box-shadow: 0 10px 20px rgba(14, 47, 70, 0.24) !important;
    color: #ffffff !important;
  }
}

/* MOBILE POLISH V4 - realisations page clean/minimal */
@media (max-width: 760px) {
  .realisations-page {
    background: #f5f7fb !important;
  }

  .realisations-page .section {
    padding: 18px 0 !important;
  }

  .realisations-page .hero {
    padding-top: 8px !important;
  }

  .realisations-page .hero-overlay {
    background: linear-gradient(180deg, rgba(10, 27, 40, 0.84), rgba(10, 27, 40, 0.72)) !important;
    border-radius: 14px !important;
    border: 0 !important;
    box-shadow: 0 10px 20px rgba(8, 24, 38, 0.2) !important;
  }

  .realisations-page .realisations-intro .content-block,
  .realisations-page .realisations-redesign .section-head,
  .realisations-page main > .section:last-of-type .content-block {
    background: #ffffff !important;
    border: 1px solid #e5ebf3 !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 12px rgba(16, 37, 54, 0.06) !important;
    padding: 14px !important;
  }

  .realisations-page .realisations-intro .content-block p,
  .realisations-page .realisations-redesign .section-sub,
  .realisations-page main > .section:last-of-type .content-block p {
    color: #5e6f80 !important;
    font-size: 0.9rem !important;
    line-height: 1.42 !important;
    -webkit-line-clamp: initial !important;
    overflow: visible !important;
  }

  .realisations-page .metier-grid {
    gap: 10px !important;
  }

  .realisations-page .metier-card {
    border: 1px solid #dfe7f1 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 3px 10px rgba(12, 32, 50, 0.06) !important;
    padding: 12px !important;
  }

  .realisations-page .metier-card::before {
    display: none !important;
  }

  .realisations-page .metier-chip {
    background: #eef4fb !important;
    border: 1px solid #d9e4f1 !important;
    color: #2e4a63 !important;
    font-size: 0.67rem !important;
    padding: 4px 8px !important;
    letter-spacing: 0.04em !important;
  }

  .realisations-page .metier-card h3 {
    font-size: 1.04rem !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
    color: #112739 !important;
  }

  .realisations-page .metier-card p {
    font-size: 0.86rem !important;
    line-height: 1.34 !important;
    color: #637384 !important;
    margin-bottom: 8px !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    display: -webkit-box !important;
    overflow: hidden !important;
  }

  .realisations-page .metier-card .portfolio-link {
    background: #0f7668 !important;
    color: #ffffff !important;
    border: 1px solid #0f7668 !important;
    border-radius: 10px !important;
    min-height: 40px !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    box-shadow: none !important;
  }

  .realisations-page main > .section:last-of-type .btn {
    background: #0f7668 !important;
    color: #ffffff !important;
    border: 1px solid #0f7668 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
  }
}

/* MOBILE REALISATIONS RESET - fully visual layout */
.realisations-mobile-showcase {
  display: none;
}

@media (max-width: 760px) {
  .realisations-page .realisations-mobile-showcase {
    display: block !important;
    padding-top: 14px !important;
  }

  .realisations-page .realisations-intro,
  .realisations-page .realisations-redesign,
  .realisations-page .realisations-next-step {
    display: none !important;
  }

  .realisations-page .realisations-mobile-showcase .rm-head {
    margin-bottom: 12px;
  }

  .realisations-page .realisations-mobile-showcase .rm-head h2 {
    margin: 6px 0 0 !important;
    font-size: clamp(1.35rem, 6.5vw, 1.7rem) !important;
    line-height: 1.15 !important;
  }

  .realisations-page .realisations-mobile-showcase .rm-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
  }

  .realisations-page .realisations-mobile-showcase .rm-stats article {
    background: #ffffff;
    border: 1px solid #e2e9f2;
    border-radius: 12px;
    padding: 8px 6px;
    text-align: center;
  }

  .realisations-page .realisations-mobile-showcase .rm-stats strong {
    display: block;
    font-size: 1.05rem;
    line-height: 1.1;
    color: #123449;
  }

  .realisations-page .realisations-mobile-showcase .rm-stats span {
    font-size: 0.72rem;
    color: #637585;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
  }

  .realisations-page .realisations-mobile-showcase .rm-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .realisations-page .realisations-mobile-showcase .rm-card {
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    grid-template-areas:
      "icon title cta"
      "icon text cta";
    gap: 2px 10px;
    align-items: center;
    border-radius: 14px;
    border: 1px solid #dde6f1;
    background: #ffffff;
    padding: 11px;
    box-shadow: 0 4px 10px rgba(14, 35, 52, 0.06);
  }

  .realisations-page .realisations-mobile-showcase .rm-icon {
    grid-area: icon;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0f8d7c, #0a665a);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  }

  .realisations-page .realisations-mobile-showcase .rm-card h3 {
    grid-area: title;
    margin: 0;
    font-size: 1.02rem;
    color: #132f42;
    line-height: 1.2;
  }

  .realisations-page .realisations-mobile-showcase .rm-card p {
    grid-area: text;
    margin: 0;
    font-size: 0.83rem;
    color: #607181;
    line-height: 1.3;
  }

  .realisations-page .realisations-mobile-showcase .rm-cta {
    grid-area: cta;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 94px;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 9px;
    border: 1px solid #0f7668;
    background: #0f7668;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.01em;
  }

  .realisations-page .realisations-mobile-showcase .rm-footer-cta {
    margin-top: 12px;
  }

  .realisations-page .realisations-mobile-showcase .rm-footer-cta .btn {
    width: 100% !important;
    min-height: 44px !important;
    border-radius: 12px !important;
    background: #123449 !important;
    border: 1px solid #123449 !important;
    color: #ffffff !important;
    box-shadow: none !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
  }

  .realisations-page .realisations-mobile-showcase .rm-beaute .rm-icon {
    background: linear-gradient(135deg, #cd5f9f, #9f3a74);
  }

  .realisations-page .realisations-mobile-showcase .rm-artisan .rm-icon {
    background: linear-gradient(135deg, #eaa832, #ca7c05);
  }

  .realisations-page .realisations-mobile-showcase .rm-elec .rm-icon {
    background: linear-gradient(135deg, #2f87ff, #2459b4);
  }

  .realisations-page .realisations-mobile-showcase .rm-auto .rm-icon {
    background: linear-gradient(135deg, #52627a, #2f3a4d);
  }
}

/* MOBILE REALISATIONS FIX V2 - back to clean classic layout */
@media (max-width: 760px) {
  .realisations-page .realisations-mobile-showcase {
    display: none !important;
  }

  .realisations-page .realisations-intro,
  .realisations-page .realisations-redesign,
  .realisations-page .realisations-next-step {
    display: block !important;
  }

  .realisations-page .realisations-intro .content-block,
  .realisations-page .realisations-redesign .section-head,
  .realisations-page .realisations-next-step .content-block {
    border-radius: 14px !important;
    border: 1px solid #e4eaf2 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(11, 34, 52, 0.06) !important;
    padding: 14px !important;
  }

  .realisations-page .metier-grid {
    gap: 12px !important;
  }

  .realisations-page .metier-card {
    border-radius: 14px !important;
    border: 1px solid #dee7f1 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(11, 34, 52, 0.06) !important;
    padding: 13px !important;
  }

  .realisations-page .metier-card::before {
    display: none !important;
  }

  .realisations-page .metier-card .portfolio-link {
    background: #0f7668 !important;
    color: #ffffff !important;
    border: 1px solid #0f7668 !important;
    box-shadow: none !important;
    min-height: 42px !important;
    border-radius: 10px !important;
  }
}

/* MOBILE REALISATIONS PRO V3 */
@media (max-width: 760px) {
  .realisations-page {
    background: linear-gradient(180deg, #f4f7fb 0%, #eef3f9 50%, #f7f9fc 100%) !important;
  }

  .realisations-page .hero {
    padding: 12px 12px 6px !important;
  }

  .realisations-page .hero-overlay {
    text-align: left !important;
    border-radius: 16px !important;
    padding: 14px !important;
    background: linear-gradient(180deg, rgba(12, 31, 46, 0.86), rgba(12, 31, 46, 0.74)) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 12px 24px rgba(8, 23, 35, 0.22) !important;
  }

  .realisations-page .hero h1 {
    font-size: clamp(1.5rem, 7vw, 1.95rem) !important;
    line-height: 1.13 !important;
    margin-bottom: 8px !important;
  }

  .realisations-page .hero .lead {
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
    color: #d9e7f3 !important;
  }

  .realisations-page .section {
    padding: 20px 0 !important;
  }

  .realisations-page .realisations-intro .content-block,
  .realisations-page .realisations-redesign .section-head,
  .realisations-page .realisations-next-step .content-block {
    border-radius: 14px !important;
    border: 1px solid #e2e9f2 !important;
    background: #ffffff !important;
    box-shadow: 0 6px 14px rgba(12, 34, 52, 0.07) !important;
    padding: 14px !important;
  }

  .realisations-page .realisations-intro .content-block p,
  .realisations-page .realisations-redesign .section-sub,
  .realisations-page .realisations-next-step .content-block p {
    font-size: 0.9rem !important;
    line-height: 1.42 !important;
    color: #5a6d7f !important;
  }

  .realisations-page .metier-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .realisations-page .metier-card {
    position: relative !important;
    border-radius: 14px !important;
    border: 1px solid #dfe8f2 !important;
    background: #ffffff !important;
    box-shadow: 0 6px 14px rgba(11, 32, 49, 0.07) !important;
    padding: 13px !important;
    text-align: left !important;
    overflow: hidden !important;
  }

  .realisations-page .metier-chip {
    display: inline-flex !important;
    align-items: center !important;
    border-radius: 999px !important;
    padding: 4px 9px !important;
    font-size: 0.66rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    color: #2a4c66 !important;
    background: #edf3fb !important;
    border: 1px solid #d6e2ef !important;
    margin-bottom: 8px !important;
  }

  .realisations-page .metier-card h3 {
    font-size: 1.06rem !important;
    line-height: 1.24 !important;
    margin-bottom: 5px !important;
    color: #132b3c !important;
  }

  .realisations-page .metier-card p {
    font-size: 0.87rem !important;
    line-height: 1.35 !important;
    color: #607283 !important;
    margin-bottom: 9px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .realisations-page .metier-card .portfolio-link {
    width: 100% !important;
    min-height: 42px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #0f7668 !important;
    border: 1px solid #0f7668 !important;
    color: #ffffff !important;
    font-size: 0.86rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.01em !important;
    box-shadow: none !important;
  }

  .realisations-page .realisations-next-step .btn {
    width: 100% !important;
    min-height: 44px !important;
    border-radius: 10px !important;
    background: #123449 !important;
    border: 1px solid #123449 !important;
    color: #ffffff !important;
    box-shadow: none !important;
    font-weight: 800 !important;
  }
}

/* MOBILE EXEMPLES CLEAN V1 - neutral/professional baseline */
@media (max-width: 760px) {
  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .examples-wrap {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .examples-grid {
    gap: 16px !important;
    grid-template-columns: 1fr !important;
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .preview-card,
  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .theme-card {
    position: relative !important;
    border-radius: 18px !important;
    border: 1px solid rgba(17, 57, 79, 0.16) !important;
    background: linear-gradient(168deg, #ffffff, #f7fbff 72%) !important;
    box-shadow: 0 14px 28px rgba(13, 33, 50, 0.12) !important;
    overflow: hidden !important;
    padding: 0 !important;
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .preview-card::before,
  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .theme-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, #0f8d7c, #1f9fbf);
    z-index: 2;
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .preview-card .site-preview {
    position: relative !important;
    height: 250px !important;
    background: #e3ebf5 !important;
    overflow: hidden !important;
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .preview-card .site-preview iframe,
  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .theme-card .site-preview iframe {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    width: 1280px !important;
    height: 780px !important;
    transform: translateX(-50%) scale(0.36) !important;
    transform-origin: top center !important;
    margin: 0 !important;
    display: block !important;
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .preview-meta {
    padding: 12px 12px 13px !important;
    border-top: 1px solid #dde6f0 !important;
    background: linear-gradient(180deg, #ffffff, #f8fbff) !important;
    text-align: left !important;
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .preview-meta h3 {
    margin: 6px 0 8px !important;
    font-size: 1.02rem !important;
    color: #142e41 !important;
  }

  :is(.page-beaute,.page-artisan,.page-electricien,.page-garagiste,.page-entreprise) .preview-meta .portfolio-link {
    width: 100% !important;
    min-height: 40px !important;
    border-radius: 10px !important;
    background: linear-gradient(180deg, #f2f5f8, #e4eaf0) !important;
    border: 1px solid #c8d2dd !important;
    color: #33495d !important;
    font-weight: 800 !important;
  }
}

/* MOBILE FIX - page beaute horizontal stability */
@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  .page-beaute {
    overflow-x: hidden !important;
  }

  .page-beaute .container,
  .page-beaute main,
  .page-beaute section {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .page-beaute .hero.container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .page-beaute .examples-wrap,
  .page-beaute .examples-grid,
  .page-beaute .preview-card,
  .page-beaute .site-preview {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .page-beaute .preview-card .site-preview iframe {
    left: 50% !important;
    transform: translateX(-50%) scale(0.72) !important;
    transform-origin: top center !important;
  }
}

/* MOBILE HEADER MENU FIX - page beaute */
@media (max-width: 760px) {
  .page-beaute .site-header {
    overflow-x: visible !important;
  }

  .page-beaute .site-header .nav-wrap {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-width: 0 !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }

  .page-beaute .site-header .brand {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }

  .page-beaute .site-header .brand-logo {
    width: clamp(142px, 46vw, 200px) !important;
    height: auto !important;
    max-width: 100% !important;
  }

  .page-beaute .site-header .nav-toggle {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 8px 12px !important;
    border-radius: 10px !important;
    border: 1px solid #d3dce7 !important;
    background: #ffffff !important;
    color: #1f3446 !important;
    font-weight: 700 !important;
  }

  .page-beaute .site-header .main-nav {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: calc(100vw - 24px) !important;
    margin: 0 !important;
    padding: 10px !important;
    border-radius: 12px !important;
    border: 1px solid #d7e1ec !important;
    background: #ffffff !important;
    box-shadow: 0 10px 22px rgba(10, 31, 49, 0.14) !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    overflow: visible !important;
    z-index: 80 !important;
  }

  .page-beaute .site-header .main-nav.open {
    display: flex !important;
  }

  .page-beaute .site-header .main-nav a,
  .page-beaute .site-header .main-nav .btn {
    white-space: normal !important;
    width: 100% !important;
    text-align: center !important;
  }
}

/* MOBILE EXAMPLES - keep desktop hero framing on mobile cards */
@media (max-width: 760px) {
  .examples-wrap .preview-card .site-preview,
  .examples-wrap .theme-card .site-preview {
    position: relative !important;
    height: 300px !important;
    overflow: hidden !important;
    background: #dfe7f1 !important;
  }

  .examples-wrap .preview-card .site-preview iframe,
  .examples-wrap .theme-card .site-preview iframe {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    width: 1280px !important;
    height: 780px !important;
    transform: translateX(-50%) scale(0.38) !important;
    transform-origin: top center !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
    display: block !important;
  }
}

@media (min-width: 761px) {
  :is(body.page-artisan, body.page-beaute, body.page-electricien, body.page-garagiste, body.page-entreprise) .examples-wrap .preview-card.is-demo-live .site-preview iframe,
  :is(body.page-artisan, body.page-beaute, body.page-electricien, body.page-garagiste, body.page-entreprise) .examples-wrap .theme-card.is-demo-live .site-preview iframe {
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) scale(0.44) !important;
    transform-origin: top center !important;
  }

  /* Fine centering for Chris & Toit preview */
  body.page-artisan .examples-wrap .preview-card.preview-exemple-chrisettoit.is-demo-live .site-preview iframe {
    top: 0 !important;
    transform: translateX(-50%) scale(0.44) !important;
  }
}

/* DESKTOP: allow scrolling inside preview on hover (demo live feeling) */
@media (hover: hover) and (pointer: fine) and (min-width: 761px) {
  :is(body.page-artisan, body.page-beaute, body.page-electricien, body.page-garagiste, body.page-entreprise) .examples-wrap .preview-card.is-demo-live .site-preview iframe,
  :is(body.page-artisan, body.page-beaute, body.page-electricien, body.page-garagiste, body.page-entreprise) .examples-wrap .theme-card.is-demo-live .site-preview iframe {
    pointer-events: none !important;
  }

  :is(body.page-artisan, body.page-beaute, body.page-electricien, body.page-garagiste, body.page-entreprise) .examples-wrap .preview-card.is-demo-live .site-preview:hover iframe,
  :is(body.page-artisan, body.page-beaute, body.page-electricien, body.page-garagiste, body.page-entreprise) .examples-wrap .theme-card.is-demo-live .site-preview:hover iframe,
  :is(body.page-artisan, body.page-beaute, body.page-electricien, body.page-garagiste, body.page-entreprise) .examples-wrap .preview-card.is-demo-live .site-preview:focus-within iframe,
  :is(body.page-artisan, body.page-beaute, body.page-electricien, body.page-garagiste, body.page-entreprise) .examples-wrap .theme-card.is-demo-live .site-preview:focus-within iframe {
    pointer-events: auto !important;
  }
}
/* Realisations cards with visual previews */
.realisations-page .metier-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.realisations-page .metier-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(18, 50, 72, 0.14);
  background: #e6eef7;
}

.realisations-page .metier-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.realisations-page .metier-card .metier-chip {
  margin-top: 2px;
}

@media (max-width: 760px) {
  .realisations-page .metier-card {
    gap: 10px !important;
  }

  .realisations-page .metier-visual {
    aspect-ratio: 4 / 3 !important;
    border-radius: 12px !important;
  }
}

/* REALISATIONS - Section "Choisissez votre secteur" polish */
.realisations-page .realisations-redesign {
  border-radius: 26px;
  border: 1px solid rgba(20, 50, 74, 0.14);
  background:
    radial-gradient(circle at 12% 8%, rgba(16, 132, 115, 0.08), transparent 38%),
    radial-gradient(circle at 92% 10%, rgba(53, 120, 204, 0.09), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #edf4fb 100%);
  box-shadow: 0 18px 40px rgba(10, 32, 50, 0.1);
  padding: clamp(18px, 2vw, 30px);
}

.realisations-page .realisations-redesign .section-head {
  max-width: 860px;
  margin: 0 auto 18px;
  text-align: center;
}

.realisations-page .realisations-redesign .section-head h2 {
  font-size: clamp(1.85rem, 2.8vw, 2.5rem);
  line-height: 1.12;
  margin-bottom: 8px;
}

.realisations-page .realisations-redesign .section-sub {
  color: #4f6377;
  font-size: 1.02rem;
}

.realisations-page .realisations-redesign .metier-grid {
  gap: 18px !important;
}

.realisations-page .realisations-redesign .metier-card {
  border-radius: 18px !important;
  border: 1px solid rgba(20, 53, 78, 0.16) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%) !important;
  box-shadow: 0 12px 24px rgba(11, 34, 52, 0.1) !important;
  padding: 14px !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.realisations-page .realisations-redesign .metier-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 85, 131, 0.32) !important;
  box-shadow: 0 20px 34px rgba(11, 34, 52, 0.14) !important;
}

.realisations-page .realisations-redesign .metier-visual {
  border-radius: 12px !important;
  border: 1px solid rgba(20, 53, 78, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.realisations-page .realisations-redesign .metier-chip {
  background: #edf3fa !important;
  border: 1px solid #d3deea !important;
  color: #244662 !important;
}

.realisations-page .realisations-redesign .metier-card h3 {
  color: #0f2739;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  margin-bottom: 4px;
}

.realisations-page .realisations-redesign .metier-card p {
  color: #5a6e80 !important;
  line-height: 1.45;
}

.realisations-page .realisations-redesign .metier-card .portfolio-link {
  width: 100%;
  min-height: 44px;
  border-radius: 11px !important;
  border: 1px solid #c5d3df !important;
  background: linear-gradient(180deg, #f2f6fa 0%, #e4ebf2 100%) !important;
  color: #20364b !important;
  font-weight: 700 !important;
}

.realisations-page .realisations-redesign .metier-card .portfolio-link:hover {
  border-color: #aebfce !important;
  background: linear-gradient(180deg, #ecf2f7 0%, #dde6ee 100%) !important;
}

@media (max-width: 760px) {
  .realisations-page .realisations-redesign {
    border-radius: 16px !important;
    padding: 12px !important;
  }

  .realisations-page .realisations-redesign .section-head {
    text-align: left;
    margin-bottom: 12px;
  }

  .realisations-page .realisations-redesign .section-head h2 {
    font-size: 1.45rem;
  }

  .realisations-page .realisations-redesign .section-sub {
    font-size: 0.9rem;
  }

  .realisations-page .realisations-redesign .metier-grid {
    gap: 12px !important;
  }

  .realisations-page .realisations-redesign .metier-card {
    padding: 12px !important;
    border-radius: 14px !important;
  }
}

/* REALISATIONS REWORK V2 - full section redesign */
.realisations-page .realisations-redesign {
  padding: clamp(18px, 2vw, 30px) !important;
  border-radius: 24px !important;
  border: 1px solid #d6e1ec !important;
  background: linear-gradient(180deg, #fbfdff 0%, #f2f6fb 100%) !important;
  box-shadow: 0 12px 28px rgba(11, 33, 50, 0.08) !important;
}

.realisations-page .realisations-redesign .metier-layout {
  display: block;
}

.realisations-page .realisations-redesign .metier-intro {
  position: relative;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  max-width: 920px;
  margin: 0 0 16px;
}

.realisations-page .realisations-redesign .metier-intro h2 {
  font-size: clamp(1.62rem, 2.2vw, 2.15rem);
  line-height: 1.1;
  margin-bottom: 6px;
}

.realisations-page .realisations-redesign .metier-intro .section-sub {
  color: #5b6d7d;
  margin-bottom: 12px;
}

.realisations-page .realisations-redesign .metier-points {
  display: grid;
  gap: 8px;
}

.realisations-page .realisations-redesign .metier-points p {
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 0;
  background: transparent;
  color: #465d71;
  font-size: 0.92rem;
}

.realisations-page .realisations-redesign .metier-points strong {
  color: #16364f;
}

.realisations-page .realisations-redesign .metier-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-top: 0 !important;
}

.realisations-page .realisations-redesign .metier-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
  border-radius: 15px !important;
  border: 1px solid #d4e0ec !important;
  background: #ffffff !important;
  box-shadow: 0 8px 18px rgba(10, 33, 52, 0.08) !important;
  padding: 12px !important;
  transform: translateY(0);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.realisations-page .realisations-redesign .metier-card:hover {
  transform: translateY(-3px);
  border-color: #b8cadb !important;
  box-shadow: 0 14px 26px rgba(10, 33, 52, 0.12) !important;
}

.realisations-page .realisations-redesign .metier-visual {
  aspect-ratio: 16 / 10 !important;
  border-radius: 11px !important;
}

.realisations-page .realisations-redesign .metier-chip {
  margin: 0 !important;
}

.realisations-page .realisations-redesign .metier-card h3 {
  margin: 0 !important;
}

.realisations-page .realisations-redesign .metier-card p {
  margin: 0 !important;
  min-height: 44px;
}

.realisations-page .realisations-redesign .metier-card .portfolio-link {
  margin-top: auto;
  width: 100%;
  min-height: 43px;
  border-radius: 10px !important;
  border: 1px solid #bacbda !important;
  background: linear-gradient(180deg, #f3f6fa 0%, #e4ebf2 100%) !important;
  color: #223a51 !important;
}

@media (max-width: 1080px) {
  .realisations-page .realisations-redesign .metier-intro {
    position: static;
  }
}

@media (max-width: 760px) {
  .realisations-page .realisations-redesign {
    padding: 12px !important;
    border-radius: 16px !important;
  }

  .realisations-page .realisations-redesign .metier-intro {
    padding: 0 !important;
    border-radius: 0 !important;
  }

  .realisations-page .realisations-redesign .metier-intro h2 {
    font-size: 1.42rem !important;
  }

  .realisations-page .realisations-redesign .metier-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* REALISATIONS FINAL POLISH - pro, clean, premium */
.realisations-page .realisations-redesign {
  padding: clamp(22px, 2.3vw, 34px) !important;
  border-radius: 26px !important;
  border: 1px solid #d8e2ec !important;
  background:
    radial-gradient(circle at 12% 6%, rgba(19, 110, 95, 0.06), transparent 34%),
    radial-gradient(circle at 92% 4%, rgba(35, 109, 186, 0.07), transparent 30%),
    linear-gradient(180deg, #fcfdff 0%, #f1f6fb 100%) !important;
  box-shadow: 0 18px 36px rgba(11, 31, 48, 0.1) !important;
}

.realisations-page .realisations-redesign .metier-layout {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 18px !important;
}

.realisations-page .realisations-redesign .metier-intro {
  margin: 0 !important;
  max-width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.realisations-page .realisations-redesign .metier-intro .kicker {
  margin-bottom: 6px !important;
}

.realisations-page .realisations-redesign .metier-intro h2 {
  margin: 0 0 8px !important;
  font-size: clamp(2.2rem, 3.4vw, 3rem) !important;
  line-height: 1.06 !important;
  color: #12283b !important;
}

.realisations-page .realisations-redesign .metier-intro .section-sub {
  margin: 0 !important;
  max-width: 76ch !important;
  color: #516677 !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
}

.realisations-page .realisations-redesign .metier-points {
  margin-top: 12px !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.realisations-page .realisations-redesign .metier-points p {
  margin: 0 !important;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  border: 1px solid #d6e1ec !important;
  background: rgba(255, 255, 255, 0.78) !important;
  color: #456075 !important;
  font-size: 1.02rem !important;
}

.realisations-page .realisations-redesign .metier-points strong {
  color: #153750 !important;
  font-size: 1.08em !important;
}

.realisations-page .realisations-redesign .metier-grid {
  margin-top: 2px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.realisations-page .realisations-redesign .metier-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 12px !important;
  border-radius: 16px !important;
  border: 1px solid #d4e0ec !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%) !important;
  box-shadow: 0 10px 20px rgba(10, 31, 48, 0.09) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.realisations-page .realisations-redesign .metier-card:hover {
  transform: translateY(-3px) !important;
  border-color: #bdd0e2 !important;
  box-shadow: 0 16px 28px rgba(10, 31, 48, 0.13) !important;
}

.realisations-page .realisations-redesign .metier-visual {
  aspect-ratio: 16 / 10 !important;
  border-radius: 12px !important;
  border: 1px solid #d7e1eb !important;
  overflow: hidden !important;
}

.realisations-page .realisations-redesign .metier-chip {
  margin: 0 !important;
  align-self: flex-start !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  border: 1px solid #d1dfec !important;
  background: #eef4fb !important;
  color: #274c67 !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.05em !important;
}

.realisations-page .realisations-redesign .metier-card h3 {
  margin: 0 !important;
  color: #122b3f !important;
  font-size: 1.32rem !important;
  line-height: 1.2 !important;
}

.realisations-page .realisations-redesign .metier-card p {
  margin: 0 !important;
  color: #607283 !important;
  line-height: 1.45 !important;
  min-height: 44px !important;
}

.realisations-page .realisations-redesign .metier-card .portfolio-link {
  margin-top: auto !important;
  width: 100% !important;
  min-height: 44px !important;
  border-radius: 11px !important;
  border: 1px solid #c1cfdb !important;
  background: linear-gradient(180deg, #f3f7fb 0%, #e5ecf3 100%) !important;
  color: #23394f !important;
  font-weight: 700 !important;
}

.realisations-page .realisations-redesign .metier-card .portfolio-link:hover {
  border-color: #aebfd0 !important;
  background: linear-gradient(180deg, #eef3f8 0%, #dee7ef 100%) !important;
}

@media (max-width: 980px) {
  .realisations-page .realisations-redesign .metier-points {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  .realisations-page .realisations-redesign {
    padding: 14px !important;
    border-radius: 16px !important;
  }

  .realisations-page .realisations-redesign .metier-intro h2 {
    font-size: 1.8rem !important;
  }

  .realisations-page .realisations-redesign .metier-intro .section-sub {
    font-size: 0.93rem !important;
  }

  .realisations-page .realisations-redesign .metier-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .realisations-page .realisations-redesign .metier-card h3 {
    font-size: 1.12rem !important;
  }
}

/* HOME HERO WOW - premium motion layer */
.home-hero {
  --hero-parallax-y: 0px;
  --hero-pointer-x: 50%;
  --hero-pointer-y: 50%;
  isolation: isolate;
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}

.home-hero::before {
  width: min(48vw, 560px);
  height: min(48vw, 560px);
  top: -120px;
  right: -120px;
  background: radial-gradient(circle, rgba(33, 191, 170, 0.26) 0%, rgba(33, 191, 170, 0) 72%);
  transform: translateY(calc(var(--hero-parallax-y) * -0.45));
  animation: heroDriftA 10s ease-in-out infinite;
}

.home-hero::after {
  width: min(44vw, 520px);
  height: min(44vw, 520px);
  left: -120px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(249, 178, 51, 0.26) 0%, rgba(249, 178, 51, 0) 72%);
  transform: translateY(calc(var(--hero-parallax-y) * 0.55));
  animation: heroDriftB 12s ease-in-out infinite;
}

.home-hero .hero-overlay {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 28px;
  padding: clamp(22px, 4vw, 42px);
  background:
    radial-gradient(circle at var(--hero-pointer-x) var(--hero-pointer-y), rgba(255, 255, 255, 0.14), transparent 40%),
    linear-gradient(160deg, rgba(10, 19, 31, 0.58), rgba(11, 24, 39, 0.62));
  box-shadow: 0 24px 52px rgba(3, 12, 21, 0.42);
  backdrop-filter: blur(4px);
}

.home-hero .hero-overlay::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.18);
  mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  mask-composite: exclude;
  padding: 1px;
  opacity: 0.75;
  pointer-events: none;
}

.home-hero .kicker,
.home-hero .hero-superline,
.home-hero h1,
.home-hero .lead,
.home-hero .hero-note,
.home-hero .hero-actions,
.home-hero .hero-stats,
.home-hero .hero-trustline {
  opacity: 0;
  transform: translateY(16px);
  animation: heroRiseIn 0.7s cubic-bezier(.2,.8,.2,1) forwards;
}

.home-hero .kicker { animation-delay: 0.06s; }
.home-hero .hero-superline { animation-delay: 0.14s; }
.home-hero h1 { animation-delay: 0.24s; }
.home-hero .lead { animation-delay: 0.34s; }
.home-hero .hero-note { animation-delay: 0.44s; }
.home-hero .hero-actions { animation-delay: 0.54s; }
.home-hero .hero-stats { animation-delay: 0.66s; }
.home-hero .hero-trustline { animation-delay: 0.78s; }

.home-hero .hero-superline {
  margin: 0 auto 10px;
  max-width: fit-content;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.09);
  color: #cce8ff;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.home-hero .hero-note {
  box-shadow: 0 8px 26px rgba(15, 157, 140, 0.24);
}

.home-hero .hero-actions .btn {
  position: relative;
  overflow: hidden;
}

.home-hero .hero-actions .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.4) 48%, transparent 100%);
  transform: skewX(-16deg);
  transition: left 0.6s ease;
}

.home-hero .hero-actions .btn:hover::before {
  left: 135%;
}

.home-hero .hero-stats article {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  animation: heroCardFloat 6s ease-in-out infinite;
}

.home-hero .hero-stats article:nth-child(2) { animation-delay: 1.1s; }
.home-hero .hero-stats article:nth-child(3) { animation-delay: 2.2s; }

.home-hero .hero-stats article:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 14px 28px rgba(6, 19, 31, 0.38);
}

.home-hero .hero-trustline {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.home-hero .hero-trustline span {
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e8f1fb;
  font-size: 0.79rem;
  letter-spacing: 0.02em;
  font-weight: 600;
}

@keyframes heroRiseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDriftA {
  0%, 100% { transform: translateY(calc(var(--hero-parallax-y) * -0.45)) translateX(0); }
  50% { transform: translateY(calc(var(--hero-parallax-y) * -0.45)) translateX(-14px) translateY(-8px); }
}

@keyframes heroDriftB {
  0%, 100% { transform: translateY(calc(var(--hero-parallax-y) * 0.55)) translateX(0); }
  50% { transform: translateY(calc(var(--hero-parallax-y) * 0.55)) translateX(12px) translateY(10px); }
}

@keyframes heroCardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (max-width: 760px) {
  .home-hero .hero-overlay {
    border-radius: 18px;
    padding: 16px;
  }

  .home-hero .hero-superline {
    font-size: 0.72rem;
    padding: 6px 10px;
    letter-spacing: 0.04em;
  }

  .home-hero .hero-trustline {
    gap: 6px;
  }

  .home-hero .hero-trustline span {
    font-size: 0.72rem;
    padding: 5px 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero::before,
  .home-hero::after,
  .home-hero .hero-stats article,
  .home-hero .kicker,
  .home-hero .hero-superline,
  .home-hero h1,
  .home-hero .lead,
  .home-hero .hero-note,
  .home-hero .hero-actions,
  .home-hero .hero-stats,
  .home-hero .hero-trustline {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* GLOBAL WOW LAYER - all pages */
body {
  opacity: 1;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 9999;
  pointer-events: none;
  background: linear-gradient(90deg, #0f9d8c 0%, #2f86ff 52%, #f9b233 100%);
  box-shadow: 0 0 14px rgba(15, 157, 140, 0.45);
}

.site-bg {
  background-size: 145% 145%;
  animation: siteBgFlow 18s ease-in-out infinite;
}

.reveal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.99);
  transition:
    opacity 0.58s cubic-bezier(.2,.8,.2,1),
    transform 0.58s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.section-head h2 {
  text-wrap: balance;
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--btn-px, 50%) var(--btn-py, 50%), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 48%);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.btn:hover::after {
  opacity: 1;
}

.card,
.price-card,
.content-block,
.process-step,
.proof-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card:hover,
.price-card:hover,
.content-block:hover,
.process-step:hover,
.proof-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(9, 30, 46, 0.12);
}

.footer-grid > div {
  transition: transform 0.22s ease;
}

.footer-grid > div:hover {
  transform: translateY(-2px);
}

@keyframes siteBgFlow {
  0%, 100% { background-position: 0% 0%, 100% 0%, center; }
  50% { background-position: 10% 8%, 90% 14%, center; }
}

@media (max-width: 760px) {
  .scroll-progress {
    height: 2px;
  }

  .reveal {
    transform: translateY(10px) scale(0.995);
    transition-duration: 0.34s;
  }

  .card:hover,
  .price-card:hover,
  .content-block:hover,
  .process-step:hover,
  .proof-card:hover {
    transform: none;
    box-shadow: inherit;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-bg,
  .reveal,
  .card,
  .price-card,
  .content-block,
  .process-step,
  .proof-card,
  .footer-grid > div {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* HOTFIX VISIBILITY: always show content if animations/JS fail */
.reveal {
  opacity: 1 !important;
  transform: none !important;
}

.js-motion .reveal {
  opacity: 0 !important;
  transform: translateY(16px) !important;
}

.js-motion .reveal.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Section cards: richer hover/focus motion */
@keyframes sectionCardGlow {
  0% { opacity: 0; transform: translateX(-42%) skewX(-12deg); }
  45% { opacity: 0.5; }
  100% { opacity: 0; transform: translateX(132%) skewX(-12deg); }
}

@media (prefers-reduced-motion: no-preference) {
  .section .card,
  .section .price-card,
  .section .process-step {
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
    transition:
      transform 0.38s cubic-bezier(.2,.8,.2,1),
      box-shadow 0.38s cubic-bezier(.2,.8,.2,1),
      border-color 0.28s ease;
  }

  .section .card::after,
  .section .price-card::after,
  .section .process-step::after {
    content: "";
    position: absolute;
    inset: -12% -38%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(15, 157, 140, 0.16), rgba(255, 255, 255, 0));
    opacity: 0;
    pointer-events: none;
    transform: translateX(-42%) skewX(-12deg);
  }

  .section .card h3,
  .section .price-card h3,
  .section .process-step h3,
  .section .card p,
  .section .price-card p,
  .section .process-step p {
    transition: transform 0.32s cubic-bezier(.2,.8,.2,1), color 0.24s ease;
  }

  .section .card:hover,
  .section .price-card:hover,
  .section .process-step:hover,
  .section .card:focus-within,
  .section .price-card:focus-within,
  .section .process-step:focus-within {
    transform: translateY(-9px) scale(1.012);
    border-color: rgba(15, 157, 140, 0.52);
    box-shadow: 0 26px 46px rgba(9, 30, 46, 0.16);
  }

  .section .card:hover::after,
  .section .price-card:hover::after,
  .section .process-step:hover::after,
  .section .card:focus-within::after,
  .section .price-card:focus-within::after,
  .section .process-step:focus-within::after {
    animation: sectionCardGlow 0.85s ease forwards;
  }

  .section .card:hover h3,
  .section .price-card:hover h3,
  .section .process-step:hover h3,
  .section .card:focus-within h3,
  .section .price-card:focus-within h3,
  .section .process-step:focus-within h3 {
    transform: translateY(-2px);
  }

  .section .card:hover p,
  .section .price-card:hover p,
  .section .process-step:hover p,
  .section .card:focus-within p,
  .section .price-card:focus-within p,
  .section .process-step:focus-within p {
    transform: translateY(-1px);
  }
}

@media (max-width: 760px) {
  .section .card:hover,
  .section .price-card:hover,
  .section .process-step:hover,
  .section .card:focus-within,
  .section .price-card:focus-within,
  .section .process-step:focus-within {
    transform: none;
    box-shadow: inherit;
  }
}

/* Pricing section hover animation */
@keyframes pricingCardSweep {
  0% { opacity: 0; transform: translateX(-120%) rotate(10deg); }
  35% { opacity: 0.42; }
  100% { opacity: 0; transform: translateX(140%) rotate(10deg); }
}

@media (prefers-reduced-motion: no-preference) {
  .pricing-showcase .price-card {
    isolation: isolate;
    transition:
      transform 0.42s cubic-bezier(.2,.8,.2,1),
      box-shadow 0.42s cubic-bezier(.2,.8,.2,1),
      border-color 0.3s ease,
      background-position 0.5s ease;
    background-size: 140% 140%;
    background-position: 50% 50%;
  }

  .pricing-showcase .price-card::after {
    content: "";
    position: absolute;
    top: -30%;
    left: -45%;
    width: 40%;
    height: 170%;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0));
    pointer-events: none;
    opacity: 0;
    z-index: 1;
  }

  .pricing-showcase .price-card:hover,
  .pricing-showcase .price-card:focus-within {
    transform: translateY(-10px) scale(1.014);
    border-color: rgba(15, 157, 140, 0.55);
    box-shadow: 0 28px 52px rgba(10, 23, 36, 0.18);
    background-position: 60% 42%;
  }

  .pricing-showcase .price-card:hover::after,
  .pricing-showcase .price-card:focus-within::after {
    animation: pricingCardSweep 0.95s ease forwards;
  }

  .pricing-showcase .price-card h3,
  .pricing-showcase .price-card .price,
  .pricing-showcase .price-card li {
    transition: transform 0.3s cubic-bezier(.2,.8,.2,1), color 0.24s ease;
  }

  .pricing-showcase .price-card:hover h3,
  .pricing-showcase .price-card:focus-within h3 {
    transform: translateY(-2px);
    color: #0c6f64;
  }

  .pricing-showcase .price-card:hover .price,
  .pricing-showcase .price-card:focus-within .price {
    transform: translateY(-1px) scale(1.02);
  }

  .pricing-showcase .price-card:hover li,
  .pricing-showcase .price-card:focus-within li {
    transform: translateX(5px);
    color: #3f4c57;
  }
}

@media (max-width: 760px) {
  .pricing-showcase .price-card:hover,
  .pricing-showcase .price-card:focus-within {
    transform: none;
    box-shadow: inherit;
  }
}

/* Pricing text motion off (keep card hover) */
@media (prefers-reduced-motion: no-preference) {
  .pricing-showcase .price-card h3,
  .pricing-showcase .price-card .price,
  .pricing-showcase .price-card li {
    transition: color 0.24s ease;
  }

  .pricing-showcase .price-card:hover h3,
  .pricing-showcase .price-card:hover .price,
  .pricing-showcase .price-card:hover li,
  .pricing-showcase .price-card:focus-within h3,
  .pricing-showcase .price-card:focus-within .price,
  .pricing-showcase .price-card:focus-within li {
    transform: none;
    color: inherit;
  }
}

/* Pricing cards: stronger hover effect (no text motion) */
@media (prefers-reduced-motion: no-preference) {
  .pricing-showcase .price-card {
    transform-origin: center;
    transition:
      transform 0.32s cubic-bezier(.2,.8,.2,1),
      box-shadow 0.32s cubic-bezier(.2,.8,.2,1),
      border-color 0.24s ease,
      filter 0.24s ease;
  }

  .pricing-showcase .price-card:hover,
  .pricing-showcase .price-card:focus-within {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(15, 157, 140, 0.65);
    box-shadow:
      0 30px 56px rgba(10, 23, 36, 0.22),
      0 0 0 1px rgba(15, 157, 140, 0.12) inset;
    filter: saturate(1.04);
  }

  .pricing-showcase .price-card:hover::before,
  .pricing-showcase .price-card:focus-within::before {
    opacity: 1;
    height: 5px;
  }
}

@media (max-width: 760px) {
  .pricing-showcase .price-card:hover,
  .pricing-showcase .price-card:focus-within {
    transform: none;
    box-shadow: inherit;
    filter: none;
  }
}

/* Pricing cards: true lifted hover depth */
@media (prefers-reduced-motion: no-preference) {
  .pricing-showcase .pricing-grid {
    perspective: 1400px;
  }

  .pricing-showcase .price-card {
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, box-shadow, filter;
    transition:
      transform 0.34s cubic-bezier(.2,.8,.2,1),
      box-shadow 0.34s cubic-bezier(.2,.8,.2,1),
      border-color 0.26s ease,
      filter 0.26s ease;
  }

  .pricing-showcase .price-card:hover,
  .pricing-showcase .price-card:focus-within {
    transform: perspective(1200px) translate3d(0, -16px, 40px) rotateX(5deg) scale(1.026);
    border-color: rgba(15, 157, 140, 0.72);
    box-shadow:
      0 38px 70px rgba(8, 20, 34, 0.30),
      0 16px 24px rgba(8, 20, 34, 0.18),
      0 0 0 1px rgba(15, 157, 140, 0.14) inset;
    filter: saturate(1.06) brightness(1.02);
  }

  .pricing-showcase .price-card:hover::before,
  .pricing-showcase .price-card:focus-within::before {
    opacity: 1;
    height: 6px;
  }

  .pricing-showcase .price-card:hover::after,
  .pricing-showcase .price-card:focus-within::after {
    opacity: 0.95;
    animation: pricingCardSweep 0.95s ease forwards;
  }
}

@media (max-width: 760px) {
  .pricing-showcase .price-card:hover,
  .pricing-showcase .price-card:focus-within {
    transform: none;
    box-shadow: inherit;
    filter: none;
  }
}

/* Featured badge redesign (pricing/services) */
.pricing-showcase .price-card.featured .tag,
.services-prix-page .price-card.featured .tag {
  left: 50%;
  top: -16px;
  transform: translateX(-50%);
  padding: 8px 14px 8px 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: linear-gradient(135deg, #f9b233 0%, #ffd06a 48%, #f59f0b 100%);
  color: #2a1b06;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow:
    0 10px 24px rgba(245, 159, 11, 0.34),
    0 2px 0 rgba(255, 255, 255, 0.45) inset;
  z-index: 4;
  isolation: isolate;
}

.pricing-showcase .price-card.featured .tag::before,
.services-prix-page .price-card.featured .tag::before {
  content: "\\2605";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-52%);
  font-size: 0.86rem;
  line-height: 1;
  color: #7a4b00;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.pricing-showcase .price-card.featured .tag::after,
.services-prix-page .price-card.featured .tag::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.42);
  opacity: 0.75;
  z-index: -1;
}

@media (prefers-reduced-motion: no-preference) {
  .pricing-showcase .price-card.featured .tag,
  .services-prix-page .price-card.featured .tag {
    animation: badgeLiftGlow 2.2s ease-in-out infinite;
  }
}

@keyframes badgeLiftGlow {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    box-shadow:
      0 10px 24px rgba(245, 159, 11, 0.34),
      0 2px 0 rgba(255, 255, 255, 0.45) inset;
  }
  50% {
    transform: translateX(-50%) translateY(-2px);
    box-shadow:
      0 14px 28px rgba(245, 159, 11, 0.42),
      0 2px 0 rgba(255, 255, 255, 0.45) inset;
  }
}

@media (max-width: 760px) {
  .pricing-showcase .price-card.featured .tag,
  .services-prix-page .price-card.featured .tag {
    left: 16px;
    transform: none;
  }
}


/* Featured badge redesign v2: emerald signature */
.pricing-showcase .price-card.featured .tag,
.services-prix-page .price-card.featured .tag,
.price-card.featured .tag {
  left: 50%;
  top: -14px;
  transform: translateX(-50%);
  padding: 7px 14px;
  border-radius: 10px;
  border: 1px solid rgba(12, 55, 49, 0.38);
  background: linear-gradient(135deg, #0e6f63 0%, #0a5b51 55%, #08453e 100%);
  color: #ecfffa;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(8, 69, 62, 0.32);
}

.pricing-showcase .price-card.featured .tag::before,
.services-prix-page .price-card.featured .tag::before,
.price-card.featured .tag::before,
.pricing-showcase .price-card.featured .tag::after,
.services-prix-page .price-card.featured .tag::after,
.price-card.featured .tag::after {
  content: none;
}

@media (prefers-reduced-motion: no-preference) {
  .pricing-showcase .price-card.featured .tag,
  .services-prix-page .price-card.featured .tag,
  .price-card.featured .tag {
    animation: badgePulseSoft 2.6s ease-in-out infinite;
  }
}

@keyframes badgePulseSoft {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    box-shadow: 0 10px 24px rgba(8, 69, 62, 0.32);
  }
  50% {
    transform: translateX(-50%) translateY(-1px);
    box-shadow: 0 14px 28px rgba(8, 69, 62, 0.42);
  }
}

@media (max-width: 760px) {
  .pricing-showcase .price-card.featured .tag,
  .services-prix-page .price-card.featured .tag,
  .price-card.featured .tag {
    left: 16px;
    transform: none;
  }
}

/* Featured badge pro: clearly outside card */
.pricing-showcase .price-card,
.services-prix-page .price-card,
.price-card.featured {
  overflow: visible !important;
}

.pricing-showcase .price-card.featured,
.services-prix-page .price-card.featured,
.price-card.featured {
  position: relative;
  isolation: isolate;
}

.pricing-showcase .price-card.featured .tag,
.services-prix-page .price-card.featured .tag,
.price-card.featured .tag {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -58%);
  padding: 9px 16px;
  border-radius: 12px;
  border: 1px solid rgba(7, 43, 38, 0.45);
  background: linear-gradient(140deg, #0f7668 0%, #0a5c52 60%, #08453e 100%);
  color: #f2fffc;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  box-shadow:
    0 16px 30px rgba(8, 58, 51, 0.38),
    0 3px 0 rgba(255, 255, 255, 0.18) inset;
  z-index: 12;
}

@media (prefers-reduced-motion: no-preference) {
  .pricing-showcase .price-card.featured:hover .tag,
  .pricing-showcase .price-card.featured:focus-within .tag,
  .services-prix-page .price-card.featured:hover .tag,
  .services-prix-page .price-card.featured:focus-within .tag,
  .price-card.featured:hover .tag,
  .price-card.featured:focus-within .tag {
    transform: translate(-50%, -62%);
    box-shadow:
      0 20px 36px rgba(8, 58, 51, 0.46),
      0 3px 0 rgba(255, 255, 255, 0.18) inset;
  }
}

@media (max-width: 760px) {
  .pricing-showcase .price-card.featured .tag,
  .services-prix-page .price-card.featured .tag,
  .price-card.featured .tag {
    left: 14px;
    transform: translateY(-58%);
  }
}

/* Featured badge spacing fix: keep title visible */
.pricing-showcase .price-card.featured,
.services-prix-page .price-card.featured,
.price-card.featured {
  padding-top: 44px !important;
}

.pricing-showcase .price-card.featured .tag,
.services-prix-page .price-card.featured .tag,
.price-card.featured .tag {
  top: 0;
  transform: translate(-50%, -88%);
}

@media (prefers-reduced-motion: no-preference) {
  .pricing-showcase .price-card.featured:hover .tag,
  .pricing-showcase .price-card.featured:focus-within .tag,
  .services-prix-page .price-card.featured:hover .tag,
  .services-prix-page .price-card.featured:focus-within .tag,
  .price-card.featured:hover .tag,
  .price-card.featured:focus-within .tag {
    transform: translate(-50%, -92%);
  }
}

@media (max-width: 760px) {
  .pricing-showcase .price-card.featured,
  .services-prix-page .price-card.featured,
  .price-card.featured {
    padding-top: 40px !important;
  }

  .pricing-showcase .price-card.featured .tag,
  .services-prix-page .price-card.featured .tag,
  .price-card.featured .tag {
    transform: translateY(-88%);
  }
}

/* Featured badge v3: corner ribbon (text always visible) */
.pricing-showcase .price-card.featured,
.services-prix-page .price-card.featured,
.price-card.featured {
  padding-top: 26px !important;
  overflow: hidden !important;
}

.pricing-showcase .price-card.featured .tag,
.services-prix-page .price-card.featured .tag,
.price-card.featured .tag {
  position: absolute;
  top: 18px;
  right: -54px;
  left: auto;
  transform: rotate(45deg);
  width: 210px;
  text-align: center;
  padding: 7px 12px;
  border-radius: 0;
  border: 1px solid rgba(9, 58, 52, 0.55);
  background: linear-gradient(135deg, #0f7668 0%, #0b6257 55%, #084b43 100%);
  color: #f3fffd;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(8, 58, 51, 0.32);
  z-index: 9;
}

.pricing-showcase .price-card.featured .tag::before,
.services-prix-page .price-card.featured .tag::before,
.price-card.featured .tag::before,
.pricing-showcase .price-card.featured .tag::after,
.services-prix-page .price-card.featured .tag::after,
.price-card.featured .tag::after {
  content: none;
}

@media (prefers-reduced-motion: no-preference) {
  .pricing-showcase .price-card.featured .tag,
  .services-prix-page .price-card.featured .tag,
  .price-card.featured .tag {
    animation: none !important;
  }
}

@media (max-width: 760px) {
  .pricing-showcase .price-card.featured .tag,
  .services-prix-page .price-card.featured .tag,
  .price-card.featured .tag {
    top: 14px;
    right: -66px;
    width: 190px;
    font-size: 0.68rem;
  }
}

/* Featured badge v4: full ribbon visibility, no animation */
.pricing-showcase .pricing-grid,
.services-prix-page .pricing-grid {
  overflow: visible;
}

.pricing-showcase .price-card.featured,
.services-prix-page .price-card.featured,
.price-card.featured {
  overflow: visible !important;
}

.pricing-showcase .price-card.featured .tag,
.services-prix-page .price-card.featured .tag,
.price-card.featured .tag {
  top: 20px;
  right: -72px;
  width: 240px;
  padding: 8px 14px;
  white-space: nowrap;
  letter-spacing: 0.06em;
  transform: rotate(45deg);
  animation: none !important;
  transition: none !important;
}

@media (prefers-reduced-motion: no-preference) {
  .pricing-showcase .price-card.featured .tag,
  .services-prix-page .price-card.featured .tag,
  .price-card.featured .tag {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 760px) {
  .pricing-showcase .price-card.featured .tag,
  .services-prix-page .price-card.featured .tag,
  .price-card.featured .tag {
    top: 16px;
    right: -62px;
    width: 220px;
    font-size: 0.68rem;
  }
}

/* Featured badge final: clean premium band (override previous ribbon variants) */
.pricing-showcase .price-card.featured,
.services-prix-page .price-card.featured,
.price-card.featured {
  overflow: visible !important;
  padding-top: 26px !important;
}

.pricing-showcase .price-card.featured .tag,
.services-prix-page .price-card.featured .tag,
.price-card.featured .tag {
  position: absolute;
  top: 0;
  left: 50%;
  right: auto;
  width: auto;
  min-width: 148px;
  padding: 8px 14px;
  transform: translate(-50%, -56%);
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid rgba(11, 80, 71, 0.25);
  background: linear-gradient(135deg, #ecfff8 0%, #d4f7ee 48%, #bdeedf 100%);
  color: #0b5047;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(11, 80, 71, 0.18);
  animation: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

/* Keep price baselines aligned across cards */
.pricing-showcase .price-card h3,
.services-prix-page .price-card h3 {
  min-height: 2.6em;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.pricing-showcase .price-card.featured .tag::before,
.services-prix-page .price-card.featured .tag::before,
.price-card.featured .tag::before,
.pricing-showcase .price-card.featured .tag::after,
.services-prix-page .price-card.featured .tag::after,
.price-card.featured .tag::after {
  content: none;
}

@media (prefers-reduced-motion: no-preference) {
  .pricing-showcase .price-card.featured:hover .tag,
  .pricing-showcase .price-card.featured:focus-within .tag,
  .services-prix-page .price-card.featured:hover .tag,
  .services-prix-page .price-card.featured:focus-within .tag,
  .price-card.featured:hover .tag,
  .price-card.featured:focus-within .tag {
    transform: translate(-50%, -60%);
    box-shadow: 0 14px 28px rgba(11, 80, 71, 0.24);
  }
}

@media (max-width: 760px) {
  .pricing-showcase .price-card.featured,
  .services-prix-page .price-card.featured,
  .price-card.featured {
    padding-top: 26px !important;
  }

  .pricing-showcase .price-card.featured .tag,
  .services-prix-page .price-card.featured .tag,
  .price-card.featured .tag {
    min-width: 134px;
    padding: 7px 12px;
    font-size: 0.68rem;
    transform: translate(-50%, -54%);
  }
}

/* Pricing cards: full text alignment system */
.pricing-showcase .price-card,
.services-prix-page .price-card {
  row-gap: 10px;
}

.pricing-showcase .price-card h3,
.services-prix-page .price-card h3 {
  min-height: 2.8em;
  margin-bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.pricing-showcase .price-card .price,
.services-prix-page .price-card .price {
  min-height: 2.65em;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
}

.pricing-showcase .price-card .price-desc,
.services-prix-page .price-card .price-desc {
  height: 4.8em;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.45;
}

.pricing-showcase .price-card .price-meta,
.services-prix-page .price-card .price-meta {
  min-height: 2.1em;
  min-width: 190px;
  margin: 0 auto 2px;
  padding: 5px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-align: center;
}

.pricing-showcase .price-card ul,
.services-prix-page .price-card ul {
  margin: 0;
  display: grid;
  gap: 8px;
  align-content: start;
}

.pricing-showcase .price-card li,
.services-prix-page .price-card li {
  min-height: 2.15em;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.pricing-showcase .price-card .price-card-actions,
.services-prix-page .price-card .price-card-actions {
  margin-top: 12px;
}

/* Fine-tune: first offer meta bubble sits slightly lower visually */
.pricing-showcase .pricing-grid > .price-card:nth-child(1) .price-meta,
.services-prix-page .pricing-grid > .price-card:nth-child(1) .price-meta {
  transform: translateY(-10px);
}

/* Services-prix: local SEO section redesign */
.services-prix-page .local-seo-section .section-head {
  text-align: center;
  margin-bottom: 14px;
}

.services-prix-page .local-seo-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 16px;
}

.services-prix-page .local-seo-cities span {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(15, 157, 140, 0.22);
  background: rgba(255, 255, 255, 0.82);
  color: #2d3a44;
  font-size: 0.82rem;
  font-weight: 600;
}

.services-prix-page .local-seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.services-prix-page .local-seo-card {
  background: linear-gradient(168deg, #ffffff, #f8fbff 72%, #f4faf8);
  border: 1px solid rgba(15, 157, 140, 0.18);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.services-prix-page .local-seo-card h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.services-prix-page .local-seo-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.services-prix-page .local-seo-card li {
  color: #55606a;
  font-size: 0.93rem;
}

.services-prix-page .local-seo-note {
  margin-top: 14px;
  color: #55616b;
  font-size: 0.92rem;
  text-align: center;
}

.services-prix-page .local-seo-cta {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.services-prix-page .local-seo-cta span {
  color: #5a6670;
  font-size: 0.84rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .services-prix-page .local-seo-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile cleanup: pricing cards spacing and bubble alignment */
@media (max-width: 760px) {
  .pricing-showcase .price-card,
  .services-prix-page .price-card {
    padding: 22px;
    row-gap: 8px;
  }

  .pricing-showcase .price-card h3,
  .services-prix-page .price-card h3 {
    min-height: 0;
    display: block;
  }

  .pricing-showcase .price-card .price,
  .services-prix-page .price-card .price {
    min-height: 0;
    line-height: 1.2;
  }

  .pricing-showcase .price-card .price-desc,
  .services-prix-page .price-card .price-desc {
    height: auto;
    min-height: 0;
    display: block;
    line-height: 1.4;
  }

  .pricing-showcase .price-card .price-meta,
  .services-prix-page .price-card .price-meta {
    min-height: 0;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    padding: 5px 10px;
  }

  .pricing-showcase .price-card ul,
  .services-prix-page .price-card ul {
    gap: 6px;
  }

  .pricing-showcase .price-card li,
  .services-prix-page .price-card li {
    min-height: 0;
    display: block;
  }

  .pricing-showcase .price-card .price-card-actions,
  .services-prix-page .price-card .price-card-actions {
    margin-top: 10px;
  }

  .pricing-showcase .pricing-grid > .price-card:nth-child(1) .price-meta,
  .services-prix-page .pricing-grid > .price-card:nth-child(1) .price-meta {
    transform: none;
  }

  .services-prix-page .local-seo-cities span {
    font-size: 0.78rem;
    padding: 5px 10px;
  }

  .services-prix-page .local-seo-card {
    padding: 14px;
  }

  .site-header .main-nav .btn {
    padding: 8px 10px !important;
    min-height: 0 !important;
    font-size: 0.82rem !important;
    line-height: 1.1 !important;
    border-color: rgba(10, 102, 90, 0.32) !important;
    background: rgba(15, 157, 140, 0.12) !important;
    color: #0a4e46 !important;
  }
}

/* Desktop identity: realisations page should feel clearly different */
@media (min-width: 901px) {
  .realisations-page .main-nav a.active:not(.btn) {
    background: linear-gradient(135deg, rgba(12, 54, 84, 0.12), rgba(249, 178, 51, 0.16));
    color: #14384f;
    border: 1px solid rgba(20, 56, 79, 0.18);
    box-shadow: 0 8px 18px rgba(20, 56, 79, 0.12);
  }

  .realisations-page .realisations-hero {
    position: relative;
    overflow: hidden;
    min-height: 62vh;
    border-radius: 24px;
    background-image:
      linear-gradient(120deg, rgba(8, 26, 40, 0.84), rgba(8, 26, 40, 0.62)),
      url("images/hero.2.jpg"),
      radial-gradient(circle at 86% 18%, rgba(249, 178, 51, 0.28), transparent 36%),
      radial-gradient(circle at 12% 84%, rgba(15, 157, 140, 0.26), transparent 38%),
      linear-gradient(145deg, #102838 0%, #18384e 56%, #204a62 100%);
    background-size: cover, cover, auto, auto, auto;
    background-position: center, center, 86% 18%, 12% 84%, center;
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 26px 60px rgba(10, 23, 36, 0.26);
  }

  .realisations-page .realisations-hero::after {
    content: "";
    position: absolute;
    inset: -12%;
    background:
      radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.14), transparent 32%),
      radial-gradient(circle at 78% 72%, rgba(249, 178, 51, 0.14), transparent 36%);
    pointer-events: none;
    animation: realHeroGlow 8s ease-in-out infinite;
  }

  .realisations-page .realisations-hero .hero-overlay {
    position: relative;
    z-index: 1;
    width: min(980px, 100%);
    text-align: center;
    padding: 0 24px;
  }

  .realisations-page .realisations-hero h1 {
    margin-left: auto;
    margin-right: auto;
    max-width: 17ch;
    font-size: clamp(2.3rem, 4.4vw, 4.1rem);
  }

  .realisations-page .realisations-hero .lead {
    margin-left: auto;
    margin-right: auto;
    max-width: 62ch;
    color: #deebf7;
  }

  .realisations-page .hero-page-flag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto 10px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(7, 18, 30, 0.34);
    color: #f4f8ff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .realisations-page .hero-page-flag::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f9b233;
    box-shadow: 0 0 0 5px rgba(249, 178, 51, 0.2);
  }

  @media (prefers-reduced-motion: no-preference) {
    .realisations-page .realisations-hero .hero-page-flag,
    .realisations-page .realisations-hero .kicker,
    .realisations-page .realisations-hero h1,
    .realisations-page .realisations-hero .lead {
      opacity: 0;
      transform: translateY(16px);
    }

    .realisations-page .realisations-hero .hero-overlay.is-visible .hero-page-flag {
      animation: realHeroRise 0.55s cubic-bezier(.2,.8,.2,1) forwards;
    }

    .realisations-page .realisations-hero .hero-overlay.is-visible .kicker {
      animation: realHeroRise 0.55s cubic-bezier(.2,.8,.2,1) 0.08s forwards;
    }

    .realisations-page .realisations-hero .hero-overlay.is-visible h1 {
      animation: realHeroRise 0.68s cubic-bezier(.2,.8,.2,1) 0.18s forwards;
    }

    .realisations-page .realisations-hero .hero-overlay.is-visible .lead {
      animation: realHeroRise 0.62s cubic-bezier(.2,.8,.2,1) 0.30s forwards;
    }
  }
}

@keyframes realHeroRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes realHeroGlow {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.82;
  }
  50% {
    transform: translate3d(8px, -6px, 0) scale(1.02);
    opacity: 1;
  }
}

/* Desktop identity: services-prix page hero artwork */
@media (min-width: 901px) {
  .services-prix-page .hero.hero-cover {
    position: relative;
    overflow: hidden;
    min-height: 62vh;
    border-radius: 24px;
    background-image:
      linear-gradient(118deg, rgba(9, 24, 36, 0.76), rgba(9, 24, 36, 0.58)),
      url("images/hero.5.jpg");
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 56px rgba(10, 23, 36, 0.24);
  }

  .services-prix-page .hero.hero-cover::after {
    content: "";
    position: absolute;
    inset: -10%;
    background:
      radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 34%),
      radial-gradient(circle at 80% 76%, rgba(15, 157, 140, 0.18), transparent 34%);
    pointer-events: none;
    animation: servicesHeroGlow 8s ease-in-out infinite;
  }

  .services-prix-page .hero-overlay {
    position: relative;
    z-index: 1;
    text-align: center;
    width: min(980px, 100%);
    padding: 0 24px;
  }

  .services-prix-page .hero h1 {
    margin-left: auto;
    margin-right: auto;
    max-width: 16ch;
  }

  .services-prix-page .hero .lead {
    margin-left: auto;
    margin-right: auto;
    max-width: 62ch;
    color: #deebf7;
  }

  @media (prefers-reduced-motion: no-preference) {
    .services-prix-page .hero-overlay .kicker,
    .services-prix-page .hero-overlay h1,
    .services-prix-page .hero-overlay .lead {
      opacity: 0;
      transform: translateY(16px);
    }

    .services-prix-page .hero-overlay.is-visible .kicker {
      animation: servicesHeroRise 0.55s cubic-bezier(.2,.8,.2,1) forwards;
    }

    .services-prix-page .hero-overlay.is-visible h1 {
      animation: servicesHeroRise 0.64s cubic-bezier(.2,.8,.2,1) 0.10s forwards;
    }

    .services-prix-page .hero-overlay.is-visible .lead {
      animation: servicesHeroRise 0.62s cubic-bezier(.2,.8,.2,1) 0.22s forwards;
    }
  }
}

@keyframes servicesHeroRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes servicesHeroGlow {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate3d(7px, -5px, 0) scale(1.02);
    opacity: 1;
  }
}

/* Contact page redesign */
.contact-page .page-hero.contact-hero-pro {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 6vw, 76px) clamp(18px, 4vw, 38px) clamp(34px, 4vw, 44px);
  margin-top: 12px;
  text-align: center;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(132deg, rgba(8, 23, 35, 0.88), rgba(11, 44, 64, 0.82) 52%, rgba(13, 93, 118, 0.75)),
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.12), transparent 34%);
  box-shadow: 0 26px 56px rgba(10, 23, 36, 0.26);
}

.contact-page .page-hero.contact-hero-pro::before,
.contact-page .page-hero.contact-hero-pro::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}

.contact-page .page-hero.contact-hero-pro::before {
  width: 280px;
  height: 280px;
  right: -90px;
  top: -110px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0));
}

.contact-page .page-hero.contact-hero-pro::after {
  width: 260px;
  height: 260px;
  left: -90px;
  bottom: -130px;
  background: radial-gradient(circle, rgba(15, 157, 140, 0.32), rgba(15, 157, 140, 0));
}

.contact-page .page-hero.contact-hero-pro > * {
  position: relative;
  z-index: 1;
}

.contact-page .contact-hero-pro .kicker {
  color: rgba(228, 242, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.contact-page .contact-hero-pro h1 {
  margin: 8px auto 14px;
  max-width: 19ch;
  color: #f8fbff;
}

.contact-page .contact-hero-pro .lead {
  margin: 0 auto;
  max-width: 66ch;
  color: #dbe8f3;
}

.contact-page .contact-hero-highlights {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.contact-page .contact-hero-highlights span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #edf6ff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.contact-page .contact-hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.contact-page .contact-zone {
  align-items: stretch;
}

.contact-page .contact-zone > .content-block,
.contact-page .contact-side-stack > .content-block {
  margin: 0;
}

.contact-page .contact-side-stack {
  display: grid;
  gap: 16px;
}

.contact-page .contact-form-card {
  padding: 28px;
  border-color: rgba(15, 157, 140, 0.24);
  background:
    linear-gradient(170deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 255, 0.96)),
    radial-gradient(circle at 100% 0, rgba(15, 157, 140, 0.09), rgba(15, 157, 140, 0));
}

.contact-page .contact-card-head {
  margin-bottom: 14px;
}

.contact-page .contact-card-kicker {
  margin: 0 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  text-transform: uppercase;
  color: #0d5a4f;
  border: 1px solid rgba(12, 122, 107, 0.3);
  background: rgba(12, 122, 107, 0.12);
}

.contact-page .contact-card-head h2 {
  margin-bottom: 8px;
}

.contact-page .contact-card-head p {
  color: #4a5c6a;
  margin: 0;
}

.contact-page .contact-form {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-page .contact-form label:last-of-type,
.contact-page .contact-form button,
.contact-page .contact-form .form-note,
.contact-page .contact-form .form-feedback {
  grid-column: 1 / -1;
}

.contact-page .contact-info-card,
.contact-page .contact-direct-card {
  border: 1px solid rgba(18, 53, 75, 0.12);
  background: linear-gradient(166deg, #ffffff, #f7fbff);
}

.contact-page .contact-info-card h2,
.contact-page .contact-direct-card h2 {
  margin-bottom: 10px;
}

.contact-page .contact-points {
  margin-bottom: 14px;
}

.contact-page .contact-points li {
  color: #344b5b;
}

.contact-page .contact-metrics article {
  border-radius: 14px;
  border-color: rgba(15, 157, 140, 0.22);
}

.contact-page .contact-process-strip {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.contact-page .contact-process-strip article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 157, 140, 0.2);
  background: rgba(15, 157, 140, 0.07);
}

.contact-page .contact-process-strip strong {
  font-family: "Fraunces", serif;
  font-size: 1.12rem;
  color: #0f5f54;
}

.contact-page .contact-process-strip span {
  color: #2d4959;
  font-weight: 600;
}

.contact-page .contact-direct-card p {
  margin: 0 0 8px;
}

@media (max-width: 980px) {
  .contact-page .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .contact-page .page-hero.contact-hero-pro {
    text-align: left;
    padding: 30px 16px 24px;
    border-radius: 16px;
  }

  .contact-page .contact-hero-pro h1,
  .contact-page .contact-hero-pro .lead {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

  .contact-page .contact-hero-highlights {
    justify-content: flex-start;
  }

  .contact-page .contact-hero-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .contact-page .contact-hero-actions .btn,
  .contact-page .contact-quick-actions .btn {
    width: 100% !important;
  }

  .contact-page .contact-form-card,
  .contact-page .contact-info-card,
  .contact-page .contact-direct-card {
    padding: 16px !important;
    border-radius: 14px !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .contact-page .contact-hero-highlights span {
    animation: softFloat 5.6s ease-in-out infinite;
  }

  .contact-page .contact-hero-highlights span:nth-child(2) {
    animation-delay: 0.35s;
  }

  .contact-page .contact-hero-highlights span:nth-child(3) {
    animation-delay: 0.7s;
  }
}

/* Realisations: no animations/transitions */
.realisations-page *,
.realisations-page *::before,
.realisations-page *::after {
  animation: none !important;
  transition: none !important;
}

.realisations-page .reveal,
.realisations-page .reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

.realisations-page .realisations-hero .hero-page-flag,
.realisations-page .realisations-hero .kicker,
.realisations-page .realisations-hero h1,
.realisations-page .realisations-hero .lead {
  opacity: 1 !important;
  transform: none !important;
}

/* Realisations: effects showcase */
.realisations-page .realisations-effects-showcase {
  padding-top: 8px;
}

.realisations-page .realisations-effects-showcase .resfx-head {
  max-width: 820px;
  margin: 0 auto 16px;
  text-align: center;
}

.realisations-page .realisations-effects-showcase .resfx-head h2 {
  margin-bottom: 8px;
}

.realisations-page .realisations-effects-showcase .resfx-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 2px 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 157, 140, 0.65) rgba(15, 157, 140, 0.14);
}

.realisations-page .realisations-effects-showcase .resfx-track::-webkit-scrollbar {
  height: 8px;
}

.realisations-page .realisations-effects-showcase .resfx-track::-webkit-scrollbar-thumb {
  background: rgba(15, 157, 140, 0.65);
  border-radius: 999px;
}

.realisations-page .realisations-effects-showcase .resfx-track::-webkit-scrollbar-track {
  background: rgba(15, 157, 140, 0.14);
  border-radius: 999px;
}

.realisations-page .realisations-effects-showcase .resfx-card {
  flex: 0 0 min(320px, 82vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  border-radius: 16px;
  border: 1px solid rgba(15, 157, 140, 0.2);
  background:
    linear-gradient(168deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.96)),
    radial-gradient(circle at 100% 0, rgba(15, 157, 140, 0.1), rgba(15, 157, 140, 0));
  box-shadow: 0 12px 28px rgba(10, 23, 36, 0.12);
  padding: 16px;
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease !important;
}

.realisations-page .realisations-effects-showcase .resfx-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(108deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  transform: translateX(-120%) skewX(-14deg);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.realisations-page .realisations-effects-showcase .resfx-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(15, 157, 140, 0.38);
  box-shadow: 0 18px 36px rgba(10, 23, 36, 0.18);
}

.realisations-page .realisations-effects-showcase .resfx-card:hover::after {
  animation: resfxShine 0.75s ease forwards !important;
}

.realisations-page .realisations-effects-showcase .resfx-card > * {
  position: relative;
  z-index: 1;
}

.realisations-page .realisations-effects-showcase .resfx-visual {
  display: none;
}

.realisations-page .realisations-effects-showcase .resfx-visual span {
  display: block;
  border-radius: 999px;
  background: linear-gradient(135deg, #14a390, #0c6f61);
}

.realisations-page .realisations-effects-showcase .resfx-card-hero .resfx-visual span {
  width: 10px;
  height: 10px;
  animation: resfxPulseDot 1.3s ease-in-out infinite !important;
}

.realisations-page .realisations-effects-showcase .resfx-card-hero .resfx-visual span:nth-child(2) {
  animation-delay: 0.18s !important;
}

.realisations-page .realisations-effects-showcase .resfx-card-hero .resfx-visual span:nth-child(3) {
  animation-delay: 0.36s !important;
}

.realisations-page .realisations-effects-showcase .resfx-card-services .resfx-visual span {
  width: 14px;
  height: 24px;
  border-radius: 6px;
  animation: resfxBar 1.6s ease-in-out infinite !important;
}

.realisations-page .realisations-effects-showcase .resfx-card-services .resfx-visual span:nth-child(2) {
  animation-delay: 0.2s !important;
}

.realisations-page .realisations-effects-showcase .resfx-card-services .resfx-visual span:nth-child(3) {
  animation-delay: 0.4s !important;
}

.realisations-page .realisations-effects-showcase .resfx-card-beforeafter .resfx-visual {
  justify-content: space-between;
  padding: 0 10px;
}

.realisations-page .realisations-effects-showcase .resfx-card-beforeafter .resfx-visual span {
  width: 26%;
  height: 12px;
  border-radius: 999px;
  animation: resfxSwap 1.9s ease-in-out infinite !important;
}

.realisations-page .realisations-effects-showcase .resfx-card-faq .resfx-visual span {
  width: 12px;
  height: 12px;
}

.realisations-page .realisations-effects-showcase .resfx-card-faq .resfx-visual span:nth-child(2) {
  width: 44px;
  height: 8px;
  border-radius: 999px;
  animation: resfxSlideX 1.8s ease-in-out infinite !important;
}

.realisations-page .realisations-effects-showcase .resfx-card-proof .resfx-visual span {
  width: 12px;
  height: 12px;
  animation: resfxGlowDot 1.8s ease-in-out infinite !important;
}

.realisations-page .realisations-effects-showcase .resfx-card-proof .resfx-visual span:nth-child(2) {
  animation-delay: 0.25s !important;
}

.realisations-page .realisations-effects-showcase .resfx-card-proof .resfx-visual span:nth-child(3) {
  animation-delay: 0.5s !important;
}

.realisations-page .realisations-effects-showcase .resfx-card-cta .resfx-visual span {
  width: 58px;
  height: 12px;
  animation: resfxPress 1.45s ease-in-out infinite !important;
}

.realisations-page .realisations-effects-showcase .resfx-card-mobile .resfx-visual span {
  width: 12px;
  height: 24px;
  border-radius: 4px;
  animation: resfxFloatY 1.7s ease-in-out infinite !important;
}

.realisations-page .realisations-effects-showcase .resfx-card-mobile .resfx-visual span:nth-child(2) {
  height: 18px;
  animation-delay: 0.22s !important;
}

.realisations-page .realisations-effects-showcase .resfx-card-mobile .resfx-visual span:nth-child(3) {
  height: 14px;
  animation-delay: 0.44s !important;
}

.realisations-page .realisations-effects-showcase .resfx-card-seo .resfx-visual span {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 4px solid rgba(15, 157, 140, 0.9);
  border-top-color: rgba(15, 157, 140, 0.2);
  background: transparent;
  animation: resfxRotate 1.35s linear infinite !important;
}

.realisations-page .realisations-effects-showcase .resfx-card-seo .resfx-visual span:nth-child(2),
.realisations-page .realisations-effects-showcase .resfx-card-seo .resfx-visual span:nth-child(3) {
  display: none;
}

.realisations-page .realisations-effects-showcase .resfx-card h3 {
  min-height: 2.6em;
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
  color: #183347;
}

.realisations-page .realisations-effects-showcase .resfx-card p {
  min-height: 4.6em;
  margin: 0 0 10px;
  color: #3f5363;
}

.realisations-page .realisations-effects-showcase .resfx-card span {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #0f5f54;
  background: rgba(15, 157, 140, 0.1);
  border: 1px solid rgba(15, 157, 140, 0.24);
}

@keyframes resfxShine {
  0% { opacity: 0; transform: translateX(-120%) skewX(-14deg); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translateX(140%) skewX(-14deg); }
}

@keyframes resfxPulseDot {
  0%, 100% { transform: scale(0.86); opacity: 0.55; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes resfxBar {
  0%, 100% { transform: scaleY(0.75); opacity: 0.7; }
  50% { transform: scaleY(1.08); opacity: 1; }
}

@keyframes resfxSwap {
  0%, 100% { transform: translateX(0); opacity: 0.9; }
  50% { transform: translateX(8px); opacity: 1; }
}

@keyframes resfxSlideX {
  0%, 100% { transform: translateX(0); opacity: 0.65; }
  50% { transform: translateX(8px); opacity: 1; }
}

@keyframes resfxGlowDot {
  0%, 100% { box-shadow: 0 0 0 rgba(15, 157, 140, 0); }
  50% { box-shadow: 0 0 14px rgba(15, 157, 140, 0.36); }
}

@keyframes resfxPress {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.92); }
}

@keyframes resfxFloatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes resfxRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}






/* MOBILE HERO IMAGE PARITY: keep same hero photos as desktop on key pages */
@media (max-width: 900px) {
  .realisations-page .realisations-hero {
    background-image:
      linear-gradient(120deg, rgba(8, 26, 40, 0.84), rgba(8, 26, 40, 0.62)),
      url("images/hero.2.jpg"),
      radial-gradient(circle at 86% 18%, rgba(249, 178, 51, 0.28), transparent 36%),
      radial-gradient(circle at 12% 84%, rgba(15, 157, 140, 0.26), transparent 38%),
      linear-gradient(145deg, #102838 0%, #18384e 56%, #204a62 100%) !important;
    background-size: cover, cover, auto, auto, auto !important;
    background-position: center, center, 86% 18%, 12% 84%, center !important;
    background-repeat: no-repeat !important;
  }

  .services-prix-page .hero.hero-cover {
    background-image:
      linear-gradient(118deg, rgba(9, 24, 36, 0.76), rgba(9, 24, 36, 0.58)),
      url("images/hero.5.jpg") !important;
    background-size: cover, cover !important;
    background-position: center, center !important;
    background-repeat: no-repeat !important;
  }
}



/* FORCE LIVE INTERACTION ON EXAMPLES PREVIEWS */
.examples-wrap .preview-card.is-demo-live .site-preview {
  overscroll-behavior: contain;
  touch-action: pan-x pan-y;
  position: relative;
  z-index: 5;
}

.examples-wrap .preview-card.is-demo-live .site-preview iframe,
.examples-wrap .theme-card.is-demo-live .site-preview iframe {
  pointer-events: auto !important;
}

/* Desktop mouse hover can trigger unwanted hero effects inside iframe demos. */
@media (hover: hover) and (pointer: fine) {
  .examples-wrap .preview-card.is-demo-live .site-preview iframe,
  .examples-wrap .theme-card.is-demo-live .site-preview iframe {
    pointer-events: none !important;
  }
}

/* Keep touch interaction on phones/tablets. */
@media (hover: none) {
  .examples-wrap .preview-card.is-demo-live .site-preview iframe,
  .examples-wrap .theme-card.is-demo-live .site-preview iframe {
    pointer-events: auto !important;
  }
}

/* RESTORE HERO-LIKE OVERLAY BANNER ON DEMO CARDS */
.examples-wrap .preview-card.is-demo-live {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 22px !important;
  padding: 0 !important;
}

.examples-wrap .preview-card.is-demo-live::after {
  content: none !important;
}

.examples-wrap .preview-card.is-demo-live .site-preview {
  margin: 0 !important;
  height: 250px !important;
  border-radius: 22px !important;
}

.examples-wrap .preview-card.is-demo-live .preview-meta {
  position: absolute !important;
  left: 14px !important;
  right: 14px !important;
  bottom: 10px !important;
  z-index: 9 !important;
  display: grid !important;
  gap: 10px !important;
  padding: 10px !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, rgba(7, 15, 24, 0.48), rgba(7, 15, 24, 0.62)) !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  backdrop-filter: blur(8px) !important;
}

.examples-wrap .preview-card.is-demo-live .preview-meta p {
  display: none !important;
}

.examples-wrap .preview-card.is-demo-live .preview-meta .theme-pill {
  justify-self: start !important;
  margin: 0 !important;
  padding: 7px 14px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #7bf0d7, #d9ff9b) !important;
  border: 1px solid rgba(7, 57, 51, 0.25) !important;
  color: #0b4b43 !important;
  font-weight: 900 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  font-size: 0.76rem !important;
}

.examples-wrap .preview-card.is-demo-live .preview-meta h3 {
  margin: 0 !important;
  color: #ffffff !important;
  text-align: center !important;
  font-size: 2rem !important;
  line-height: 1.15 !important;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.45) !important;
}

.examples-wrap .preview-card.is-demo-live .preview-meta .portfolio-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 44px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  background: rgba(255, 255, 255, 0.09) !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  font-weight: 800 !important;
}

@media (max-width: 760px) {
  .examples-wrap .preview-card.is-demo-live .site-preview {
    height: 210px !important;
  }

  .examples-wrap .preview-card.is-demo-live .preview-meta {
    left: 10px !important;
    right: 10px !important;
    bottom: 8px !important;
    gap: 8px !important;
    padding: 8px !important;
  }

  .examples-wrap .preview-card.is-demo-live .preview-meta h3 {
    font-size: 1.25rem !important;
  }

  .examples-wrap .preview-card.is-demo-live .preview-meta .portfolio-link {
    min-height: 40px !important;
    font-size: 0.82rem !important;
  }
}

/* FORCE DESKTOP FORMAT FOR LIVE DEMO PREVIEWS */
.examples-wrap .preview-card.is-demo-live .site-preview {
  height: 300px !important;
}

.examples-wrap .preview-card.is-demo-live .site-preview iframe,
.examples-wrap .theme-card.is-demo-live .site-preview iframe {
  width: 1366px !important;
  height: 820px !important;
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) scale(0.34) !important;
  transform-origin: top center !important;
}

@media (max-width: 760px) {
  .examples-wrap .preview-card.is-demo-live .site-preview {
    height: 220px !important;
  }

  .examples-wrap .preview-card.is-demo-live .site-preview iframe,
  .examples-wrap .theme-card.is-demo-live .site-preview iframe {
    width: 1366px !important;
    height: 820px !important;
    transform: translateX(-50%) scale(0.24) !important;
    transform-origin: top center !important;
  }
}

/* DESKTOP SAFETY RESET - keep examples pages readable if a later patch shrinks layout */
@media (min-width: 761px) {
  body.page-artisan,
  body.page-beaute,
  body.page-electricien,
  body.page-garagiste,
  body.page-entreprise {
    zoom: 1 !important;
    transform: none !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  body.page-artisan .site-header,
  body.page-beaute .site-header,
  body.page-electricien .site-header,
  body.page-garagiste .site-header,
  body.page-entreprise .site-header {
    width: 100% !important;
    transform: none !important;
  }

  body.page-artisan .site-header .nav-wrap,
  body.page-beaute .site-header .nav-wrap,
  body.page-electricien .site-header .nav-wrap,
  body.page-garagiste .site-header .nav-wrap,
  body.page-entreprise .site-header .nav-wrap {
    min-height: 100px !important;
  }

  body.page-artisan .site-header .brand-logo,
  body.page-beaute .site-header .brand-logo,
  body.page-electricien .site-header .brand-logo,
  body.page-garagiste .site-header .brand-logo,
  body.page-entreprise .site-header .brand-logo {
    height: 84px !important;
    width: auto !important;
    max-width: none !important;
  }

  body.page-artisan .hero,
  body.page-beaute .hero,
  body.page-electricien .hero,
  body.page-garagiste .hero,
  body.page-entreprise .hero {
    min-height: min(80vh, 860px) !important;
  }
}

/* METIER EXAMPLES TUNING - same demo-live design across pages */
:is(body.page-artisan, body.page-beaute, body.page-electricien, body.page-garagiste, body.page-entreprise) .examples-wrap .examples-grid {
  justify-items: center !important;
  align-items: start !important;
}

:is(body.page-artisan, body.page-beaute, body.page-electricien, body.page-garagiste, body.page-entreprise) .examples-wrap .preview-card.is-demo-live {
  width: min(100%, 560px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

:is(body.page-artisan, body.page-beaute, body.page-electricien, body.page-garagiste, body.page-entreprise) .examples-wrap .preview-card.is-demo-live .site-preview {
  height: 360px !important;
}

:is(body.page-artisan, body.page-beaute, body.page-electricien, body.page-garagiste, body.page-entreprise) .examples-wrap .preview-card.is-demo-live .site-preview iframe,
:is(body.page-artisan, body.page-beaute, body.page-electricien, body.page-garagiste, body.page-entreprise) .examples-wrap .theme-card.is-demo-live .site-preview iframe {
  width: 1366px !important;
  height: 820px !important;
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) scale(0.44) !important;
  transform-origin: top center !important;
}

:is(body.page-artisan, body.page-beaute, body.page-electricien, body.page-garagiste, body.page-entreprise) .examples-wrap .preview-card.is-demo-live .preview-meta {
  left: 12px !important;
  right: 12px !important;
  bottom: 8px !important;
  padding: 7px 8px !important;
  gap: 5px !important;
  border-radius: 14px !important;
}

:is(body.page-artisan, body.page-beaute, body.page-electricien, body.page-garagiste, body.page-entreprise) .examples-wrap .preview-card.is-demo-live .preview-meta h3 {
  font-size: clamp(1.05rem, 1.7vw, 1.45rem) !important;
  line-height: 1.12 !important;
}

:is(body.page-artisan, body.page-beaute, body.page-electricien, body.page-garagiste, body.page-entreprise) .examples-wrap .preview-card.is-demo-live .preview-meta .portfolio-link {
  width: 100% !important;
  min-height: 24px !important;
  padding: 3px 10px !important;
  margin: 0 auto !important;
  font-size: 0.66rem !important;
  letter-spacing: 0.04em !important;
  border-radius: 999px !important;
}

@media (max-width: 760px) {
  :is(body.page-artisan, body.page-beaute, body.page-electricien, body.page-garagiste, body.page-entreprise) .examples-wrap .preview-card.is-demo-live .site-preview {
    height: 250px !important;
  }

  :is(body.page-artisan, body.page-beaute, body.page-electricien, body.page-garagiste, body.page-entreprise) .examples-wrap .preview-card.is-demo-live .site-preview iframe,
  :is(body.page-artisan, body.page-beaute, body.page-electricien, body.page-garagiste, body.page-entreprise) .examples-wrap .theme-card.is-demo-live .site-preview iframe {
    width: 1366px !important;
    height: 820px !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) scale(0.24) !important;
    transform-origin: top center !important;
  }

  :is(body.page-artisan, body.page-beaute, body.page-electricien, body.page-garagiste, body.page-entreprise) .examples-wrap .preview-card.is-demo-live .preview-meta {
    left: 10px !important;
    right: 10px !important;
    bottom: 7px !important;
    padding: 6px 7px !important;
    gap: 4px !important;
  }

  :is(body.page-artisan, body.page-beaute, body.page-electricien, body.page-garagiste, body.page-entreprise) .examples-wrap .preview-card.is-demo-live .preview-meta h3 {
    font-size: 1rem !important;
  }

  :is(body.page-artisan, body.page-beaute, body.page-electricien, body.page-garagiste, body.page-entreprise) .examples-wrap .preview-card.is-demo-live .preview-meta .portfolio-link {
    min-height: 22px !important;
    padding: 3px 8px !important;
    font-size: 0.62rem !important;
  }
}

/* Targeted centering fix for Chris-et-Toit preview card */
body.page-artisan .examples-wrap .preview-card.preview-exemple-chrisettoit.is-demo-live .site-preview {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
}

body.page-artisan .examples-wrap .preview-card.preview-exemple-chrisettoit.is-demo-live .site-preview iframe {
  left: 50% !important;
  transform: translateX(-50%) scale(0.44) !important;
  transform-origin: top center !important;
}

@media (max-width: 760px) {
  body.page-artisan .examples-wrap .preview-card.preview-exemple-chrisettoit.is-demo-live .site-preview iframe {
    left: 50% !important;
    transform: translateX(-50%) scale(0.24) !important;
    transform-origin: top center !important;
  }
}
