/* ============================================================
   AQUALEARN — DESIGN SYSTEM
   Modern, dynamic, professional. Mobile-first.
   ============================================================ */

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

:root {
  --blue-dark: #003580;
  --blue-mid: #0066CC;
  --blue-accent: #00AEEF;
  --blue-light: #E8F4FF;
  --blue-pale: #F4F9FE;
  --teal: #1B4D6B;
  --green: #2E8540;
  --green-light: #D4F4DC;
  --orange: #FF8C42;
  --yellow: #FFC107;
  --red: #E74C3C;
  --grey-1: #1A1A1A;
  --grey-2: #444;
  --grey-3: #6B7280;
  --grey-4: #9CA3AF;
  --grey-5: #E5E7EB;
  --grey-6: #F3F4F6;
  --white: #FFFFFF;

  --gradient-hero: linear-gradient(135deg, #003580 0%, #0066CC 60%, #00AEEF 100%);
  --gradient-water: linear-gradient(135deg, #00AEEF 0%, #4DCFFF 50%, #B8E6FF 100%);
  --gradient-green: linear-gradient(135deg, #2E8540 0%, #4CAF50 100%);

  --shadow-sm: 0 2px 8px rgba(0,53,128,0.06);
  --shadow-md: 0 4px 20px rgba(0,53,128,0.10);
  --shadow-lg: 0 12px 40px rgba(0,53,128,0.15);
  --shadow-xl: 0 24px 60px rgba(0,53,128,0.20);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 36px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey-1);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--blue-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
p { font-size: 1.05rem; color: var(--grey-2); }
a { color: var(--blue-mid); text-decoration: none; transition: all .25s ease; }
a:hover { color: var(--blue-accent); }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-5);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1240px;
  margin: 0 auto;
}
.nav-logo img { height: 44px; }
.nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  list-style: none;
}
.nav-links a {
  color: var(--grey-1);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all .25s;
}
.nav-links a:hover { background: var(--blue-pale); color: var(--blue-dark); }
.nav-links a.active { color: var(--blue-dark); background: var(--blue-light); }
.nav-cta {
  background: var(--blue-dark) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--blue-accent) !important; color: var(--white) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--blue-dark);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: all .25s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--blue-dark);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--blue-mid);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-accent {
  background: var(--orange);
  color: var(--white);
}
.btn-accent:hover {
  background: #FF7028;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-outline {
  background: transparent;
  color: var(--blue-dark);
  border: 2px solid var(--blue-dark);
}
.btn-outline:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--blue-dark);
}
.btn-white:hover {
  background: var(--yellow);
  color: var(--blue-dark);
  transform: translateY(-2px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--gradient-hero);
  color: var(--white);
  padding: 5rem 0 8rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 100px;
  background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C300,120 600,0 1200,60 L1200,120 L0,120 Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center/cover;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero h1 .accent { color: var(--blue-accent); }
.hero .lede {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 600px;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  text-align: center;
  transform: rotate(-2deg);
  position: relative;
}
.hero-card-num {
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.hero-card-label {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.hero-card-mini {
  position: absolute;
  background: var(--yellow);
  color: var(--blue-dark);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.hero-card-mini-1 {
  top: -1.5rem;
  left: -2rem;
  transform: rotate(-8deg);
}
.hero-card-mini-2 {
  bottom: -1.5rem;
  right: -2rem;
  transform: rotate(6deg);
  background: var(--green);
  color: var(--white);
}

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 5rem 0; }

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-accent);
  margin-bottom: 1rem;
}
.section-head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.section-head p { font-size: 1.15rem; color: var(--grey-3); margin-top: 1rem; }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--grey-6);
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-water);
  transition: height .25s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-accent);
}
.service-card:hover::before { height: 100%; opacity: 0.04; }
.service-icon {
  width: 64px;
  height: 64px;
  background: var(--blue-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  transition: all .35s ease;
}
.service-card:hover .service-icon {
  background: var(--blue-dark);
  transform: scale(1.05);
}
.service-card:hover .service-icon svg { fill: var(--white); }
.service-card h3 { margin-bottom: 1rem; }
.service-card p { font-size: 0.98rem; margin-bottom: 1.5rem; }
.service-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.tag-b2b { background: var(--blue-light); color: var(--blue-dark); }
.tag-b2c { background: #FFF7E0; color: #B7791F; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 0.95rem;
}
.service-link::after {
  content: '→';
  transition: transform .25s ease;
}
.service-link:hover { color: var(--blue-accent); }
.service-link:hover::after { transform: translateX(4px); }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats {
  background: var(--blue-pale);
  padding: 4rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.stat-num small { font-size: 1.5rem; color: var(--blue-accent); }
.stat-label {
  font-size: 0.95rem;
  color: var(--grey-3);
  margin-top: 0.5rem;
  font-weight: 500;
}

/* ============================================================
   B2B / B2C SECTIONS
   ============================================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-img img { width: 100%; display: block; }
.split-content h2 { margin-bottom: 1.5rem; }
.split-content p { margin-bottom: 1rem; font-size: 1.05rem; }
.feature-list { list-style: none; margin: 2rem 0; }
.feature-list li {
  padding: 0.7rem 0 0.7rem 2.5rem;
  position: relative;
  color: var(--grey-2);
}
.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 28px;
  height: 28px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ============================================================
   GREEN BANNER (subvention)
   ============================================================ */
.green-banner {
  background: var(--gradient-green);
  color: var(--white);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}
.green-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.green-banner-pct {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-family: 'Plus Jakarta Sans', sans-serif;
  position: relative;
}
.green-banner-text { flex: 1; min-width: 280px; position: relative; }
.green-banner-text strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.green-banner-text p { color: rgba(255,255,255,0.95); }

/* ============================================================
   TESTIMONIAL / WHY US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.why-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-5);
  text-align: left;
}
.why-emoji { font-size: 2.5rem; margin-bottom: 1rem; }
.why-card h4 { color: var(--blue-dark); margin-bottom: 0.5rem; }
.why-card p { font-size: 0.95rem; color: var(--grey-3); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--gradient-hero);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,174,239,0.2) 0%, transparent 50%);
}
.cta-section h2, .cta-section p { color: var(--white); position: relative; }
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.9; }
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--grey-1);
  color: var(--grey-5);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand img { height: 50px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand p { color: var(--grey-4); font-size: 0.95rem; }
footer h5 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.6rem; }
footer ul a { color: var(--grey-4); font-size: 0.95rem; }
footer ul a:hover { color: var(--blue-accent); }
.footer-contact { font-size: 0.95rem; line-height: 1.8; color: var(--grey-4); }
.footer-contact a { color: var(--blue-accent); }
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--grey-4);
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--grey-4); }
.footer-bottom .partners { display: flex; gap: 1rem; align-items: center; }
.footer-bottom .partners img { height: 30px; opacity: 0.7; filter: brightness(0) invert(1); }

/* ============================================================
   PAGE-SPECIFIC : HEADER (non-home pages)
   ============================================================ */
.page-header {
  background: var(--gradient-hero);
  color: var(--white);
  padding: 4rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C300,60 600,0 1200,30 L1200,60 L0,60 Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center/cover;
}
.page-header h1 { color: var(--white); margin-bottom: 1rem; }
.page-header p { color: rgba(255,255,255,0.9); font-size: 1.2rem; max-width: 700px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--blue-accent); }

/* ============================================================
   PRICING CARDS
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 2px solid var(--grey-5);
  box-shadow: var(--shadow-sm);
  transition: all .35s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--blue-accent);
  box-shadow: var(--shadow-xl);
  transform: scale(1.03);
}
.price-card.featured::before {
  content: 'Le + populaire';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  padding: 0.3rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.price-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.price-card .price-from { color: var(--grey-3); font-size: 0.9rem; margin-bottom: 0.5rem; }
.price-card .price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 0.25rem;
}
.price-card .price small { font-size: 1rem; color: var(--grey-3); font-weight: 400; }
.price-card .price-unit { color: var(--grey-3); font-size: 0.85rem; margin-bottom: 1.5rem; }
.price-card ul { list-style: none; margin: 1rem 0 2rem; flex: 1; }
.price-card ul li { padding: 0.5rem 0 0.5rem 1.5rem; position: relative; font-size: 0.95rem; color: var(--grey-2); }
.price-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-info p { margin-bottom: 1.5rem; }
.contact-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-block-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-dark);
  font-size: 1.3rem;
}
.contact-block h4 { font-size: 1rem; margin-bottom: 0.25rem; color: var(--blue-dark); }
.contact-block p { font-size: 0.95rem; color: var(--grey-2); margin: 0; }
.contact-form {
  background: var(--blue-pale);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--blue-dark);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--grey-5);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  transition: all .25s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 4px rgba(0,174,239,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner, .split-section, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 400px; margin: 0 auto; }
  .services, .pricing-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--grey-5);
    transform: translateY(-200%);
    transition: transform .3s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { display: block; padding: 0.75rem 1rem; }
  .services, .pricing-grid, .why-grid, .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .price-card.featured { transform: none; }
  .hero { padding: 3rem 0 6rem; }
  .green-banner-pct { font-size: 3.5rem; }
  section { padding: 3.5rem 0; }
}

/* fade-in animations — visible by default (accessibility/SEO),
   JS adds .js-animate to body which then enables the entry animation */
.fade-in {
  opacity: 1;
  transform: none;
  transition: opacity .8s ease, transform .8s ease;
}
body.js-animate .fade-in:not(.visible) {
  opacity: 0;
  transform: translateY(20px);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-in, body.js-animate .fade-in:not(.visible) {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   ADDITIONS V2 — Vidéos, Équipe, Slogans
   ============================================================ */

/* Slogan accent — utilisé pour mettre en valeur les phrases-clés */
.slogan-accent {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 1.1rem;
  border-radius: 999px;
  margin: 0.5rem 0 1rem;
}
.slogan-accent.on-dark {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}

/* Hero slogan tag for visible branding */
.hero-slogan-tag {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 1rem;
  font-style: italic;
}

/* YouTube video embed responsive */
.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin: 2rem 0;
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Team / About section */
.team-block {
  background: var(--blue-pale);
  padding: 4rem 0;
}
.team-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.team-avatar img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  border: 4px solid var(--blue-accent);
  box-shadow: 0 8px 20px rgba(0,53,128,0.2);
}
.team-info h3 { margin-bottom: 0.3rem; color: var(--blue-dark); }
.team-info .role {
  font-size: 0.95rem;
  color: var(--blue-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.team-info p { font-size: 1rem; line-height: 1.65; margin-bottom: 0.75rem; }

/* Photo embed in split section */
.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.photo-frame img { width: 100%; display: block; }
.photo-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(0,53,128,0.85);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

/* Floating WhatsApp/Phone button on mobile */
.float-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  background: var(--green);
  color: var(--white);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(46,133,64,0.4);
  font-size: 1.5rem;
  text-decoration: none;
  transition: transform .2s ease;
}
.float-cta:hover { transform: scale(1.1); color: var(--white); }

@media (max-width: 768px) {
  .team-card { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; padding: 2rem; }
  .team-avatar { max-width: 180px; margin: 0 auto; }
}

/* Adjust hero — remove the card visual since we have real content now */
.hero-bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,30,77,0.92) 0%, rgba(0,53,128,0.85) 60%, rgba(0,102,204,0.75) 100%);
}
.hero-bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
