:root {
  --c-blue-dark: #023E8A;
  --c-blue: #0077B6;
  --c-blue-light: #00B4D8;
  --c-blue-pale: #E0FBFC;
  
  --c-orange: #FF7A00;
  --c-orange-light: #FF9E00;
  --c-orange-pale: #FFF3E0;
  
  --c-white: #FFFFFF;
  --c-bg: #F2F7F9;
  --c-text: #1E293B;
  --c-text-muted: #64748B;
  
  --font-main: 'Outfit', sans-serif;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --radius-pill: 999px;
  
  --shadow-soft: 0 12px 36px rgba(0, 119, 182, 0.08);
  --shadow-orange: 0 12px 36px rgba(255, 122, 0, 0.25);
  
  --t-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); background-color: var(--c-bg); color: var(--c-text); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 5vw; }

/* Nav */
.nav-wrapper { position: fixed; top: 1.5rem; left: 0; width: 100%; z-index: 100; padding: 0 5vw; pointer-events: none; }
.nav {
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(16px);
  border-radius: var(--radius-pill); padding: 0.8rem 1rem 0.8rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  box-shadow: var(--shadow-soft); pointer-events: auto; max-width: 1200px; margin: 0 auto;
}
.nav-logo { font-weight: 900; font-size: 1.5rem; color: var(--c-blue-dark); letter-spacing: -0.02em; }
.nav-logo span { color: var(--c-orange); }
.nav-links { display: flex; gap: 1.5rem; list-style: none; font-weight: 600; font-size: 0.95rem; }
.nav-links a { transition: color 0.2s; color: var(--c-blue-dark); }
.nav-links a:hover, .nav-links a.active { color: var(--c-orange); }

.btn-3d {
  background: linear-gradient(135deg, var(--c-orange), var(--c-orange-light)); color: white;
  padding: 0.8rem 2rem; border-radius: var(--radius-pill); font-weight: 700;
  box-shadow: var(--shadow-orange); transition: transform 0.3s var(--t-bounce), box-shadow 0.3s;
  display: inline-block; text-align: center;
}
.btn-3d:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 20px 40px rgba(255, 122, 0, 0.35); }

/* SECTIONS GLOBALES */
.section { padding: 8rem 0; }
.section-sm { padding: 4rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.badge {
  display: inline-block; padding: 0.5rem 1.2rem; background: var(--c-blue-pale); color: var(--c-blue);
  border-radius: var(--radius-pill); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; margin-bottom: 1rem;
}
.section-title { font-size: 3rem; font-weight: 900; color: var(--c-blue-dark); line-height: 1.1;}

/* PRICING GRID (Pour index et tarifs) */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: center; }
.price-card {
  background: var(--c-white); padding: 3rem 2rem; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft); text-align: center; position: relative;
  transition: transform 0.4s var(--t-bounce);
}
.price-card:hover { transform: translateY(-10px); }
.price-card.featured {
  background: var(--c-blue-dark); color: white; transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(2, 62, 138, 0.3); border: 4px solid var(--c-blue-light);
}
.price-card.featured:hover { transform: scale(1.05) translateY(-10px); }
.p-name { font-size: 1.5rem; font-weight: 900; margin-bottom: 0.5rem; }
.price-card:not(.featured) .p-name { color: var(--c-blue-dark); }
.p-price { font-size: 4rem; font-weight: 900; margin-bottom: 1rem; line-height: 1; }
.price-card:not(.featured) .p-price { color: var(--c-blue); }
.p-desc { font-weight: 500; margin-bottom: 2rem; }
.price-card:not(.featured) .p-desc { color: var(--c-text-muted); }
.price-card.featured .btn-3d { background: linear-gradient(135deg, var(--c-orange), var(--c-orange-light)); width: 100%; }
.price-card:not(.featured) .btn-3d { background: var(--c-blue-pale); color: var(--c-blue); width: 100%; box-shadow: none; }
.price-card:not(.featured) .btn-3d:hover { background: var(--c-blue); color: white; }

