:root {
  --header-height: 146px;
  --brand-orange: #ea580c;
  --brand-cream: #fff3e8;
  --brand-slate: #1f2937;
  --brand-cream-soft: #fff8f1;
  --brand-border: rgba(31, 41, 55, 0.1);
  --brand-shadow: rgba(31, 41, 55, 0.1);
  --nav-bg: #eff2f1;
  --login-orange: #fc7a1e;
  --quote-blue: #2e86ab;
  --button-hover: #09bc8a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 136px;
}

body {
  background: var(--brand-cream);
  color: var(--brand-slate);
  min-height: 100vh;
  overflow-x: hidden;
}

body.menu-active {
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  border-radius: 8px;
  background: var(--brand-orange);
  color: #ffffff;
  font-weight: 800;
  padding: 0.75rem 1rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(31, 41, 55, 0.06);
  transition: background 0.28s ease, box-shadow 0.28s ease, backdrop-filter 0.28s ease;
}

.topbar {
  background: #363636;
  color: #ffffff;
}

.topbar > div {
  min-height: 40px;
}

.topbar-phone {
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 850;
  gap: 0.45rem;
  min-height: 34px;
  padding: 0 0.35rem;
  transition: color 0.18s ease;
  white-space: nowrap;
}

.topbar-phone svg {
  color: var(--login-orange);
  height: 0.95rem;
  width: 0.95rem;
}

.topbar-phone:hover,
.topbar-phone:focus-visible {
  color: #ffffff;
}

.site-header.scrolled,
.site-header.menu-open {
  background: rgba(239, 242, 241, 0.96);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(31, 41, 55, 0.1);
}

.site-header .header-title,
.site-header.scrolled .header-title,
.site-header.menu-open .header-title {
  color: var(--brand-slate);
}

.site-header .text-turquoise,
.site-header .text-white\/90,
.site-header .nav-link {
  color: var(--brand-slate);
}

.navbar-logo {
  display: block;
  height: 58px;
  max-width: 190px;
  object-fit: contain;
  width: auto;
}

.nav-phone {
  align-items: center;
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: 8px;
  color: var(--brand-slate);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 850;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 0.75rem;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.nav-phone svg {
  color: var(--login-orange);
  height: 1rem;
  width: 1rem;
}

.nav-phone:hover,
.nav-phone:focus-visible {
  background: #ffffff;
  border-color: rgba(9, 188, 138, 0.35);
  color: #047857;
}

.nav-btn-login,
.nav-btn-quote {
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.84rem;
  min-height: 34px;
  padding-left: 0.9rem;
  padding-right: 0.9rem;
}

.nav-btn-login {
  background: var(--login-orange);
}

.nav-btn-quote {
  background: var(--quote-blue);
}

.nav-btn-login:hover,
.nav-btn-login:focus-visible,
.nav-btn-quote:hover,
.nav-btn-quote:focus-visible {
  background: var(--button-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--brand-orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.24s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--brand-orange);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.42s ease, opacity 0.28s ease, transform 0.28s ease;
}

.site-header.menu-open .mobile-menu {
  max-height: calc(100dvh - var(--header-height));
  opacity: 1;
  overflow: auto;
  transform: translateY(0);
}

.mobile-menu a:not(.btn) {
  border-bottom: 1px solid rgba(31, 41, 55, 0.1);
  color: var(--brand-slate);
  font-size: 1.5rem;
  font-weight: 850;
  line-height: 1.15;
  padding: 0.78rem 0;
}

.btn,
.icon-button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  gap: 0.55rem;
  min-height: 44px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

#menu-toggle {
  display: inline-flex;
  flex: 0 0 auto;
}

.btn {
  padding: 0.78rem 1.08rem;
}

.btn-large {
  min-height: 54px;
  padding: 0.95rem 1.35rem;
}

.btn svg,
.icon-button svg {
  height: 1.08rem;
  width: 1.08rem;
  flex: 0 0 auto;
}

.btn-primary {
  background: var(--brand-orange);
  box-shadow: 0 18px 44px rgba(234, 88, 12, 0.22);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 22px 54px rgba(234, 88, 12, 0.28);
  transform: translateY(-2px);
}

