/* ============================================
   STYLES PARTAGÉS — OP360
   Police : DM Sans (weight 700, tracking -0.015em)
   Couleurs : Navy #1a2332 | Cyan #00d4aa | Blanc #ffffff
   ============================================ */

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

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

:root {
  --navy: #1a2332;
  --navy-mid: #2d3748;
  --navy-dark: #111b27;
  --cyan: #00d4aa;
  --cyan-light: #e6f9f5;
  --cyan-mid: #00bfa0;
  --tangerine: #F79009;
  --white: #ffffff;
  --gray-bg: #f8f7f4;
  --card-bg: #edf2f7;
  --gray-border: #e2e8f0;
  --gray-text: #4a5568;
  --font: 'DM Sans', -apple-system, sans-serif;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-hover: 0 12px 40px rgba(0,212,170,0.15);
  --border-alpha: rgba(26,35,50,0.10);
  --border-alpha-strong: rgba(26,35,50,0.16);
  --ls-label: 0.10em;
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--font); font-weight: 400; font-size: 16px; line-height: 1.6;
  color: var(--navy); background: var(--white); overflow-x: clip;
  opacity: 0;
  transition: opacity 350ms ease-out;
}
body.page-loaded {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  body { opacity: 1; transition: none; }
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ── SCROLL PROGRESS ── */
#scroll-progress {
  position: fixed;
  top: 68px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--cyan);
  z-index: 600;
  transition: width 0.1s linear;
  pointer-events: none;
  border-radius: 0 1px 1px 0;
  box-shadow: 0 0 6px rgba(0, 212, 170, 0.6);
}
@media (prefers-reduced-motion: reduce) {
  #scroll-progress { transition: none; }
}

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: 68px; padding: 0 48px;
  background: rgba(26,35,50,0.97); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(0,212,170,0.12);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.35); }

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

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

.nav-links a {
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 1px;
}
.nav-links a:hover,
.nav-links a.active { color: var(--cyan); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { font-weight: 700; }

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan); color: var(--navy);
  font-family: var(--font); font-weight: 700; font-size: 13px;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 11px 20px;
  min-width: 148px;
  border: none; border-radius: 5px;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
  box-sizing: border-box;
}
.nav-cta:hover { background: var(--cyan-mid); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,212,170,0.25); }

.nav-share-wrap { position: relative; flex-shrink: 0; display: flex; align-items: center; }
.nav-share {
  background: transparent;
  border: 1.5px solid rgba(0,212,170,0.4);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--cyan);
  cursor: pointer;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
}
.nav-share:hover { background: rgba(0,212,170,0.1); }
.nav-share-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--navy);
  border: 1px solid rgba(0,212,170,0.2);
  border-radius: 8px;
  min-width: 210px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 200;
  overflow: hidden;
}
.nav-share-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--white);
  text-decoration: none;
  transition: background 0.15s;
}
.nav-share-dropdown a:hover { background: rgba(0,212,170,0.1); }

.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-cta-mobile { display: none; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── BOUTONS ── */
.btn-primary {
  display: inline-block; background: var(--cyan); color: var(--navy);
  font-family: var(--font); font-weight: 700; font-size: 15px;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 16px 40px; border: none; border-radius: 6px; cursor: pointer; transition: all 0.2s;
}
.btn-primary:hover { background: var(--cyan-mid); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,212,170,0.3); color: var(--navy); }

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-navy:focus-visible,
.btn-outline:focus-visible,
.nav-cta:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.btn-secondary {
  display: inline-block; background: transparent; color: rgba(255,255,255,0.85);
  font-family: var(--font); font-weight: 600; font-size: 15px;
  padding: 16px 40px; border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 6px; cursor: pointer; transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-outline {
  display: inline-block; background: transparent; color: var(--navy);
  font-family: var(--font); font-weight: 600; font-size: 14px;
  padding: 14px 28px; border: 1.5px solid var(--border-alpha-strong);
  border-radius: 6px; cursor: pointer; transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-navy {
  display: inline-block; background: var(--navy); color: var(--white);
  font-family: var(--font); font-weight: 700; font-size: 15px;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 16px 40px; border: 1.5px solid rgba(255,255,255,0.4); border-radius: 6px; cursor: pointer; transition: all 0.2s;
}
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(26,35,50,0.2); color: var(--white); }

/* ── SECTIONS ── */
section { padding: 72px 48px 48px; }
.container { max-width: 1120px; margin: 0 auto; }

.section-label {
  font-size: 12px; font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}
.section-label-white { color: rgba(0,212,170,0.7); }

h2.section-title { font-size: clamp(28px, 3.5vw, 42px); font-weight: 700; color: var(--navy); line-height: 1.18; letter-spacing: -0.02em; margin-bottom: 14px; }
h2.section-title-white { color: var(--white); }

.section-intro { font-size: 18px; font-weight: 400; color: var(--gray-text); max-width: 600px; line-height: 1.65; margin-bottom: 56px; }
.section-intro-white { color: rgba(255,255,255,0.6); }
.section-subtitle { font-size: 1.05rem; font-weight: 500; color: var(--navy); line-height: 1.5; max-width: 100%; }
.section-subtitle--inverse { font-size: 1.05rem; font-weight: 500; color: var(--white); line-height: 1.5; max-width: 100%; }

/* ── FOOTER ── */
footer { background: var(--navy-dark); padding: 64px 48px 32px; }
.footer-inner { max-width: 1120px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 32px; }
.footer-brand-tagline { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.75; margin-top: 14px; max-width: 280px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.footer-logo span { font-size: 16px; font-weight: 700; color: var(--white); }
.footer-logo span em { color: var(--cyan); font-style: normal; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--cyan); }
.footer-mobile {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 20px;
}
.footer-mobile-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 6px;
}
.footer-mobile-links {
  display: flex; flex-wrap: wrap; gap: 10px 20px;
}
.footer-mobile-links a {
  font-size: 13px; color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-mobile-links a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: var(--cyan); }

