@charset "utf-8";

/* ============================== */
/* HÉRITAGE DES VARIABLES DASHBOARD */
/* ============================== */
:root {
  --nav-pro-bg: linear-gradient(90deg, #8D59EA 0%, #00aeef 100%);
  --nav-pro-shadow: 0 8px 32px rgba(13, 110, 253, 0.22), 0 1.5px 8px 0 rgba(0,0,0,0.18);
  --nav-pro-radius: 1.2rem;
  --nav-pro-height: 68px;
  --nav-pro-link: #fff;
  --nav-pro-link-hover: #0dcaf0;
  --nav-pro-link-active: #0dcaf0;
}

.nav-pro {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1200;
  background: var(--nav-pro-bg);
  box-shadow: var(--nav-pro-shadow);
  min-height: var(--nav-pro-height);
  display: flex;
  align-items: center;
  border-bottom: 1.5px solid #1e293b;
  filter: saturate(1.12) brightness(1.01);
}

.nav-pro__container {
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-pro-height);
}

.nav-pro__logo {
  display: flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  background: transparent;
  transition: background 0.18s, box-shadow 0.18s;
  height: var(--nav-pro-height);
}
.nav-pro__logo img {
  display: block;
  height: 44px;
  width: auto;
  max-height: 48px;
  /* Centrage vertical si le logo est plus petit */
  margin: 0 auto;
}

.nav-pro__logo:hover,
.nav-pro__logo:focus {
  background: rgba(13,202,240,0.18);
}

.nav-pro__links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-pro__links li {
  margin: 0;
}

.nav-pro__links a {
  display: block;
  color: var(--nav-pro-link);
  font-weight: 700;
  font-size: 1.09rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--nav-pro-radius);
  padding: 0.6rem 1.2rem;
  position: relative;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 12px rgba(13,202,240,0.04);
}

.nav-pro__links a:hover,
.nav-pro__links a:focus {
  background: rgba(13,202,240,0.12);
  color: var(--nav-pro-link-hover);
  box-shadow: 0 4px 18px rgba(13, 202, 240, 0.13);
  outline: none;
}

.nav-pro__links a.active,
.nav-pro__links a[aria-current="page"] {
  background: rgba(13,202,240,0.22);
  color: var(--nav-pro-link-active);
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 24px rgba(13, 202, 240, 0.14);
}

@media (max-width: 900px) {
  .nav-pro__container { padding: 0 1rem; }
  .nav-pro__links { gap: 1.1rem; }
  .nav-pro__links a { font-size: 1rem; padding: 0.6rem 0.9rem; }
  .nav-pro__logo img { height: 36px; }
}
@media (max-width: 600px) {
  .nav-pro__container { flex-direction: column; align-items: stretch; }
  .nav-pro__logo { justify-content: center; margin-bottom: 0.3rem; }
  .nav-pro__links { justify-content: center; gap: 0.3rem; }
  .nav-pro__links a { padding: 0.5rem 0.7rem; font-size: 0.97rem; }
  .nav-pro__logo img { height: 32px; }
}

/* Pour éviter que l'ancre soit cachée sous le menu sticky */
section[id], [id^="section"], header.hero {
  scroll-margin-top: var(--nav-pro-height);
}
/* ============================== */
/* ?? PALETTE & VARIABLES */
/* ============================== */

:root {
  --blue-main: #00aeef;    /* Bleu logo Zclick */
  --blue-dark: #744DE8;    /* Bleu pro */
  --orange-main: #AA63ED;  /* Orange pétant */
  --orange-dark: #8D59EA;
  --bg-card: #fff;         /* Fond clair pour éclat */
  --bg-header: #AA63ED;
  --bg-hover: #f0f7ff;
  --text-main: #181d25;
  --text-muted: oragnge;
  --border-color: #e3eafc;
  --radius: 1.2rem;
  --accent: var(--blue-main);
  --accent-hover: var(--blue-dark);
  --danger: #e4572e;
  --success: #22c55e;
  --info: var(--blue-main);
  --warning: var(--orange-main);
  --font-main: 'Inter', 'Segoe UI', Arial, sans-serif;
  --digital-bg: var(--bg-header);
}


/* ============================== */
/* BASE ET TYPOGRAPHIE */
/* ============================== */

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

/* ============================== */
/* HERO HEADER */
/* ============================== */