.btn-glass,
.btn-outline {
  border: 1px solid rgba(31, 41, 55, 0.16);
  background: rgba(255, 243, 232, 0.72);
  color: var(--brand-slate);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.btn-glass:hover,
.btn-outline:hover,
.btn-glass:focus-visible,
.btn-outline:focus-visible {
  background: #ffffff;
  transform: translateY(-2px);
}

.btn-soft {
  border: 1px solid rgba(18, 59, 93, 0.12);
  background: #ffffff;
  color: var(--brand-slate);
  box-shadow: 0 16px 40px rgba(31, 41, 55, 0.08);
}

.btn-soft:hover,
.btn-soft:focus-visible {
  border-color: rgba(234, 88, 12, 0.36);
  color: var(--brand-orange);
  transform: translateY(-2px);
}

.icon-button {
  border: 1px solid rgba(31, 41, 55, 0.14);
  color: var(--brand-slate);
  height: 44px;
  justify-content: center;
  width: 44px;
  background: rgba(255, 255, 255, 0.72);
}

.icon-button:hover,
.icon-button:focus-visible {
  background: rgba(234, 88, 12, 0.1);
  border-color: rgba(234, 88, 12, 0.4);
}

.hero-section {
  background: var(--brand-cream);
  min-height: calc(100svh - var(--header-height));
  z-index: 1;
}

main > section:not(#accueil),
.footer {
  position: relative;
  z-index: 3;
}

.hero-image {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  position: fixed;
  top: var(--header-height);
  transform: none;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(46, 134, 171, 0.82) 0%, rgba(46, 134, 171, 0.62) 36%, rgba(46, 134, 171, 0.22) 68%, rgba(46, 134, 171, 0.04) 100%);
  z-index: 1;
}

.hero-section h1,
.hero-section p,
.hero-section .text-white,
.hero-section .text-white\/86,
.hero-section .text-aqua {
  color: var(--brand-slate);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-presenter {
  align-self: end;
  display: flex;
  justify-content: flex-end;
  justify-self: end;
}

.hero-presenter picture {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.hero-presenter img {
  border-radius: 0;
  filter: drop-shadow(0 30px 58px rgba(31, 41, 55, 0.24));
  max-height: min(720px, 78svh);
  object-fit: contain;
  width: min(100%, 540px);
}

.hero-copy {
  justify-self: start;
  text-align: left;
}

.hero-copy .hero-kicker {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 950;
  margin-bottom: 0.8rem;
  text-shadow: 0 12px 30px rgba(31, 41, 55, 0.2);
}

.hero-copy h1 {
  color: #ffffff;
  font-size: 4rem;
  font-weight: 950;
  line-height: 1.02;
  max-width: 780px;
  text-shadow: 0 18px 42px rgba(31, 41, 55, 0.26);
}

.hero-copy .hero-lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
  line-height: 1.8;
  margin-top: 1.4rem;
  max-width: 680px;
  text-shadow: 0 14px 32px rgba(31, 41, 55, 0.18);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-stagger {
  animation: heroDrop 1.18s cubic-bezier(0.16, 1, 0.3, 1) both;
  filter: blur(8px);
  opacity: 0;
  transform: translateY(-54px);
}

.hero-stagger:nth-child(1) {
  animation-delay: 0.18s;
}

.hero-stagger:nth-child(2) {
  animation-delay: 0.42s;
}

.hero-stagger:nth-child(3) {
  animation-delay: 0.66s;
}

.hero-stagger:nth-child(4) {
  animation-delay: 0.9s;
}

.hero-stagger:nth-child(5) {
  animation-delay: 1.14s;
}

.hero-section .rounded-full.border {
  border-color: rgba(234, 88, 12, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-slate);
}

.hero-section .btn-glass {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.hero-section .btn-glass:hover,
.hero-section .btn-glass:focus-visible {
  background: rgba(255, 255, 255, 0.28);
}

.floating-chip {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(31, 41, 55, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-slate);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.7rem 1rem;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  animation: float 6s ease-in-out infinite;
}

.floating-chip:nth-of-type(2) {
  animation-delay: -2s;
}

.floating-orbit {
  position: absolute;
  z-index: 2;
  height: 14rem;
  width: 14rem;
  border: 1px solid rgba(234, 88, 12, 0.22);
  border-radius: 999px;
  opacity: 0.8;
  animation: slow-spin 18s linear infinite;
}

.floating-orbit::before {
  position: absolute;
  right: 1.15rem;
  top: 1.15rem;
  height: 1rem;
  width: 1rem;
  content: "";
  border-radius: 999px;
  background: var(--brand-orange);
  box-shadow: 0 0 28px rgba(234, 88, 12, 0.55);
}

.glass-panel {
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(31, 41, 55, 0.12);
  padding: 1.5rem;
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

.hero-trust-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
  max-width: 620px;
}

.hero-trust-grid div {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.9rem;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero-trust-grid strong,
.hero-trust-grid span {
  display: block;
}

.hero-trust-grid strong {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 950;
}

.hero-trust-grid span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

.metric-tile {
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: 8px;
  background: rgba(255, 243, 232, 0.78);
  padding: 1rem;
}

.metric-tile span {
  color: rgba(31, 41, 55, 0.64);
  display: block;
  font-size: 0.85rem;
}

.metric-tile strong {
  color: var(--brand-slate);
  display: block;
  font-size: 1.55rem;
  margin-top: 0.35rem;
}

.section-padding {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section-heading {
  margin: 0 auto 3rem;
  max-width: 780px;
  text-align: center;
}

.section-heading > span,
.eyebrow {
  color: var(--brand-orange);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading h2 {
  color: var(--brand-slate);
  font-size: 2.2rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.05;
  margin-top: 0.75rem;
}

.section-heading p {
  color: #536172;
  font-size: 1.08rem;
  line-height: 1.8;
  margin-top: 1rem;
}

.advantages-section {
  padding-top: clamp(3.2rem, 5.4vw, 4.8rem);
}

.advantages-section .section-heading {
  margin-bottom: 3.6rem;
  max-width: 900px;
}

.advantages-section .section-heading > span {
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}

.advantages-section .section-heading h2 {
  font-size: clamp(2.65rem, 5vw, 4.45rem);
  max-width: 980px;
}

.advantages-section .section-heading p {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
}

.services-section {
  isolation: isolate;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(135deg, rgba(31, 41, 55, 0.78), rgba(46, 134, 171, 0.58)),
    url("../assets/hero-syndic-maroc.jpg") center / cover fixed;
}

.services-section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(31, 41, 55, 0.2)),
    rgba(31, 41, 55, 0.32);
  content: "";
}

.services-section > div {
  position: relative;
  z-index: 1;
}

.services-section .section-heading > span,
.services-section .section-heading h2 {
  color: #ffffff;
}

.services-section .section-heading p {
  color: rgba(255, 255, 255, 0.86);
}

.feature-card,
.service-card,
.stat-card,
.contact-form,
.devis-form,
.testimonial-shell,
.faq-list {
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(31, 41, 55, 0.08);
}

.feature-card,
.service-card {
  border: 1px solid var(--brand-border);
  overflow: hidden;
  padding: 1.35rem;
  position: relative;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.feature-card:hover,
.service-card:hover {
  border-color: rgba(234, 88, 12, 0.3);
  box-shadow: 0 32px 90px rgba(31, 41, 55, 0.18);
  transform: translateY(-8px);
}

.feature-card::before,
.service-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/hero-syndic-maroc.jpg");
  background-position: center;
  background-size: cover;
  content: "";
  transform: scale(1.02);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.feature-card::after,
.service-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  transition: background 0.3s ease;
}

.feature-card:hover::before,
.service-card:hover::before {
  filter: saturate(1.08);
  transform: scale(1.1);
}

.feature-card > *,
.service-card > * {
  position: relative;
  z-index: 2;
}

.feature-card > svg {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-orange);
  height: 3.15rem;
  padding: 0.7rem;
  transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease;
  width: 3.15rem;
}

.feature-card:hover > svg {
  background: var(--brand-orange);
  color: #ffffff;
  transform: translateY(-3px) rotate(-3deg);
}

.feature-card h3,
.service-card h3 {
  color: var(--brand-slate);
  font-size: 1.18rem;
  font-weight: 900;
  margin-top: 1.1rem;
}

.feature-card h3 {
  color: #ffffff;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
  margin-top: 0.7rem;
}

.feature-card {
  min-height: 260px;
}

.feature-card::after {
  background:
    linear-gradient(180deg, rgba(31, 41, 55, 0.32), rgba(31, 41, 55, 0.78)),
    linear-gradient(135deg, rgba(46, 134, 171, 0.58), rgba(234, 88, 12, 0.22));
}

.feature-card:hover::after {
  background:
    linear-gradient(180deg, rgba(31, 41, 55, 0.22), rgba(31, 41, 55, 0.7)),
    linear-gradient(135deg, rgba(46, 134, 171, 0.44), rgba(234, 88, 12, 0.34));
}

.feature-card:nth-child(1)::before,
.service-card:nth-child(1)::before {
  background-position: 18% 40%;
}

.feature-card:nth-child(2)::before,
.service-card:nth-child(2)::before {
  background-position: 48% 46%;
}

.feature-card:nth-child(3)::before,
.service-card:nth-child(3)::before {
  background-position: 72% 44%;
}

.feature-card:nth-child(4)::before,
.service-card:nth-child(4)::before {
  background-position: 25% 72%;
}

.feature-card:nth-child(5)::before {
  background-position: 54% 72%;
}

.feature-card:nth-child(6)::before {
  background-position: 82% 70%;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  height: 100%;
}

.service-card {
  border-color: rgba(255, 255, 255, 0.34);
}

.service-card::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 243, 232, 0.88)),
    linear-gradient(135deg, rgba(46, 134, 171, 0.1), rgba(234, 88, 12, 0.16));
}

.service-card:hover::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 243, 232, 0.8)),
    linear-gradient(135deg, rgba(46, 134, 171, 0.16), rgba(234, 88, 12, 0.22));
}

