/* ============================================
   Webya — Theme CSS
   ============================================ */

/* --- Variables & Tokens --- */
:root {
  --blue: #0EA5E9;
  --blue-dark: #0284C7;
  --blue-glow: rgba(14,165,233,0.15);
  --cyan: #06B6D4;
  --black: #050505;
  --dark: #0D0D0D;
  --dark2: #141414;
  --dark3: #1A1A1A;
  --white: #FFFFFF;
  --off-white: #F0F4F8;
  --muted: #64748B;
  --border: rgba(14,165,233,0.12);
  --border-white: rgba(255,255,255,0.06);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

/* --- Custom Cursor --- */
.cursor {
  position: fixed; width: 8px; height: 8px;
  background: var(--blue); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%); transition: transform 0.1s;
}
.cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1px solid rgba(14,165,233,0.4); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%); transition: all 0.15s ease;
}

/* --- Navigation --- */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 5rem;
  transition: all 0.4s;
}
#nav.scrolled {
  background: rgba(5,5,5,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 5rem;
}
.nav-logo {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1.6rem; color: var(--white);
  text-decoration: none; letter-spacing: -0.02em;
}
.nav-logo span { color: var(--blue); }
.nav-links {
  display: flex; gap: 2.5rem;
  list-style: none; align-items: center;
}
.nav-links a {
  font-size: 0.82rem; font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  background: var(--blue) !important; color: var(--black) !important;
  padding: 0.6rem 1.5rem; font-weight: 500 !important;
  border-radius: 2px; transition: all 0.2s !important;
}
.nav-cta:hover {
  background: var(--blue-dark) !important; color: var(--white) !important;
  transform: translateY(-1px);
}

/* Mobile hamburger */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 0.5rem;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); transition: all 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem 5rem 5rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,0.008) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.008) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
}
.hero-glow-1 {
  position: absolute; top: 20%; left: 60%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(14,165,233,0.08) 0%, transparent 70%);
  pointer-events: none; animation: pulse 6s ease-in-out infinite;
}
.hero-glow-2 {
  position: absolute; bottom: 20%; left: 10%; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(6,182,212,0.06) 0%, transparent 70%);
  pointer-events: none; animation: pulse 8s ease-in-out infinite reverse;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.6; }
}

.hero-content { position: relative; z-index: 2; max-width: 900px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(14,165,233,0.08); border: 1px solid rgba(14,165,233,0.2);
  padding: 0.4rem 1rem; border-radius: 100px; margin-bottom: 2.5rem;
  animation: fadeUp 0.8s ease both;
}
.badge-dot {
  width: 6px; height: 6px; background: var(--blue);
  border-radius: 50%; animation: blink 2s ease infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.badge-text {
  font-size: 0.75rem; font-weight: 400;
  letter-spacing: 0.1em; color: var(--blue); text-transform: uppercase;
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3.5rem, 7vw, 7rem); font-weight: 800;
  line-height: 0.95; letter-spacing: -0.03em;
  margin-bottom: 2rem; animation: fadeUp 0.8s 0.15s ease both;
}
.hero h1 .outline { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,0.7); }
.hero h1 .blue { color: var(--blue); }

.hero-sub {
  font-size: 1.05rem; font-weight: 300; color: var(--muted);
  line-height: 1.9; max-width: 520px; margin-bottom: 3rem;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.45s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--blue); color: var(--black);
  font-family: 'Outfit', sans-serif; font-size: 0.85rem;
  font-weight: 500; letter-spacing: 0.05em;
  padding: 1rem 2rem; text-decoration: none;
  border-radius: 2px; transition: all 0.2s;
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.15); transition: left 0.3s;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  background: var(--blue-dark); color: var(--white);
  transform: translateY(-2px); box-shadow: 0 10px 30px rgba(14,165,233,0.3);
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: transparent; color: var(--muted);
  font-family: 'Outfit', sans-serif; font-size: 0.85rem;
  font-weight: 400; letter-spacing: 0.05em;
  padding: 1rem 2rem; text-decoration: none;
  border: 1px solid var(--border-white);
  border-radius: 2px; transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* --- Hero Stats --- */
