﻿/*
Theme Name: Smart MCL
Theme URI: https://smart-mcl.fr/
Author: Smart MCL
Description: Theme WordPress pour Smart MCL : dispatch, videosurveillance, automatisation et regie administrative.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: smart-mcl
*/

:root {
  --ink: #101425;
  --muted: #65708a;
  --line: rgba(54, 83, 153, 0.18);
  --blue: #5e9ef6;
  --blue-deep: #3867d6;
  --violet: #a76bd8;
  --pink: #d78ad9;
  --surface: rgba(255, 255, 255, 0.76);
  --shadow: 0 24px 90px rgba(35, 55, 116, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(167, 107, 216, 0.2), transparent 34rem),
    radial-gradient(circle at 80% 10%, rgba(94, 158, 246, 0.18), transparent 32rem),
    linear-gradient(135deg, #fbfcff 0%, #edf4ff 46%, #fff8fd 100%);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 30;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--violet), var(--blue));
}

.cursor-light,
#networkCanvas {
  position: fixed;
  pointer-events: none;
}

.cursor-light {
  z-index: 0;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  opacity: 0.45;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(94, 158, 246, 0.34), transparent 68%);
  filter: blur(8px);
}

#networkCanvas {
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 50px rgba(51, 76, 132, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #273047;
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(94, 158, 246, 0.12);
  color: var(--blue-deep);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #eef4ff;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

main,
footer {
  position: relative;
  z-index: 1;
}

.section-panel,
.split-section,
.solutions,
.process,
.contact,
.faq,
.legal-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 390px;
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: 72px 0 56px;
}

.page-hero {
  display: grid;
  align-items: center;
  min-height: 54vh;
  padding: 90px 0 42px;
}

.hero-content {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.hero-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.75;
}

.hero-actions,
footer {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--violet), var(--blue-deep));
  box-shadow: 0 16px 38px rgba(80, 105, 220, 0.26);
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.hero-console,
.solution-stage,
.contact-form,
.legal-card {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.hero-console {
  padding: 18px;
  transform-style: preserve-3d;
}

.console-top {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.console-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--pink);
}

.console-top span:nth-child(2) {
  background: var(--violet);
}

.console-top span:nth-child(3) {
  background: var(--blue);
}

.pulse-card {
  display: grid;
  place-items: center;
  min-height: 240px;
  border-radius: 22px;
  color: white;
  text-align: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.32), transparent 24%),
    linear-gradient(135deg, #9460d2, #5798f1);
  overflow: hidden;
}

.pulse-card strong {
  display: block;
  font-size: 4.5rem;
  line-height: 1;
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.console-grid button {
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
  color: #35405e;
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.46);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.console-grid button:hover,
.console-grid button.active {
  color: white;
  background: linear-gradient(135deg, var(--violet), var(--blue-deep));
  transform: translateY(-2px);
}

.marquee-band {
  display: flex;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.44);
}

.marquee-track {
  display: flex;
  gap: 34px;
  min-width: max-content;
  padding: 18px 0;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  color: #34415e;
  font-weight: 900;
  text-transform: uppercase;
}

.split-section,
.solutions,
.process,
.contact,
.faq {
  padding: 100px 0;
}

.split-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
}

.section-intro {
  max-width: 760px;
}

.metric-wall,
.timeline,
.faq-grid {
  display: grid;
  gap: 16px;
}

.metric-wall,
.timeline,
.faq-grid {
  grid-template-columns: repeat(3, 1fr);
}

.metric-wall article,
.timeline article,
.faq-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.64);
}

.metric-wall article {
  position: relative;
  overflow: hidden;
}

.metric-wall article::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(167, 107, 216, 0.16), rgba(94, 158, 246, 0.14));
  transition: opacity 0.35s ease;
}

.metric-wall article:hover::before {
  opacity: 1;
}

.metric-wall article > * {
  position: relative;
}

.metric-wall strong {
  display: block;
  margin-bottom: 20px;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--blue-deep);
  font-variant-numeric: tabular-nums;
}

.metric-wall span,
.timeline p,
.contact-copy p,
.solution-stage p,
.solution-stage li,
.faq-grid p,
.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.65;
}

.solution-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 34px 0 18px;
}

.solution-tabs button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #30405f;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  font-weight: 800;
}

.solution-tabs button.active {
  color: white;
  background: linear-gradient(135deg, var(--violet), var(--blue-deep));
}