.service-icon {
  align-items: center;
  background: rgba(255, 243, 232, 0.92);
  border-radius: 8px;
  color: var(--brand-orange);
  display: inline-flex;
  height: 3.2rem;
  justify-content: center;
  width: 3.2rem;
}

.service-icon svg {
  height: 1.6rem;
  width: 1.6rem;
}

.service-card ul {
  color: #5d6a79;
  line-height: 1.9;
  list-style: none;
  margin: 1rem 0 0.85rem;
  padding: 0;
}

.service-card li {
  padding-left: 1.15rem;
  position: relative;
}

.service-card li::before {
  background: var(--brand-orange);
  border-radius: 999px;
  content: "";
  height: 0.38rem;
  left: 0;
  position: absolute;
  top: 0.82rem;
  width: 0.38rem;
}

.service-card a {
  align-items: center;
  color: var(--brand-orange);
  display: inline-flex;
  font-weight: 900;
  gap: 0.4rem;
  margin-top: auto;
}

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

.governance-grid article,
.city-grid article {
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 243, 232, 0.76)),
    #ffffff;
  box-shadow: 0 22px 62px rgba(31, 41, 55, 0.08);
  padding: 1.2rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.governance-grid article:hover,
.city-grid article:hover {
  border-color: rgba(234, 88, 12, 0.28);
  box-shadow: 0 28px 74px rgba(31, 41, 55, 0.12);
  transform: translateY(-5px);
}