.hero-stats {
  display: flex; gap: 3rem;
  margin-top: 5rem; padding-top: 3rem;
  border-top: 1px solid var(--border-white);
  animation: fadeUp 0.8s 0.6s ease both;
}
.hero-stat-num {
  font-family: 'Syne', sans-serif; font-size: 2.5rem;
  font-weight: 800; color: var(--white);
  display: block; line-height: 1; margin-bottom: 0.3rem;
}
.hero-stat-num span { color: var(--blue); }
.hero-stat-label { font-size: 0.8rem; color: var(--muted); font-weight: 300; }

.scroll-hint {
  position: absolute; bottom: 3rem; left: 5rem;
  display: flex; align-items: center; gap: 1rem;
  animation: fadeUp 0.8s 1s ease both;
}
.scroll-line {
  width: 40px; height: 1px;
  background: linear-gradient(to right, var(--blue), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; width: 40px; }
  50% { opacity: 0.3; width: 20px; }
}
.scroll-text {
  font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
}

/* --- Section Common --- */
section { padding: 8rem 5rem; }
.section-label {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.section-label::before {
  content: ''; width: 20px; height: 1px;
  background: var(--blue); display: block;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1.2rem;
}
.section-title span { color: var(--blue); }
.section-desc {
  font-size: 0.95rem; font-weight: 300; color: var(--muted);
  line-height: 1.9; max-width: 500px;
}

/* --- Services --- */
#services { background: var(--dark); }
.services-top {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: end; margin-bottom: 4rem;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border-white);
}
.service-card {
  background: var(--dark2); padding: 2.5rem;
  position: relative; overflow: hidden;
  transition: background 0.3s; cursor: default;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(to right, var(--blue), var(--cyan));
  transform: scaleX(0); transition: transform 0.3s;
}
.service-card:hover { background: var(--dark3); }
.service-card:hover::after { transform: scaleX(1); }
.service-num {
  font-family: 'Syne', sans-serif; font-size: 0.7rem;
  font-weight: 600; letter-spacing: 0.2em;
  color: var(--blue); margin-bottom: 1.5rem;
}
.service-icon { font-size: 1.8rem; margin-bottom: 1rem; display: block; }
.service-name {
  font-family: 'Syne', sans-serif; font-size: 1.1rem;
  font-weight: 700; color: var(--white); margin-bottom: 0.8rem;
}
.service-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }

/* --- Forfaits --- */
#forfaits { background: var(--black); }
.forfaits-header { text-align: center; margin-bottom: 4rem; }
.forfaits-header .section-label { justify-content: center; }
.forfaits-header .section-label::before { display: none; }
.forfaits-header .section-desc { margin: 0 auto; }
.forfaits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border-white); position: relative;
}
.forfait-card {
  background: var(--dark); padding: 3rem 2.5rem;
  position: relative; overflow: hidden; transition: background 0.3s;
}
.forfait-card.featured {
  background: var(--dark2);
  border: 1px solid rgba(14,165,233,0.3); z-index: 2;
}
.forfait-card.featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(to right, var(--blue), var(--cyan));
}
.forfait-badge {
  display: inline-block;
  background: rgba(14,165,233,0.1); border: 1px solid rgba(14,165,233,0.3);
  color: var(--blue); font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.3rem 0.8rem; border-radius: 100px; margin-bottom: 1.5rem;
}
.forfait-name {
  font-family: 'Syne', sans-serif; font-size: 1rem;
  font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem;
}
.forfait-price {
  font-family: 'Syne', sans-serif; font-size: 3.5rem;
  font-weight: 800; color: var(--white);
  line-height: 1; margin-bottom: 0.3rem; letter-spacing: -0.03em;
}
.forfait-price span { font-size: 1.2rem; color: var(--muted); font-weight: 400; }
.forfait-engage { font-size: 0.78rem; color: var(--muted); margin-bottom: 2rem; }
.forfait-divider { height: 1px; background: var(--border-white); margin-bottom: 2rem; }
.forfait-features { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 2.5rem; }
.forfait-feature {
  display: flex; align-items: flex-start; gap: 0.8rem;
  font-size: 0.85rem; font-weight: 300;
  color: var(--off-white); line-height: 1.5;
}
.feature-check { color: var(--blue); font-size: 0.9rem; flex-shrink: 0; margin-top: 0.1rem; }
.feature-dash { color: var(--muted); font-size: 0.9rem; flex-shrink: 0; }
.feature-disabled { color: var(--muted); }
.forfait-btn-full { width: 100%; justify-content: center; }

