:root {
  /* Base (Minimal is now the default theme) */
  --bg: #f7f8fb;
  --surface: rgba(255, 255, 255, 0.92);
  --text: #0b1220;
  --muted: rgba(11, 18, 32, 0.72);
  --border: rgba(11, 18, 32, 0.12);
  --label: rgba(11, 18, 32, 0.88);

  /* 360Client brand-inspired accents (approx. from logo) */
  --brand-teal: #18b7c5;
  --brand-orange: #e85b21;
  --brand-red: #e1232d;
  --brand-graphite: #5b5b5b;

  /* UI accents */
  --primary: var(--brand-teal);
  --primary-2: var(--brand-teal);
  --on-primary: #ffffff;
  --focus: rgba(24, 183, 197, 0.40);

  /* Page chrome */
  --header-bg: rgba(255, 255, 255, 0.86);
  --footer-bg: rgba(255, 255, 255, 0.76);

  --page-bg: linear-gradient(180deg, #ffffff, #f7f8fb 35%, #f1f5fb 100%);

  --shadow: 0 18px 46px rgba(15, 23, 42, 0.12);
  --radius: 16px;

  --max: 980px;
  --pad: 20px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--page-bg);
}

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

.container {
  width: min(var(--max), 100%);
  padding: 0 var(--pad);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

/* Home header: push the brand a bit lower (more breathing room) */
body.home .header-inner {
  padding: 22px 0;
}

/* Other pages: make the brand bigger than on the home page */
body:not(.home) .brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}

body:not(.home) .brand-name {
  font-size: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  padding: 0;
  object-fit: contain;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.brand-name {
  font-weight: 750;
  font-size: 17px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 16px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.nav-link:focus,
.nav-link:hover {
  color: var(--text);
  border-color: rgba(11, 18, 32, 0.16);
  background: rgba(11, 18, 32, 0.04);
}

/* ------------------------------------------------------------
   Mobile header/nav: avoid overlaps, keep links accessible
------------------------------------------------------------ */
@media (max-width: 640px) {
  .header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 0;
  }

  body.home .header-inner {
    padding: 16px 0;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

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

  body:not(.home) .brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .brand-name {
    font-size: 16px;
  }

  body:not(.home) .brand-name {
    font-size: 18px;
  }

  .nav {
    width: 100%;
    justify-content: center;
    gap: 8px;

    /* Keep all links reachable on narrow screens */
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    white-space: nowrap;
    font-size: 14px;
    padding: 7px 8px;
  }
}

.hero {
  padding: 64px 0 34px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-visual {
  display: none;
  justify-content: center;
  align-items: center;
  padding: 14px 0 0;
}

.hero-logo {
  width: min(360px, 82vw);
  height: auto;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  padding: 14px;
  border: 1px solid rgba(238, 242, 255, 0.16);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
}

/* Home “big logo” animations (cycled via JS on the home page) */
body.home .hero-logo {
  will-change: transform, filter;
  transform-origin: 50% 60%;
}

body.home .hero-logo.logo-anim-1 {
  animation: logo-float 6.5s ease-in-out both;
}

body.home .hero-logo.logo-anim-2 {
  animation: logo-soft-tilt 6.5s ease-in-out both;
}

body.home .hero-logo.logo-anim-3 {
  animation: logo-breathe 6.5s ease-in-out both;
}

body.home .hero-logo.logo-anim-4 {
  animation: logo-glow 6.5s ease-in-out both;
}

body.home .hero-logo.logo-anim-5 {
  animation: logo-pop 6.5s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  body.home .hero-logo {
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }
}

@keyframes logo-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes logo-soft-tilt {
  0%,
  100% {
    transform: rotate(-0.35deg);
  }
  50% {
    transform: rotate(0.35deg);
  }
}

@keyframes logo-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
}

@keyframes logo-glow {
  0%,
  100% {
    filter: drop-shadow(0 26px 70px rgba(0, 0, 0, 0.30));
  }
  50% {
    filter: drop-shadow(0 28px 78px rgba(24, 183, 197, 0.28));
  }
}

@keyframes logo-pop {
  0% {
    transform: scale(0.985);
  }
  25% {
    transform: scale(1.04);
  }
  55% {
    transform: scale(1);
  }
  75% {
    transform: translate3d(0, -6px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

.hero-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-mark {
  width: 6px;
  height: 70px;
  border-radius: 999px;
  background: var(--brand-red);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.10);
  flex: 0 0 auto;
}

.hero-title {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.8px;
}

.hero-lead {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
  max-width: 62ch;
}

/* Home: make the first paragraph slightly larger */
body.home .hero-lead {
  font-size: 18px;
}

@media (min-width: 720px) {
  body.home .hero-lead {
    font-size: 19px;
  }
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 650;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  box-shadow: none;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(11, 18, 32, 0.18);
  background: rgba(11, 18, 32, 0.04);
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--on-primary);
}

.button.primary:hover {
  background: linear-gradient(135deg, rgba(24, 183, 197, 0.92), rgba(24, 183, 197, 0.92));
}

.hero-note {
  padding-top: 0px;
}

.hero-note p.muted {
  line-height: 1.7;
}

.section-title {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.2px;
}

/* ------------------------------------------------------------
   Content pages (non-home): orange geometric marker before content block titles
------------------------------------------------------------ */

/* Ensure section titles can host a leading marker without layout hacks */
body:not(.home) .section-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Orange marker (same shape everywhere) */
body:not(.home) .card-title::before,
body:not(.home) .section-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2.5px;
  background: var(--brand-orange);
  transform: rotate(45deg);
  box-shadow: 0 8px 14px rgba(15, 23, 42, 0.10);
  flex: 0 0 auto;
  align-self: center;
}

/* Home: also show the orange marker before the “Contact rapide” title */
body.home #contact .section-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.home #contact .section-title::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--brand-orange);
  transform: rotate(45deg);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.10);
  flex: 0 0 auto;
}

