/* ============================================================
   AGILIS MONACO — style.css
   Premium static site for AI & Automation consultancy
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400;1,9..40,500&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Palette */
  --navy:        #0F1D3E;
  --blue-vivid:  #2563EB;
  --blue-mid:    #1e3a8a;
  --white:       #FFFFFF;
  --gray-light:  #F3F4F6;
  --gray-text:   #6B7280;
  --green-roi:   #10B981;
  --cta:         #F59E0B;
  --cta-hover:   #D97706;

  /* Typography */
  --font-heading: 'Inter', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Spacing */
  --section-py:   6rem;
  --container-px:  1.25rem;
  --container-max: 1200px;

  /* Radii */
  --radius-card:  16px;
  --radius-btn:   8px;

  /* Shadows */
  --shadow-card:  0 8px 32px rgba(37, 99, 235, 0.12);
  --shadow-card-hover: 0 12px 40px rgba(37, 99, 235, 0.2);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: #1F2937;
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section-padding {
  padding: var(--section-py) 0;
}

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  padding: .85rem 1.75rem;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .3s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--cta);
  color: var(--navy);
  border-color: var(--cta);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, .35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-secondary {
  background: var(--blue-vivid);
  color: var(--white);
  border-color: var(--blue-vivid);
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  background: #1D4ED8;
  border-color: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, .3);
}

.btn-sm {
  padding: .6rem 1.25rem;
  font-size: .85rem;
}

/* Focus ring */
.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--blue-vivid);
  outline-offset: 3px;
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-delay-1 { transition-delay: .15s; }
.reveal-delay-2 { transition-delay: .3s; }
.reveal-delay-3 { transition-delay: .45s; }
.reveal-delay-4 { transition-delay: .6s; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.navbar.scrolled {
  background: rgba(15, 29, 62, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
  padding: .65rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: -.02em;
}
.nav-logo span {
  color: var(--blue-vivid);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: rgba(255,255,255,.75);
  font-size: .875rem;
  font-weight: 500;
  transition: color .25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--blue-vivid);
  transition: width .3s var(--ease);
}
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

/* Nav CTA */
.nav-cta {
  display: inline-flex;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer;
  padding: .25rem;
  z-index: 1001;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 29, 62, .98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 999;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.nav-mobile.open {
  display: flex;
  opacity: 1;
}
.nav-mobile a {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  transition: color .25s;
}
.nav-mobile a:hover { color: var(--cta); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue-mid) 100%);
  overflow: hidden;
}

/* Animated grid background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.07) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(500px) rotateX(25deg) scale(2.5);
  transform-origin: center 60%;
  animation: heroGridPulse 8s ease-in-out infinite;
}

@keyframes heroGridPulse {
  0%, 100% { opacity: .4; transform: perspective(500px) rotateX(25deg) scale(2.5); }
  50%      { opacity: .65; transform: perspective(500px) rotateX(28deg) scale(2.6); }
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .15;
  animation: orbFloat 12s ease-in-out infinite;
}
.hero-orb--1 {
  width: 400px; height: 400px;
  background: var(--blue-vivid);
  top: 10%; left: -5%;
  animation-delay: 0s;
}
.hero-orb--2 {
  width: 300px; height: 300px;
  background: var(--cta);
  bottom: 15%; right: -3%;
  animation-delay: -4s;
}
.hero-orb--3 {
  width: 250px; height: 250px;
  background: var(--blue-mid);
  top: 50%; left: 60%;
  animation-delay: -8s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  33%      { transform: translate(30px, -20px); }
  66%      { transform: translate(-20px, 15px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 2rem var(--container-px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem 1.1rem;
  background: rgba(37, 99, 235, .12);
  border: 1px solid rgba(37, 99, 235, .3);
  border-radius: 100px;
  color: rgba(255,255,255,.8);
  font-size: .8rem;
  font-weight: 500;
  margin-bottom: 2rem;
  letter-spacing: .03em;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue-vivid);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  font-weight: 800;
  letter-spacing: -.025em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.65);
  max-width: 650px;
  margin: 0 auto 1.25rem;
  line-height: 1.75;
}

.hero-slogan {
  font-size: 1.05rem;
  color: var(--blue-vivid);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 2.5rem;
}

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

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
}
.hero-scroll span {
  font-size: .7rem;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.hero-scroll-dot {
  width: 20px; height: 34px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-dot::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  background: var(--white);
  border-radius: 50%;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { top: 6px; opacity: 1; }
  50%      { top: 18px; opacity: .3; }
}

/* ============================================================
   CLIENTS / LOGOS
   ============================================================ */
.clients {
  padding: 4rem 0;
  background: var(--white);
  overflow: hidden;
}

.clients-label {
  text-align: center;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--gray-text);
  font-weight: 500;
  margin-bottom: 2.5rem;
}