/* Parrainage */
.parrainage-box {
  margin-top: 2rem; padding: 2rem;
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: 2px;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.parrainage-icon { font-size: 1.5rem; }
.parrainage-title {
  font-family: 'Syne', sans-serif; font-weight: 700; margin-bottom: 0.3rem;
}
.parrainage-desc { font-size: 0.85rem; color: var(--muted); font-weight: 300; }
.parrainage-desc strong { color: var(--blue); }

/* --- Realisations --- */
#realisations { background: var(--dark); }
.realisations-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: end; margin-bottom: 4rem;
}
.realisations-cta {
  background: var(--dark2); border: 1px solid var(--border);
  padding: 4rem; text-align: center;
}
.realisations-cta-icon { font-size: 3rem; margin-bottom: 1.5rem; }
.realisations-cta h3 {
  font-family: 'Syne', sans-serif; font-size: 1.8rem;
  font-weight: 700; margin-bottom: 1rem;
}
.realisations-cta p {
  font-size: 0.95rem; color: var(--muted); font-weight: 300;
  max-width: 500px; margin: 0 auto 2rem; line-height: 1.9;
}
.realisations-cta p strong { color: var(--blue); }
.sectors-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border-white); margin-top: 1px;
}
.sector-card {
  background: var(--dark2); padding: 2rem; text-align: center;
}
.sector-icon { font-size: 1.8rem; margin-bottom: 0.8rem; }
.sector-name {
  font-family: 'Syne', sans-serif; font-weight: 700; margin-bottom: 0.4rem;
}
.sector-desc { font-size: 0.82rem; color: var(--muted); font-weight: 300; }

/* --- Contact --- */
#contact { background: var(--black); }
.contact-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; margin-top: 4rem; align-items: start;
}
.contact-items { display: flex; flex-direction: column; gap: 0; margin-top: 2.5rem; }
.contact-item {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.5rem 0; border-bottom: 1px solid var(--border-white);
  transition: padding-left 0.2s;
}
.contact-item:first-child { padding-top: 0; }
.contact-item:last-child { border-bottom: none; }
.contact-item:hover { padding-left: 0.5rem; }
.contact-icon {
  width: 40px; height: 40px;
  background: var(--blue-glow); border: 1px solid rgba(14,165,233,0.2);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-label {
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.3rem;
}
.contact-value { font-size: 0.95rem; color: var(--off-white); font-weight: 300; }
.contact-value a { color: inherit; text-decoration: none; transition: color 0.2s; }
.contact-value a:hover { color: var(--blue); }

/* --- Form --- */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group label {
  display: block; font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--dark2);
  border: 1px solid var(--border-white);
  color: var(--white); font-family: 'Outfit', sans-serif;
  font-size: 0.9rem; font-weight: 300;
  padding: 0.9rem 1.2rem; outline: none;
  transition: border-color 0.2s; border-radius: 2px; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue); background: var(--dark3);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.15); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group select option { background: var(--dark2); }
.form-submit {
  border: none; cursor: pointer;
  width: 100%; justify-content: center; font-size: 0.9rem;
}
.success-msg {
  display: none; margin-top: 1rem; padding: 1rem 1.2rem;
  background: rgba(14,165,233,0.1); border: 1px solid rgba(14,165,233,0.3);
  color: var(--blue); font-size: 0.85rem; border-radius: 2px;
}

/* --- FAQ --- */
.faq-list {
  max-width: 800px; margin: 3rem auto 0;
  display: flex; flex-direction: column; gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border-white);
}
.faq-question {
  padding: 1.5rem 0; cursor: pointer;
  font-family: 'Syne', sans-serif; font-weight: 600;
  font-size: 1.05rem; color: var(--white);
  list-style: none; position: relative;
  padding-right: 2rem;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+'; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%); font-size: 1.4rem;
  color: var(--blue); transition: transform 0.3s;
}
details[open] .faq-question::after {
  content: '−';
}
.faq-answer {
  padding: 0 0 1.5rem; font-size: 0.9rem;
  color: var(--muted); line-height: 1.7;
}
.faq-answer a { color: var(--blue); text-decoration: none; }
.faq-answer a:hover { text-decoration: underline; }
.faq-answer strong { color: var(--off-white); }