.solution-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  min-height: 300px;
  padding: 34px;
}

.solution-stage span {
  color: var(--violet);
  font-weight: 900;
  text-transform: uppercase;
}

.solution-stage h3 {
  margin-top: 14px;
  font-size: clamp(1.8rem, 4vw, 3.7rem);
  line-height: 1.02;
}

.solution-stage ul {
  display: grid;
  align-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.solution-stage li {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(94, 158, 246, 0.11);
  font-weight: 800;
}

.timeline {
  margin-top: 34px;
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 38px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #303b58;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  outline: none;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue-deep);
  font-weight: 800;
}

.form-status.success {
  color: #17825f;
}

.form-status.error {
  color: #ba2f61;
}

.contact-form button:disabled {
  cursor: progress;
  opacity: 0.68;
}

.faq-grid {
  margin-top: 34px;
}

.faq-grid h2 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  line-height: 1.2;
}

.legal-page {
  display: grid;
  gap: 18px;
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 100px;
}

.legal-card {
  padding: 26px;
}

.legal-card h2 {
  margin-bottom: 14px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.legal-card a {
  color: var(--blue-deep);
  font-weight: 800;
}

.legal-details {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(94, 158, 246, 0.1);
  list-style: none;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand strong {
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 800;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 8px;
}

.footer-col-title {
  color: var(--ink);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 4px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--blue-deep);
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.6);
  transition: background 0.2s ease, box-shadow 0.2s ease;
  width: fit-content;
}

.footer-social:hover {
  background: rgba(94, 158, 246, 0.1);
  box-shadow: 0 4px 16px rgba(94, 158, 246, 0.15);
}

.footer-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 8px;
  transition: color 0.2s ease;
}

.footer-top:hover {
  color: var(--blue-deep);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    width: min(100% - 22px, 1180px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .site-header {
    border-radius: 24px;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    width: min(280px, calc(100vw - 32px));
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
  }

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

  .hero,
  .split-section,
  .solution-stage,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
    min-height: auto;
    padding-top: 64px;
  }

  .metric-wall,
  .timeline,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .section-panel,
  .split-section,
  .solutions,
  .process,
  .contact,
  .faq,
  .legal-page,
  footer {
    width: min(100% - 22px, 1180px);
  }

  .site-header {
    width: min(100% - 22px, 1180px);
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.4rem);
  }

  .hero-actions .button {
    width: 100%;
  }

  .pulse-card strong {
    font-size: 3.4rem;
  }

  .solution-stage,
  .contact-form,
  .legal-card {
    padding: 20px;
    border-radius: 22px;
  }
}

.seo-visual {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding: 42px;
  margin-bottom: 42px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.seo-visual img {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 22px 60px rgba(51, 76, 132, 0.2);
}

.seo-visual h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 4vw, 3.6rem);
}

.seo-visual p {
  color: var(--muted);
  line-height: 1.72;
}

.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.resource-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.62);
  font-weight: 800;
}

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

@media (max-width: 560px) {
  .seo-visual {
    padding: 20px;
    border-radius: 22px;
  }
}

.solutions .section-intro h2 {
  margin-bottom: 24px;
}

.process .section-intro h2 {
  margin-bottom: 24px;
}

.blog-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 100px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.blog-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.blog-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  background: rgba(94, 158, 246, 0.1);
}

.blog-card-media img,
.single-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 24px;
}

.blog-meta {
  margin-bottom: 10px;
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.blog-card h2 {
  margin-bottom: 14px;
  font-size: 1.45rem;
  line-height: 1.15;
}

.blog-card p,
.single-post-content p,
.single-post-content li {
  color: var(--muted);
  line-height: 1.72;
}

.blog-read {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue-deep);
  font-weight: 800;
}

.blog-pagination {
  margin-top: 34px;
  color: var(--blue-deep);
  font-weight: 800;
}

.blog-pagination .nav-links,
.blog-pagination {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.single-post-page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

.single-post-media {
  overflow: hidden;
  margin: 0 0 24px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 8;
}

.single-post-content {
  margin-bottom: 100px;
}

.single-post-content h2,
.single-post-content h3 {
  margin-top: 28px;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .blog-page,
  .single-post-page {
    width: min(100% - 22px, 1180px);
  }

  .blog-card-body,
  .single-post-content {
    padding: 20px;
  }
}

.blog-card h3 {
  margin-bottom: 14px;
  font-size: 1.45rem;
  line-height: 1.15;
}