/* FOOTER */
footer { background: var(--c-blue-dark); padding: 6rem 0 2rem; color: white; border-radius: var(--radius-lg) var(--radius-lg) 0 0; margin-top: 4rem; }
.f-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.f-brand h2 { font-size: 2rem; font-weight: 900; margin-bottom: 1rem; }
.f-brand h2 span { color: var(--c-orange); }
.f-brand p { color: var(--c-blue-pale); opacity: 0.8; font-weight: 500; max-width: 300px; }
.f-col h4 { font-size: 1.2rem; font-weight: 800; margin-bottom: 1.5rem; }
.f-col a { display: block; color: var(--c-blue-pale); opacity: 0.8; margin-bottom: 0.8rem; font-weight: 500; transition: 0.2s; }
.f-col a:hover { opacity: 1; color: var(--c-orange); transform: translateX(5px); }

@media (max-width: 992px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .price-card.featured { transform: scale(1); }
  .price-card.featured:hover { transform: translateY(-10px); }
  .f-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

/* MASCOTTE CSS 3D */
.css-mascot {
  position: relative; width: 140px; height: 140px;
  animation: mascot-float 4s ease-in-out infinite; cursor: pointer;
}
@keyframes mascot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
.mascot-drop {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--c-blue-light), var(--c-blue-dark));
  border-radius: 50% 50% 50% 5%; transform: rotate(-45deg);
  box-shadow: inset -10px -10px 20px rgba(0,62,138,0.5), inset 10px 10px 20px rgba(255,255,255,0.4), 0 20px 40px rgba(0,119,182,0.3);
  transition: transform 0.4s var(--t-bounce);
}
.css-mascot:hover .mascot-drop { transform: rotate(-45deg) scale(1.05); }
.mascot-face {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.m-eye {
  position: absolute; width: 18px; height: 22px; background: white; border-radius: 50%;
  top: 55%; box-shadow: inset 0 -4px 0 rgba(0,0,0,0.1); animation: blink 4s infinite;
}
.m-eye.l { left: 30%; }
.m-eye.r { right: 30%; }
.m-pupil {
  position: absolute; width: 8px; height: 10px; background: var(--c-blue-dark); border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.m-smile {
  position: absolute; width: 20px; height: 12px;
  border-bottom: 4px solid white; border-radius: 0 0 10px 10px;
  top: 75%; left: 50%; transform: translateX(-50%);
}
.m-glint {
  position: absolute; width: 18px; height: 35px; background: white; border-radius: 50%;
  top: 15%; left: 15%; transform: rotate(-45deg); opacity: 0.5; filter: blur(3px);
}
.m-shadow {
  position: absolute; width: 80px; height: 20px; background: rgba(0,62,138,0.2);
  bottom: -30px; left: 50%; transform: translateX(-50%); border-radius: 50%;
  filter: blur(4px); animation: mascot-shadow 4s ease-in-out infinite;
}
@keyframes mascot-shadow {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.8; }
  50% { transform: translateX(-50%) scale(0.8); opacity: 0.4; }
}
@keyframes blink {
  0%, 96%, 100% { transform: scaleY(1); }
  98% { transform: scaleY(0); }
}

/* TESTIMONIALS (MENU DÉROULANT INFINI) */
.testimonial-track {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: scroll-vertical 30s linear infinite;
  padding: 1rem 0;
}
.testimonial-track:hover { animation-play-state: paused; }
@keyframes scroll-vertical {
  from { transform: translateY(0); }
  to { transform: translateY(calc(-50% - 0.75rem)); }
}
.testi-card {
  background: white;
  padding: 1.8rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 119, 182, 0.05);
  box-shadow: 0 10px 30px rgba(0, 119, 182, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testi-stars { color: var(--c-orange); font-size: 1.2rem; letter-spacing: 2px; }
.testi-text { font-weight: 500; font-size: 1rem; color: var(--c-text); line-height: 1.5; }
.testi-author { display: flex; align-items: center; gap: 1rem; margin-top: 0.5rem; }
.testi-author-img { width: 40px; height: 40px; border-radius: 50%; background: var(--c-blue-pale); display: flex; align-items: center; justify-content: center; font-weight: 900; color: var(--c-blue); }
.testi-author-info { display: flex; flex-direction: column; }
.testi-name { font-weight: 700; font-size: 0.95rem; line-height: 1.2; color: var(--c-blue-dark); }
.testi-date { font-size: 0.8rem; color: var(--c-text-muted); opacity: 0.8; }