/* --- Blog Inline (onepage) --- */
.blog-inline-article {
  max-width: 900px; margin: 0 auto;
}
.blog-inline-details {
  border-bottom: 1px solid var(--border-white);
}
.blog-inline-summary {
  display: flex; align-items: flex-start; gap: 1.2rem;
  padding: 1.5rem 0; cursor: pointer;
  list-style: none; position: relative;
  padding-right: 2.5rem;
}
.blog-inline-summary::-webkit-details-marker { display: none; }
.blog-inline-summary::after {
  content: '+'; position: absolute; right: 0; top: 1.5rem;
  font-size: 1.5rem; color: var(--blue);
  font-weight: 300; transition: transform 0.3s;
}
details[open] > .blog-inline-summary::after { content: '\2212'; }
.blog-inline-icon {
  font-size: 1.8rem; flex-shrink: 0;
  margin-top: 0.1rem;
}
.blog-inline-summary h3 {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 1.1rem; color: var(--white);
  line-height: 1.3; margin-bottom: 0.4rem;
}
.blog-inline-excerpt {
  font-size: 0.82rem; color: var(--muted);
  line-height: 1.5;
}
.blog-inline-content {
  padding: 0 0 2rem 3.2rem;
  font-size: 0.9rem; color: var(--off-white);
  line-height: 1.8;
}
.blog-inline-content h4 {
  font-family: 'Syne', sans-serif; font-weight: 600;
  font-size: 1rem; color: var(--white);
  margin: 1.8rem 0 0.6rem;
}
.blog-inline-content p {
  margin-bottom: 1rem;
}
.blog-inline-content strong { color: var(--white); }
.blog-inline-content a { color: var(--blue); text-decoration: none; }
.blog-inline-content a:hover { text-decoration: underline; }
.blog-inline-content a.btn-primary { color: var(--black); text-decoration: none; }
.blog-inline-content a.btn-primary:hover { color: var(--white); text-decoration: none; }
.blog-inline-content ul {
  margin: 0.5rem 0 1.2rem 1rem; list-style: none;
}
.blog-inline-content ul li {
  position: relative; padding-left: 1.2rem;
  margin-bottom: 0.4rem;
}
.blog-inline-content ul li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue);
}

/* --- Blog Grid (index blog) --- */
.blog-hero {
  padding: 8rem 5rem 3rem; max-width: 900px;
}
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem; padding: 0 5rem 4rem;
}
.blog-card {
  display: flex; flex-direction: column;
  padding: 2rem; background: var(--dark2);
  border: 1px solid var(--border-white); border-radius: 3px;
  text-decoration: none; color: inherit;
  transition: border-color 0.3s, transform 0.3s;
}
.blog-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
}
.blog-card-icon { font-size: 2rem; margin-bottom: 1rem; }
.blog-card-tag {
  font-size: 0.65rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--blue);
  margin-bottom: 0.75rem; font-weight: 500;
}
.blog-card-title {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 1.1rem; color: var(--white);
  line-height: 1.3; margin-bottom: 0.75rem;
}
.blog-card-desc {
  font-size: 0.85rem; color: var(--muted);
  line-height: 1.6; flex: 1;
}
.blog-card-link {
  margin-top: 1.2rem; font-size: 0.8rem;
  color: var(--blue); font-weight: 500;
}
.blog-cta-section {
  text-align: center; padding: 4rem 5rem;
  border-top: 1px solid var(--border-white);
}
.blog-cta-section h2 {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 1.6rem; color: var(--white); margin-bottom: 0.75rem;
}
.blog-cta-section p {
  font-size: 0.9rem; color: var(--muted); margin-bottom: 1.5rem;
}
.blog-cta-section strong { color: var(--off-white); }

/* --- Blog Article --- */
.blog-article {
  max-width: 800px; margin: 0 auto;
  padding: 8rem 2rem 4rem;
}
.breadcrumb {
  font-size: 0.75rem; color: var(--muted);
  margin-bottom: 2rem; letter-spacing: 0.03em;
}
.breadcrumb a {
  color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--blue); }
