4:root {
  --primary: #2563EB;
  --secondary: #7C3AED;
  --accent: #F97316;
  --dark: #0F172A;
  --text: #334155;
  --muted: #64748B;
  --light: #F8FAFC;
  --white: #FFFFFF;
  --success: #16A34A;
  --border: rgba(15, 23, 42, 0.1);
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--text);
}

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

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

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

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--dark);
  font-size: 22px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  box-shadow: 0 14px 35px rgba(37, 99, 235, 0.25);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
  color: var(--dark);
}

.main-nav a {
  transition: color 0.25s ease;
}

.main-nav a:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 13px 20px;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(249, 115, 22, 0.32);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--dark);
  margin: 5px 0;
  border-radius: 99px;
}

.hero {
  padding: 90px 0;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 34%),
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.16), transparent 30%),
    linear-gradient(180deg, #FFFFFF, #F8FAFC);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 18px;
}

h1,
h2,
h3 {
  color: var(--dark);
}

h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  margin: 0 0 22px;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  margin: 0 0 16px;
  letter-spacing: -0.035em;
}

.hero p,
.section-head p,
.page-hero p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(249, 115, 22, 0.35);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.2);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  padding: 9px 13px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 800;
  color: var(--dark);
}

.hero-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(124, 58, 237, 0.95));
  border-radius: 34px;
  padding: 28px;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.dashboard-preview {
  background: var(--white);
  border-radius: 26px;
  padding: 22px;
}

.dash-top {
  display: flex;
  gap: 7px;
  margin-bottom: 24px;
}

.dash-top span {
  width: 12px;
  height: 12px;
  background: #CBD5E1;
  border-radius: 50%;
}

.dash-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.dash-kpi {
  padding: 20px;
  background: var(--light);
  border-radius: 20px;
}

.dash-kpi strong {
  display: block;
  color: var(--dark);
  font-size: 26px;
}

.dash-kpi small {
  color: var(--muted);
  font-weight: 800;
}

.dash-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 12px;
  height: 150px;
  margin-top: 24px;
}

.dash-bars span {
  border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, var(--accent), var(--primary));
}

.dash-bars span:nth-child(1) { height: 48%; }
.dash-bars span:nth-child(2) { height: 72%; }
.dash-bars span:nth-child(3) { height: 58%; }
.dash-bars span:nth-child(4) { height: 88%; }

.problem-section,
.services-section,
.marketplace-section,
.conditions-section,
.pricing-section,
.form-section,
.cta-section {
  padding: 90px 0;
}

.problem-section,
.conditions-section,
.pricing-section {
  background: var(--light);
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.cards-grid,
.services-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.info-card,
.service-card,
.price-card,
.form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.info-card:hover,
.service-card:hover,
.price-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  font-size: 28px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.12));
  margin-bottom: 18px;
}

.featured-card {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.featured-card h3,
.featured-card p {
  color: var(--white);
}

.marketplace-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 44px;
  align-items: center;
}

.check-list {
  padding: 0;
  list-style: none;
  margin: 24px 0 28px;
}

.check-list li {
  margin: 13px 0;
  padding-left: 34px;
  position: relative;
  color: var(--dark);
  font-weight: 800;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 900;
}

.marketplace-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  background: var(--light);
  border-radius: 34px;
  padding: 28px;
}

.role-card {
  min-height: 120px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: var(--white);
  color: var(--dark);
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.price-card strong {
  display: block;
  font-size: 26px;
  color: var(--accent);
  margin: 12px 0;
}

.price-featured {
  background: linear-gradient(135deg, var(--dark), var(--secondary));
}

.price-featured h3,
.price-featured p,
.price-featured strong {
  color: var(--white);
}

.cta-box {
  padding: 48px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  text-align: center;
}

.cta-box h2,
.cta-box p {
  color: var(--white);
}

.page-hero {
  padding: 90px 0 55px;
  background: linear-gradient(180deg, var(--light), var(--white));
}

.secure-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 18px;
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 15px 16px;
  font: inherit;
  background: var(--white);
  color: var(--dark);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.hp-field {
  display: none !important;
}

.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 70px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
}

.footer-logo,
.site-footer h3 {
  color: var(--white);
}

.site-footer a {
  display: block;
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 42px;
  padding-top: 20px;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  background: #22C55E;
  color: var(--white);
  font-weight: 900;
  padding: 15px 20px;
  border-radius: 999px;
  box-shadow: 0 18px 45px rgba(34, 197, 94, 0.35);
}

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

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

@media (max-width: 940px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 78px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow);
  }

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

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

  .cards-grid,
  .services-grid,
  .pricing-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .problem-section,
  .services-section,
  .marketplace-section,
  .conditions-section,
  .pricing-section,
  .form-section,
  .cta-section {
    padding: 64px 0;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--primary);
  font-weight: 900;
}

.light-link {
  color: var(--white);
}

.detail-section,
.process-section {
  padding: 90px 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: start;
}

.detail-grid p {
  line-height: 1.8;
  color: var(--muted);
  font-size: 17px;
}

.feature-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.feature-box h3 {
  font-size: 26px;
  margin-top: 0;
}

.feature-box strong {
  display: block;
  margin-top: 20px;
  color: var(--accent);
  font-size: 28px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.06);
}

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-weight: 900;
  margin-bottom: 18px;
}

.marketplace-hero {
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.16), transparent 30%),
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.16), transparent 30%),
    linear-gradient(180deg, #F8FAFC, #FFFFFF);
}

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