header.hero {
  background: url('/assets/images/abstract-background.jpg') top/cover repeat-x, linear-gradient(90deg, #0dcaf0 0%, #0d6efd 100%);
  padding: 6rem 2rem 5rem 2rem;
  border-bottom: 6px solid var(--accent);
  text-align: center;
  color: var(--text-main);
  box-shadow: 0 6px 32px 0 rgba(0, 174, 239, 0.09);
  position: relative;
}

header.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
  color: var(--bg-card);
  font-family: var(--font-main);
  text-shadow: 0 2px 8px #fff8, 0 2px 0 #222;
}

header.hero .lead {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
  color: var(--bg-card);
  font-family: var(--font-main);
  text-shadow: 0 2px 8px #fff8, 0 2px 0 #222;
}
.zclick-icon {
  font-size: 2.2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-main), var(--orange-main));
  padding: 14px;
  border-radius: 50%;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.zclick-icon:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.zclick-divider {
  width: 90%;
  height: 0;
  border-bottom: 5px solid;
  border-image: linear-gradient(to right, var(--blue-main), var(--orange-main)) 1;
  border-radius: 50%;
  margin: 2em auto;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}
.zclick-title {
  font-family: var(--font-main);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 1rem;
}

.zclick-title::after {
  content: '';
  display: block;
  width: 60%;
  height: 2px;
  margin: 12px auto 0 auto;
  background: linear-gradient(to right, var(--blue-main), var(--orange-main));
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
/* ============================== */
/* FORMULAIRES */
/* ============================== */

/* ---- Inputs & Selects ---- */

.form-section {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 3rem 2rem 2rem 2rem;
  margin-top: -5rem;
  z-index: 2;
  position: relative;
  border: 3px solid var(--accent);
}

.form-control, .form-select {
  font-size: 1.07rem;
  border-radius: 0.7rem !important;
  border: 2px solid #e3eafc !important;
  background: #f8fafd !important;
  color: #212529 !important;
  font-weight: 500;
  padding: 0.9rem 1.1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  accent-color: var(--accent);
}

.form-control:focus, .form-select:focus {
  border-color: #0dcaf0 !important;
  box-shadow: 0 0 0 0.18rem rgba(13, 202, 240, 0.5) !important;
  outline: none;
}
.rounded-pill-input {
  border-radius: 999px;
  padding-left: 1.5rem;
}

.btn,
.btn-rounded {
  border-radius: 999px;
  padding: 0.9rem 2.3rem;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  transition: box-shadow 0.18s, transform 0.15s, background 0.15s;
  box-shadow: 0 2px 8px rgba(0, 174, 239, 0.09);
  border: none;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-main);
}
.btn:hover, .btn:focus, .btn-rounded:hover, .btn-rounded:focus {
  background: var(--orange-main);
  box-shadow: 0 6px 24px rgba(255, 111, 32, 0.13);
  transform: translateY(-2px) scale(1.04);
  color: #fff;
}

/* ============================== */
/* QR COLOR PICKER */

.qr-color-box {
  display: inline-block;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid #fff;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 174, 239, 0.09);
  margin-right: 0.6rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.qr-color-box.selected {
  border-color: var(--orange-main);
  box-shadow: 0 0 0 2px var(--orange-main);
}
.qr-color-box input[type="radio"] {
  opacity: 0;
  position: absolute;
  inset: 0;
  cursor: pointer;
}

/* ============================== */
/* LANG SWITCHER */

.lang-switch {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.lang-switch a img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  transition: transform 0.18s;
}
.lang-switch a img:hover {
  transform: scale(1.15);
}

/* ============================== */
/* TOASTS */

.toast-header {
  position: relative;
  z-index: 1;
}
.toast-circle {
  position: absolute;
  left: 50%;
  bottom: -45px;
  transform: translateX(-50%);
  width: 90px;
  height: 90px;
  font-size: 1.15rem;
  border-radius: 50%;
  background-color: var(--info);
  color: var(--text-main);
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0,174,239,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
}
.toast-body {
  padding-top: 45px;
}

/* ============================== */
/* MAIN & FOOTER */

main {
  background: #fff;
  padding: 4rem 0 6rem;
  color: var(--text-main);
  border-radius: 1.2rem;
  box-shadow: 0 10px 30px rgba(0, 174, 239, 0.12);
  border: 3px solid var(--orange-main);
  margin: 2rem auto;
  max-width: 1200px;
}

footer {
  background: #1e293b;
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  border-radius: 0 0 var(--radius, 1.2rem) var(--radius, 1.2rem);
  font-family: var(--font-main, 'Inter', sans-serif);
  border-top: 3px solid var(--blue-main);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06);
  font-size: 0.95rem;
}