.section-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

/* ------------------------------------------------------------
   Page “hero” blocks + icon titles (Services / Société / Clients)
------------------------------------------------------------ */

.page-hero {
  padding: 24px 0 18px;
}

.page-hero-inner {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.90);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 18px;
}

@media (min-width: 720px) {
  .page-hero-inner {
    padding: 22px;
  }
}

.title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.title-mark {
  /* Base “geometric marker” (overridden per page via body class) */
  width: 14px;
  height: 14px;
  border-radius: 5px;
  background: var(--brand-red);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.10);
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;

  /* Optically center the marker relative to the title text */
  top: 1px;
}

/* Per-page geometric markers (red) */
body.expertise .title-mark {
  /* Hexagon = expertise / engineering */
  border-radius: 0;
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
}

body.news .title-mark {
  /* Diamond = spotlight / news */
  border-radius: 6px;
  transform: rotate(45deg);
}

body.about .title-mark {
  /* Circle = identity */
  border-radius: 999px;
}

body.join .title-mark {
  /* Arrow = join / action */
  border-radius: 0;
  clip-path: polygon(0% 30%, 62% 30%, 62% 0%, 100% 50%, 62% 100%, 62% 70%, 0% 70%);
}

body.legal .title-mark {
  /* Document = legal */
  border-radius: 8px;
  clip-path: polygon(0% 0%, 76% 0%, 100% 24%, 100% 100%, 0% 100%);
}

body.legal .title-mark::after {
  /* Folded corner */
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 38%;
  background: rgba(255, 255, 255, 0.25);
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%);
}

.icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: linear-gradient(135deg, rgba(24, 183, 197, 0.18), rgba(24, 183, 197, 0.06));
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-badge svg {
  width: 22px;
  height: 22px;
  color: rgba(11, 18, 32, 0.78);
}

.page-title {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.6px;
}

@media (min-width: 720px) {
  .page-title {
    font-size: 34px;
  }
}

.content-block {
  margin-top: 14px;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}

