:root {
  --primary: #0A2E5C;
  --primary-2: #1456A0;
  --primary-3: #2B7DE9;
  --accent: #00D4AA;
  --accent-dark: #00B891;
  --light-bg: #F0F6FF;
  --light-bg-2: #E3EEFF;
  --white: #FFFFFF;
  --ink: #0A1628;
  --muted: #5A6B85;
  --border: #D4E3F5;
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 20px;
  --dark-bg: #030E1C;
  --dark-card: #041629;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

button {
  border: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  font-size: 1rem;
  color: var(--ink);
}

small {
  font-size: 0.875rem;
}

section {
  padding: 80px 20px;
}

/* Les sections internes des pages de service n'héritent pas du padding global */
section.page-section {
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  box-shadow: none;
  transition: box-shadow 0.3s ease;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav-logo .dot {
  color: var(--accent);
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-cta {
  background: linear-gradient(140deg, var(--dark-bg) 0%, var(--primary) 40%, var(--primary-2) 70%, var(--primary) 100%);
  color: var(--white);
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  height: 24px;
  background: none;
  padding: 0;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero */
.hero {
  margin-top: 70px;
  background: linear-gradient(140deg, #041629 0%, var(--primary) 30%, var(--primary-2) 60%, #0A3D7A 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  top: -100px;
  left: -100px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  bottom: 10%;
  right: 5%;
  pointer-events: none;
}

.hero-content {
  max-width: 750px;
  z-index: 2;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(140deg, var(--dark-bg) 0%, var(--primary) 40%, var(--primary-2) 70%, var(--primary) 100%);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 46, 92, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  max-width: 750px;
  width: 100%;
  margin: 0 auto;
  margin-top: 40px;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.hero-stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Marquee */
.marquee-section {
  background: var(--light-bg);
  padding: 40px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee {
  display: flex;
  gap: 60px;
  animation: marquee 20s linear infinite;
  will-change: transform;
}

.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--ink);
}

.marquee-item::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Problem Section */
.problem {
  background: linear-gradient(150deg, #041629 0%, var(--primary) 50%, #0A3D7A 100%);
  color: var(--white);
  padding: 80px 20px;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 600;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.problem-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.problem-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.problem-card p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

/* Services Section */
.services {
  padding: 80px 20px;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.service-card:hover {
  background: var(--light-bg-2);
  border-color: var(--primary-3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10, 46, 92, 0.1);
}

.service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card h3 {
  color: var(--primary);
  font-size: 1.3rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* IA/GEO Section */
.ai-section {
  background: linear-gradient(140deg, var(--light-bg) 0%, var(--light-bg-2) 100%);
  padding: 80px 20px;
  border-top: 1px solid var(--border);
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 50px;
}

.ai-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}

.ai-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.ai-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* About Section */
.about {
  padding: 80px 20px;
  background: var(--white);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about h2 {
  color: var(--primary);
  margin-bottom: 30px;
  text-align: center;
}

.about p {
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Stats Section */
.stats {
  background: linear-gradient(150deg, #041629 0%, var(--primary) 50%, #0A3D7A 100%);
  color: var(--white);
  padding: 80px 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: var(--accent);
}

.stat-item p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
}

/* Process Section */
.process {
  padding: 80px 20px;
  background: var(--light-bg);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 50px;
}

.process-step {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(140deg, var(--primary) 0%, var(--primary-2) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.process-step h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.process-step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* FAQ Section */
.faq {
  padding: 80px 20px;
  background: var(--white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 50px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  background: var(--light-bg);
  color: var(--ink);
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--light-bg-2);
}

.faq-question.active {
  background: var(--primary-3);
  color: var(--white);
}

.faq-toggle {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-question.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  background: var(--white);
  color: var(--muted);
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  line-height: 1.7;
}

.faq-answer.open {
  max-height: 400px;
  padding: 20px 25px;
}

/* Contact Section */
.contact {
  padding: 80px 20px;
  background: var(--light-bg);
}

.contact-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0.5rem auto 1.25rem;
}

.contact-trust-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-trust-badges span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
}

.contact-trust-badges span svg {
  color: var(--accent);
  flex-shrink: 0;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 2px 20px rgba(10, 46, 92, 0.07);
  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: 6px;
}

.form-group label {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--light-bg);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.form-trust-note {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
  max-width: 240px;
}

/* Panel info droite */
.contact-info-panel {
  position: sticky;
  top: 100px;
}

.contact-info-inner {
  background: linear-gradient(160deg, var(--primary) 0%, #1a4a8a 100%);
  border-radius: var(--radius);
  padding: 2rem;
  color: white;
}

.contact-info-inner h3 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.contact-info-lead {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.contact-method-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.contact-method-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-method-text strong {
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-method-text a {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact-method-text a:hover {
  opacity: 0.8;
}

.contact-method-text span {
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
}

.contact-response-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 212, 170, 0.15);
  border: 1px solid rgba(0, 212, 170, 0.3);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 50px;
  margin-top: 1.5rem;
}

.info-content a {
  color: var(--primary-3);
  font-weight: 600;
  transition: color 0.3s ease;
}

.info-content a:hover {
  color: var(--accent);
}

/* CTA Section */
.cta {
  background: linear-gradient(140deg, var(--dark-bg) 0%, var(--primary) 40%, var(--primary-2) 70%, var(--primary) 100%);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
}

.cta h2 {
  margin-bottom: 20px;
  font-size: 2.5rem;
}

.cta p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background: var(--dark-bg);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}


/* Footer container (alias pour les pages service) */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li {
  font-size: 0.9rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  display: block;
}

.footer-logo span {
  color: var(--accent);
}

/* Breadcrumb */
.breadcrumb {
  padding: 20px;
  background: var(--light-bg);
  border-bottom: 1px solid var(--border);
  margin-top: 70px;
}

.breadcrumb-content {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: var(--muted);
}

.breadcrumb-content a {
  color: var(--primary-3);
  margin: 0 8px;
}

/* Fade-up animation */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Page Hero */
.page-hero {
  margin-top: 0;
  background: linear-gradient(140deg, #041629 0%, var(--primary) 30%, var(--primary-2) 60%, #0A3D7A 100%);
  color: var(--white);
  padding: 100px 20px;
  text-align: center;
}

.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

/* Page Content */
.page-content {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 30px;
}

.page-content h2 {
  color: var(--primary);
  margin: 1.8rem 0 0.8rem;
  font-size: 2rem;
}

.page-content h3 {
  color: var(--primary-2);
  margin: 1.4rem 0 0.5rem;
  font-size: 1.4rem;
}

.page-content p {
  color: var(--ink);
  margin-bottom: 15px;
  line-height: 1.8;
}

.page-content ul {
  margin: 20px 0;
  padding-left: 0;
  list-style: none;
}

.page-content li {
  display: flex;
  gap: 15px;
  margin-bottom: 12px;
  color: var(--ink);
}

.page-content li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 960px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  nav {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    padding: 20px;
  }

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

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

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

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

  .hero-card {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  section {
    padding: 60px 20px;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  nav {
    padding: 0 15px;
  }

  .nav-logo {
    font-size: 1.05rem;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .nav-cta {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .hero {
    padding: 40px 15px;
    min-height: 80vh;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .hero-buttons {
    gap: 12px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.85rem;
  }

  .hero-card {
    padding: 25px;
    gap: 20px;
  }

  .hero-stat-value {
    font-size: 1.8rem;
  }

  .marquee {
    gap: 40px;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  .problem-grid,
  .services-grid,
  .ai-grid,
  .stats-grid,
  .process-grid {
    gap: 20px;
  }

  .problem-card,
  .service-card,
  .ai-card,
  .process-step {
    padding: 25px;
  }

  .problem-card h3,
  .service-card h3,
  .ai-card h3,
  .process-step h3 {
    font-size: 1.1rem;
  }

  .problem-card p,
  .service-card p,
  .ai-card p,
  .process-step p {
    font-size: 0.9rem;
  }

  .contact-container {
    gap: 30px;
  }

  .contact-info {
    gap: 25px;
  }

  .info-block {
    gap: 15px;
  }

  .cta h2 {
    font-size: 1.8rem;
  }

  .cta p {
    font-size: 1rem;
  }

  .footer-content {
    gap: 30px;
  }

  .page-hero h1 {
    font-size: 1.6rem;
  }

  section {
    padding: 40px 15px;
  }

  .about p {
    font-size: 1rem;
  }
}

/* ============================================================
   SERVICE PAGE LAYOUT — sidebar + related services
   (Blue theme — referencement-naturel-tunisie)
   ============================================================ */

/* Layout 2 colonnes */
.service-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.service-main {
  min-width: 0;
}

.page-section {
  margin-bottom: 2.5rem;
}

.page-section h2 {
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 1rem !important;
}

.service-main > .page-section:first-child {
  margin-top: 0;
}

.service-main > .page-section:first-child h2 {
  margin-top: 0;
}

.service-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-services {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.sidebar-services h3 {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
}

.sidebar-services ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-services ul li a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  line-height: 1.4;
}


/* Annuler les puces page-content dans la sidebar */
.service-sidebar li,
.service-sidebar li::before,
.sidebar-services li,
.sidebar-services li::before {
  display: revert;
  content: none;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  margin-top: 0;
  flex-shrink: unset;
}

.sidebar-services ul li {
  display: block;
  margin-bottom: 0;
}

.sidebar-services ul li a::before {
  content: '→';
  color: var(--accent);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.sidebar-services ul li a:hover {
  background: var(--light-bg-2);
  color: var(--primary);
}

.sidebar-services ul li.active-service a {
  color: var(--primary);
  font-weight: 700;
  background: rgba(0, 212, 170, 0.1);
  border-left: 3px solid var(--accent);
  padding-left: calc(0.875rem - 3px);
}

.sidebar-cta {
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-2) 100%);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sidebar-cta::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 100px; height: 100px;
  background: rgba(43, 125, 233, 0.2);
  border-radius: 50%;
}

.sidebar-cta h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  position: relative;
}

.sidebar-cta p {
  color: rgba(255,255,255,0.75);
  font-size: 0.83rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
  position: relative;
}

.btn-sidebar-wp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #25D366;
  color: #fff !important;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
  text-decoration: none !important;
  transition: all 0.2s ease;
  position: relative;
}

.btn-sidebar-wp:hover {
  background: #128C7E;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
}

.btn-sidebar-devis {
  display: block;
  background: transparent;
  color: #fff !important;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.83rem;
  text-decoration: none !important;
  transition: all 0.2s ease;
  border: 2px solid rgba(255,255,255,0.45);
  letter-spacing: 0.01em;
}

.btn-sidebar-devis:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
}

/* Services connexes */
.related-services {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid var(--border);
}

.related-services h2 {
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
}

.related-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.related-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  display: block;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.related-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary-3));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.related-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 25px rgba(43,125,233,0.12);
  transform: translateY(-3px);
}

.related-card:hover::after {
  transform: scaleX(1);
}

.related-card-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  display: block;
}

.related-card h3 {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.related-card p {
  color: var(--muted);
  font-size: 0.83rem;
  margin: 0;
  line-height: 1.4;
}

.related-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-3);
  margin-top: 0.75rem;
  transition: gap 0.2s ease;
}

.related-card:hover .related-card-arrow {
  gap: 8px;
}

/* CTA in-page (highlight-box) */
.highlight-box {
  background: linear-gradient(135deg, var(--primary), #1a4a8a);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  margin: 2.5rem 0;
  color: #fff;
}

.highlight-box h3,
.highlight-box h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.highlight-box p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.25rem;
}

.highlight-box .btn-primary {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  border: none;
}

.highlight-box .btn-primary:hover {
  background: var(--accent);
  color: #fff;
}

.service-faq {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.service-faq h2 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .service-layout {
    grid-template-columns: 1fr;
  }
  .service-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .related-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .service-sidebar {
    grid-template-columns: 1fr;
  }
  .related-cards {
    grid-template-columns: 1fr;
  }
}
