/* =====================================================
   ARTISITEWEB - Style Premium Bleu Marine + Accent
   Design authentique et singulier
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* Sélection de texte personnalisée */
::selection {
  background: var(--blue);
  color: var(--white);
}

::-moz-selection {
  background: var(--blue);
  color: var(--white);
}

:root {
  /* Palette - BLEU MARINE PREMIUM */
  --blue: #1e3a5f;
  --blue-light: #2563eb;
  --blue-dark: #172554;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  
  /* Couleur d'accent - BLEU ÉLECTRIQUE */
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --accent-dark: #2563eb;
  --accent-50: #eff6ff;
  
  /* Fond subtil */
  --bg-light: #f8fafc;
  --bg-section: #f1f5f9;
  
  /* Grays */
  --black: #1a1a1a;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Footer sombre */
  --footer-bg: #1e2a35;
  --footer-text: #94a3b8;
  
  /* Typos */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --section-padding: 100px;
  --container-width: 1200px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 15px 40px rgba(0,0,0,0.08);
  --shadow-card: 0 2px 15px rgba(0,0,0,0.04);
  
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(3deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.05); }
}

@keyframes morph {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

/* === DECORATIVE ELEMENTS - MODERN SaaS STYLE === */
.deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* Bulle floue subtile */
.deco-blob {
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.04;
  filter: blur(60px);
}

/* Bulle plus intense */
.deco-blob-accent {
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.06;
  filter: blur(80px);
}

/* Bulle claire */
.deco-blob-light {
  border-radius: 50%;
  background: var(--blue-200);
  opacity: 0.15;
  filter: blur(40px);
}

/* Gradient radial subtil */
.deco-glow {
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue) 0%, transparent 70%);
  opacity: 0.05;
}
}

.deco-float-slow {
  animation: floatSlow 12s ease-in-out infinite;
}

.deco-pulse {
  animation: pulse 6s ease-in-out infinite;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--blue-dark);
}

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

/* --- Container --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--blue-50);
  transform: translateY(-2px);
}

.btn-white-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-white-outline:hover {
  background: var(--white);
  color: var(--blue);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* --- Section Label --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-label svg {
  width: 18px;
  height: 18px;
}

/* ================================
   HEADER
   ================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-900);
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo span:first-of-type {
  font-weight: 700;
}

.logo span:last-of-type {
  color: var(--blue);
  font-style: italic;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.header-phone:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.header-badge {
  background: var(--accent);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  animation: subtlePulse 2s ease-in-out infinite;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

@keyframes subtlePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* Mobile menu toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  transition: all 0.3s ease;
}

/* ================================
   HERO
   ================================ */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
  overflow: hidden;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 24px;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--gray-900);
}

.hero h1 span {
  color: var(--blue);
  font-style: italic;
  position: relative;
  display: inline-block;
}

/* Soulignement ondulé hand-drawn */
.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10'%3E%3Cpath d='M0 5 Q 12.5 0, 25 5 T 50 5 T 75 5 T 100 5' stroke='%231e3a5f' stroke-width='2' fill='none' opacity='0.3'/%3E%3C/svg%3E") repeat-x;
  background-size: 50px 8px;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

/* Trust badges */
.hero-trust {
  display: flex;
  gap: 24px;
  margin-bottom: 48px;
}

.hero-trust span {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}

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

.hero-stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--blue);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  animation: fadeIn 1s ease-out 0.3s both;
  min-height: 350px;
}

.hero-illustration {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.hero-illustration svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(30, 58, 95, 0.15));
}