.portfolio-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.portfolio-image {
  min-height: 180px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-size: 24px;
  font-weight: 900;
}

.portfolio-body {
  padding: 26px;
}

.portfolio-body p {
  color: var(--muted);
  line-height: 1.7;
}

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

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.06);
}

.testimonial-card img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--light);
  border: 4px solid rgba(37, 99, 235, 0.12);
  margin-bottom: 16px;
}

.testimonial-card strong {
  display: block;
  color: var(--dark);
  font-size: 18px;
}

.testimonial-card span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.testimonial-card p {
  color: var(--text);
  line-height: 1.75;
  margin: 18px 0;
}

.testimonial-card small {
  color: var(--accent);
  font-size: 18px;
  font-weight: 900;
}

@media (max-width: 940px) {
  .detail-grid,
  .steps-grid,
  .portfolio-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .detail-section,
  .process-section {
    padding: 64px 0;
  }
}
.portfolio-category {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.portfolio-image.real-image {
  padding: 0;
  background: var(--light);
  overflow: hidden;
}

.portfolio-image.real-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.portfolio-body small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.portfolio-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.testimonial-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 16px;
  border: 4px solid rgba(37, 99, 235, 0.12);
}
.seo-links-section {
  background: #ffffff;
}

.seo-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.seo-links-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--light);
  color: var(--dark);
  border: 1px solid var(--border);
  font-weight: 900;
  transition: all 0.25s ease;
}

.seo-links-grid a:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22);
}

/* ======================================================================
   PROSITE PATCH AUTO — CSS DYNAMIQUE + SEO
   ====================================================================== */

.portfolio-category {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.portfolio-image.real-image {
  padding: 0;
  background: var(--light);
  overflow: hidden;
}

.portfolio-image.real-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.portfolio-body small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.portfolio-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.testimonial-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 16px;
  border: 4px solid rgba(37, 99, 235, 0.12);
}

.seo-links-section {
  background: #ffffff;
}

.seo-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.seo-links-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--light);
  color: var(--dark);
  border: 1px solid var(--border);
  font-weight: 900;
  transition: all 0.25s ease;
}

.seo-links-grid a:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22);
}


/* ======================================================================
   PROSITE PATCH HERO MOBILE 2026
   Correction lisibilité du grand titre noir sur mobile
   ====================================================================== */

.hero h1 {
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.03;
  color: #0F172A;
}

.hero p {
  font-size: 18px;
  line-height: 1.65;
  color: #334155;
  font-weight: 400;
}

@media (max-width: 640px) {
  .hero {
    padding: 52px 0 46px;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 800;
    margin-bottom: 22px;
  }

  .hero p {
    font-size: 17px;
    line-height: 1.72;
    color: #334155;
  }

  .eyebrow {
    font-size: 14px;
    padding: 8px 14px;
  }

  .hero-actions {
    gap: 14px;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 58px;
    font-size: 16px;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    padding: 14px 18px;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 16px;
  }
}


/* ======================================================================
   PROSITE PATCH FOOTER FIX 2026
   Corrige le footer blanc/invisible + espace bas mobile
   ====================================================================== */

.site-footer {
  display: block !important;
  width: 100% !important;
  background: #0F172A !important;
  color: rgba(255, 255, 255, 0.82) !important;
  padding: 56px 0 26px !important;
  margin: 0 !important;
  position: relative !important;
  z-index: 2 !important;
}

.site-footer .container {
  position: relative;
  z-index: 3;
}

.site-footer .logo,
.site-footer .footer-logo,
.site-footer h3,
.site-footer strong {
  color: #FFFFFF !important;
}

.site-footer p,
.site-footer a,
.site-footer .footer-bottom p {
  color: rgba(255, 255, 255, 0.78) !important;
}

.site-footer a:hover {
  color: #FFFFFF !important;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  margin-top: 38px !important;
  padding-top: 20px !important;
}

.cta-section {
  padding-bottom: 56px !important;
}

@media (max-width: 940px) {
  .site-footer {
    padding: 44px 0 28px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .cta-section {
    padding-bottom: 38px !important;
  }
}


/* ======================================================================
   PROSITE PATCH PORTFOLIO IMAGES FIX 2026
   Corrige l’affichage des images de réalisations sur mobile
   ====================================================================== */

.portfolio-grid {
  width: 100% !important;
  overflow: hidden !important;
}

.portfolio-card {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.portfolio-image,
.portfolio-image.real-image {
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 16 / 10 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: #F8FAFC !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}

.portfolio-image.real-image img,
.portfolio-card img {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 320px !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  border-radius: 0 !important;
}

.portfolio-body {
  width: 100% !important;
  overflow: hidden !important;
}

.portfolio-body h3,
.portfolio-body p,
.portfolio-body small {
  max-width: 100% !important;
  overflow-wrap: break-word !important;
}

@media (max-width: 940px) {
  .portfolio-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .portfolio-card {
    border-radius: 24px !important;
  }

  .portfolio-image,
  .portfolio-image.real-image {
    aspect-ratio: 4 / 3 !important;
    padding: 10px !important;
  }

  .portfolio-image.real-image img,
  .portfolio-card img {
    height: 100% !important;
    max-height: 280px !important;
    object-fit: contain !important;
  }
}

@media (max-width: 480px) {
  .portfolio-image,
  .portfolio-image.real-image {
    aspect-ratio: 1 / 1 !important;
    padding: 8px !important;
  }

  .portfolio-image.real-image img,
  .portfolio-card img {
    max-height: 260px !important;
  }

  .portfolio-body {
    padding: 22px !important;
  }
}
