/* Reset and Base Styles */
:root {
  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  /* Header (#202834) et harmonie bleu-gris — palette plus lumineuse */
  --header-bg: #202834;
  --primary: #5a8ab4;
  --primary-dark: #41709d;
  --primary-light: #7aaed4;
  --surface-light: #eaeef3;
  --surface-card: #f4f6f9;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 40px -12px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-border: rgba(32, 40, 52, 0.08);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  /* Liquid Glass / Glassmorphism (bien visible) */
  --glass-bg: rgba(255, 255, 255, 0.25);
  --glass-border: 2px solid rgba(255, 255, 255, 0.85);
  --glass-blur: 28px;
  --glass-shadow: 0 8px 32px rgba(32, 40, 52, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  --glass-shadow-hover: 0 24px 56px rgba(32, 40, 52, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

/* Effet chatoyant — reflet lumineux */
@keyframes shimmer {
  0% { transform: translateX(-100%) skewX(-12deg); opacity: 0; }
  40% { opacity: 0.5; }
  100% { transform: translateX(150%) skewX(-12deg); opacity: 0; }
}

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

body {
  font-family: var(--font-body);
  line-height: 1.65;
  color: var(--color-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--header-bg);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.nav-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.65rem;
  font-weight: 700;
  color: #E0E4E7;
  text-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.45),
    0 -2px 4px rgba(255, 255, 255, 0.2),
    0 1px 0 rgba(0, 0, 0, 0.25),
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 4px 8px rgba(0, 0, 0, 0.25),
    0 8px 16px rgba(0, 0, 0, 0.2);
}

.nav-logo img.nav-logo-img {
  height: 6.5rem;
  width: auto;
  min-width: 140px;
  margin-right: 0.5rem;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu li {
  display: flex;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: #E0E4E7;
  font-weight: 500;
  transition: color 0.35s ease, text-shadow 0.35s ease, letter-spacing 0.35s ease;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  position: relative;
  letter-spacing: 0.02em;
  text-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.35),
    0 -2px 3px rgba(255, 255, 255, 0.12),
    0 1px 0 rgba(0, 0, 0, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.25),
    0 4px 8px rgba(0, 0, 0, 0.18);
}

.nav-menu a::after {
  display: none;
}

.nav-menu a:hover {
  color: #E4FCFF;
  letter-spacing: 0.06em;
  text-shadow:
    0 0 8px rgba(108, 232, 255, 0.6),
    0 0 16px rgba(108, 232, 255, 0.4),
    0 0 24px rgba(58, 127, 190, 0.35),
    0 -1px 0 rgba(228, 252, 255, 0.9),
    0 -2px 4px rgba(228, 252, 255, 0.4),
    0 1px 0 rgba(0, 0, 0, 0.15),
    0 2px 4px rgba(0, 0, 0, 0.2);
}


/* Masquer temporairement le lien Portfolio */
.nav-menu li:has(a[href="#portfolio"]) {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #E0E4E7;
  margin: 3px 0;
  transition: background 0.35s ease, box-shadow 0.35s ease;
  border-radius: 2px;
}

.hamburger:hover span {
  background: #E4FCFF;
  box-shadow:
    0 0 8px rgba(108, 232, 255, 0.6),
    0 0 12px rgba(108, 232, 255, 0.4),
    0 0 16px rgba(58, 127, 190, 0.35);
}

/* Hero Section — design innovant */
.hero {
  min-height: 100vh;
  padding-top: 8.75rem; /* hauteur navbar fixe : logo 6.5rem + padding 2rem */
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #244a5e 0%, #2d5a72 25%, #3d7090 50%, #4a85a8 75%, #5a8ab4 100%);
  color: white;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: hero-blob-float 18s ease-in-out infinite;
}

.hero-blob-1 {
  width: 60vmin;
  height: 60vmin;
  background: #7aaed4;
  top: -20%;
  right: -10%;
  animation-delay: 0s;
}

.hero-blob-2 {
  width: 50vmin;
  height: 50vmin;
  background: #7aaed4;
  bottom: -15%;
  left: -10%;
  animation-delay: -6s;
}

.hero-blob-3 {
  width: 40vmin;
  height: 40vmin;
  background: #06b6d4;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.2;
  animation-delay: -12s;
}

@keyframes hero-blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-container > * {
  flex: 1 1 400px;
  min-width: 0;
}

.hero-content {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.1) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 28px;
  padding: 3rem;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    2px 2px 12px rgba(255, 255, 255, 0.25) inset;
}

.hero-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  border-radius: 28px 28px 0 0;
  pointer-events: none;
  z-index: 0;
}

