/* ============================================================
   AXONN AGENCY — style.css
   Stack : HTML + CSS + JS vanilla + PHP
   ============================================================ */

/* ── CUSTOM PROPERTIES ── */
:root {
  --hero-bg: #060912;
  --hero-text: #ffffff;
  --hero-sub: #94a3b8;

  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-dark: #0f172a;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;

  --blue: #2563eb;
  --blue-light: #3b82f6;
  --blue-pale: #eff6ff;
  --blue-border: #bfdbfe;
  --gradient: linear-gradient(135deg, #2563eb, #1d4ed8);

  --font-title: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  --shadow-md: 0 4px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 48px rgba(0,0,0,.14);
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-stretch: normal;
}
h1 { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }

/* ── UTILITIES ── */
.container {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
}
.text-blue { color: var(--blue); }
.text-muted { color: var(--text-muted); }

/* pill / badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .85rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge--blue {
  background: var(--blue-pale);
  color: var(--blue);
  border: 1px solid var(--blue-border);
}
.badge--white {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.18);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,99,235,.3);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,.4); }
.btn--outline-white {
  border: 2px solid rgba(255,255,255,.4);
  color: #fff;
}
.btn--outline-white:hover { background: rgba(255,255,255,.1); }
.btn--outline {
  border: 2px solid var(--border);
  color: var(--text);
}
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }

/* section layout */
.section { padding: 6rem 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--hero-bg); color: #fff; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header p { margin-top: .75rem; color: var(--text-muted); font-size: 1.1rem; max-width: 560px; margin-inline: auto; }

/* ── ANIMATIONS ── */
.animate {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform .75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .22s; }
.delay-3 { transition-delay: .34s; }
.delay-4 { transition-delay: .46s; }
.delay-5 { transition-delay: .58s; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}
.navbar__logo svg { width: 56px; height: 44px; }
.navbar__logo-img { height: 40px; width: auto; display: block; }
.navbar__logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.navbar__logo-main {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -.02em;
}
.navbar__logo-sub {
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--blue);
  text-transform: uppercase;
}

/* nav links */
.navbar__nav { display: flex; align-items: center; gap: 2.5rem; }
.navbar__nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.navbar__nav a:hover { color: var(--text); }

/* hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.navbar__mobile {
  display: none;
  position: fixed;
  inset: 72px 0 0;
  background: #fff;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
  flex-direction: column;
  gap: 1.25rem;
  z-index: 999;
}
.navbar__mobile.active { display: flex; }
.navbar__mobile a {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
}
.navbar__mobile .btn { margin-top: 1rem; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--hero-bg);
  display: flex;
  align-items: center;
  overflow: hidden;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(37,99,235,.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  width: 100%;
}
.hero__content {
  flex: 1;
  max-width: 680px;
}
.hero__logo-big {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(380px, 42vw, 680px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 0 60px rgba(59,130,246,0.5));
}
.hero__logo-big img {
  width: 100%;
  height: auto;
  display: block;
}
.hero__badge { margin-bottom: 1.5rem; }
.hero__title {
  color: #fff;
  margin-bottom: 1.5rem;
}
.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.hero__title .word.visible { opacity: 1; transform: translateY(0); }
.hero__sub {
  color: var(--hero-sub);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero__btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--hero-sub);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  animation: scrollBounce 2s ease-in-out infinite;
}
.hero__scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--hero-sub), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   CLIENTS MARQUEE
   ============================================================ */