@media (min-width: 720px) {
  .cards {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

/* ------------------------------------------------------------
   Services page: visual style switcher (3D / Photo / Blueprint)
------------------------------------------------------------ */

.visual-style-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.visual-style-btn {
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  color: rgba(11, 18, 32, 0.78);
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.visual-style-btn:hover {
  transform: translateY(-1px);
  background: rgba(11, 18, 32, 0.03);
  border-color: rgba(11, 18, 32, 0.18);
}

.visual-style-btn:focus-visible {
  outline: none;
  border-color: rgba(24, 183, 197, 0.32);
  box-shadow: 0 0 0 3px rgba(24, 183, 197, 0.14);
}

.visual-style-btn.is-active {
  background: rgba(24, 183, 197, 0.14);
  border-color: rgba(24, 183, 197, 0.32);
  color: rgba(11, 18, 32, 0.92);
}

/* Show only the selected variant */
.feature-media .feature-visual {
  display: none;
}

/* Default (before JS sets data attribute): show 3D */
body:not([data-visual-style]) .feature-media .feature-visual--3d {
  display: block;
}

body[data-visual-style="3d"] .feature-media .feature-visual--3d {
  display: block;
}

body[data-visual-style="photo"] .feature-media .feature-visual--photo {
  display: block;
}

body[data-visual-style="blueprint"] .feature-media .feature-visual--blueprint {
  display: block;
}

/* ------------------------------------------------------------
   Expertise “alternating blocks” (Services page)
------------------------------------------------------------ */

.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  padding: 14px;
}

.feature-content {
  min-width: 0;
}

.feature-media {
  border: 1px solid rgba(11, 18, 32, 0.10);
  border-radius: calc(var(--radius) - 2px);
  background: rgba(255, 255, 255, 0.86);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
}

.feature-media svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Desktop: alternating media/text */
@media (min-width: 720px) {
  .feature {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 18px;
    padding: 18px;
  }

  .feature--reverse {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .feature--reverse .feature-media {
    order: 2;
  }

  .feature--reverse .feature-content {
    order: 1;
  }
}

.card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  padding: 14px;
}

.card-title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  letter-spacing: -0.3px;
  line-height: 1.18;
}

@media (min-width: 720px) {
  .card-title {
    font-size: 24px;
  }
}

.mini-icon {
  width: 30px;
  height: 30px;
  border-radius: 12px;
  border: 1px solid rgba(11, 18, 32, 0.10);
  background: rgba(11, 18, 32, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.mini-icon svg {
  width: 16px;
  height: 16px;
  color: rgba(11, 18, 32, 0.78);
}

.list-clean {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.list-clean li {
  margin: 6px 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(11, 18, 32, 0.55);
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--primary);
}

.contact {
  padding: 28px 0 56px;
}

/* ------------------------------------------------------------
   Content pages (Services/Actualités/Société/Nous rejoindre/Mentions légales):
   subtle white → light-gray gradients (title + main blocks)
------------------------------------------------------------ */

body.expertise .page-hero-inner,
body.news .page-hero-inner,
body.about .page-hero-inner,
body.join .page-hero-inner,
body.legal .page-hero-inner,
body.expertise .contact-inner,
body.news .contact-inner,
body.about .contact-inner,
body.join .contact-inner,
body.legal .contact-inner {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 246, 249, 0.92));
}

/* Alternating “feature” blocks (used by Services / Actualités / Société) */
body.expertise .feature,
body.news .feature,
body.about .feature {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 246, 249, 0.94));
}

body.expertise .feature-media,
body.news .feature-media,
body.about .feature-media {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 246, 249, 0.88));
}

/* Generic cards (safety: for Join / Legal if they use .card blocks) */
body.join .card,
body.legal .card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 246, 249, 0.94));
}

/* ------------------------------------------------------------
   Expertise page: fuse the page-hero “frame” with the expertise blocks frame
------------------------------------------------------------ */

body.expertise .page-hero {
  padding-bottom: 0;
}

body.expertise .page-hero-inner {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  padding-bottom: 14px;
  box-shadow: var(--shadow);
}

body.expertise .contact {
  padding-top: 0;
}

body.expertise .contact-inner {
  margin-top: 0;
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: none;
}

/* Same fused-frame layout for the “Qui sommes nous ?” page (alternating blocks) */
body.about .page-hero {
  padding-bottom: 0;
}

body.about .page-hero-inner {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  padding-bottom: 14px;
  box-shadow: var(--shadow);
}

body.about .contact {
  padding-top: 0;
}

body.about .contact-inner {
  margin-top: 0;
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: none;
}

/* Same fused-frame layout for the “Actualités” page */
body.news .page-hero {
  padding-bottom: 0;
}

body.news .page-hero-inner {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  padding-bottom: 14px;
  box-shadow: var(--shadow);
}

body.news .contact {
  padding-top: 0;
}

body.news .contact-inner {
  margin-top: 0;
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: none;
}

/* Same fused-frame layout for the “Mentions légales” page */
body.legal .page-hero {
  padding-bottom: 0;
}

body.legal .page-hero-inner {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  padding-bottom: 14px;
  box-shadow: var(--shadow);
}

body.legal .contact {
  padding-top: 0;
}

body.legal .contact-inner {
  margin-top: 0;
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: none;
}

.contact-inner {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

@media (min-width: 720px) {
  .contact-inner {
    padding: 22px;
  }

  .hero {
    padding: 74px 0 40px;
  }

  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 26px;
  }

  .hero-visual {
    display: flex;
  }

  .hero-title {
    font-size: 46px;
  }
}