/* ── LOGO PNG ── */
.logo-img    { height: 40px; width: auto; flex-shrink: 0; max-width: none; }
.logo-img-sm { height: 32px; width: auto; flex-shrink: 0; max-width: none; }

/* ── ICÔNES SVG ── */
.moment-icon-wrap svg,
.livrable-icon svg {
  display: block;
  flex-shrink: 0;
}

.moments-section .moment-icon-wrap {
  background: rgba(247, 144, 9, 0.12);
}

/* ── REVEAL AU SCROLL ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-slide-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-slide-right.visible { opacity: 1; transform: none; }

.reveal-stagger {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: calc(var(--stagger-i, 0) * 120ms);
}
.reveal-stagger.visible { opacity: 1; transform: none; }

.reveal-label {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-label.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-slide-right,
  .reveal-stagger,
  .reveal-label {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ── EFFETS VISUELS ── */
.count-animated { transition: color 0.15s ease; }
.count-animated.counting { color: var(--cyan); }

.diff-home-container {
  position: relative;
  overflow: hidden;
  border-left: 4px solid transparent;
  background-image: linear-gradient(var(--navy), var(--navy)),
                    linear-gradient(to bottom, var(--cyan), var(--cyan-mid) 50%, var(--cyan));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-size: auto, 4px 200%;
  animation: cyanShimmer 4s ease-in-out infinite;
}

@keyframes cyanShimmer {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 0% 100%; }
  100% { background-position: 0% 0%; }
}

@media (hover: hover) {
  .offre-card {
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.28s ease,
                background 0.28s ease;
  }
  .offre-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,212,170,0.18);
  }
  .moment-card {
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.28s ease;
  }
  .moment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.32);
    border-color: rgba(0,212,170,0.6);
  }
}

.temos-section {
  position: relative;
  overflow: hidden;
}
.temos-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,212,170,0.20) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}
.temos-section > * { position: relative; z-index: 1; }
.temos-section .container { position: relative; z-index: 1; }

.cta-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%) !important;
  border-top: 1px solid rgba(0,212,170,0.35);
  position: relative;
  overflow: hidden;
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section .container { position: relative; z-index: 1; }

@media (hover: hover) {
  .temo-card {
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .temo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.10);
  }
}

.offre-card,
.moment-card,
.temo-card,
.livrable-card,
.diff-card {
  border-color: var(--border-alpha) !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: rgba(26,35,50,0.98); flex-direction: column; gap: 0; border-bottom: 1px solid rgba(0,212,170,0.15); z-index: 499; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-burger { display: flex; }
  .nav-ctas { display: flex; }
  .nav-cta { display: none; }
  .nav-share-wrap { display: none; }
  .nav-links.open .nav-cta-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 24px 20px;
    border-top: 1px solid rgba(0,212,170,0.15);
  }
  section { padding: 48px 20px 36px; }
  .section-intro { font-size: 16px; margin-bottom: 32px; }
  h2.section-title { font-size: clamp(22px, 6vw, 32px); margin-bottom: 10px; }
  .btn-primary, .btn-secondary, .btn-navy { padding: 14px 28px; font-size: 14px; }
  .btn-outline { padding: 14px 28px; font-size: 14px; }
  .nav-burger { padding: 10px; }
  .nav-links a { min-height: 44px; display: flex; align-items: center; }
  .footer-mobile-links a { min-height: 44px; display: flex; align-items: center; }
  .cta-contact-item { min-height: 44px; }
  .footer-top { display: none; }
  .footer-mobile { display: flex; }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    font-size: 12px;
    padding-top: 0;
    border-top: none;
  }
  footer { padding: 24px 20px; }
  .nav-links a::after { display: none; }
}

@media (max-width: 768px) {
  .hero-sub { height: 46px; overflow: hidden; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary { width: 100%; text-align: center; justify-content: center; }
  .cta-btns-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .cta-btn-block .btn-primary,
  .cta-btn-block .btn-outline-white,
  .btn-outline-white { display: flex !important; width: 100% !important; justify-content: center !important; white-space: normal !important; box-sizing: border-box !important; }
  .offres-section .section-intro:last-of-type { display: none !important; }
  .parcours-section .section-intro:last-of-type { display: none !important; }
}

/* ── PAGES INTÉRIEURES ── */
.page-interior h1 {
  font-size: clamp(30px, 4.5vw, 54px);
  position: relative;
  padding-left: 20px;
}
.page-interior h1::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.1em;
  bottom: 0.1em;
  width: 4px;
  background: var(--cyan);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 212, 170, 0.7);
}
.page-interior h2.section-title {
  font-size: clamp(24px, 3vw, 40px);
}