.hero-image-wrapper {
  position: relative;
  background: var(--gray-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.9rem;
}

/* Floating badge on hero */
.hero-floating-badge {
  position: absolute;
  top: 20px;
  right: 0;
  background: var(--white);
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-floating-badge .number {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.hero-floating-badge .label {
  font-size: 0.85rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* Location badge */
.hero-location-badge {
  position: absolute;
  bottom: 20px;
  left: 0;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatBadge 3s ease-in-out infinite;
  animation-delay: 1.5s;
}

.hero-location-badge .icon {
  width: 40px;
  height: 40px;
  background: var(--blue-50);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-location-badge .icon svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.hero-location-badge .text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--gray-900);
}

.hero-location-badge .text span {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ================================
   SECTION STYLES
   ================================ */
section {
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-500);
}

/* ================================
   STEPS / COMMENT CA MARCHE
   ================================ */
.steps-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

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

.step-card {
  position: relative;
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.step-card:hover {
  border-color: var(--blue-100);
  box-shadow: 0 20px 40px rgba(30, 58, 95, 0.12);
  transform: translateY(-10px);
}

.step-number {
  position: absolute;
  top: -16px;
  left: 32px;
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

.step-card:hover .step-number {
  transform: scale(1.1);
  background: var(--accent);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  margin-top: 8px;
}

.step-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ================================
   NOTRE OFFRE
   ================================ */
.offer-section {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.offer-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
}

.offer-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 32px;
}

.offer-price {
  text-align: center;
}

.price-main {
  display: block;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--blue);
  line-height: 1;
}

.price-sub {
  font-size: 1rem;
  color: var(--gray-500);
}

.offer-plus {
  font-size: 2rem;
  color: var(--gray-300);
  font-weight: 300;
}

.offer-payment {
  text-align: center;
  color: var(--blue);
  font-weight: 500;
  font-size: 0.95rem;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.offer-includes h3 {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 32px;
  color: var(--gray-700);
}

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

.offer-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  cursor: default;
}

.offer-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  background: var(--white);
}

.offer-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--blue-50);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.offer-item:hover .offer-icon {
  background: var(--blue);
}

.offer-item:hover .offer-icon svg {
  color: var(--white);
}

.offer-icon svg {
  width: 24px;
  height: 24px;
  color: var(--blue);
  transition: all 0.3s ease;
}

.offer-item strong {
  display: block;
  font-size: 1rem;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.offer-item p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin: 0;
}

.offer-cta {
  text-align: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-100);
}

.offer-cta p {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--gray-400);
}

/* ================================
   REALISATIONS
   ================================ */
.realisations-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

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

.realisation-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  display: block;
  color: inherit;
  border: 1px solid transparent;
}

.realisation-card:hover {
  box-shadow: 0 25px 50px rgba(30, 58, 95, 0.15);
  transform: translateY(-12px);
  border-color: var(--blue-100);
}

.realisation-image {
  aspect-ratio: 16/10;
  background: var(--gray-100);
  overflow: hidden;
}

.realisation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.realisation-card:hover .realisation-image img {
  transform: scale(1.1);
}

.realisation-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.85rem;
}

.realisation-content {
  padding: 24px;
}

.realisation-content h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.realisation-content p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* ================================
   ABOUT / A PROPOS
   ================================ */
.about-section {
  background: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-grid.about-centered {
  grid-template-columns: 1fr;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-centered .about-content {
  text-align: center;
}

.about-centered .section-label {
  justify-content: center;
}

.about-centered .about-features {
  justify-content: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  background: var(--gray-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
}

.about-badge {
  position: absolute;
  top: 24px;
  right: -20px;
  background: var(--white);
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: floatBadge 3s ease-in-out infinite;
}

.about-badge .number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--blue);
  display: block;
}

.about-badge .label {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.about-content h2 {
  margin-bottom: 24px;
}

.about-content .lead {
  font-size: 1.1rem;
  color: var(--gray-700);
  margin-bottom: 24px;
  line-height: 1.7;
}

.about-content p {
  color: var(--gray-500);
  margin-bottom: 32px;
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-feature {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--blue-50);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--blue);
}

.about-feature svg {
  width: 18px;
  height: 18px;
}

/* ================================
   TEAM / EQUIPE
   ================================ */
.team-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

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

.team-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 32px;
  background: var(--bg-light);
  border-radius: var(--radius-xl);
  align-items: center;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid transparent;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(30, 58, 95, 0.1);
  border-color: var(--blue-100);
  background: var(--white);
}