.hero-content > * {
  position: relative;
  z-index: 1;
}

.hero-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
}

/* Hero title: fluid reveal animation */
@keyframes hero-title-reveal {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes hero-title-line-reveal {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #fff 0%, #e8f0fa 50%, #d4e4f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  animation: hero-title-reveal 6s cubic-bezier(0.5, 0, 0.75, 1) 0.2s forwards;
}

.hero-title-line {
  display: block;
  width: 120px;
  height: 6px;
  background: linear-gradient(90deg, #5a8ab4 0%, #7aaed4 35%, #06b6d4 70%, #22d3ee 100%);
  border-radius: 3px;
  margin-bottom: 2rem;
  box-shadow: 0 0 24px rgba(90, 138, 180, 0.55), 0 1px 0 rgba(255, 255, 255, 0.4);
  transform-origin: left;
  opacity: 0;
  animation: hero-title-line-reveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

@keyframes hero-subtitle-reveal {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: 1.15rem;
  margin-bottom: 2.25rem;
  color: rgba(255, 255, 255, 0.98);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.7;
  max-width: 520px;
  opacity: 0;
  animation: hero-subtitle-reveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-hero-primary i {
  font-size: 0.9em;
  transition: transform 0.3s var(--ease-out);
}

.btn-hero-primary:hover i {
  transform: translateX(4px);
}

.btn-hero-primary {
  box-shadow: 0 8px 28px rgba(90, 138, 180, 0.4);
}

.btn-hero-primary:hover {
  box-shadow: 0 12px 36px rgba(90, 138, 180, 0.5);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #5a8ab4;
  border-color: white;
}

/* Bloc visuel hero (orbes + stats) */
.hero-visual {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glass-orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: hero-orb-pulse 4s ease-in-out infinite;
}

.hero-orb-1 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-orb-2 {
  width: 140px;
  height: 140px;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -60%);
  animation-delay: -2s;
}

@keyframes hero-orb-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* Même principe que le titre : fondu lent puis plus rapide (opacity only) */
@keyframes hero-stat-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1.25rem 1.75rem;
  border-radius: 16px;
  font-size: 1rem;
  color: #fff;
  opacity: 0;
  animation: hero-stat-in 6s cubic-bezier(0.5, 0, 0.75, 1) forwards;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-stat:nth-child(1) {
  animation-delay: 0.5s;
}

.hero-stat:nth-child(2) {
  animation-delay: 0.9s;
}

.hero-stat strong {
  display: block;
  font-size: 1.75rem;
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 0 1px rgba(0, 0, 0, 0.2);
}

.btn {
  display: inline-block;
  padding: 0.95rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(180deg, #6b9bc4 0%, #5a8ab4 50%, #41709d 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 14px rgba(90, 138, 180, 0.3), 0 1px 0 rgba(255,255,255,0.2) inset;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, transparent 100%);
  border-radius: 12px 12px 0 0;
  pointer-events: none;
}

.btn-primary:hover {
  background: linear-gradient(180deg, #5a8ab4 0%, #41709d 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(90, 138, 180, 0.4), 0 1px 0 rgba(255,255,255,0.15) inset;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: white;
  color: #5a8ab4;
  border-color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #5a8ab4;
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.btn-outline:hover {
  background: #5a8ab4;
  color: white;
  border-color: #5a8ab4;
  transform: translateY(-3px);
  box-shadow: var(--glass-shadow-hover);
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-card {
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
  opacity: 0.7;
}

.floating-card:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-card:nth-child(2) {
  top: 60%;
  right: 20%;
  animation-delay: 2s;
}

.floating-card:nth-child(3) {
  bottom: 35%;
  left: 15%;
  animation-delay: 4s;
}

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

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 240px;
  height: 14px;
  background: linear-gradient(90deg, #41709d 0%, #5a8ab4 25%, rgba(255,255,255,0.5) 50%, #7aaed4 75%, #8bbde0 100%);
  border-radius: 7px;
  margin: 2rem auto 0;
  box-shadow: 0 8px 28px rgba(90, 138, 180, 0.65), 0 3px 12px rgba(53, 96, 133, 0.45), 0 1px 0 rgba(255,255,255,0.6) inset;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.section-header p {
  font-size: 1.2rem;
  font-weight: 500;
  color: #334155;
  max-width: 600px;
  margin: 2rem auto 0;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.services .section-header h2,
.contact .section-header h2 {
  color: #1e3a5f;
}

.services-pack-note {
  font-size: 0.95rem;
  color: #475569;
  max-width: 720px;
  margin: 1rem auto 0;
  line-height: 1.6;
  font-style: italic;
}

/* Services Section */
.services {
  padding: 6rem 0;
  background: linear-gradient(165deg, #d4dce8 0%, #c5d4e8 35%, #d0dcef 65%, #e2eaf8 100%);
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, #5a8ab4 20%, rgba(255,255,255,0.6) 50%, #7aaed4 80%, transparent 100%);
  opacity: 0.85;
  box-shadow: 0 2px 12px rgba(90, 138, 180, 0.4);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}

.service-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 320px;
  max-width: 360px;
  min-height: 420px;
  background: linear-gradient(160deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.2) 100%);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--glass-shadow), 2px 2px 16px rgba(255,255,255,0.3) inset;
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,0.35) 0%, transparent 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-hover), 2px 2px 20px rgba(255,255,255,0.4) inset;
}

.service-card:hover::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: shimmer 1.2s ease-out;
  pointer-events: none;
}

.service-card.featured {
  box-shadow: var(--glass-shadow), 0 0 0 2px rgba(90, 138, 180, 0.45), 0 8px 24px rgba(90, 138, 180, 0.12);
}

.service-card.featured:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--glass-shadow-hover), 0 0 0 2px rgba(90, 138, 180, 0.5), 0 12px 32px rgba(90, 138, 180, 0.18);
}

.service-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, rgba(90, 138, 180, 0.95), rgba(53, 96, 133, 0.95));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 16px rgba(90, 138, 180, 0.35);
}