.governance-grid svg,
.city-grid svg {
  color: var(--brand-orange);
  height: 1.65rem;
  width: 1.65rem;
}

.governance-grid h3 {
  color: var(--brand-slate);
  font-size: 1.05rem;
  font-weight: 900;
  margin-top: 1rem;
}

.governance-grid p {
  color: #5d6a79;
  line-height: 1.7;
  margin-top: 0.55rem;
}

.service-card a svg {
  height: 1rem;
  transition: transform 0.18s ease;
  width: 1rem;
}

.service-card a:hover svg {
  transform: translateX(4px);
}

.stat-card {
  border: 1px solid rgba(234, 88, 12, 0.14);
  background: rgba(255, 255, 255, 0.84);
  padding: 2rem 1.35rem;
  text-align: center;
}

.stats-section {
  background:
    radial-gradient(circle at 20% 18%, rgba(234, 88, 12, 0.12), transparent 30%),
    linear-gradient(135deg, #fff3e8, #ffffff);
  color: var(--brand-slate);
}

.stats-section .section-heading h2 {
  color: var(--brand-slate);
}

.stats-section .section-heading p {
  color: rgba(31, 41, 55, 0.68);
}

.stat-card strong {
  display: block;
  font-size: 2.5rem;
  font-weight: 950;
  line-height: 1;
}

.stat-card span {
  color: rgba(31, 41, 55, 0.7);
  display: block;
  font-weight: 700;
  margin-top: 0.8rem;
}

.stat-proof-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.2rem;
}