/* Infinite scroll track */
.clients-track-wrapper {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.clients-track {
  display: flex;
  gap: 3rem;
  animation: clientsScroll 25s linear infinite;
  width: max-content;
}

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

.client-logo {
  flex-shrink: 0;
  width: 180px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-light);
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-text);
  filter: grayscale(100%) opacity(.6);
  transition: all .35s var(--ease);
}
.client-logo:hover {
  filter: grayscale(0%) opacity(1);
  border-color: var(--blue-vivid);
  box-shadow: var(--shadow-card);
}

/* ============================================================
   PARCOURS CLIENT — TIMELINE
   ============================================================ */
.parcours {
  background: var(--gray-light);
  position: relative;
}

/* Subtle pattern */
.parcours::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(37,99,235,.04) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

.parcours .section-header {
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  color: var(--navy);
  margin-bottom: .75rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.section-title--white { color: var(--white); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-text);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-subtitle--light { color: rgba(255,255,255,.6); }

/* Timeline container */
.timeline {
  position: relative;
  z-index: 1;
  margin-top: 3.5rem;
}

/* Desktop: horizontal */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}

/* Connector line */
.timeline-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 60px;
  right: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-vivid), rgba(37,99,235,.2));
  border-radius: 2px;
  z-index: 0;
}

/* Step card */
.step-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 2rem 1.5rem 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  z-index: 1;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

/* Step number watermark */
.step-number {
  position: absolute;
  top: .5rem; right: 1rem;
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 800;
  color: var(--blue-vivid);
  opacity: .06;
  line-height: 1;
  pointer-events: none;
}

/* Step icon */
.step-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, .08);
  border-radius: 12px;
  margin-bottom: 1rem;
  color: var(--blue-vivid);
}
.step-icon svg {
  width: 24px; height: 24px;
}

/* Badges */
.badge {
  display: inline-block;
  padding: .25rem .7rem;
  font-size: .7rem;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .75rem;
}
.badge--free {
  background: var(--green-roi);
  color: var(--white);
}
.badge--price {
  background: rgba(37, 99, 235, .1);
  color: var(--blue-vivid);
}

.step-duration {
  font-size: .75rem;
  color: var(--gray-text);
  margin-bottom: .5rem;
}

.step-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: .6rem;
  font-weight: 700;
}

.step-card p {
  font-size: .875rem;
  color: var(--gray-text);
  line-height: 1.7;
}

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

/* ============================================================
   TEMOIGNAGES
   ============================================================ */
.temoignages {
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue-mid) 100%);
  position: relative;
  overflow: hidden;
}

.temoignages::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

/* Glass card */
.testimonial-card {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-card);
  padding: 2rem;
  transition: transform .35s var(--ease), border-color .35s;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37,99,235,.35);
}

.testimonial-quote {
  position: relative;
  padding-left: .5rem;
}

/* Decorative guillemets */
.testimonial-quote::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--blue-vivid);
  opacity: .2;
  position: absolute;
  top: -.75rem;
  left: -.5rem;
  line-height: 1;
}

.testimonial-quote p {
  font-size: .9rem;
  color: rgba(255,255,255,.75);
  line-height: 1.8;
  font-style: italic;
}

.testimonial-divider {
  width: 40px;
  height: 2px;
  background: var(--blue-vivid);
  margin: 1.25rem 0;
  border-radius: 2px;
}

.testimonial-author strong {
  color: var(--white);
  font-size: .9rem;
  display: block;
  margin-bottom: .15rem;
}
.testimonial-author span {
  color: rgba(255,255,255,.45);
  font-size: .8rem;
}

/* Mobile carousel for testimonials */
.temoignages-carousel-dots {
  display: none;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.5rem;
}
.temoignages-carousel-dots .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  transition: all .3s;
  padding: 0;
}
.temoignages-carousel-dots .dot.active {
  background: var(--cta);
  width: 24px;
  border-radius: 4px;
}

/* ============================================================
   CAS PRATIQUES
   ============================================================ */
.cas-pratiques {
  background: var(--white);
}

.cas-placeholder {
  max-width: 600px;
  margin: 3rem auto 0;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-card);
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.cas-placeholder-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, .1);
  border-radius: 16px;
  color: var(--blue-vivid);
}
.cas-placeholder-icon svg { width: 28px; height: 28px; }

.cas-placeholder h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: .75rem;
}

.cas-placeholder p {
  font-size: .95rem;
  color: var(--gray-text);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Future cards container */
.cas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

/* ============================================================
   BLOG / ARTICLES
   ============================================================ */
.blog {
  background: var(--gray-light);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.blog-card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--navy), var(--blue-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.2);
  position: relative;
  overflow: hidden;
}
.blog-card-image svg { width: 48px; height: 48px; }