.service-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(145deg, #6b9bc4 0%, #5a8ab4 40%, #41709d 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
  color: white;
  box-shadow: 0 8px 24px rgba(90, 138, 180, 0.4), 0 2px 8px rgba(255,255,255,0.2) inset;
  position: relative;
  overflow: hidden;
}

.service-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,0.35) 0%, transparent 100%);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  pointer-events: none;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.service-card p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-condition {
  font-size: 0.8rem;
  color: var(--primary-dark);
  font-style: italic;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.service-features {
  list-style: none;
  text-align: center;
  margin-bottom: 2rem;
  flex: 1;
  min-height: 0;
}

.service-features li {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  color: var(--color-text);
  font-size: 0.95rem;
}

.service-features i {
  color: #10b981;
  margin-right: 0.5rem;
  font-size: 0.875rem;
}

.service-price {
  margin-top: auto;
  font-size: 1.5rem;
  font-weight: 700;
  color: #41709d;
}

.service-card .btn {
  margin-top: 1rem;
}

/* Process Section */
.process {
  padding: 6rem 0;
  background: linear-gradient(180deg, #d4dce8 0%, #c8d0dc 100%);
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}

.process-steps .step {
  flex: 1 1 280px;
  max-width: 320px;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(145deg, rgba(90, 138, 180, 0.9), rgba(53, 96, 133, 0.9));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 24px rgba(90, 138, 180, 0.3);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.step p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
  padding: 6rem 0;
  background: linear-gradient(165deg, #e4e9f2 0%, #e8ecf3 100%);
  display: none; /* Temporairement masqué */
}

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.portfolio-grid .portfolio-item {
  flex: 1 1 300px;
  max-width: 380px;
}

.portfolio-item {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  border: var(--glass-border);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-hover);
}

.portfolio-image {
  height: 200px;
  background: linear-gradient(135deg, #5a8ab4, #7aaed4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
}

.portfolio-item h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
}

.portfolio-item p {
  padding: 0 1.5rem 1.5rem;
  color: #6b7280;
}

/* Pricing Section */
.pricing {
  padding: 6rem 0;
  background: linear-gradient(165deg, #c8d1e0 0%, #b8c4d8 40%, #d0d8e6 70%, #e0e6ef 100%);
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 320px;
  max-width: 360px;
  min-height: 420px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  position: relative;
  box-shadow: var(--glass-shadow);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-hover);
}

.pricing-card.featured {
  box-shadow: var(--glass-shadow), 0 0 0 2px rgba(90, 138, 180, 0.3);
}

.pricing-card.featured:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--glass-shadow-hover), 0 0 0 2px rgba(90, 138, 180, 0.35);
}

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, rgba(90, 138, 180, 0.95), rgba(53, 96, 133, 0.95));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 16px rgba(90, 138, 180, 0.35);
}

.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #5a8ab4;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.price::before {
  content: "À partir de ";
  font-size: 1rem;
  font-weight: 500;
  color: #6b7280;
  display: block;
  margin-bottom: 0.25rem;
}

.price::after {
  content: "€";
  font-size: 2.5rem;
  font-weight: 700;
  color: #5a8ab4;
}

