:root {
  --bg: #07111f;
  --bg-soft: #0c1728;
  --panel: rgba(13, 23, 40, 0.86);
  --panel-strong: rgba(9, 16, 29, 0.94);
  --text: #edf3fb;
  --muted: #aab9cc;
  --line: rgba(255, 255, 255, 0.08);
  --primary: #3dd6c6;
  --primary-strong: #22b8a6;
  --accent: #7c5cff;
  --gold: #ffcf70;
  --success: #62db95;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(124, 92, 255, 0.20), transparent 28%),
    radial-gradient(circle at top right, rgba(61, 214, 198, 0.18), transparent 26%),
    linear-gradient(180deg, #040a14 0%, var(--bg) 44%, #050c17 100%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(4, 10, 20, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand-mark {
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 16px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.brand-copy strong {
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.brand-copy span {
  font-size: 0.86rem;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  cursor: pointer;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--muted);
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #04111e;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.hero {
  padding: 5.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.92rem;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.3rem, 4vw, 4.4rem);
  line-height: 1.04;
  margin: 1rem 0;
}

.hero p,
.page-hero p,
.lead {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero .hero-subtitle{
  color:#fff;
  font-size:clamp(1.2rem,2vw,1.5rem);
  font-weight:500;
  line-height:1.5;
  margin:0.75rem 0;
}

.hero .hero-signature{
  color:#ffffff;
  font-style:italic;
  font-size:1rem;
  margin:0 0 1rem;
}

.hero-subtitle-composed {
  display:flex;
  flex-direction:column;
  gap:0.65rem;
}

.hero-inline-mobile {
  display:none;
  flex-direction:column;
  align-items:center;
  gap:0.5rem;
}

.hero-inline-mobile img {
  width:100%;
  height:auto;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:0 10px 30px rgba(0,0,0,0.35);
}

.hero-signature-mobile-caption {
  display:none;
  color:#ffffff;
  font-style:italic;
  font-size:1rem;
  margin-top:0.5rem;
  text-align:center;
}

.hero-actions,
.cta-row,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.button,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
}

.button {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #04111e;
  box-shadow: var(--shadow);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.button-ghost {
  border: 1px dashed rgba(255, 255, 255, 0.14);
  color: var(--muted);
}

.hero-card,
.panel,
.card,
.project-card,
.stat-card,
.quote,
.timeline-item,
.contact-card,
.offer-card,
.security-card,
.page-hero,
.gallery-card,
.callout,
.info-card {
  background: linear-gradient(180deg, rgba(18, 30, 51, 0.82), rgba(8, 15, 27, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.5rem;
}

.hero-card img,
.project-image img,
.gallery-card img {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-metrics,
.stats-grid,
.cards-grid,
.features-grid,
.project-grid,
.security-grid,
.offers-grid,
.contact-grid,
.footer-grid,
.gallery-grid {
  display: grid;
  gap: 1rem;
}

.hero-metrics {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1rem;
}

.metric,
.stat-card {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.metric strong,
.stat-card strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.metric span,
.stat-card span,
.muted {
  color: var(--muted);
}

.section {
  padding: 2rem 0 5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.section-header h2,
.section-header h3 {
  margin: 0.2rem 0;
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
}

.cards-grid {
  grid-template-columns: repeat(3, 1fr);
}

.trust-intro {
  margin: 0 0 1rem;
}

.trust-grid {
  grid-template-columns: repeat(2, 1fr);
}

.trust-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trust-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-head h3 {
  margin: 0 0 0.25rem;
}

.trust-head p {
  margin: 0;
}

.trust-logo-wrap {
  width: 120px;
  height: 70px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.5rem;
}

.trust-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.trust-quote {
  margin: 0;
  padding: 1rem;
  border-left: 3px solid rgba(61, 214, 198, 0.55);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}

.trust-quote p {
  margin: 0;
}

.card,
.offer-card,
.security-card,
.contact-card,
.info-card {
  padding: 1.35rem;
}

.card h3,
.offer-card h3,
.security-card h3,
.contact-card h3,
.project-card h3,
.info-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.18rem;
}

.project-title {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  letter-spacing: 0.08em;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.6rem 1.1rem;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(4, 10, 20, 0.85);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
  position: relative;
  margin-bottom: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
}

.project-title::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  bottom: 0.15rem;
  width: 60px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.project-title-triathlon {
  background: linear-gradient(160deg, rgba(61, 214, 198, 0.18), rgba(124, 92, 255, 0.25));
  border-color: rgba(61, 214, 198, 0.5);
}

.project-title-quiz {
  background: linear-gradient(160deg, rgba(124, 92, 255, 0.18), rgba(255, 207, 112, 0.25));
  border-color: rgba(124, 92, 255, 0.5);
}

.project-title-prospection {
  background: linear-gradient(160deg, rgba(255, 207, 112, 0.18), rgba(61, 214, 198, 0.25));
  border-color: rgba(255, 207, 112, 0.5);
}

.project-title-cyber {
  background: linear-gradient(160deg, rgba(255, 207, 112, 0.15), rgba(4, 10, 20, 0.95));
  border-color: rgba(255, 207, 112, 0.4);
}

.project-title-compta {
  background: linear-gradient(160deg, rgba(61, 214, 198, 0.18), rgba(4, 10, 20, 0.9));
  border-color: rgba(61, 214, 198, 0.55);
}

.card p,
.offer-card p,
.security-card p,
.contact-card p,
.project-card p,
.info-card p,
.page-hero p,
.callout p,
.timeline-item p,
.quote p,
.project-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.list,
.project-list,
.check-list,
.footer-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.list li,
.project-list li,
.check-list li,
.footer-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.7rem;
  color: var(--muted);
  line-height: 1.6;
}

.list li::before,
.project-list li::before,
.check-list li::before,
.footer-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.project-card {
  overflow: hidden;
}

.project-copy {
  padding: 1.4rem;
}

.project-meta,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.tag,
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.badge-highlight {
  background: rgba(98, 219, 149, 0.1);
  color: #bdf1cf;
  border-color: rgba(98, 219, 149, 0.24);
}

.callout {
  padding: 1.4rem;
}

.callout-highlight {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.callout-highlight img {
  width: min(240px, 60vw);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.callout-highlight strong {
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.callout-highlight p {
  margin: 0;
  color: var(--muted);
}

.callout-header {
  display:flex;
  align-items:center;
  gap:1rem;
  justify-content:space-between;
  flex-wrap:wrap;
  margin-bottom:0.8rem;
}

.callout-eyebrow {
  margin-left:auto;
}

.security-grid,
.offers-grid {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-grid {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-card {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.gallery-card img {
  display: block;
  margin: 0 auto;
  max-height: 240px;
  width: auto;
  object-fit: contain;
}

.gallery-card .project-image-trigger {
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
}

.gallery-card .project-image-trigger img {
  max-width: 100%;
  max-height: 240px;
}

.gallery-card small {
  display: block;
  color: var(--muted);
  margin-top: 0.8rem;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  padding: 1.2rem;
}

.quote {
  padding: 1.6rem;
}

.quote strong {
  display: block;
  margin-top: 1rem;
}

.page-hero {
  padding: 2rem;
  margin: 2rem 0 1.5rem;
}

.page-shell {
  padding: 1.5rem 0 4.5rem;
}

.solutions-page .product-showcase {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(61, 214, 198, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(12, 23, 40, 0.96), rgba(7, 17, 31, 0.94));
}

.solutions-page .product-showcase::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.18), transparent 68%);
  pointer-events: none;
}

.solutions-page .product-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: start;
}

.solutions-page .product-label {
  display: inline-flex;
  align-items: center;
  padding: 0.52rem 0.9rem;
  margin-bottom: 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(61, 214, 198, 0.28);
  background: rgba(61, 214, 198, 0.12);
  color: #eefaf8;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.solutions-page .project-title-display {
  margin-bottom: 1rem;
  background: linear-gradient(160deg, rgba(61, 214, 198, 0.22), rgba(124, 92, 255, 0.30));
  border-color: rgba(61, 214, 198, 0.45);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  letter-spacing: 0.04em;
  padding: 0.55rem 0.95rem;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
}

.solutions-page .project-title-cyberguard {
  margin-bottom: 1rem;
  background: linear-gradient(160deg, rgba(255, 207, 112, 0.16), rgba(61, 214, 198, 0.16) 48%, rgba(4, 10, 20, 0.95));
  border-color: rgba(255, 207, 112, 0.34);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  letter-spacing: 0.04em;
  padding: 0.55rem 0.95rem;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
}

.solutions-page .product-lead {
  margin: 0.75rem 0 0.9rem;
  color: #ffffff;
  font-size: clamp(1.22rem, 2.4vw, 1.7rem);
  line-height: 1.35;
  font-weight: 700;
  max-width: 22ch;
}

.solutions-page .product-quickline {
  margin: 0 0 1.2rem;
  color: #d9e5f4;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 58ch;
}

.solutions-page .product-impact {
  margin: 0.2rem 0 1rem;
  color: #ffffff;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.5;
  font-weight: 800;
  font-style: italic;
  max-width: 58ch;
}

.solutions-page .product-impact span {
  display: block;
}

.solutions-page .product-intro {
  max-width: 60ch;
  margin-bottom: 1.5rem;
}

.solutions-page .product-inline-shot {
  margin-top: 0.4rem;
}

.solutions-page .product-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 2rem 0 1.2rem;
}

.solutions-page .product-summary .card {
  min-height: 100%;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
}

.solutions-page .product-summary .card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
  color: #ffffff;
}

.solutions-page .product-visual {
  display: grid;
  gap: 1rem;
}

.solutions-page .product-hero-shot,
.solutions-page .product-thumb {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.28);
}

.solutions-page .product-hero-shot img,
.solutions-page .product-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.solutions-page .product-hero-shot .project-image-trigger,
.solutions-page .product-thumb .project-image-trigger {
  width: 100%;
  height: auto;
  display: block;
  padding: 0;
}

.solutions-page .product-hero-shot .project-image-trigger img,
.solutions-page .product-thumb .project-image-trigger img {
  width: 100%;
  max-width: none;
  max-height: none;
  height: auto;
  object-fit: cover;
  border-radius: 0;
}

.solutions-page .product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.solutions-page .product-gallery-single {
  grid-template-columns: minmax(0, 1fr);
}

.solutions-page .product-thumb-centered {
  width: 100%;
}

.solutions-page .product-thumb figcaption,
.solutions-page .product-hero-shot figcaption {
  padding: 0.85rem 1rem 1rem;
  color: #c0d0e3;
  font-size: 0.94rem;
  line-height: 1.5;
}

.solutions-page .product-thumb .card {
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.solutions-page .product-thumb .card h3 {
  margin-bottom: 0.8rem;
}

.solutions-page .product-sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.solutions-page .product-sections .card,
.solutions-page .product-reassurance {
  background: rgba(255, 255, 255, 0.04);
}

.solutions-page .product-reassurance {
  margin-top: 1rem;
  padding: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
}

.solutions-page .product-reassurance h3 {
  margin-top: 0;
}

.solutions-page .product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.solutions-page .product-tags li {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #edf3fb;
  font-weight: 600;
}

.contact-grid {
  grid-template-columns: 1fr 0.9fr;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.contact-list a,
.contact-list span {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0.75rem 0.9rem;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 170px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(61, 214, 198, 0.45);
  outline-offset: 1px;
}

.form-status {
  display: none;
  margin-top: 0.35rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.92rem;
}

.form-status.is-success {
  display: block;
  color: #bdf1cf;
  background: rgba(98, 219, 149, 0.12);
  border-color: rgba(98, 219, 149, 0.3);
}

.form-status.is-error {
  display: block;
  color: #ffd8d8;
  background: rgba(255, 110, 110, 0.12);
  border-color: rgba(255, 110, 110, 0.3);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.mini-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  padding: 1.5rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  grid-template-columns: 1.1fr 0.7fr 0.8fr;
  align-items: start;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 1rem;
  padding-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

code.inline {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 0.15rem 0.45rem;
}

@media (max-width: 1024px) {
  .hero-grid,
  .split,
  .contact-grid,
  .footer-grid,
  .gallery-grid,
  .cards-grid,
  .security-grid,
  .offers-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .solutions-page .product-grid,
  .solutions-page .product-sections {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .hero {
    padding-top: 2.4rem;
  }

  .brand {
    gap: 0.6rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .brand-copy span {
    display: block;
    font-size: 0.76rem;
    line-height: 1.25;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(6, 12, 22, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav.open {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .header-inner {
    position: relative;
  }

  .section-header {
    align-items: start;
    flex-direction: column;
  }

  .solutions-page .product-grid {
    display: flex;
    flex-direction: column;
  }

  .solutions-page .product-grid > div:first-child,
  .solutions-page .product-grid > div:last-child {
    display: contents;
  }

  .solutions-page .project-title-display {
    order: 1;
  }

  .solutions-page .product-lead {
    order: 2;
  }

  .solutions-page .product-hero-shot {
    order: 3;
    margin-bottom: 1rem;
  }

  .solutions-page .product-quickline {
    order: 4;
  }

  .solutions-page .product-intro {
    order: 5;
  }

  .solutions-page .product-summary {
    order: 6;
  }

  .solutions-page .product-inline-shot {
    order: 7;
  }

  .solutions-page .product-gallery {
    order: 8;
  }

  .solutions-page .product-summary,
  .solutions-page .product-gallery {
    grid-template-columns: 1fr;
  }

  .mobile-fab-cta {
    position: fixed;
    right: 0.85rem;
    bottom: 0.85rem;
    z-index: 90;
    min-height: 42px;
    padding: 0.65rem 0.9rem;
    font-size: 0.84rem;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    opacity: 0.92;
  }

  .hero .hero-signature {
    font-style: italic;
  }

  .hero-subtitle {
    margin-bottom: 0.5rem;
  }

  .hero-card {
    display:none;
  }

  .hero-inline-mobile {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:0.4rem;
    margin-top:1.25rem;
  }

  .hero-inline-mobile img {
    width:clamp(180px, 55vw, 230px);
    border-radius:16px;
    border:1px solid rgba(255,255,255,0.08);
    box-shadow:0 12px 28px rgba(0,0,0,0.45);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-signature-desktop {
    display:none;
  }

  .hero-signature-mobile-caption {
    display:block;
    margin-top:0.75rem;
  }

}

@media (max-width: 768px){
  .hero .hero-subtitle{
    font-size:1.2rem;
    color:#fff;
  }

  .hero .hero-signature{
    color:#ffffff;
    font-style:italic;
  }
}

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


.project-card{
display:flex;
flex-direction:column;
height:100%;
}

.project-image{
display:flex;
align-items:center;
justify-content:center;
min-height:260px;
max-height:260px;
padding:18px;
background:#0f172a;
}

.project-image-trigger{
background:none;
border:none;
cursor:zoom-in;
width:100%;
height:100%;
display:flex;
align-items:center;
justify-content:center;
}

.project-image-trigger img{
max-width:100%;
max-height:220px;
object-fit:contain;
border-radius:8px;
}

.image-popup{
position:fixed;
inset:0;
display:none;
z-index:9999;
}

.image-popup.is-open{
display:block;
}

.image-popup-overlay{
position:absolute;
inset:0;
background:rgba(0,0,0,0.6);
}

.image-popup-dialog{
position:relative;
margin:6vh auto;
width:min(90vw,900px);
background:#0f172a;
padding:16px;
border-radius:12px;
}

.image-popup-dialog img{
max-width:100%;
max-height:80vh;
display:block;
margin:auto;
}

@media (min-width:1025px){
.split > .project-image{
min-height:100%;
max-height:none;
}

.split > .project-image .project-image-trigger{
height:100%;
}

.split > .project-image .project-image-trigger img{
width:100%;
height:100%;
max-height:none;
object-fit:contain;
}
}


/* =========================
   Kernel-Compta
   Image adaptée au bloc texte
   Desktop + mobile
   ========================= */

.split-compta {
  align-items: stretch;
}

.project-image-compta {
  min-height: auto;
  max-height: none;
  padding: 1.4rem;
  background: #0f172a;
}

.project-image-compta img {
  width: 100%;
  max-width: 320px;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 1025px) {
  .split-compta > .project-image-compta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    max-height: none;
  }

  .split-compta > .project-image-compta img {
    width: auto;
    height: auto;
    max-width: min(100%, 320px);
    max-height: 340px;
    object-fit: contain;
  }
}

@media (max-width: 1024px) {
  .split-compta {
    grid-template-columns: 1fr;
  }

  .split-compta > .project-image-compta {
    order: 1;
    min-height: auto;
    max-height: none;
    padding: 1.2rem 1.2rem 0;
  }

  .split-compta > .project-copy {
    order: 2;
  }

  .project-image-compta img {
    max-width: 220px;
    max-height: 260px;
  }
}

@media (max-width: 640px) {
  .project-image-compta {
    padding: 1rem 1rem 0;
  }

  .project-image-compta img {
    max-width: 180px;
    max-height: 220px;
  }
}