.article-header { margin-bottom: 3rem; }
.article-meta {
  font-size: 0.8rem; color: var(--muted);
  margin-top: 1rem;
}
.article-content {
  font-size: 0.95rem; color: var(--off-white);
  line-height: 1.8;
}
.article-intro {
  font-size: 1.05rem; line-height: 1.8;
  color: var(--off-white); margin-bottom: 2.5rem;
  padding-bottom: 2rem; border-bottom: 1px solid var(--border-white);
}
.article-content h2 {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 1.4rem; color: var(--white);
  margin: 2.5rem 0 1rem; line-height: 1.3;
}
.article-content h3 {
  font-family: 'Syne', sans-serif; font-weight: 600;
  font-size: 1.1rem; color: var(--white);
  margin: 2rem 0 0.75rem;
}
.article-content p {
  margin-bottom: 1.2rem; color: var(--off-white);
}
.article-content strong { color: var(--white); }
.article-content a { color: var(--blue); text-decoration: none; }
.article-content a:hover { text-decoration: underline; }
.article-content a.btn-primary { color: var(--black); text-decoration: none; }
.article-content a.btn-primary:hover { color: var(--white); text-decoration: none; }
.article-content ul {
  margin: 0.5rem 0 1.5rem 1.2rem;
  list-style: none;
}
.article-content ul li {
  position: relative; padding-left: 1.2rem;
  margin-bottom: 0.5rem; color: var(--off-white);
}
.article-content ul li::before {
  content: ''; position: absolute; left: 0; top: 0.6em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
}
.article-table-wrap {
  overflow-x: auto; margin: 1.5rem 0 2rem;
}
.article-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.85rem;
}
.article-table th {
  text-align: left; padding: 0.75rem 1rem;
  font-family: 'Syne', sans-serif; font-weight: 600;
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--blue);
  border-bottom: 2px solid var(--border);
  background: var(--dark2);
}
.article-table td {
  padding: 0.75rem 1rem; color: var(--off-white);
  border-bottom: 1px solid var(--border-white);
}
.article-table tr:hover td { background: var(--dark2); }
.article-cta {
  margin: 3rem 0 0; padding: 2rem 0 0;
  border-top: 1px solid var(--border-white);
  text-align: center;
}
.blog-related,
.blog-nav {
  max-width: 800px; margin: 0 auto;
  padding: 0 2rem 4rem;
}
.blog-nav {
  border-top: 1px solid var(--border-white);
  padding-top: 2.5rem; margin-top: 1rem;
}
.blog-related h3,
.blog-nav h3 {
  font-family: 'Syne', sans-serif; font-weight: 600;
  font-size: 1rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
}
.blog-related ul,
.blog-nav ul { list-style: none; }
.blog-related li,
.blog-nav li {
  margin-bottom: 0; border-bottom: 1px solid var(--border-white);
}
.blog-related a,
.blog-nav ul a {
  color: var(--off-white); text-decoration: none;
  font-size: 0.9rem; transition: color 0.2s, padding-left 0.2s;
  display: block; padding: 0.9rem 0;
}
.blog-related a:hover,
.blog-nav ul a:hover {
  color: var(--blue); padding-left: 0.5rem;
}
.blog-nav-home {
  display: inline-block; margin-top: 1.5rem;
  font-size: 0.85rem; color: var(--blue);
  text-decoration: none; font-weight: 500;
  transition: letter-spacing 0.2s;
}
.blog-nav-home:hover { letter-spacing: 0.03em; }

/* --- Footer tagline --- */
.footer-tagline {
  font-size: 0.75rem; color: var(--muted);
  max-width: 400px;
}

/* --- Footer --- */
footer {
  background: var(--dark); padding: 2.5rem 5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid var(--border-white);
}
.footer-logo {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1.3rem; color: var(--white); letter-spacing: -0.02em;
}
.footer-logo span { color: var(--blue); }
.footer-copy { font-size: 0.78rem; color: var(--muted); }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a {
  font-size: 0.75rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--blue); }

/* --- Back to Top --- */
.back-to-top {
  position: fixed; bottom: 2rem; left: 2rem; z-index: 99;
  width: 44px; height: 44px;
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: 2px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover {
  background: var(--blue); border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14,165,233,0.3);
}
.back-to-top svg {
  width: 18px; height: 18px;
  stroke: var(--muted); stroke-width: 2;
  fill: none; transition: stroke 0.3s;
}
.back-to-top:hover svg { stroke: var(--black); }

/* --- Floating WhatsApp Button --- */
.floating-wa {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 99;
  width: 52px; height: 52px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all 0.3s;
}
.floating-wa:hover {
  background: #128C7E;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}
.floating-wa.hidden {
  opacity: 0; visibility: hidden; pointer-events: none;
}

/* --- Hero Visual --- */
.hero-visual {
  position: absolute; top: 50%; right: 5rem;
  transform: translateY(-50%);
  pointer-events: none; z-index: 1;
  animation: heroFloat 12s ease-in-out infinite, fadeUp 1.2s 0.8s ease both;
}
.hero-svg {
  width: 400px; height: 400px;
  opacity: 0.5;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(-50%) rotate(0deg); }
  50% { transform: translateY(-52%) rotate(3deg); }
}