.stat-proof-grid div {
  align-items: center;
  border: 1px solid rgba(234, 88, 12, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(31, 41, 55, 0.78);
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
}

.stat-proof-grid svg {
  color: var(--brand-orange);
  flex: 0 0 auto;
  height: 1.25rem;
  width: 1.25rem;
}

.stat-proof-grid span {
  font-weight: 750;
  line-height: 1.45;
}

.timeline {
  margin: 0 auto;
  max-width: 920px;
  position: relative;
}

.timeline::before {
  background: linear-gradient(var(--brand-orange), var(--brand-slate));
  content: "";
  height: calc(100% - 2rem);
  left: 1.35rem;
  position: absolute;
  top: 1rem;
  width: 2px;
}

.timeline-item {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 3rem 1fr;
  margin-bottom: 1.2rem;
}

.timeline-item > span {
  align-items: center;
  background: var(--brand-orange);
  border: 3px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  display: flex;
  font-size: 0.8rem;
  font-weight: 900;
  height: 2.75rem;
  justify-content: center;
  position: relative;
  width: 2.75rem;
  z-index: 1;
}

.timeline-item > div {
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 60px rgba(31, 41, 55, 0.08);
  padding: 1.25rem;
}

.timeline-item h3 {
  font-size: 1.1rem;
  font-weight: 900;
}

.timeline-item p {
  color: #5d6a79;
  line-height: 1.7;
  margin-top: 0.45rem;
}

.platform-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(234, 88, 12, 0.16), transparent 30%),
    radial-gradient(circle at 86% 70%, rgba(255, 243, 232, 0.78), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #fff3e8 52%, #fff8f1 100%);
  color: var(--brand-slate);
  overflow: hidden;
  position: relative;
}

.platform-section::before {
  border: 1px solid rgba(234, 88, 12, 0.16);
  border-radius: 999px;
  content: "";
  height: 24rem;
  position: absolute;
  right: -8rem;
  top: -9rem;
  width: 24rem;
}

.platform-section .eyebrow {
  color: var(--brand-orange);
}

.platform-section h2 {
  color: var(--brand-slate);
}

.platform-section p {
  color: rgba(31, 41, 55, 0.72);
}

.platform-point {
  align-items: center;
  border: 1px solid rgba(234, 88, 12, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-slate);
  display: flex;
  font-weight: 800;
  gap: 0.7rem;
  padding: 0.9rem;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.platform-point svg {
  color: var(--brand-orange);
  height: 1.1rem;
  width: 1.1rem;
}

.city-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.city-grid strong,
.city-grid span {
  display: block;
}

.city-grid strong {
  color: var(--brand-slate);
  font-size: 1.18rem;
  font-weight: 950;
  margin-top: 1rem;
}

.city-grid span {
  color: #5d6a79;
  line-height: 1.65;
  margin-top: 0.45rem;
}

.cities-section .city-grid {
  gap: 1.15rem;
}

.cities-section .city-grid article {
  min-height: 260px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--brand-border);
  background: transparent;
  box-shadow: 0 24px 70px rgba(31, 41, 55, 0.08);
  padding: 1.35rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.cities-section .city-grid article::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/hero-syndic-maroc.jpg");
  background-position: center;
  background-size: cover;
  content: "";
  transform: scale(1.02);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.cities-section .city-grid article::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(31, 41, 55, 0.28), rgba(31, 41, 55, 0.78)),
    linear-gradient(135deg, rgba(46, 134, 171, 0.56), rgba(234, 88, 12, 0.22));
  content: "";
  transition: background 0.3s ease;
}

.cities-section .city-grid article:hover {
  border-color: rgba(234, 88, 12, 0.3);
  box-shadow: 0 32px 90px rgba(31, 41, 55, 0.18);
  transform: translateY(-8px);
}

.cities-section .city-grid article:hover::before {
  filter: saturate(1.08);
  transform: scale(1.1);
}

.cities-section .city-grid article:hover::after {
  background:
    linear-gradient(180deg, rgba(31, 41, 55, 0.2), rgba(31, 41, 55, 0.68)),
    linear-gradient(135deg, rgba(46, 134, 171, 0.44), rgba(234, 88, 12, 0.34));
}

.cities-section .city-grid article > * {
  position: relative;
  z-index: 2;
}

.cities-section .city-grid svg {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-orange);
  height: 3.15rem;
  padding: 0.7rem;
  transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease;
  width: 3.15rem;
}

.cities-section .city-grid article:hover svg {
  background: var(--brand-orange);
  color: #ffffff;
  transform: translateY(-3px) rotate(-3deg);
}

.cities-section .city-grid strong {
  color: #ffffff;
}

.cities-section .city-grid span {
  color: rgba(255, 255, 255, 0.84);
}

.cities-section .city-grid article:nth-child(1)::before {
  background-position: 18% 40%;
}

.cities-section .city-grid article:nth-child(2)::before {
  background-position: 48% 46%;
}

.cities-section .city-grid article:nth-child(3)::before {
  background-position: 72% 44%;
}

.cities-section .city-grid article:nth-child(4)::before {
  background-position: 25% 72%;
}

.cities-section .city-grid article:nth-child(5)::before {
  background-position: 54% 72%;
}

.cities-section .city-grid article:nth-child(6)::before {
  background-position: 82% 70%;
}