footer a {
  color: var(--blue-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--orange-main);
  text-decoration: underline;
}


/* ============================== */
/* FEATURES, USECASES, STATS, STEPS */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 900px;
  margin: 2rem auto 0 auto;
}
.feature-item {
  background: var(--blue-main);
  padding: 1.8rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  color: #fff;
}
.feature-item:hover {
  box-shadow: 0 8px 32px rgba(255,111,32,0.18);
  background: var(--orange-main);
  color: #fff;
  transition: all 0.5s ease;
}
.feature-item h4 {
  margin-top: 0;
  color: #fff;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}
.feature-item p {
  font-size: 1rem;
  color: #fff;
}

.usecases-list {
  max-width: 700px;
  margin: 0 auto;
  list-style-type: none;
  padding: 0;
}
.usecases-list li {
  background: var(--orange-main);
  margin-bottom: 1rem;
  padding: 1rem 1.3rem;
  border-radius: 10px;
  border-left: 6px solid var(--blue-main);
  font-weight: 600;
  color: #fff;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
  max-width: 600px;
  margin: 2rem auto 0 auto;
}
.stat {
  text-align: center;
  flex: 1 1 160px;
}
.stat .number {
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--orange-main);
}
.stat .label {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--blue-dark);
}

.stat {
  background: #f9fbff; /* bleu très pâle */
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  width: 220px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.12);
}

.stat i {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

.icon-blue {
  color: var(--blue-main);
}

.icon-purple {
  color: var(--orange-main);
}

.icon-green {
  color: var(--success);
}

.stat .number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
}

.stat .label {
  font-size: 1rem;
  color: #6c757d;
}
.steps {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.step {
  position: relative;
  flex: 1 1 280px;
  background: var(--orange-main);
  border-radius: 1rem;
  padding: 3rem 2rem 2rem; /* ajout de top padding pour ne pas masquer le chiffre */
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  text-align: center;
  color: #fff;
  transition: all 0.3s ease;
  overflow: visible;
}

.step:hover {
  box-shadow: 0 10px 28px rgba(0,174,239,0.18);
  background: var(--blue-main);
}

.step-number {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--orange-main);
  font-weight: 700;
  font-size: 1.5rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  line-height: 60px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.step:hover .step-number {
  background:var(--orange-main);
  color:#fff;
}

.step h3 {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  margin-top: 1rem; /* espace après le cercle */
  color: #fff;
}

.step p {
  color: #fff;
  font-size: 1rem;
}
/* ============================== */
/* SECTIONS */

section {
  margin-bottom: 5rem;
}
section h2 {
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--blue-main);
  text-align: center;
}
section p.lead {
  max-width: 700px;
  margin: 0 auto 2rem auto;
  font-size: 1.25rem;
  color: var(--blue-main);
  font-weight: 500;
  text-align: center;
}

/* ============================== */
/* RESPONSIVE */

@media (max-width: 991px) {
  main { padding: 2rem 0 3rem; }
  .features-grid, .steps { gap: 1.5rem; }
  .stats { gap: 2rem; }
  header.hero h1 { font-size: 2.2rem; }
  section h2 { font-size: 1.5rem; }
  header.hero { }
  body {  }
}
@media (max-width: 768px) {
  header.hero { padding: 3rem 1rem 2rem 1rem; }
  main { padding: 1rem 0 2rem; }
  .features-grid, .steps { grid-template-columns: 1fr; gap: 1rem; }
  .stat .number { font-size: 2rem; }
  section h2 { font-size: 2rem; }
  body { }
}

/* ============================== */
/* BACK TO TOP MODERNE */

.back-to-top {
  background: var(--orange-main);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,174,239,0.18);
  border: 3px solid #fff;
  width: 58px;
  height: 58px;
  font-size: 2rem;
  right: 30px;
  bottom: 30px;
  position: fixed;
  z-index: 1000;
  border-radius: 50%;
  transition: background 0.2s, box-shadow 0.2s;
}
.back-to-top:hover {
  background: var(--blue-main);
  box-shadow: 0 8px 32px rgba(0,174,239,0.22);
}

.card-body .twi{
  background: #15202B !important;
  padding: 2rem 1.5rem;
    color: white;
}