/* --- Process --- */
#processus { background: var(--black); }
.process-track {
  display: flex; justify-content: space-between;
  position: relative; gap: 2rem; margin-top: 1rem;
}
.process-line {
  position: absolute; top: 28px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--blue), var(--cyan), var(--blue));
  opacity: 0.2;
}
.process-step {
  flex: 1; text-align: center; position: relative; z-index: 2;
}
.process-icon {
  width: 56px; height: 56px; margin: 0 auto 1.2rem;
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); transition: all 0.3s;
}
.process-step:hover .process-icon {
  border-color: var(--blue);
  box-shadow: 0 0 20px rgba(14,165,233,0.2);
  transform: translateY(-3px);
}
.process-num {
  font-family: 'Syne', sans-serif; font-size: 0.65rem;
  font-weight: 700; letter-spacing: 0.2em;
  color: var(--blue); margin-bottom: 0.5rem;
}
.process-name {
  font-family: 'Syne', sans-serif; font-size: 1rem;
  font-weight: 700; color: var(--white); margin-bottom: 0.5rem;
}
.process-desc {
  font-size: 0.8rem; color: var(--muted); font-weight: 300;
  line-height: 1.6; max-width: 200px; margin: 0 auto;
}

/* --- Stats Band --- */
.stats-band { background: var(--dark2); padding: 4rem 5rem; }
.stats-grid {
  display: flex; justify-content: space-around;
  gap: 2rem; text-align: center;
}
.stat-item { flex: 1; }
.stat-num {
  font-family: 'Syne', sans-serif; font-size: 3.5rem;
  font-weight: 800; color: var(--white);
  display: inline; line-height: 1;
}
.stat-suffix {
  font-family: 'Syne', sans-serif; font-size: 2rem;
  font-weight: 800; color: var(--blue);
}
.stat-label {
  display: block; margin-top: 0.5rem;
  font-size: 0.8rem; color: var(--muted);
  font-weight: 300; letter-spacing: 0.05em;
}

/* --- Trust --- */
#confiance { background: var(--dark); }
.trust-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 1px; background: var(--border-white);
}
.trust-logo {
  background: var(--dark2); padding: 2rem 1.5rem;
  display: flex; flex-direction: column; align-items: center;
  gap: 0.8rem; text-align: center;
  color: var(--muted); transition: all 0.3s;
}
.trust-logo svg { opacity: 0.5; transition: opacity 0.3s; }
.trust-logo:hover svg { opacity: 1; color: var(--blue); }
.trust-logo:hover { color: var(--white); }
.trust-logo span {
  font-size: 0.75rem; font-weight: 400;
  letter-spacing: 0.05em;
}

/* --- Testimonials --- */
#temoignages { background: var(--dark); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--dark2); padding: 2.5rem;
  border-left: 3px solid transparent;
  border-image: linear-gradient(to bottom, var(--blue), var(--cyan)) 1;
  position: relative;
  transition: transform 0.3s;
}
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-quote {
  font-size: 0.92rem; color: var(--off-white);
  font-weight: 300; line-height: 1.8;
  font-style: italic; margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex; align-items: center; gap: 1rem;
}
.testimonial-avatar { flex-shrink: 0; }
.testimonial-name {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 0.9rem; color: var(--white);
}
.testimonial-role {
  font-size: 0.75rem; color: var(--muted); font-weight: 300;
}