.cta-band {
  background:
    radial-gradient(circle at 15% 30%, rgba(234, 88, 12, 0.18), transparent 28%),
    linear-gradient(135deg, #fff3e8, #ffffff);
  color: var(--brand-slate);
  overflow: hidden;
  position: relative;
}

.cta-band h2,
.cta-band p {
  color: var(--brand-slate);
}

.cta-band::after {
  border: 1px solid rgba(234, 88, 12, 0.2);
  border-radius: 999px;
  content: "";
  height: 18rem;
  position: absolute;
  right: -5rem;
  top: -8rem;
  width: 18rem;
}

.dashboard-mockup {
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 243, 232, 0.9));
  box-shadow: 0 32px 100px rgba(31, 41, 55, 0.12);
  overflow: hidden;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.mockup-topbar {
  align-items: center;
  border-bottom: 1px solid rgba(31, 41, 55, 0.08);
  display: flex;
  gap: 0.45rem;
  padding: 1rem;
}

.mockup-topbar span {
  background: rgba(234, 88, 12, 0.22);
  border-radius: 999px;
  height: 0.65rem;
  width: 0.65rem;
}

.mockup-topbar strong {
  color: var(--brand-slate);
  margin-left: auto;
}

.mockup-grid {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  min-height: 370px;
}

.mockup-sidebar {
  border-right: 1px solid rgba(31, 41, 55, 0.08);
  padding: 1.1rem;
}

.mockup-sidebar span,
.mockup-list span {
  background: rgba(31, 41, 55, 0.1);
  border-radius: 999px;
  display: block;
  height: 0.75rem;
  margin-bottom: 1rem;
}

.mockup-main {
  padding: 1.1rem;
}

.mockup-kpis {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, 1fr);
}

.mockup-kpis div {
  border-radius: 8px;
  background: #ffffff;
  padding: 0.9rem;
}

.mockup-kpis b,
.mockup-kpis small {
  display: block;
}

.mockup-kpis b {
  color: var(--brand-slate);
  font-size: 1.35rem;
}

.mockup-kpis small {
  color: #536172;
  margin-top: 0.25rem;
}

.mockup-chart {
  align-items: end;
  border-radius: 8px;
  background: rgba(31, 41, 55, 0.06);
  display: flex;
  gap: 0.8rem;
  height: 150px;
  margin-top: 1rem;
  padding: 1rem;
}