.team-photo {
  width: 200px;
  height: 240px;
  background: var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-card:hover .team-photo img {
  transform: scale(1.05);
}

.team-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.85rem;
}

.team-info h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.team-role {
  color: var(--blue);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.team-bio {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-tag {
  padding: 6px 14px;
  background: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--gray-600);
}

/* ================================
   CTA SECTION (Fond vert avec motif)
   ================================ */
.cta-section {
  background: var(--blue);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 0;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ================================
   FORM SECTION
   ================================ */
.form-section {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.form-info h2 {
  margin-bottom: 16px;
}

.form-info > p {
  color: var(--gray-500);
  margin-bottom: 32px;
}

.form-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.form-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: default;
}

.form-benefit:hover {
  background: var(--blue-50);
  transform: translateX(5px);
}

.form-benefit .icon {
  width: 24px;
  height: 24px;
  background: var(--blue-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.form-benefit:hover .icon {
  background: var(--accent);
}

.form-benefit:hover .icon svg {
  color: var(--white);
}

.form-benefit .icon svg {
  width: 14px;
  height: 14px;
  color: var(--blue);
  transition: color 0.3s ease;
}

.form-benefit span {
  color: var(--gray-600);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.form-benefit:hover span {
  color: var(--gray-800);
}

/* Testimonials in form */
.form-testimonials {
  border-top: 1px solid var(--gray-200);
  padding-top: 32px;
}

.form-testimonials h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.testimonial-mini {
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.testimonial-mini:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 58, 95, 0.1);
  border-color: var(--blue-100);
}

.testimonial-mini-stars {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.testimonial-mini p {
  font-size: 0.9rem;
  color: var(--gray-600);
  font-style: italic;
  margin-bottom: 12px;
}

.testimonial-mini-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-mini-avatar {
  width: 36px;
  height: 36px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.3s ease;
}

.testimonial-mini:hover .testimonial-mini-avatar {
  background: var(--accent);
}

.testimonial-mini-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
}

.testimonial-mini-role {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* Form Card */
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 32px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-50);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

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

.form-section-title {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-100);
}

.form-section-title:first-of-type {
  margin-top: 0;
}

/* RGPD Consent */
.form-consent {
  margin-top: 24px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.consent-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  accent-color: var(--blue);
  cursor: pointer;
}

.consent-text {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.consent-text a {
  color: var(--blue);
  text-decoration: underline;
}

.consent-error {
  display: none;
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 8px;
  padding: 8px 12px;
  background: #fef2f2;
  border-radius: var(--radius);
  border-left: 3px solid #dc2626;
}

.consent-error.show {
  display: block;
}

/* Form Submit */
.form-submit {
  margin-top: 32px;
}

.form-submit .btn {
  width: 100%;
}

.form-reassurance {
  text-align: center;
  color: var(--gray-400);
  font-size: 0.85rem;
  margin-top: 16px;
}

/* Form Success */
.form-success {
  text-align: center;
  padding: 50px 30px;
  animation: fadeInUp 0.6s ease;
}

/* Badge "Envoyé !" */
.success-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}

/* Gros cercle avec check */
.success-number {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2.5rem;
  color: white;
  font-weight: 700;
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.3);
}

.form-success h4 {
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 10px;
  font-weight: 700;
}

.form-success > p {
  color: var(--gray-500);
  font-size: 1rem;
  margin-bottom: 30px;
}

/* Les 3 étapes */
.success-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.success-step {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.success-step-num {
  width: 32px;
  height: 32px;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  flex-shrink: 0;
}

.success-step-line {
  width: 2px;
  height: 20px;
  background: var(--blue-200);
  border-radius: 2px;
}

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

/* ================================
   BLOG
   ================================ */
.blog-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

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

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
  border: 1px solid transparent;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(30, 58, 95, 0.15);
  border-color: var(--blue-100);
}

.blog-card-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--blue-100) 100%);
  overflow: hidden;
  display: block;
  position: relative;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.08);
}