.price-range::before,
.price-range::after {
  content: none;
  display: none;
}

.price-range {
  font-size: 2rem;
}

@media (min-width: 769px) {
  .price-range {
    font-size: 2.25rem;
  }
}

.pricing-card p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.pricing-card ul {
  list-style: none;
  text-align: center;
  margin-bottom: 2rem;
  flex: 1;
  min-height: 0;
}

.pricing-card li {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--color-text);
  font-size: 0.95rem;
}

.pricing-card li i {
  color: #10b981;
  margin-right: 0.75rem;
  font-size: 0.875rem;
}

.pricing-card .btn {
  margin-top: auto;
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background: linear-gradient(165deg, #d8e0ec 0%, #d0dce8 40%, #dce4f2 70%, #e4ecf8 100%);
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, #7aaed4 25%, rgba(255,255,255,0.55) 50%, #5a8ab4 75%, transparent 100%);
  opacity: 0.9;
  box-shadow: 0 2px 12px rgba(90, 138, 180, 0.35);
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: start;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-content > * {
  flex: 1 1 280px;
  min-width: 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item i {
  width: 48px;
  height: 48px;
  background: linear-gradient(145deg, #6b9bc4 0%, #5a8ab4 50%, #41709d 100%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: white;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 6px 20px rgba(90, 138, 180, 0.4), 0 2px 6px rgba(255,255,255,0.2) inset;
  position: relative;
  overflow: hidden;
}

.contact-item i::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 100%);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  pointer-events: none;
}

.contact-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #1e3a5f;
}

.contact-item p {
  color: #334155;
  font-size: 0.95rem;
}

.contact-form {
  background: linear-gradient(160deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.65) 100%);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow), 0 0 0 1px rgba(90, 138, 180, 0.12), 2px 2px 16px rgba(255,255,255,0.4) inset;
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  pointer-events: none;
}


.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  font-family: inherit;
  color: var(--color-text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #5a8ab4;
  box-shadow: 0 0 0 3px rgba(90, 138, 180, 0.22);
}

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

.form-group-pack .form-pack-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

.pack-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pack-card {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(90, 138, 180, 0.1);
  border: 1px solid rgba(90, 138, 180, 0.25);
  border-radius: 10px;
  color: #1e3a5f;
  font-size: 0.9rem;
  font-weight: 500;
}

.pack-card-name {
  flex: 1;
  min-width: 0;
}

.pack-card-remove {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  color: #64748b;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.pack-card-remove:hover {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.1);
}

/* Footer */
.footer {
  position: relative;
  background: var(--header-bg);
  color: white;
  padding: 3rem 0 1rem;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='nf'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23nf)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.footer-content,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.footer-content > * {
  flex: 1 1 250px;
  min-width: 0;
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #E0E4E7;
  margin-bottom: 1rem;
  text-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.45),
    0 -2px 4px rgba(255, 255, 255, 0.2),
    0 1px 0 rgba(0, 0, 0, 0.25),
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 4px 8px rgba(0, 0, 0, 0.25),
    0 8px 16px rgba(0, 0, 0, 0.2);
}

.footer-logo img.footer-logo-img {
  height: 5.5rem;
  width: auto;
  min-width: 125px;
  margin-right: 0.5rem;
  object-fit: contain;
  display: block;
}
.footer-logo .footer-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #E0E4E7;
  text-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.45),
    0 -2px 4px rgba(255, 255, 255, 0.2),
    0 1px 0 rgba(0, 0, 0, 0.25),
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 4px 8px rgba(0, 0, 0, 0.25),
    0 8px 16px rgba(0, 0, 0, 0.2);
}

.footer-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #E0E4E7;
  text-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.35),
    0 -2px 3px rgba(255, 255, 255, 0.12),
    0 1px 0 rgba(0, 0, 0, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.25),
    0 4px 8px rgba(0, 0, 0, 0.18);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.35s ease, text-shadow 0.35s ease, letter-spacing 0.35s ease;
  position: relative;
  display: inline-block;
  letter-spacing: 0.02em;
  text-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.2),
    0 1px 0 rgba(0, 0, 0, 0.18),
    0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-section a::after {
  display: none;
}

.footer-section a:hover {
  color: #E4FCFF;
  letter-spacing: 0.04em;
  text-shadow:
    0 0 6px rgba(108, 232, 255, 0.55),
    0 0 12px rgba(108, 232, 255, 0.35),
    0 0 20px rgba(58, 127, 190, 0.3),
    0 -1px 0 rgba(228, 252, 255, 0.85),
    0 1px 0 rgba(0, 0, 0, 0.15),
    0 2px 4px rgba(0, 0, 0, 0.2);
}