.mockup-chart span {
  background: linear-gradient(180deg, var(--brand-orange), #ffb27c);
  border-radius: 999px 999px 0 0;
  flex: 1;
}

.mockup-list {
  margin-top: 1rem;
}

.testimonial-shell {
  background: #ffffff;
  border: 1px solid rgba(18, 59, 93, 0.08);
  padding: clamp(1rem, 3vw, 2rem);
  position: relative;
}

.testimonial-viewport {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.48s ease;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 100%;
  padding: clamp(1.2rem, 4vw, 3rem);
  text-align: center;
}

.testimonial-card p {
  color: var(--brand-slate);
  font-size: 1.35rem;
  font-weight: 850;
  line-height: 1.35;
  margin: 0 auto;
  max-width: 820px;
}

.testimonial-card strong {
  display: block;
  margin-top: 1.5rem;
}

.testimonial-card span {
  color: #6a7480;
  display: block;
  margin-top: 0.25rem;
}

.carousel-btn {
  align-items: center;
  background: var(--brand-orange);
  border-radius: 8px;
  color: #ffffff;
  display: none;
  height: 44px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  z-index: 2;
}

.carousel-btn.left {
  left: 1rem;
}

.carousel-btn.right {
  right: 1rem;
}

.carousel-btn:hover {
  background: var(--brand-slate);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.4rem;
}

.carousel-dots button {
  background: rgba(31, 41, 55, 0.18);
  border-radius: 999px;
  height: 0.55rem;
  transition: background 0.2s ease, width 0.2s ease;
  width: 0.55rem;
}

.carousel-dots button.active {
  background: var(--brand-orange);
  width: 1.65rem;
}

.faq-list {
  background: #ffffff;
  border: 1px solid rgba(18, 59, 93, 0.08);
  overflow: hidden;
}

.faq-item + .faq-item {
  border-top: 1px solid rgba(18, 59, 93, 0.08);
}

.faq-item button {
  align-items: center;
  color: var(--brand-slate);
  display: flex;
  font-size: 1rem;
  font-weight: 900;
  justify-content: space-between;
  padding: 1.15rem;
  text-align: left;
  width: 100%;
}

.faq-item button svg {
  color: var(--brand-orange);
  flex: 0 0 auto;
  transition: transform 0.22s ease;
}

.faq-item button[aria-expanded="true"] svg {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-content p {
  color: #5d6a79;
  line-height: 1.75;
  padding: 0 1.15rem 1.15rem;
}

.contact-line {
  align-items: center;
  color: #334155;
  display: flex;
  font-weight: 800;
  gap: 0.7rem;
}

.contact-line svg {
  color: var(--brand-orange);
  height: 1.15rem;
  width: 1.15rem;
}

.contact-form {
  background: #ffffff;
  border: 1px solid var(--brand-border);
  padding: clamp(1.2rem, 4vw, 2rem);
}

.contact-form label span {
  color: var(--brand-slate);
  display: block;
  font-size: 0.9rem;
  font-weight: 900;
  margin-bottom: 0.45rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid rgba(31, 41, 55, 0.16);
  border-radius: 8px;
  color: var(--brand-slate);
  min-height: 48px;
  outline: none;
  padding: 0.85rem 0.95rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
}

.contact-form select {
  background: #ffffff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.14);
}

.contact-form label small {
  color: #b42318;
  display: block;
  font-size: 0.78rem;
  min-height: 1.05rem;
  padding-top: 0.28rem;
}

.contact-form .invalid input,
.contact-form .invalid select,
.contact-form .invalid textarea {
  border-color: #b42318;
}

.form-status {
  color: var(--brand-orange);
  font-weight: 900;
  min-height: 1.4rem;
  padding-top: 0.75rem;
  text-align: center;
}

.devis-form {
  background: linear-gradient(145deg, #ffffff, #fff8f1);
  border: 1px solid var(--brand-border);
  padding: clamp(1.2rem, 4vw, 2rem);
}

.devis-step + .devis-step {
  border-top: 1px solid rgba(31, 41, 55, 0.08);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.devis-step-title {
  display: grid;
  gap: 1rem;
  grid-template-columns: 3rem 1fr;
  margin-bottom: 1.25rem;
}

.devis-step-title > span {
  align-items: center;
  background: var(--brand-orange);
  border-radius: 8px;
  color: #ffffff;
  display: flex;
  font-weight: 950;
  height: 3rem;
  justify-content: center;
  width: 3rem;
}

.devis-step-title h3 {
  color: var(--brand-slate);
  font-size: 1.15rem;
  font-weight: 950;
}

.devis-step-title p {
  color: #64748b;
  line-height: 1.6;
  margin-top: 0.2rem;
}

.devis-form label span {
  color: var(--brand-slate);
  display: block;
  font-size: 0.9rem;
  font-weight: 900;
  margin-bottom: 0.45rem;
}

.devis-form input,
.devis-form select {
  background: #ffffff;
  border: 1px solid rgba(31, 41, 55, 0.16);
  border-radius: 8px;
  color: var(--brand-slate);
  min-height: 48px;
  outline: none;
  padding: 0.85rem 0.95rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
}

.devis-form input:focus,
.devis-form select:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.14);
}

.devis-form label small {
  color: #b42318;
  display: block;
  font-size: 0.78rem;
  min-height: 1.05rem;
  padding-top: 0.28rem;
}

.devis-form .invalid input,
.devis-form .invalid select {
  border-color: #b42318;
}

.footer-bg {
  background:
    linear-gradient(180deg, #363636 0%, #2d2d2d 100%);
  color: #ffffff;
}

.footer-logo {
  align-items: center;
  display: flex;
  gap: 0.8rem;
}

.footer-logo img {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  padding: 0.25rem;
}

.footer-logo strong,
.footer-logo span {
  display: block;
}

.footer-logo strong {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 950;
}

.footer-logo span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-brand-copy {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
}

.footer h3 {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 900;
  margin-bottom: 1.1rem;
}

.footer-link,
.footer-contact-line {
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  gap: 0.5rem;
  line-height: 1.55;
  margin-top: 0.72rem;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer-link svg,
.footer-contact-line svg {
  color: var(--brand-orange);
  flex: 0 0 auto;
  height: 1rem;
  margin-top: 0.2rem;
  width: 1rem;
}

.footer-link:hover,
.footer-link:focus-visible,
.footer-contact-line:hover,
.footer-contact-line:focus-visible {
  color: var(--brand-orange);
  transform: translateX(2px);
}

.social-btn {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  width: 38px;
}

.social-btn .brand-icon {
  color: #ffffff;
  display: block;
  fill: currentColor;
  height: 20px;
  width: 20px;
}

.social-btn:hover .brand-icon,
.social-btn:focus-visible .brand-icon {
  color: #ffffff;
}

.social-btn:hover,
.social-btn:focus-visible {
  background: var(--brand-orange);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  text-align: center;
}

.footer-bottom strong {
  color: #ffffff;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.footer-badges span {
  border: 1px solid rgba(234, 88, 12, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--brand-orange);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.35rem 0.6rem;
}

.whatsapp-float,
.back-to-top {
  align-items: center;
  border-radius: 999px;
  bottom: 1.25rem;
  box-shadow: 0 18px 45px rgba(31, 41, 55, 0.18);
  display: inline-flex;
  height: 54px;
  justify-content: center;
  position: fixed;
  z-index: 60;
  width: 54px;
}

.whatsapp-float {
  background: #25d366;
  box-shadow: 0 18px 45px rgba(37, 211, 102, 0.34);
  color: #ffffff;
  right: 1.25rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  box-shadow: 0 22px 58px rgba(37, 211, 102, 0.46);
  transform: translateY(-3px);
}

.back-to-top {
  background: var(--brand-slate);
  border: 1px solid rgba(31, 41, 55, 0.18);
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  right: 5rem;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.whatsapp-float svg,
.back-to-top svg {
  height: 1.45rem;
  width: 1.45rem;
}

.whatsapp-float .whatsapp-brand-icon {
  height: 1.85rem;
  width: 1.85rem;
}

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

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes heroDrop {
  from {
    filter: blur(8px);
    opacity: 0;
    transform: translateY(-54px);
  }

  68% {
    opacity: 1;
  }

  to {
    filter: blur(0);
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .carousel-btn {
    display: flex;
  }

  .mobile-menu a:not(.btn) {
    font-size: 2.25rem;
  }

  .section-heading h2 {
    font-size: 3rem;
  }

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

  .testimonial-card p {
    font-size: 1.8rem;
  }
}

@media (min-width: 1024px) {
  #menu-toggle {
    display: none;
  }

  .hero-presenter.is-fixed {
    position: fixed;
    top: var(--header-height);
    right: max(2rem, calc((100vw - 1280px) / 2 + 2rem));
    bottom: 0;
    z-index: 2;
    align-items: flex-end;
    justify-content: flex-end;
    width: min(44vw, 540px);
    pointer-events: none;
  }

  .hero-presenter.is-fixed picture {
    align-items: flex-end;
  }

  .hero-presenter.is-hidden {
    opacity: 0;
    pointer-events: none;
  }

  .section-heading h2 {
    font-size: 3.55rem;
  }

  .stat-card strong {
    font-size: 4rem;
  }

  .testimonial-card p {
    font-size: 2rem;
  }
}

@media (max-width: 1023px) {
  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 3rem;
  }

  .hero-copy {
    order: 1;
  }

  .hero-presenter {
    order: 2;
  }

  .hero-copy h1 {
    font-size: 3rem;
  }

  .hero-presenter img {
    max-height: 480px;
  }
}

@media (max-width: 900px) {
  .stat-proof-grid,
  .city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 174px;
  }

  html {
    scroll-padding-top: calc(var(--header-height) + 8px);
  }

  .topbar > div {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.35rem;
  }

  .topbar-phone {
    flex: 0 0 100%;
    font-size: 0.78rem;
    justify-content: center;
    min-height: 28px;
    order: 1;
    text-align: center;
  }

  .topbar .nav-btn-login,
  .topbar .nav-btn-quote {
    font-size: 0.75rem;
    min-height: 30px;
    order: 2;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }

  .mobile-menu a:not(.btn) {
    font-size: 1.15rem;
    padding: 0.58rem 0;
  }

  .navbar-logo {
    height: 48px;
    max-width: 155px;
  }

  .hero-presenter {
    justify-content: center;
    justify-self: center;
    width: 100%;
  }

  .hero-presenter picture {
    justify-content: center;
  }

  .hero-presenter img {
    max-height: 520px;
    width: min(100%, 390px);
  }

  .hero-trust-grid,
  .governance-grid,
  .stat-proof-grid,
  .city-grid {
    grid-template-columns: 1fr;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(46, 134, 171, 0.82), rgba(46, 134, 171, 0.52), rgba(46, 134, 171, 0.18));
  }

  .hero-image {
    opacity: 1;
  }

  .hero-copy h1 {
    font-size: 2.35rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    justify-content: center;
  }

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

  .mockup-sidebar {
    display: none;
  }

  .mockup-kpis {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero-image {
    transform: none !important;
  }
}
  color: var(--brand-orange);