.blog-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--blue-100) 100%);
}

.blog-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.blog-card:hover .blog-card-tag {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.blog-card-content {
  padding: 24px 20px;
}

.blog-card-date {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 500;
  margin-bottom: 8px;
}

.blog-card-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card-content h3 a {
  color: var(--gray-900);
  text-decoration: none;
}

.blog-card-content h3 a:hover {
  color: var(--blue);
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  transition: all 0.3s ease;
}

.blog-card-link:hover {
  color: var(--accent);
}

.blog-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.blog-card-link:hover svg {
  transform: translateX(5px);
}

/* ================================
   FOOTER
   ================================ */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
}

.footer-logo svg {
  width: 36px;
  height: 36px;
}

.footer-logo span:last-child {
  color: var(--blue-light);
  font-style: italic;
}

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

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--footer-text);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.footer-contact-item strong {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.9rem;
  color: var(--footer-text);
}

.footer-legal a:hover {
  color: var(--white);
}

/* ================================
   BACK TO TOP
   ================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 50px;
  height: 50px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--blue-dark);
  transform: translateY(-4px);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

/* ================================
   COOKIE POPUP
   ================================ */
.cookie-popup {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease-out;
}

.cookie-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-popup-content {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.cookie-text h4 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.cookie-text p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 4px;
}