/* Decorative circle */
.blog-card-image::before {
  content: '';
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(37,99,235,.15);
  bottom: -30px; right: -20px;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-date {
  font-size: .75rem;
  color: var(--gray-text);
  font-weight: 500;
  margin-bottom: .6rem;
}

.blog-card-body h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: .6rem;
  font-weight: 700;
  line-height: 1.35;
}
.blog-card-body h3 a {
  transition: color .25s;
}
.blog-card-body h3 a:hover { color: var(--blue-vivid); }

.blog-card-body p {
  font-size: .875rem;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.blog-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue-vivid);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: gap .25s var(--ease);
}
.blog-link:hover { gap: .6rem; }
.blog-link svg { width: 14px; height: 14px; }

.blog-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--blue-vivid);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
}

.footer-brand .nav-logo {
  margin-bottom: .75rem;
  display: inline-block;
}

.footer-brand .footer-slogan {
  font-size: .9rem;
  font-style: italic;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.25rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.5);
  transition: all .25s;
}
.footer-social a:hover {
  background: var(--blue-vivid);
  color: var(--white);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: rgba(255,255,255,.35);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.footer-links li { margin-bottom: .6rem; }
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color .25s;
}
.footer-links a:hover { color: var(--white); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: .7rem;
  font-size: .875rem;
}
.footer-contact li svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--blue-vivid);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

/* ============================================================
   MINI HERO (sub-pages)
   ============================================================ */
.mini-hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue-mid) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}
.mini-hero .hero-grid {
  opacity: .3;
}
.mini-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--white);
  position: relative;
  z-index: 2;
  font-weight: 800;
  letter-spacing: -.02em;
}
.mini-hero p {
  color: rgba(255,255,255,.6);
  margin-top: .75rem;
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
}

/* ============================================================
   A PROPOS
   ============================================================ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--gray-light);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  font-size: .85rem;
  border: 1px solid #E5E7EB;
}

.about-text h2 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 1rem;
}
.about-text p {
  color: var(--gray-text);
  line-height: 1.8;
  font-size: 1rem;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  border-left: 4px solid var(--blue-vivid);
  transition: transform .3s var(--ease);
}
.value-card:hover { transform: translateY(-3px); }

.value-card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-top: .75rem;
  margin-bottom: .5rem;
}
.value-card p {
  font-size: .85rem;
  color: var(--gray-text);
  line-height: 1.6;
}

.value-icon {
  width: 48px; height: 48px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, .08);
  border-radius: 12px;
  color: var(--blue-vivid);
}
.value-icon svg { width: 24px; height: 24px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

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

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid #D1D5DB;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: .9rem;
  color: #1F2937;
  transition: border-color .25s, box-shadow .25s;
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-vivid);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

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

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

.contact-info-block {
  background: var(--gray-light);
  border-radius: var(--radius-card);
  padding: 2rem;
}

.contact-info-block h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1rem;
  font-size: .9rem;
  color: #374151;
}
.contact-info-list li svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--blue-vivid);
  margin-top: 2px;
}

.contact-map {
  margin-top: 1.5rem;
  width: 100%;
  height: 200px;
  background: #E5E7EB;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  font-size: .85rem;
}

/* ============================================================
   LEGAL PAGES (CGV, Mentions)
   ============================================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-top: 2.5rem;
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--blue-vivid);
}
.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-top: 1.75rem;
  margin-bottom: .5rem;
}

.legal-content p,
.legal-content li {
  font-size: .925rem;
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: .75rem;
}

.legal-content ul {
  padding-left: 1.25rem;
}
.legal-content ul li {
  position: relative;
  padding-left: 1rem;
}
.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .7rem;
  width: 5px; height: 5px;
  background: var(--blue-vivid);
  border-radius: 50%;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .timeline-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .timeline-grid::before { display: none; }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-values {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-links { gap: 1rem; }
  .nav-links a { font-size: .75rem; }
  .nav-cta { font-size: .75rem; padding: .5rem .85rem; }
}

/* Tablet & below: hamburger nav */
@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --section-py: 4rem;
  }

  /* Hero */
  .hero h1 {
    font-size: 1.75rem;
  }
  .hero-subtitle {
    font-size: .95rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-buttons .btn { justify-content: center; }

  /* Timeline vertical */
  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .timeline-grid::before { display: none; }

  /* Testimonials: carousel */
  .temoignages-grid {
    grid-template-columns: 1fr;
    overflow: hidden;
    position: relative;
  }
  .temoignages-grid.mobile-carousel {
    display: flex;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .temoignages-grid.mobile-carousel .testimonial-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }
  .temoignages-carousel-dots { display: flex; }

  /* Blog */
  .blog-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* About */
  .about-content {
    grid-template-columns: 1fr;
  }
  .about-values {
    grid-template-columns: 1fr;
  }

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

/* Tablet blog adjustment */
@media (min-width: 641px) and (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .temoignages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  .step-card {
    padding: 1.5rem 1.25rem;
  }
}