.footer-section li i {
  margin-right: 0.5rem;
  color: #5a8ab4;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  text-align: center;
  color: #9ca3af;
  text-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.12),
    0 1px 0 rgba(0, 0, 0, 0.15),
    0 2px 4px rgba(0, 0, 0, 0.18);
}

.footer-bottom a {
  color: #b8c5d4;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-bottom a:hover {
  color: #E4FCFF;
}

/* Page Mentions légales */
.legal-page {
  padding: 8rem 0 4rem;
  min-height: 100vh;
}

.legal-header {
  margin-bottom: 2.5rem;
}

.legal-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.legal-intro {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 720px;
}

.legal-date {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.legal-section {
  margin: 1.5rem 0;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--header-bg);
  margin-bottom: 0.75rem;
}

.legal-section p {
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.legal-section a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-section a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.legal-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2rem 0;
}

.legal-back {
  margin-top: 3rem;
  margin-bottom: 0;
}

.legal-subtitle {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 1.25rem 0 0.5rem;
}

.legal-condition {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--color-text-muted);
  margin: 0.25rem 0 0.5rem;
}

.legal-list {
  margin: 0.5rem 0 1rem;
  padding-left: 1.5rem;
  color: var(--color-text);
}

.legal-list li {
  margin-bottom: 0.35rem;
}

/* Responsive Design */
@media (max-width: 1020px) {
  .services-grid {
    max-width: 400px;
    margin: 0 auto;
  }

  .service-card {
    flex: 1 1 100%;
    max-width: none;
    min-height: 380px;
  }

  .pricing-grid {
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-card {
    flex: 1 1 100%;
    max-width: none;
    min-height: 380px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 8.75rem;
    flex-direction: column;
    background: #202834;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.06);
    padding: 2rem 0;
    gap: 1rem;
  }

  .nav-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='nm'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23nm)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
  }

  .nav-menu li {
    position: relative;
    z-index: 1;
    width: 100%;
    justify-content: center;
  }

  .nav-menu a {
    padding: 1rem 2rem;
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    color: #E0E4E7;
    text-shadow:
      0 -1px 0 rgba(255, 255, 255, 0.35),
      0 -2px 3px rgba(255, 255, 255, 0.12),
      0 1px 0 rgba(0, 0, 0, 0.2),
      0 2px 4px rgba(0, 0, 0, 0.25),
      0 4px 8px rgba(0, 0, 0, 0.18);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu a:hover {
    color: #E4FCFF;
    letter-spacing: 0.06em;
    text-shadow:
      0 0 8px rgba(108, 232, 255, 0.6),
      0 0 16px rgba(108, 232, 255, 0.4),
      0 0 24px rgba(58, 127, 190, 0.35),
      0 -1px 0 rgba(228, 252, 255, 0.9),
      0 -2px 4px rgba(228, 252, 255, 0.4),
      0 1px 0 rgba(0, 0, 0, 0.15),
      0 2px 4px rgba(0, 0, 0, 0.2);
  }


  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .hero-container > * {
    flex: 1 1 100%;
  }

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

  .hero-title-line {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    min-height: 220px;
  }

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

  /* Ajustement des cartes flottantes sur mobile */
  .floating-card:nth-child(1) {
    top: 10%;
    left: 5%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .floating-card:nth-child(2) {
    top: 50%;
    right: 10%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .floating-card:nth-child(3) {
    bottom: 20%;
    left: 5%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .contact .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact .section-header {
    width: 100%;
    max-width: 100%;
  }

  .contact-content {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    width: 100%;
    max-width: 100%;
  }

  .contact-content > * {
    flex: 0 1 auto;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-form {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-info {
    align-items: center;
    text-align: center;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .contact-item > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-form {
    text-align: center;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  .contact-form .btn-primary,
  .contact-form .btn {
    display: block;
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .service-card.featured {
    transform: none;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 480px) {
  .hero-content h1,
  .hero-title {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
  }

  .service-card,
  .pricing-card,
  .contact-form {
    padding: 1.5rem;
  }

  .contact-content > * {
    max-width: 100%;
  }

  /* Ajustements supplémentaires pour très petits écrans */
  .floating-card:nth-child(1) {
    top: 5%;
    left: 2%;
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .floating-card:nth-child(2) {
    top: 45%;
    right: 5%;
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .floating-card:nth-child(3) {
    bottom: 15%;
    left: 2%;
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

/* Smooth scrolling + offset for fixed header (anchor links) */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 8.75rem; /* hauteur navbar (~6.5rem logo + 2rem padding) + marge */
}

/* Loading animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}
