/* SEED Innovation — palette officielle (Montserrat + violet signature) */

:root {
  /* Couleurs signature SEED extraites du site original */
  --c-dark:       #141325;   /* sombre profond signature */
  --c-dark-2:     #1b1c2e;   /* alternance */
  --c-dark-3:     #05020d;   /* presque noir */
  --c-purple:     #673ab7;   /* violet signature SEED (Material Deep Purple) */
  --c-purple-soft:#9575cd;
  --c-red:        #f44336;   /* rouge accent */
  --c-text-light: #f7f6fa;
  --c-text-muted: #b7b7b7;
  --c-text-dim:   #8c8c8c;

  /* Palette claire pour sections light */
  --c-cream:      #f7f6fa;
  --c-cream-2:    #ebe9f4;
  --c-text-dark:  #1a1420;
  --c-text-soft:  #565656;
  --c-line:       #ddd9e5;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 100px;

  --t-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-soft: 0 2px 12px rgba(20, 19, 37, 0.08);
  --shadow-md: 0 8px 28px rgba(20, 19, 37, 0.14);
  --shadow-lg: 0 24px 60px rgba(20, 19, 37, 0.22);
  --shadow-purple: 0 16px 48px rgba(103, 58, 183, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--c-text-dark);
  background: var(--c-cream);
  line-height: 1.65;
  font-weight: 400;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: inherit;
}
h1 { font-size: clamp(2.25rem, 5.5vw, 4.5rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.85rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
h4 { font-size: 1.15rem; font-weight: 600; }
.script {
  font-family: 'Great Vibes', cursive;
  font-weight: 400;
  letter-spacing: 0;
}
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

/* ===== Navigation ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(20, 19, 37, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 0;
  transition: padding var(--t-fast), background var(--t-fast);
}
.nav.scrolled { padding: 0.5rem 0; background: rgba(5, 2, 13, 0.96); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav-brand { display: flex; align-items: center; gap: 0.75rem; color: #fff; }
.nav-brand img { height: 36px; width: auto; filter: brightness(0) invert(1); }
.nav-brand span { font-weight: 600; font-size: 1.05rem; letter-spacing: 0.02em; }
.nav-links { display: flex; gap: 0.25rem; list-style: none; padding: 0; margin: 0; }
.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem; font-weight: 500;
  transition: all var(--t-fast);
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-cta {
  background: var(--c-purple); color: #fff !important;
  padding: 0.55rem 1.25rem !important; font-weight: 600;
}
.nav-cta:hover { background: var(--c-purple-soft); }
.nav-burger {
  display: none; background: none;
  border: 1px solid rgba(255, 255, 255, 0.2); color: #fff;
  padding: 0.5rem 0.75rem; border-radius: var(--r-sm);
  cursor: pointer; font-size: 1.2rem;
}
@media (max-width: 920px) {
  .nav-burger { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--c-dark);
    flex-direction: column; padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 0; overflow: hidden;
    transition: max-height 350ms ease, padding 350ms ease;
  }
  .nav-links.open { max-height: 600px; padding: 0.75rem; }
  .nav-links a { padding: 0.85rem 1rem; }
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-bg.active { opacity: 1; }
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(20, 19, 37, 0.85) 0%, rgba(103, 58, 183, 0.55) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 920px;
  padding: 7rem 0 4rem;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-pill);
  font-size: 0.82rem; font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2rem;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-red);
  box-shadow: 0 0 12px var(--c-red);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.85); } }
.hero h1 { color: #fff; font-weight: 700; margin-bottom: 1.5rem; }
.hero-slide-headline, .hero-slide-highlight {
  display: inline-block;
  transition: opacity 200ms ease;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--c-purple-soft) 0%, var(--c-red) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-tagline {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 720px;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }

/* Slider indicators */
.hero-pager {
  position: absolute;
  bottom: 2.5rem; right: 2.5rem;
  display: flex; gap: 0.5rem;
  z-index: 2;
}
.hero-pager button {
  width: 36px; height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border: none; padding: 0; cursor: pointer;
  transition: background var(--t-fast);
}
.hero-pager button.active { background: #fff; }
@media (max-width: 600px) { .hero-pager { right: 1rem; bottom: 1.5rem; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.92rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Montserrat', sans-serif;
}
.btn-purple { background: var(--c-purple); color: #fff; }
.btn-purple:hover { background: var(--c-purple-soft); transform: translateY(-2px); box-shadow: var(--shadow-purple); }
.btn-red { background: var(--c-red); color: #fff; }
.btn-red:hover { background: #d32f2f; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(244, 67, 54, 0.35); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }
.btn-dark { background: var(--c-dark); color: #fff; }
.btn-dark:hover { background: var(--c-purple); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-dark { background: transparent; color: var(--c-dark); border-color: var(--c-dark); }
.btn-outline-dark:hover { background: var(--c-dark); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 1rem 2rem; font-size: 0.95rem; }

/* ===== Section image hero (chaque domaine a sa section avec image fullscreen) ===== */
.section-hero {
  min-height: 80vh;
  position: relative;
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
}
.section-hero .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.section-hero .bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(20, 19, 37, 0.90) 0%, rgba(20, 19, 37, 0.55) 60%, rgba(103, 58, 183, 0.4) 100%);
}
.section-hero.right .bg::after {
  background: linear-gradient(240deg, rgba(20, 19, 37, 0.90) 0%, rgba(20, 19, 37, 0.55) 60%, rgba(244, 67, 54, 0.4) 100%);
}
.section-hero .container { position: relative; z-index: 1; padding-top: 5rem; padding-bottom: 5rem; }
.section-hero .max-w-content { max-width: 640px; }
.section-hero.right .container { display: flex; justify-content: flex-end; }

/* ===== Sections light ===== */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}
.section-light { background: var(--c-cream); }
.section-cream-2 { background: var(--c-cream-2); }
.section-dark { background: var(--c-dark); color: #fff; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: rgba(255, 255, 255, 0.78); }

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--c-purple);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2.5rem;
}
.section-eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 2rem; height: 2px;
  background: var(--c-purple);
}
.section-dark .section-eyebrow { color: var(--c-purple-soft); }
.section-dark .section-eyebrow::before { background: var(--c-purple-soft); }

.section-title { max-width: 760px; margin-bottom: 4rem; }
.section-title h2 { margin-bottom: 1rem; }
.section-title p { font-size: 1.1rem; color: var(--c-text-soft); line-height: 1.7; }
.section-dark .section-title p { color: rgba(255, 255, 255, 0.75); }

/* ===== Stats ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}
.stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--r-md);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--t-fast);
}
.stat:hover { border-color: var(--c-purple-soft); transform: translateY(-2px); }
.stat-value {
  font-size: 2.75rem; font-weight: 700;
  background: linear-gradient(120deg, var(--c-purple-soft), var(--c-red));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem; font-weight: 500;
  margin-top: 0.5rem;
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* ===== Domaines = sections fullscreen ===== */
.domain-fullscreen .domain-tagline-script {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--c-purple-soft);
  font-weight: 400;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.domain-fullscreen h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 1.25rem; }
.domain-fullscreen .domain-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}
.domain-fullscreen .domain-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 2rem;
}
.domain-fullscreen .domain-tags span {
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-pill);
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.02em;
}