.clients {
  padding: 3rem 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.clients__label {
  text-align: center;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}
.clients__track-wrap {
  position: relative;
  overflow: hidden;
}
.clients__track-wrap::before,
.clients__track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.clients__track-wrap::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.clients__track-wrap::after  { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.clients__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.clients__track:hover { animation-play-state: paused; }
.clients__item {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .95rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.clients__item::after {
  content: '—';
  color: var(--blue);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: 7rem 0; }
.services .section-header { margin-bottom: 5rem; }

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 7rem;
}
.service-block:last-child { margin-bottom: 0; }
.service-block--reverse { direction: rtl; }
.service-block--reverse > * { direction: ltr; }

.service-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  background: var(--hero-bg);
  position: relative;
}

/* mockup — screen */
.mock-screen {
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  background: var(--hero-bg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mock-screen__bar {
  display: flex;
  gap: .4rem;
  align-items: center;
}
.mock-screen__bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mock-screen__bar span:nth-child(1) { background: #ff5f57; }
.mock-screen__bar span:nth-child(2) { background: #febc2e; }
.mock-screen__bar span:nth-child(3) { background: #28c840; }
.mock-screen__url {
  flex: 1;
  height: 10px;
  background: rgba(255,255,255,.07);
  border-radius: 4px;
  margin-left: .5rem;
}
.mock-screen__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.mock-screen__nav {
  height: 32px;
  background: rgba(255,255,255,.05);
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 .75rem;
  gap: .5rem;
}
.mock-screen__nav-dot {
  width: 30px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,.12);
}
.mock-screen__nav-dot--active { background: var(--blue); }
.mock-screen__hero-area {
  height: 80px;
  background: linear-gradient(135deg, rgba(37,99,235,.2), rgba(37,99,235,.05));
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: .75rem;
  gap: .35rem;
}
.mock-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,.15);
}
.mock-line--short { width: 40%; }
.mock-line--medium { width: 65%; }
.mock-line--long { width: 85%; }
.mock-line--blue { background: var(--blue); width: 30%; }
.mock-screen__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: .5rem;
  flex: 1;
}
.mock-card-sm {
  background: rgba(255,255,255,.04);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.07);
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: .5rem;
}
.mock-card-sm::before {
  content: '';
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  opacity: .6;
}

/* mockup — chatbot */
.mock-chat {
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  background: #0a0f1e;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.mock-chat__header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mock-chat__avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  color: #fff;
}
.mock-chat__title { font-size: .75rem; color: rgba(255,255,255,.7); font-family: var(--font-body); }
.mock-chat__title strong { display: block; color: #fff; font-weight: 600; }
.mock-chat__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  margin-left: auto;
}
.mock-chat__msgs { flex: 1; display: flex; flex-direction: column; gap: .6rem; justify-content: flex-end; }
.bubble {
  max-width: 75%;
  padding: .5rem .8rem;
  border-radius: 12px;
  font-size: .72rem;
  line-height: 1.4;
  font-family: var(--font-body);
}
.bubble--bot {
  background: rgba(37,99,235,.25);
  color: rgba(255,255,255,.85);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.bubble--user {
  background: var(--blue);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.bubble--typing {
  display: flex;
  gap: .3rem;
  align-items: center;
  padding: .6rem .8rem;
  background: rgba(37,99,235,.15);
  align-self: flex-start;
}
.bubble--typing span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue-light);
  animation: typingDot .8s ease-in-out infinite;
}
.bubble--typing span:nth-child(2) { animation-delay: .15s; }
.bubble--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-5px); }
}
.mock-chat__input {
  display: flex;
  gap: .5rem;
  align-items: center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: .5rem .75rem;
}
.mock-chat__input-bar {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,.1);
}
.mock-chat__send {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* mockup — instagram grid */
.mock-insta {
  width: 100%;
  height: 100%;
  padding: 1.25rem;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mock-insta__header {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.mock-insta__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #ef4444, #8b5cf6);
}
.mock-insta__handle {
  font-size: .72rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-body);
}
.mock-insta__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  flex: 1;
}
.mock-insta__post {
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.mock-insta__post::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.1);
  transition: var(--transition);
}
.mock-insta__post:hover::after { background: rgba(37,99,235,.3); }
.post-c1 { background: linear-gradient(135deg, #dbeafe, #93c5fd); }
.post-c2 { background: linear-gradient(135deg, #f0fdf4, #86efac); }
.post-c3 { background: linear-gradient(135deg, #fef3c7, #fcd34d); }
.post-c4 { background: linear-gradient(135deg, #fce7f3, #f9a8d4); }
.post-c5 { background: linear-gradient(135deg, #ede9fe, #c4b5fd); }
.post-c6 { background: linear-gradient(135deg, #cffafe, #67e8f9); }

.service-text { display: flex; flex-direction: column; gap: 1.5rem; }
.service-text h2 { line-height: 1.2; }
.service-text p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.75; }
.service-links { display: flex; flex-direction: column; gap: .6rem; }
.service-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), gap var(--transition);
}
.service-link::before { content: '→'; color: var(--blue); font-weight: 700; transition: transform var(--transition); }
.service-link:hover { color: var(--blue); }
.service-link:hover::before { transform: translateX(4px); }
.service-link span { margin-left: auto; color: var(--text-muted); font-size: .82rem; }
.service-text .btn { align-self: flex-start; margin-top: .5rem; }

/* ============================================================
   STATS / CHIFFRES CLÉS
   ============================================================ */
.stats { padding: 5rem 0; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.stat-item__number {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: .5rem;
}
.stat-item__label {
  font-size: .85rem;
  color: var(--text-muted);
  letter-spacing: .04em;
}

/* ============================================================
   QUI SOMMES-NOUS
   ============================================================ */
.about { padding: 7rem 0; }
.about__inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 5rem;
  align-items: start;
}
.about__left {}
.about__tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.about__left h2 { margin-bottom: 1rem; }
.about__location { color: var(--text-muted); font-size: .9rem; margin-top: .75rem; }

.about__right { display: flex; flex-direction: column; gap: 1.5rem; }
.about__right p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; }
.about__points {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: .5rem;
}
.about__point {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.about__point::before { content: '✦'; color: var(--blue); }
.about__divider {
  height: 1px;
  background: var(--border);
  margin-top: 2rem;
}
.about__foot {
  margin-top: 1rem;
  font-size: .8rem;
  color: var(--text-muted);
  letter-spacing: .05em;
}

/* ============================================================
   TARIFS
   ============================================================ */
.pricing { padding: 7rem 0; }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.price-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card--featured {
  background: var(--hero-bg);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 8px 40px rgba(37,99,235,.3);
  position: relative;
}
.price-card--featured .price-card__desc { color: var(--hero-sub); }
.price-card--featured .price-card__feature { color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.1); }
.price-card--featured .price-card__feature::before { color: #22c55e; }

.price-badge {
  display: inline-block;
  padding: .3rem .9rem;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: -.5rem;
}
.price-card__name {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
}
.price-card__setup {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
}
.price-card__setup sub {
  font-size: .45em;
  font-weight: 400;
  vertical-align: baseline;
  color: var(--text-muted);
}
.price-card--featured .price-card__setup sub { color: var(--hero-sub); }
.price-card__monthly {
  font-size: .9rem;
  color: var(--text-muted);
  margin-top: .25rem;
}
.price-card--featured .price-card__monthly { color: var(--hero-sub); }
.price-card__desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.price-card__features { display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.price-card__feature {
  font-size: .88rem;
  color: var(--text);
  display: flex;
  gap: .6rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--border);
}
.price-card__feature::before { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; }
.price-card .btn { margin-top: auto; justify-content: center; }

.pricing__custom {
  text-align: center;
  margin-top: 2.5rem;
  font-size: .95rem;
  color: var(--text-muted);
}
.pricing__custom a { color: var(--blue); font-weight: 600; }
.pricing__custom a:hover { text-decoration: underline; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  padding: 7rem 0;
  background: var(--hero-bg);
  text-align: center;
}
.cta-final h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 1rem;
}
.cta-final p {
  color: var(--hero-sub);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}
.cta-final__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.7);
  padding: 5rem 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand { display: flex; flex-direction: column; gap: 1rem; }
.footer__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.footer__logo svg { width: 48px; height: 38px; }
.footer__logo-text .navbar__logo-main { color: #fff; }
.footer__desc {
  font-size: .88rem;
  line-height: 1.7;
  max-width: 260px;
}
.footer__location {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.footer__col h4 {
  font-family: var(--font-title);
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer__col ul li a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer__col ul li a:hover { color: #fff; }
.footer__contact-item {
  font-size: .88rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  margin-bottom: .75rem;
}
.footer__contact-item a { color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer__contact-item a:hover { color: var(--blue-light); }
.footer__socials {
  display: flex;
  gap: .75rem;
  margin-top: .5rem;
}
.footer__social {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.55);
  font-size: .75rem;
  font-weight: 700;
  transition: var(--transition);
}
.footer__social:hover { border-color: var(--blue); color: var(--blue-light); background: rgba(37,99,235,.1); }
.footer__bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__copy { font-size: .82rem; color: rgba(255,255,255,.35); }
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a { font-size: .82rem; color: rgba(255,255,255,.35); transition: color var(--transition); }
.footer__links a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   HERO INTÉRIEUR (pages secondaires)
   ============================================================ */
.page-hero {
  background: var(--bg-soft);
  padding: 8rem 0 4rem;
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  display: flex;
  gap: .5rem;
  align-items: center;
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: var(--blue-light); }
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 3rem); margin-bottom: 1rem; }
.page-hero p { font-size: 1.1rem; color: var(--text-muted); max-width: 560px; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.service-detail { padding: 6rem 0; }
.service-detail + .service-detail { border-top: 1px solid var(--border); }
.service-detail__inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 5rem;
  align-items: start;
}
.service-detail__meta { position: sticky; top: 100px; }
.service-detail__price {
  display: inline-block;
  margin-top: 1.5rem;
  padding: .6rem 1.2rem;
  background: var(--blue-pale);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius);
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
}
.service-detail__timeline {
  margin-top: .75rem;
  font-size: .85rem;
  color: var(--text-muted);
}

.service-detail__content {}
.service-detail__content p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; }
.includes-list { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 2rem; }
.includes-list li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  font-size: .95rem;
  color: var(--text);
  padding: .75rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.includes-list li::before { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; margin-top: .05em; }

/* processus */
.process { padding: 6rem 0; background: var(--bg-soft); }
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  position: relative;
}
.process-step::after {
  content: '→';
  position: absolute;
  right: -1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--border);
  font-weight: 700;
}
.process-step:last-child::after { display: none; }
.process-step__num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue-pale);
  border: 2px solid var(--blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--blue);
  margin: 0 auto 1rem;
}
.process-step h3 { font-size: 1rem; margin-bottom: .5rem; }
.process-step p { font-size: .88rem; color: var(--text-muted); }

/* FAQ */
.faq { padding: 6rem 0; }
.faq__list { max-width: 720px; margin: 3rem auto 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item__q {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  background: none;
  border: none;
  gap: 1rem;
}
.faq-item__icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .9rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.faq-item.open .faq-item__icon { background: var(--blue); border-color: var(--blue); color: #fff; transform: rotate(45deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}
.faq-item.open .faq-item__a { max-height: 300px; }
.faq-item__a p { padding-bottom: 1.25rem; font-size: .95rem; color: var(--text-muted); line-height: 1.75; }

/* ============================================================
   RÉALISATIONS PAGE
   ============================================================ */
.portfolio { padding: 5rem 0; }
.portfolio__filters {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: .5rem 1.25rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  background: var(--bg);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.portfolio-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}
.portfolio-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.portfolio-item.hidden { display: none; }
.portfolio-item__thumb {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.portfolio-item__thumb--img {
  background: #f1f5f9;
}
.portfolio-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}
.portfolio-item:hover .portfolio-item__img {
  transform: scale(1.03);
}
.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6,9,18,.7);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
}
.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }
.portfolio-item__overlay a {
  padding: .6rem 1.25rem;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 600;
  transition: var(--transition);
}
.portfolio-item__overlay a:hover { background: var(--blue-light); }
.portfolio-item__info {
  padding: 1.25rem;
  background: var(--bg);
}
.portfolio-item__tag {
  font-size: .72rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .35rem;
}
.portfolio-item__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
}

/* thumb colors */
.thumb-1 { background: linear-gradient(135deg, #1e3a5f, #2563eb); }
.thumb-2 { background: linear-gradient(135deg, #064e3b, #059669); }
.thumb-3 { background: linear-gradient(135deg, #3b0764, #7c3aed); }
.thumb-4 { background: linear-gradient(135deg, #7c2d12, #ea580c); }
.thumb-5 { background: linear-gradient(135deg, #1e1b4b, #4f46e5); }
.thumb-6 { background: linear-gradient(135deg, #042f2e, #0d9488); }
.thumb-7 { background: linear-gradient(135deg, #1a1a2e, #16213e); }
.thumb-8 { background: linear-gradient(135deg, #312e81, #6366f1); }
.thumb-9 { background: linear-gradient(135deg, #0c4a6e, #0284c7); }

/* ============================================================
   À PROPOS PAGE
   ============================================================ */
.team { padding: 7rem 0; }
.team__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}
.team__photo {
  border-radius: var(--radius-lg);
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--blue-pale), #dbeafe);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.team__photo-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
}
.team__photo-name { font-family: var(--font-title); font-weight: 700; font-size: 1.1rem; }
.team__photo-role { font-size: .85rem; color: var(--text-muted); }
.team__content {}
.team__content h2 { margin-bottom: .5rem; }
.team__content .sub { color: var(--text-muted); margin-bottom: 2rem; }
.team__content p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.25rem; }

.values { padding: 5rem 0; background: var(--bg-soft); }
.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.value-card {
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
}
.value-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--blue-pale);
  border: 1px solid var(--blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 1rem;
}
.value-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.value-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

.tools { padding: 5rem 0; }
.tools__grid {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2.5rem;
  justify-content: center;
}
.tool-pill {
  padding: .6rem 1.25rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--bg-soft);
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}
.tool-pill:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { padding: 5rem 0; }
.contact-section__inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 5rem;
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-submit { display: flex; align-items: center; gap: 1rem; }
.form-feedback {
  padding: .75rem 1.25rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  display: none;
}
.form-feedback.success { display: block; background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.form-feedback.error   { display: block; background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }

.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-info-item {}
.contact-info-item h4 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .5rem;
}
.contact-info-item p, .contact-info-item a {
  font-size: .95rem;
  color: var(--text-muted);
}
.contact-info-item a:hover { color: var(--blue); }
.contact-map {
  margin-top: 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 240px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .9rem;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   MENTIONS LÉGALES
   ============================================================ */
.legal { padding: 5rem 0; }
.legal__content { max-width: 760px; }
.legal__content h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.legal__content h3 { font-size: 1.1rem; margin: 1.5rem 0 .75rem; }
.legal__content p, .legal__content li {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: .75rem;
}
.legal__content ul { padding-left: 1.25rem; list-style: disc; }

/* ============================================================
   404
   ============================================================ */
.notfound {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
}
.notfound__num {
  font-family: var(--font-title);
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 2px var(--border);
  line-height: 1;
  margin-bottom: 1rem;
}
.notfound h1 { font-size: 2rem; margin-bottom: 1rem; }
.notfound p { color: var(--text-muted); margin-bottom: 2rem; max-width: 400px; margin-inline: auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .service-block { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-block--reverse { direction: ltr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .about__inner { grid-template-columns: 1fr; gap: 3rem; }
  .about__left { position: static; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .team__inner { grid-template-columns: 1fr; gap: 3rem; }
  .team__photo { aspect-ratio: 2/1; }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .contact-section__inner { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .service-detail__inner { grid-template-columns: 1fr; }
  .service-detail__meta { position: static; }
}
@media (max-width: 768px) {
  .navbar__nav, .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }
  .hero__logo-big { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.4rem, 8vw, 3.5rem); }
  .hero__btns { flex-direction: column; }
  .hero__btns .btn { justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .portfolio__grid { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 100%; }
}


/* ============================================================
   MATOS — Chatbot Widget
   ============================================================ */

/* ── Bouton flottant ── */
.matos-toggle {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 9000;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37,99,235,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, box-shadow .25s ease;
  outline: none;
}
.matos-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,99,235,.55);
}
.matos-toggle__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.matos-toggle__icon svg { width: 24px; height: 24px; }

/* Pastille notification */
.matos-toggle__notif {
  position: absolute;
  top: 2px; right: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* ── Fenêtre de chat ── */
.matos-window {
  position: fixed;
  bottom: 5.5rem;
  right: 1.75rem;
  z-index: 8999;
  width: 360px;
  max-height: 560px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 48px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(.97);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
  border: 1px solid var(--border);
}
.matos-window--open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* ── Header ── */
.matos-header {
  background: var(--hero-bg);
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.matos-header__info {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.matos-avatar--header {
  width: 40px;
  height: 40px;
  font-size: 1rem;
}
.matos-header__name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .95rem;
  color: #fff;
  line-height: 1.2;
}
.matos-header__status {
  font-size: .72rem;
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-top: .1rem;
}
.matos-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: matosOnline 2s ease-in-out infinite;
}
@keyframes matosOnline {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
.matos-header__close {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: background .2s;
  flex-shrink: 0;
}
.matos-header__close svg { width: 14px; height: 14px; }
.matos-header__close:hover { background: rgba(255,255,255,.2); color: #fff; }

/* ── Avatar bot ── */
.matos-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Zone messages ── */
.matos-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  scroll-behavior: smooth;
}
.matos-messages::-webkit-scrollbar { width: 4px; }
.matos-messages::-webkit-scrollbar-track { background: transparent; }
.matos-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.matos-msg {
  display: flex;
  gap: .6rem;
  align-items: flex-end;
}
.matos-msg--user {
  flex-direction: row-reverse;
}

.matos-bubble {
  max-width: 80%;
  padding: .65rem .9rem;
  border-radius: 16px;
  font-size: .87rem;
  line-height: 1.55;
  font-family: var(--font-body);
}
.matos-bubble p { margin: 0; }
.matos-bubble a { color: var(--blue); text-decoration: underline; }
.matos-bubble strong { font-weight: 600; }

.matos-bubble--bot {
  background: var(--bg-soft);
  color: var(--text);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border);
}
.matos-bubble--user {
  background: var(--gradient);
  color: #fff;
  border-bottom-right-radius: 4px;
}

/* Typing */
.matos-bubble--typing {
  display: flex;
  gap: .35rem;
  align-items: center;
  padding: .75rem .9rem;
}
.matos-bubble--typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: matosTyping .9s ease-in-out infinite;
}
.matos-bubble--typing span:nth-child(2) { animation-delay: .15s; }
.matos-bubble--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes matosTyping {
  0%, 60%, 100% { transform: translateY(0); opacity: .6; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.matos-time {
  font-size: .68rem;
  color: var(--text-muted);
  display: block;
  margin-top: .3rem;
  padding-left: .1rem;
}
.matos-time--right { text-align: right; padding-right: .1rem; }

/* ── Suggestions ── */
.matos-suggestions {
  padding: 0 1rem .75rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  flex-shrink: 0;
}
.matos-suggestion {
  padding: .4rem .85rem;
  border-radius: 999px;
  border: 1.5px solid var(--blue-border);
  background: var(--blue-pale);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
}
.matos-suggestion:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ── Input ── */
.matos-input-wrap {
  padding: .75rem 1rem .65rem;
  border-top: 1px solid var(--border);
  background: #fff;
  flex-shrink: 0;
}
.matos-input-row {
  display: flex;
  gap: .5rem;
  align-items: center;
}
.matos-input {
  flex: 1;
  padding: .6rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .88rem;
  color: var(--text);
  background: var(--bg-soft);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.matos-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
  background: #fff;
}
.matos-input::placeholder { color: var(--text-muted); }
.matos-send {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gradient);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  transition: transform .2s, opacity .2s;
}
.matos-send svg { width: 16px; height: 16px; }
.matos-send:disabled { opacity: .45; cursor: default; transform: none; }
/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  overflow: hidden;
  pointer-events: all;
}
.preloader__curtain {
  position: absolute;
  left: 0; right: 0;
  height: 51%;
  background: #060912;
  transition: transform .95s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}
.preloader__curtain--top { top: 0; }
.preloader__curtain--bottom { bottom: 0; }

.preloader.is-leaving .preloader__curtain--top  { transform: translateY(-101%); }
.preloader.is-leaving .preloader__curtain--bottom { transform: translateY(101%); }

.preloader__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
  transition: opacity .25s ease;
}
.preloader.is-leaving .preloader__content { opacity: 0; }

.preloader__logo-text {
  font-family: var(--font-title);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  user-select: none;
}
.preloader__agency {
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .5em;
  color: var(--blue-light);
  text-transform: uppercase;
  margin-top: .5rem;
  margin-bottom: 3rem;
  user-select: none;
}
.preloader__bar-wrap {
  width: clamp(140px, 22vw, 260px);
  height: 1px;
  background: rgba(255,255,255,.1);
  position: relative;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.preloader__bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa);
  will-change: width;
}
.preloader__counter {
  font-family: var(--font-title);
  font-size: .8rem;
  font-weight: 300;
  color: rgba(255,255,255,.28);
  letter-spacing: .2em;
  min-width: 3.5ch;
  text-align: center;
}

/* ── Service visual parallax depth ── */
.service-visual {
  will-change: transform;
}
@media (max-width: 767px) {
  .service-visual { will-change: auto; }
}

/* ── Hero parallax bg elements ── */
#hero-canvas,
.hero__glow,
.hero__grid {
  will-change: transform;
}
@media (max-width: 767px) {
  #hero-canvas, .hero__glow, .hero__grid { will-change: auto; }
}

/* ── Reduced motion: disable everything ── */
@media (prefers-reduced-motion: reduce) {
  .preloader { display: none !important; }
  .animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  #hero-canvas, .hero__glow, .hero__grid, .service-visual {
    will-change: auto;
    transform: none !important;
  }
}

.matos-send:not(:disabled):hover { transform: scale(1.1); }

.matos-footer-note {
  text-align: center;
  font-size: .65rem;
  color: var(--text-muted);
  margin-top: .5rem;
  letter-spacing: .02em;
}
.matos-footer-note span { color: var(--blue); font-weight: 600; }

/* ── MOBILE ── */
@media (max-width: 480px) {
  .matos-window {
    right: .75rem;
    left: .75rem;
    width: auto;
    bottom: 5rem;
    max-height: 75vh;
  }
  .matos-toggle {
    bottom: 1.25rem;
    right: 1.25rem;
  }
}

/* ── SEO LOCAL SECTION ──────────────────────────────────────── */
.seo-local__inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.seo-local__title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text);
}
.seo-local__inner p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: .95rem;
}
.seo-local__inner a { color: var(--blue); }
.seo-local__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.seo-tag {
  display: inline-block;
  padding: .35rem .9rem;
  border: 1px solid var(--blue-border);
  border-radius: 999px;
  color: var(--blue);
  font-size: .8rem;
  font-weight: 500;
  text-decoration: none;
  background: var(--blue-pale);
  transition: background .2s, color .2s;
}
.seo-tag:hover { background: var(--blue); color: #fff; }

/* ── LANDING PAGE SEO ───────────────────────────────────────── */
.landing-hero {
  background: var(--bg-soft);
  padding: 5rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
}
.landing-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
}
.landing-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin-bottom: 2rem;
}
.landing-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 0;
}
.landing-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
  color: var(--text);
}
.landing-content p, .landing-content li {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: .75rem;
}
.landing-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.landing-faq {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
}
.landing-faq h2 { margin-top: 0; }
.landing-faq .faq-item { border-bottom: 1px solid var(--border); }
.landing-faq .faq-item:last-child { border-bottom: none; }