.alerts {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.alert {
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.alert.error {
  border-color: rgba(255, 90, 90, 0.35);
  background: rgba(255, 90, 90, 0.10);
}

.alert.success {
  border-color: rgba(96, 255, 168, 0.28);
  background: rgba(96, 255, 168, 0.10);
}

.contact-form {
  margin-top: 18px;
}

/* Forms (Contact + Nous rejoindre): make the submit button label “Envoyer” larger */
.contact-form .button {
  font-size: 15px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 14px;
}

@media (min-width: 720px) {
  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  font-size: 14px;
  color: var(--label);
}

input,
textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  padding: 12px 12px;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(24, 183, 197, 0.14);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
  color: var(--muted);
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 12.5px;
}

/* Honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  background: var(--footer-bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* ------------------------------------------------------------
   Variant preview switcher (A/B/C/current) for secondary pages
   Usage: /services?v=current|a|b|c (same content, different styling)
------------------------------------------------------------ */

.variant-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.variant-switch a {
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  color: rgba(11, 18, 32, 0.78);
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.variant-switch a:hover {
  transform: translateY(-1px);
  background: rgba(11, 18, 32, 0.03);
  border-color: rgba(11, 18, 32, 0.18);
}

.variant-switch a[aria-current="true"] {
  background: rgba(24, 183, 197, 0.14);
  border-color: rgba(24, 183, 197, 0.32);
  color: rgba(11, 18, 32, 0.92);
}

/* CURRENT (improved) is the baseline — no override */

/* A — Premium minimal */
body.variant-a {
  --shadow: 0 26px 70px rgba(15, 23, 42, 0.12);
  --radius: 20px;
}

body.variant-a .page-hero-inner,
body.variant-a .contact-inner,
body.variant-a .card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88));
}

body.variant-a .page-title {
  letter-spacing: -0.9px;
}

body.variant-a .icon-badge {
  border-color: rgba(24, 183, 197, 0.24);
  background: linear-gradient(135deg, rgba(24, 183, 197, 0.22), rgba(255, 255, 255, 0.2));
}

/* B — Modern product */
body.variant-b {
  --page-bg:
    radial-gradient(900px 500px at 10% 0%, rgba(24, 183, 197, 0.14), transparent 55%),
    radial-gradient(800px 520px at 95% 10%, rgba(24, 183, 197, 0.08), transparent 55%),
    linear-gradient(180deg, #ffffff, #f6fbfb 30%, #f1f7fb 100%);
}

body.variant-b .page-hero-inner {
  position: relative;
  overflow: hidden;
}

body.variant-b .page-hero-inner::after {
  content: "";
  position: absolute;
  inset: -60px -80px auto auto;
  width: 240px;
  height: 240px;
  background:
    radial-gradient(circle at 30% 30%, rgba(24, 183, 197, 0.26), transparent 60%),
    radial-gradient(circle at 65% 65%, rgba(24, 183, 197, 0.14), transparent 62%);
  filter: blur(2px);
  border-radius: 999px;
  pointer-events: none;
}

body.variant-b .card {
  border-left: 3px solid rgba(24, 183, 197, 0.55);
}

body.variant-b .kicker::before {
  background: rgba(24, 183, 197, 0.9);
}

/* C — Consulting / portfolio */
body.variant-c {
  --page-bg: linear-gradient(180deg, #ffffff 0%, #f7f8fb 38%, #f1f5fb 100%);
}

body.variant-c .page-hero-inner {
  border-style: dashed;
}

body.variant-c .card {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(11, 18, 32, 0.10);
}

body.variant-c .kicker {
  color: rgba(11, 18, 32, 0.62);
}

body.variant-c .kicker::before {
  background: rgba(232, 91, 33, 0.85);
}

body.variant-c .icon-badge {
  background: linear-gradient(135deg, rgba(232, 91, 33, 0.16), rgba(255, 255, 255, 0.2));
}

/* Professional consulting look (default for Services / Société / Clients) */
body.consulting {
  --page-bg: linear-gradient(180deg, #ffffff 0%, #f7f8fb 38%, #f1f5fb 100%);
}

body.consulting .page-hero-inner {
  position: relative;
  border-color: rgba(11, 18, 32, 0.10);
}

body.consulting .page-hero-inner::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  border-radius: calc(var(--radius) + 4px) calc(var(--radius) + 4px) 0 0;
  background: linear-gradient(90deg, rgba(232, 91, 33, 0.85), rgba(24, 183, 197, 0.85));
  pointer-events: none;
}

body.consulting .kicker::before {
  background: rgba(232, 91, 33, 0.85);
}

body.consulting .card {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(11, 18, 32, 0.10);
}

body.consulting .mini-icon {
  background: linear-gradient(135deg, rgba(232, 91, 33, 0.12), rgba(24, 183, 197, 0.07));
}

/* Theme variants removed: Minimal is now the default across the app. */