/* ===== Culture / Valeurs ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.value {
  border-left: 3px solid var(--c-purple);
  padding-left: 1.5rem;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.value:hover { border-left-color: var(--c-red); transform: translateX(4px); }
.value h4 { color: #fff; margin-bottom: 0.5rem; font-weight: 700; }
.value p { font-size: 0.95rem; opacity: 0.78; margin: 0; }

/* ===== Ecosystem ribbon ===== */
.ecosystem {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  justify-content: center;
  margin-top: 2.5rem;
}
.eco-item {
  padding: 0.7rem 1.3rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-pill);
  font-size: 0.92rem; font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: all var(--t-fast);
}
.eco-item:hover { background: var(--c-purple); border-color: var(--c-purple); color: #fff; transform: translateY(-2px); }

/* ===== Blog placeholder ===== */
.blog-placeholder {
  background: linear-gradient(135deg, var(--c-cream-2) 0%, var(--c-cream) 100%);
  border: 1px dashed var(--c-line);
  border-radius: var(--r-lg);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--c-text-dark);
}
.blog-placeholder h3 { color: var(--c-dark); }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h3 { color: var(--c-dark); margin-bottom: 1.5rem; }
.contact-line {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--c-line);
}
.contact-line:last-child { border-bottom: none; }
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-dark); color: var(--c-purple-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-line strong { display: block; font-size: 0.78rem; color: var(--c-purple); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.35rem; }
.contact-line a { color: var(--c-dark); font-weight: 500; }
.contact-line a:hover { color: var(--c-purple); }

.form { background: var(--c-cream); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 2.5rem; }
.form .label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--c-dark); }
.form input, .form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-sm);
  background: #fff;
  font: inherit;
  font-family: inherit;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--c-purple);
  box-shadow: 0 0 0 3px rgba(103, 58, 183, 0.1);
}
.form .field { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ===== Footer ===== */
.footer {
  background: var(--c-dark-3);
  color: #aaa;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(103, 58, 183, 0.2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h5 {
  color: #fff;
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  margin-bottom: 1.25rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 0.35rem 0; font-size: 0.9rem; }
.footer a { color: #aaa; transition: color var(--t-fast); }
.footer a:hover { color: var(--c-purple-soft); }
.footer-brand img { height: 48px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-tagline { font-style: italic; color: var(--c-purple-soft); margin-bottom: 1rem; }
.footer-social {
  display: flex; gap: 0.5rem;
  margin-top: 1rem;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  transition: all var(--t-fast);
}
.footer-social a:hover { background: var(--c-purple); color: #fff; transform: translateY(-3px); }
.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.82rem; color: #666;
}

/* ===== Floating WhatsApp ===== */
.whatsapp-fab {
  position: fixed; right: 1.5rem; bottom: 1.5rem;
  width: 56px; height: 56px;
  background: #25d366;
  color: #fff !important;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 90;
  transition: transform var(--t-fast);
}
.whatsapp-fab:hover { transform: scale(1.1); }

/* ===== Animations on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Alerts ===== */
.alert { padding: 1rem 1.25rem; border-radius: var(--r-sm); margin-bottom: 1rem; font-size: 0.95rem; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