/* --- Blog Carousel --- */
#blog { background: var(--dark); }
.carousel-wrapper {
  position: relative; display: flex; align-items: center;
  gap: 1rem;
}
.carousel-track {
  display: flex; gap: 1.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding: 0.5rem 0;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  scroll-snap-align: start;
  background: var(--dark2); border: 1px solid var(--border-white);
  border-radius: 3px; overflow: hidden;
  height: 380px; display: flex; flex-direction: column;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  text-decoration: none; color: inherit;
}
.carousel-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(14,165,233,0.1);
}
.carousel-card-img {
  width: 100%; height: 140px; overflow: hidden;
  position: relative;
}
.carousel-card-img svg {
  width: 100%; height: 100%;
  display: block;
}
.carousel-card-body {
  padding: 1.5rem; display: flex; flex-direction: column;
  flex: 1;
}
.carousel-card-title {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 1.05rem; color: var(--white);
  line-height: 1.35; margin-bottom: 0.75rem;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.carousel-card-desc {
  font-size: 0.82rem; color: var(--muted);
  font-weight: 300; line-height: 1.7; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.carousel-card-link {
  font-size: 0.8rem; color: var(--blue);
  font-weight: 500; margin-top: 1rem;
  transition: letter-spacing 0.2s;
}
.carousel-card:hover .carousel-card-link { letter-spacing: 0.05em; }
.carousel-arrow {
  flex-shrink: 0; width: 44px; height: 44px;
  background: var(--dark2); border: 1px solid var(--border-white);
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: all 0.2s;
}
.carousel-arrow:hover {
  border-color: var(--blue); color: var(--blue);
  background: rgba(14,165,233,0.08);
}
.carousel-dots {
  display: flex; justify-content: center;
  gap: 0.5rem; margin-top: 1.5rem;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--muted); opacity: 0.3;
  border: none; cursor: pointer; padding: 0;
  transition: all 0.3s;
}
.carousel-dot.active {
  background: var(--blue); opacity: 1;
  transform: scale(1.2);
}

/* --- SR Only (SEO content) --- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --- Footer Enhanced --- */
footer {
  background: var(--dark); padding: 0;
  border-top: 1px solid var(--border-white);
}
.footer-main {
  display: grid; grid-template-columns: 1.2fr 2fr;
  gap: 4rem; padding: 4rem 5rem 3rem;
  align-items: start;
}
.footer-brand { position: relative; }
.footer-tagline {
  font-size: 0.85rem; color: var(--muted);
  line-height: 1.7; font-weight: 300;
  max-width: 280px; margin-top: 1rem;
}
.footer-deco {
  position: absolute; top: -10px; right: 0;
  opacity: 0.6;
}
.footer-nav {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col-title {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 0.75rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 1rem;
}
.footer-links {
  display: flex; flex-direction: column;
  gap: 0.6rem; list-style: none;
}
.footer-links a {
  font-size: 0.82rem; color: var(--muted);
  text-decoration: none; transition: color 0.2s;
  font-weight: 300; letter-spacing: 0;
  text-transform: none;
}
.footer-links li {
  font-size: 0.82rem; color: var(--muted);
  font-weight: 300;
}
.footer-links a:hover { color: var(--blue); }
.footer-bottom {
  padding: 1.5rem 5rem;
  border-top: 1px solid var(--border-white);
  text-align: center;
}

/* --- Responsive --- */

/* ≤ 1024px — Tablettes (portrait + paysage) */
@media (max-width: 1024px) {
  /* Nav hamburger */
  #nav, #nav.scrolled { padding: 1rem 2rem; }
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    position: fixed !important; top: 0 !important; left: 0 !important;
    width: 100vw !important; height: 100vh !important;
    background-color: #000000 !important;
    opacity: 1 !important;
    z-index: 9999 !important;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 2.5rem;
  }
  .nav-links a { font-size: 1rem; color: #ffffff; }
  .nav-links a:hover { color: #0EA5E9; }
  .nav-toggle { display: flex; z-index: 101; }
  .nav-toggle[aria-expanded="true"] {
    position: fixed; top: 1rem; right: 1.5rem;
    z-index: 10000; color: #ffffff;
  }
  .nav-toggle[aria-expanded="true"] span { background: #ffffff; }

  /* Hero */
  .hero { padding: 7rem 2rem 4rem; }
  .hero-visual { display: none; }
  .hero-stats {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.5rem; margin-top: 3rem; padding-top: 2rem;
  }
  .hero-stat-num { font-size: 2rem; }
  .scroll-hint { display: none; }

  /* Sections */
  section { padding: 6rem 2rem; }

  /* Grilles 3 → 2 col */
  .services-top { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .forfaits-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .realisations-header { grid-template-columns: 1fr; gap: 2rem; }

  /* Process 4 → 2×2 */
  .process-track { flex-wrap: wrap; justify-content: center; }
  .process-line { display: none; }
  .process-step { flex: 0 0 calc(50% - 1rem); text-align: center; }
  .process-desc { max-width: 100%; }

  /* Stats 2×2 */
  .stats-band { padding: 4rem 2rem; }
  .stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .stat-num { font-size: 2.5rem; }

  /* Trust 6 → 3 */
  .trust-grid { grid-template-columns: repeat(3, 1fr); }

  /* Testimonials 3 → 2 */
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

  /* Carousel 2 col */
  .carousel-card { flex: 0 0 calc(50% - 0.75rem); }
  .carousel-arrow { display: none; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }

  /* Footer */
  .footer-main { padding: 4rem 2rem 3rem; }
  .footer-deco { display: none; }
  .footer-bottom { padding: 1.5rem 2rem; }

  /* Blog */
  .blog-hero { padding: 7rem 2rem 2rem; }
  .blog-grid { padding: 0 2rem 3rem; }
  .blog-cta-section { padding: 3rem 2rem; }
  .blog-article { padding: 7rem 2rem 3rem; }
  .blog-related, .blog-nav { padding: 0 2rem 3rem; }

  /* Cursor off touch */
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
}

/* ≤ 768px — Mobile */
@media (max-width: 768px) {
  #nav, #nav.scrolled { padding: 1rem 1.5rem; }

  /* Hero */
  .hero { padding: 6rem 1.5rem 4rem; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 4rem); line-height: 1; }
  .hero-sub { font-size: 0.95rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .hero-stat-num { font-size: 1.9rem; }

  /* Sections */
  section { padding: 5rem 1.5rem; }

  /* Toutes les grilles → 1 col */
  .services-grid { grid-template-columns: 1fr; }
  .forfaits-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: 1fr; }

  /* Process → colonne */
  .process-track { flex-direction: column; gap: 2rem; }
  .process-step { flex: unset; width: 100%; text-align: center; }

  /* Stats */
  .stats-band { padding: 3rem 1.5rem; }

  /* Trust */
  .trust-grid { grid-template-columns: repeat(2, 1fr); }

  /* Testimonials → 1 col */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Carousel full-width */
  .carousel-card { flex: 0 0 85%; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  footer {
    display: flex; flex-direction: column;
    align-items: center; text-align: center;
    padding: 2rem 1.5rem;
  }
  .footer-main {
    grid-template-columns: 1fr; gap: 2rem;
    padding: 2rem 0; text-align: center; width: 100%;
  }
  .footer-tagline { margin: 1rem auto 0; }
  .footer-nav { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; width: 100%; }
  .footer-links { align-items: center; }
  .footer-bottom { padding: 1.5rem; text-align: center; width: 100%; }
  .footer-copy { text-align: center; }

  /* Blog */
  .blog-inline-summary { padding-right: 2rem; }
  .blog-inline-summary h3 { font-size: 0.95rem; }
  .blog-inline-content { padding-left: 0; }
  .blog-hero { padding: 6rem 1.5rem 2rem; }
  .blog-grid { grid-template-columns: 1fr; padding: 0 1.5rem 3rem; }
  .blog-cta-section { padding: 3rem 1.5rem; }
  .blog-article { padding: 6rem 1.5rem 3rem; }
  .blog-related, .blog-nav { padding: 0 1.5rem 3rem; }

  /* FAQ */
  .faq-question { font-size: 0.95rem; }
}

/* ≤ 480px — Très petits mobiles */
@media (max-width: 480px) {
  .hero { padding: 6rem 1rem 3rem; }
  .hero h1 { font-size: clamp(2rem, 12vw, 3rem); line-height: 1.05; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .hero-stats { gap: 0.8rem; }
  .hero-stat-num { font-size: 1.7rem; }
  section { padding: 4rem 1rem; }
  .section-title { font-size: clamp(1.6rem, 8vw, 2.4rem); }
  .forfait-price { font-size: 2.6rem; }
  .forfait-card { padding: 2rem 1.5rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-num { font-size: 2rem; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .parrainage-box { flex-direction: column; text-align: center; }
  .realisations-cta { padding: 2.5rem 1.5rem; }
  .footer-nav { grid-template-columns: 1fr; gap: 1rem; text-align: center; }
  .footer-main { padding: 2.5rem 1rem 1.5rem; }
  .blog-card { padding: 1.5rem; }
  .faq-question { font-size: 0.9rem; }
  .carousel-card { flex: 0 0 90%; }
  .article-intro { font-size: 0.95rem; }
  .testimonial-card { padding: 1.5rem; }
}