.cookie-link {
  font-size: 0.85rem;
  color: var(--blue);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  flex: 1;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.cookie-btn-accept {
  background: var(--blue);
  color: var(--white);
}

.cookie-btn-accept:hover {
  background: var(--blue-dark);
}

.cookie-btn-refuse {
  background: var(--gray-100);
  color: var(--gray-600);
}

.cookie-btn-refuse:hover {
  background: var(--gray-200);
}

.cookie-popup.hide {
  opacity: 0;
  transform: translateY(20px);
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 900px) {
  :root {
    --section-padding: 80px;
  }
  
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.25rem; }
  
  .nav-links {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .header-phone span {
    display: none;
  }
  
  .header-phone {
    padding: 12px;
  }
  
  .steps-grid,
  .services-grid,
  .realisations-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .team-card {
    grid-template-columns: 160px 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero-floating-badge,
  .hero-location-badge,
  .hero-illustration,
  .hero-visual,
  .about-badge,
  .deco {
    display: none;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  :root {
    --section-padding: 60px;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  
  .steps-grid,
  .services-grid,
  .realisations-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .team-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .team-photo {
    width: 150px;
    height: 180px;
    margin: 0 auto;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .form-card {
    padding: 24px;
  }
  
  .cookie-popup {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  
  .cookie-popup-content {
    max-width: 100%;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}

/* ================================
   ARTICLE / POST STYLES
   ================================ */
.article {
  padding: 160px 0 80px;
}

.article-header {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
}

.article-meta {
  font-size: 0.9rem;
  color: var(--blue);
  margin-bottom: 16px;
}

.article-header h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
}

.article-excerpt {
  font-size: 1.2rem;
  color: var(--gray-500);
}

.article-image {
  max-width: 700px;
  margin: 0 auto 48px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
}

.article-content {
  max-width: 700px;
  margin: 0 auto;
}

.article-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.article-content h2 {
  font-size: 1.75rem;
  margin: 48px 0 24px;
}

.article-content h3 {
  font-size: 1.35rem;
  margin: 36px 0 16px;
}

.article-content ul,
.article-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.article-content blockquote {
  margin: 2rem 0;
  padding: 24px 32px;
  background: var(--blue-50);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-content blockquote p {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--gray-700);
  margin: 0;
}

.article-content a {
  color: var(--blue);
  text-decoration: underline;
}

.article-content img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 2rem 0;
}

/* Page styles */
.page-content {
  padding: 160px 0 80px;
}

.page-content .container {
  max-width: 800px;
}

.page-content h1 {
  margin-bottom: 32px;
}

.page-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* ================================
   GHOST KOENIG EDITOR REQUIRED CLASSES
   ================================ */

/* Image widths */
.kg-width-wide {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.kg-width-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.kg-width-full img {
  width: 100%;
}

/* Image card */
.kg-image-card {
  margin: 2rem 0;
}

.kg-image-card img {
  max-width: 100%;
  height: auto;
}

.kg-image-card figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-top: 12px;
}

/* Gallery card */
.kg-gallery-card {
  margin: 2rem 0;
}

.kg-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kg-gallery-row {
  display: flex;
  gap: 1rem;
}

.kg-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Bookmark card */
.kg-bookmark-card {
  margin: 2rem 0;
}

.kg-bookmark-container {
  display: flex;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
}

.kg-bookmark-content {
  flex: 1;
  padding: 20px;
}

.kg-bookmark-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.kg-bookmark-description {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 12px;
}

.kg-bookmark-metadata {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.kg-bookmark-icon {
  width: 20px;
  height: 20px;
}

.kg-bookmark-thumbnail {
  width: 200px;
  flex-shrink: 0;
}

.kg-bookmark-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Callout card */
.kg-callout-card {
  margin: 2rem 0;
  padding: 20px 24px;
  border-radius: var(--radius);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.kg-callout-card-grey {
  background: var(--gray-100);
}

.kg-callout-card-white {
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.kg-callout-card-blue {
  background: #e0f2fe;
}

.kg-callout-card-green {
  background: var(--blue-50);
}

.kg-callout-card-yellow {
  background: #fef3c7;
}

.kg-callout-card-red {
  background: #fee2e2;
}

.kg-callout-card-pink {
  background: #fce7f3;
}

.kg-callout-card-purple {
  background: #f3e8ff;
}

.kg-callout-emoji {
  font-size: 1.25rem;
}

.kg-callout-text {
  font-size: 1rem;
  line-height: 1.6;
}

/* Button card */
.kg-button-card {
  margin: 2rem 0;
  text-align: center;
}

.kg-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

.kg-btn-accent {
  background: var(--blue);
  color: var(--white);
}

.kg-btn-accent:hover {
  background: var(--blue-dark);
}

/* Toggle card */
.kg-toggle-card {
  margin: 2rem 0;
  background: var(--gray-50);
  border-radius: var(--radius);
  overflow: hidden;
}

.kg-toggle-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
}

.kg-toggle-content {
  padding: 0 20px 16px;
}

/* Video & audio cards */
.kg-video-card,
.kg-audio-card {
  margin: 2rem 0;
}

.kg-video-card video,
.kg-audio-card audio {
  width: 100%;
  border-radius: var(--radius);
}

/* File card */
.kg-file-card {
  margin: 2rem 0;
}

.kg-file-card-container {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--gray-50);
  border-radius: var(--radius);
}

.kg-file-card-title {
  font-weight: 600;
  color: var(--gray-900);
}

.kg-file-card-caption {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* Product card */
.kg-product-card {
  margin: 2rem 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.kg-product-card-image img {
  width: 100%;
}

.kg-product-card-container {
  padding: 20px;
}

.kg-product-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.kg-product-card-description {
  color: var(--gray-600);
}

/* Header card */
.kg-header-card {
  margin: 2rem 0;
  padding: 80px 40px;
  text-align: center;
  border-radius: var(--radius-lg);
}

.kg-header-card h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.kg-header-card p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Embed & HTML cards */
.kg-embed-card,
.kg-html-card {
  margin: 2rem 0;
}

.kg-embed-card iframe {
  width: 100%;
  border-radius: var(--radius);
}

/* NFT card */
.kg-nft-card {
  margin: 2rem 0;
}

/* Page feature image */
.page-feature-image {
  margin: -80px auto 40px;
  max-width: 900px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.page-feature-image img {
  width: 100%;
  height: auto;
}

/* Offer responsive */
@media (max-width: 768px) {
  .offer-card {
    padding: 32px 24px;
  }
  
  .offer-header {
    flex-direction: row;
    gap: 16px;
    flex-wrap: nowrap;
  }
  
  .offer-plus {
    font-size: 1.5rem;
  }
  
  .price-main {
    font-size: 2rem;
  }
  
  .price-sub {
    font-size: 0.85rem;
  }
  
  .offer-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   Instagram Section
   ================================ */
.instagram-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.instagram-item {
  aspect-ratio: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.instagram-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.instagram-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--blue-100) 100%);
  color: var(--blue);
}

@media (max-width: 900px) {
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Instagram link in nav */
.nav-instagram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--blue-50);
  transition: all 0.3s ease;
}

.nav-instagram:hover {
  background: var(--blue);
}

.nav-instagram svg {
  color: var(--blue);
  transition: all 0.3s ease;
}

.nav-instagram:hover svg {
  color: var(--white);
}

/* Instagram link in footer */
.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--gray-300);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-instagram:hover {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}

.footer-instagram svg {
  color: inherit;
}

/* Logo text style (pour utiliser dans les titres) */
.logo-text {
  font-family: var(--font-serif);
}

.logo-text span:first-child {
  font-weight: 700;
}

.logo-text span:last-child {
  color: var(--blue);
  font-style: italic;
}

/* Article author */
.article-author {
  max-width: 700px;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--gray-100);
  font-size: 0.95rem;
  color: var(--gray-500);
}

.article-author strong {
  color: var(--gray-700);
}

/* Ghost content class */
.gh-content {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.gh-content > * + * {
  margin-top: 1.5rem;
}

/* ================================
   MOBILE OPTIMIZATIONS
   ================================ */

/* Menu mobile */
@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    padding: 16px 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    text-align: center;
  }
  
  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 2px !important;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
  }
  
  .nav-links li {
    width: 100%;
  }
  
  .nav-links li a {
    display: block;
    padding: 10px 12px;
    font-size: 0.9rem;
    border-radius: var(--radius);
    transition: background 0.2s ease;
    color: var(--gray-700);
    text-align: center;
  }
  
  .nav-links li a:hover {
    background: var(--blue-50);
    color: var(--blue);
  }
  
  .nav-instagram {
    width: 32px !important;
    height: 32px !important;
    padding: 6px !important;
    margin: 4px auto !important;
  }
  
  .header-cta {
    display: flex;
    justify-content: center;
    padding-top: 8px;
  }
  
  .header-phone {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    padding: 10px 16px !important;
    font-size: 0.85rem;
    gap: 8px;
    background: var(--blue) !important;
    color: white !important;
    border-radius: 50px;
  }
  
  .header-phone span {
    display: inline !important;
  }
  
  .header-badge {
    font-size: 0.65rem !important;
    padding: 2px 6px !important;
    background: white !important;
    color: var(--blue) !important;
  }
  
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* Optimisations mobile générales */
@media (max-width: 640px) {
  /* Hero */
  .hero {
    padding: 100px 0 50px;
  }
  
  .hero h1 {
    font-size: 1.85rem;
    line-height: 1.2;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  /* Trust badges - sur une ligne, centrés */
  .hero-trust {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
  }
  
  .hero-trust span {
    font-size: 0.7rem;
    white-space: nowrap;
  }
  
  /* About features - sur une ligne, centrés */
  .about-features {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 8px;
  }
  
  .about-feature {
    padding: 6px 10px;
    font-size: 0.7rem;
    gap: 4px;
  }
  
  .about-feature svg {
    width: 14px;
    height: 14px;
  }
  
  /* About section centrée sur mobile */
  .about-content {
    text-align: center;
  }
  
  .hero-stats {
    gap: 16px;
  }
  
  .hero-stat-number {
    font-size: 1.75rem;
  }
  
  .hero-stat-label {
    font-size: 0.75rem;
  }
  
  /* Section headers */
  .section-header h2 {
    font-size: 1.6rem;
  }
  
  .section-header p {
    font-size: 0.95rem;
  }
  
  /* Prix - reste côte à côte */
  .offer-header {
    gap: 12px;
  }
  
  .price-main {
    font-size: 1.8rem;
  }
  
  .price-sub {
    font-size: 0.8rem;
  }
  
  .offer-plus {
    font-size: 1.2rem;
  }
  
  /* Offer items */
  .offer-item {
    padding: 16px;
  }
  
  .offer-item h4 {
    font-size: 0.95rem;
  }
  
  .offer-item p {
    font-size: 0.8rem;
  }
  
  /* Team */
  .team-card {
    padding: 20px;
  }
  
  .team-info h3 {
    font-size: 1.25rem;
  }
  
  .team-bio {
    font-size: 0.9rem;
  }
  
  .team-tags {
    gap: 6px;
  }
  
  .team-tag {
    font-size: 0.75rem;
    padding: 4px 8px;
  }
  
  /* Formulaire */
  .form-intro h2 {
    font-size: 1.5rem;
  }
  
  .form-card h3 {
    font-size: 1.25rem;
  }
  
  .form-section-title {
    font-size: 0.9rem;
  }
  
  /* Testimonials */
  .testimonial-mini p {
    font-size: 0.9rem;
  }
  
  /* CTA */
  .cta-section h2 {
    font-size: 1.5rem;
  }
  
  /* Blog cards */
  .blog-card-content h3 {
    font-size: 1rem;
  }
  
  /* Article - éviter scroll horizontal */
  .article {
    padding: 120px 0 60px;
    overflow-x: hidden;
  }
  
  .article-header h1 {
    font-size: 1.6rem;
    word-wrap: break-word;
  }
  
  .article-content {
    overflow-x: hidden;
    word-wrap: break-word;
  }
  
  .article-content img {
    max-width: 100%;
    height: auto;
  }
  
  .article-content pre {
    overflow-x: auto;
    max-width: 100%;
  }
  
  /* Footer */
  .footer {
    padding: 48px 0 24px;
  }
  
  .footer-logo {
    font-size: 1.2rem;
  }
  
  .footer h4 {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }
  
  .footer-links li a {
    font-size: 0.85rem;
  }
}

/* Très petit écran */
@media (max-width: 380px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  
  .hero-trust {
    gap: 6px;
  }
  
  .hero-trust span {
    font-size: 0.6rem;
  }
  
  .about-features {
    gap: 4px;
  }
  
  .about-feature {
    padding: 5px 8px;
    font-size: 0.6rem;
  }
  
  .about-feature svg {
    width: 12px;
    height: 12px;
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .btn-large {
    padding: 14px 24px;
  }
  
  .price-main {
    font-size: 1.6rem;
  }
  
  .section-header h2 {
    font-size: 1.4rem;
  }
  
  .offer-header {
    gap: 8px;
  }
}


/* ===========================================
   BARRE DE PROGRESSION DE LECTURE
   =========================================== */

.reading-progress-container {
    position: fixed;
    top: 80px; /* Juste sous le header */
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--blue-100);
    z-index: 999;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.reading-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--blue));
    border-radius: 0 3px 3px 0;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px var(--accent);
}

/* Temps de lecture */
.reading-time {
    color: var(--accent);
    font-weight: 500;
}

/* Responsive barre de progression */
@media (max-width: 768px) {
    .reading-progress-container {
        top: 70px; /* Header mobile plus petit */
        height: 4px;
    }
}

/* Bouton en cours d'envoi */
.btn-sending {
    opacity: 0.7;
    pointer-events: none;
}

