/* =============================================
   OAZIS Building V2 — Tech & Innovation
   Palette: Bleu nuit + Vert Lime + Jaune Doré
   ============================================= */

/* ---------- VARIABLES ---------- */
:root {
  --bg-primary: #0B1120;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.6);
  --accent: #88b32e;
  --accent-2: #ffbc00;
  --accent-glow: rgba(136, 179, 46, 0.3);
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border: rgba(148, 163, 184, 0.1);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

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

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

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: all 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }

/* ---------- PARTICLE CANVAS ---------- */
#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* ---------- UTILITIES ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; position: relative; z-index: 1; }

.text-gradient {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-tag i { font-size: 6px; }
.section-tag--light { color: var(--accent); }

.section__title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section__title--center { text-align: center; }
.section__title--light { color: #fff; }

.section__subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.btn--glow {
  background: #88b32e;
  color: #ffffff;
  box-shadow: 0 0 30px rgba(136, 179, 46, 0.3);
}

.btn--glow:hover {
  box-shadow: 0 0 50px var(--accent-glow), 0 0 80px rgba(136, 179, 46, 0.15);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(4px);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(136, 179, 46, 0.05);
}

.btn--sm { padding: 10px 22px; font-size: 0.85rem; }
.btn--full { width: 100%; justify-content: center; }

/* ---------- LOADER ---------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__ring {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}

.loader__text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--text-secondary);
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- CUSTOM CURSOR ---------- */
.cursor, .cursor-follower {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  display: none;
}

.cursor {
  width: 8px;
  height: 8px;
  background: var(--accent);
  transform: translate(-50%, -50%);
}

.cursor-follower {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(136, 179, 46, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

/* =============================================
   HEADER
   ============================================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 8px 0;
  transition: all 0.4s;
}

.header.scrolled {
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.header__logo img { height: 40px; }

.header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__menu {
  display: flex;
  gap: 4px;
}

.header__link {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s;
}

.header__link:hover,
.header__link.active {
  color: var(--text-primary);
}

.header__link.active {
  background: rgba(136, 179, 46, 0.08);
  color: var(--accent);
}

.header__link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent-glow);
}

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  z-index: 101;
}

.header__burger span {
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.header__burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.header__burger.open span:nth-child(2) { opacity: 0; }
.header__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Language Switch */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 16px;
}

.lang-toggle__btn {
  background: none;
  border: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: all 0.3s;
}

.lang-toggle__btn:hover {
  color: var(--text-primary);
}

.lang-toggle__btn.active {
  color: var(--accent);
}

.lang-toggle__sep {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 300;
}

/* Hide Google Translate bar */
.goog-te-banner-frame, .skiptranslate { display: none !important; }
body { top: 0 !important; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero__slide.active { opacity: 1; }

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(11, 17, 32, 0.5) 0%, rgba(11, 17, 32, 0.25) 50%, rgba(11, 17, 32, 0.45) 100%),
    linear-gradient(to bottom, transparent 70%, var(--bg-primary) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 120px 24px 80px;
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  font-size: 0.82rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 30px;
  backdrop-filter: blur(8px);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px transparent; }
}

.hero__title {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero__title-line { display: block; }

.hero__title-line--accent {
  color: var(--accent);
  text-shadow: 0 0 40px var(--accent-glow);
}

.hero__subtitle {
  font-size: 16px;
  color: #ffffff;
  max-width: 700px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero indicators */
.hero__indicators {
  position: absolute;
  right: 0;
  bottom: 100px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__indicator {
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px;
  transition: all 0.3s;
}

.hero__indicator.active { color: var(--accent); }

.hero__indicator-line {
  width: 40px;
  height: 1px;
  background: var(--border);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =============================================
   STATS
   ============================================= */
.stats {
  position: relative;
  z-index: 2;
  margin-top: -60px;
  padding: 0 24px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px;
  gap: 20px;
  backdrop-filter: blur(16px);
}

.stat {
  text-align: center;
  padding: 10px;
}

.stat__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__suffix {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat__label {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-top: 4px;
}

/* =============================================
   À PROPOS
   ============================================= */
.apropos {
  background: #ffffff;
  color: #1a1a2e;
  position: relative;
  overflow: visible;
  padding-bottom: 80px;
  z-index: 2;
}

.apropos .section-tag { color: var(--accent); }
.apropos .section__title { color: #1a1a2e; }
.apropos__name { color: #1a1a2e; }
.apropos__text { color: #444; }
.apropos__feature { color: #444; }
.apropos__float-card { background: #fff; border-color: #e0e0e0; box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.apropos__float-card strong { color: #1a1a2e; }
.apropos__float-card span { color: #666; }

.apropos__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.apropos__img-wrapper {
  position: relative;
  margin-bottom: -90px;
  z-index: 1;
  align-self: end;
}

.apropos__img-wrapper img {
  border-radius: var(--radius);
}

.apropos__float-card {
  position: absolute;
  bottom: 100px;
  right: -20px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.apropos__float-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--bg-primary);
  font-size: 1.1rem;
}

.apropos__float-card strong {
  display: block;
  font-size: 0.9rem;
  color: #1a1a2e;
}

.apropos__float-card span {
  font-size: 0.78rem;
  color: #666;
}

.apropos__team {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.apropos__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.apropos__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

.apropos__role {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 500;
}

.apropos__text {
  color: #444;
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.8;
}

.apropos__features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.apropos__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: #444;
}

.apropos__feature i {
  color: var(--accent);
  font-size: 1rem;
}

/* =============================================
   BRIDGE IMAGE (entre À propos et Savoir-faire)
   ============================================= */
.bridge-img__photo {
  position: absolute;
  bottom: -40px;
  right: 0;
  width: 460px;
  height: auto;
  z-index: 3;
  pointer-events: none;
}

/* =============================================
   SERVICES
   ============================================= */
.services {
  background: linear-gradient(rgba(11, 17, 32, 0.72), rgba(11, 17, 32, 0.85) 80%, #0B1120 100%), url('../img/bat2.webp') top center/cover no-repeat;
  padding-bottom: 120px;
  position: relative;
  z-index: 2;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 0;
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(136, 179, 46, 0.1);
}

.service-card__glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(136, 179, 46, 0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.service-card:hover .service-card__glow { opacity: 1; }

.service-card__number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.15);
  position: absolute;
  top: 12px;
  right: 16px;
  line-height: 1;
  z-index: 2;
}

.service-card__icon {
  margin-bottom: 0;
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.service-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.service-card__body {
  padding: 24px 30px 30px;
  position: relative;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
  color: var(--text-primary);
}

.service-card__desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card__link {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s;
}

.service-card__link:hover { gap: 14px; }

/* =============================================
   BUILDING
   ============================================= */
.building {
  background: #ffffff;
  padding: 120px 0;
  color: #1a1a2e;
  position: relative;
  overflow: hidden;
}

.building__blueprint {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
  filter: grayscale(1) brightness(0.4);
  transform: scaleX(-1);
}

.building .container { position: relative; z-index: 1; }

.building .section-tag { color: var(--accent); }
.building .section__title { color: #1a1a2e; }
.building__desc { color: #444; }
.building__cta .btn { color: #ffffff; }

.building__wave-top,
.building__wave-bottom {
  position: absolute;
  width: 100%;
  left: 0;
  line-height: 0;
}

.building__wave-top { top: -1px; }
.building__wave-bottom { bottom: -1px; }

.building__wave-top svg,
.building__wave-bottom svg {
  width: 100%;
  height: 80px;
}

.building__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.building__desc {
  color: #444;
  font-size: 16px;
  line-height: 1.8;
}

/* --- Building services --- */
.building__services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 50px;
  padding-top: 30px;
}

.building__svc-card {
  position: relative;
  background: #f8f9fa;
  border: 1px solid #e8e8e8;
  border-radius: 0 0 16px 16px;
  padding: 50px 28px 32px;
  text-align: center;
  transition: all 0.4s ease;
}

.building__svc-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #6a9a1e);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.building__svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(136, 179, 46, 0.1);
  border-color: var(--accent);
}

.building__svc-card:hover::after {
  width: 80px;
}

.building__svc-float-icon {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #6a9a1e);
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 6px 20px rgba(136, 179, 46, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.building__svc-card:hover .building__svc-float-icon {
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 8px 28px rgba(136, 179, 46, 0.4);
}

.building__svc-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.building__svc-desc {
  color: #666;
  font-size: 0.88rem;
  line-height: 1.7;
}

/* =============================================
   GALLERY SECTION
   ============================================= */
/* Toolbar: filters + count */
.gallery__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.gallery__filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery__filter {
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
}

.gallery__filter:hover {
  color: var(--text-primary);
  border-color: var(--accent);
}

.gallery__filter.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.gallery__count {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.gallery__count strong {
  color: var(--accent);
  font-size: 1.1rem;
}

/* Grid 3 colonnes */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery__card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: opacity 0.4s, transform 0.4s;
}

.gallery__card.hidden {
  display: none;
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.gallery__card:hover .gallery__img {
  transform: scale(1.06);
}

.building__cta {
  text-align: center;
  margin-top: 50px;
}

/* =============================================
   CARE — Orbital Design
   ============================================= */
.care { position: relative; overflow: hidden; }

.care__blueprint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
}

.care .container { position: relative; z-index: 1; }

.care .section-tag { color: #ffbc00; }
.care .section-tag i { color: #ffbc00; }

.care__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.care__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.care__content .section__title {
  font-size: 2.4rem;
}

.care__text {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.text-gradient--care {
  background: linear-gradient(135deg, #ffbc00, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Orbital container --- */
.care__orbital {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  justify-self: end;
}

/* --- Orbit rings --- */
.care__orbit-ring {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px solid rgba(255, 188, 0, 0.1);
  animation: careOrbitPulse 4s ease-in-out infinite;
}

.care__orbit-ring--2 {
  inset: 20%;
  border: 1px dashed rgba(255, 188, 0, 0.06);
  animation-delay: 2s;
  animation-direction: reverse;
}

@keyframes careOrbitPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

/* --- SVG lines --- */
.care__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* --- Centre lumineux --- */
.care__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.care__center-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 188, 0, 0.25) 0%, rgba(255, 188, 0, 0.05) 50%, transparent 70%);
  animation: careGlow 3s ease-in-out infinite;
}

@keyframes careGlow {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
}

.care__center-content {
  position: relative;
  z-index: 2;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 188, 0, 0.15), rgba(255, 140, 0, 0.08));
  border: 2px solid rgba(255, 188, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 60px rgba(255, 188, 0, 0.15), inset 0 0 30px rgba(255, 188, 0, 0.05);
}

.care__center-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: #ffbc00;
  letter-spacing: 2px;
  line-height: 1;
}

.care__center-sub {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--text-primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* --- Satellites --- */
.care__satellite {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 4;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.care__satellite:hover {
  transform: scale(1.12) !important;
}

.care__satellite:hover .care__sat-icon {
  border-color: #ffbc00;
  box-shadow: 0 0 40px rgba(255, 188, 0, 0.4), 0 0 80px rgba(255, 188, 0, 0.15);
  background: rgba(255, 188, 0, 0.12);
}

.care__satellite:hover .care__sat-label {
  color: var(--text-primary);
}

.care__sat-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255, 188, 0, 0.1), rgba(255, 140, 0, 0.05));
  border: 2px solid rgba(255, 188, 0, 0.3);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 25px rgba(255, 188, 0, 0.12);
  transition: all 0.4s ease;
}

.care__sat-icon i {
  font-size: 1.6rem;
  color: #ffbc00;
  filter: drop-shadow(0 0 6px rgba(255, 188, 0, 0.4));
}

.care__sat-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

/* Satellite positions (triangle: top, bottom-right, bottom-left) */
.care__satellite--1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.care__satellite--2 {
  bottom: 5%;
  right: 2%;
}

.care__satellite--3 {
  bottom: 5%;
  left: 2%;
}

/* Satellite float animations */
.care__satellite--1 { animation: careFloat1 6s ease-in-out infinite; }
.care__satellite--2 { animation: careFloat2 6s ease-in-out infinite 1.5s; }
.care__satellite--3 { animation: careFloat3 6s ease-in-out infinite 3s; }

@keyframes careFloat1 {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes careFloat2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px) translateX(6px); }
}

@keyframes careFloat3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px) translateX(-6px); }
}

.care .btn--glow {
  background: #ffbc00;
  color: #000;
  box-shadow: 0 0 30px rgba(255, 188, 0, 0.3);
}

.care .btn--glow:hover {
  box-shadow: 0 0 50px rgba(255, 188, 0, 0.5), 0 0 80px rgba(255, 188, 0, 0.15);
}

/* =============================================
   PARTENAIRES
   ============================================= */
.partenaires__marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partenaires__track {
  display: flex;
  gap: 50px;
  animation: marquee 35s linear infinite;
  width: max-content;
}

.partenaires__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  transition: all 0.4s;
}

.partenaires__item img {
  height: 55px;
  width: auto;
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.5;
  transition: all 0.4s;
}

.partenaires__item:hover {
  border-color: var(--accent);
  background: rgba(136, 179, 46, 0.04);
}

.partenaires__item:hover img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

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

/* =============================================
   CONTACT
   ============================================= */
.contact {
  background: #ffffff;
  overflow: hidden;
  color: #1a1a2e;
}

.contact .section-tag--light { color: var(--accent); }
.contact .section__title { color: #1a1a2e; }
.contact__desc { color: #444; }
.contact__detail-item strong { color: #1a1a2e; }
.contact__detail-item span { color: #666; }
.contact__social a { color: #666; border-color: #ddd; }
.contact__social a:hover { color: var(--accent); border-color: var(--accent); }

.contact__glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.contact__glow-orb--1 {
  width: 400px;
  height: 400px;
  background: rgba(136, 179, 46, 0.08);
  top: -100px;
  right: -100px;
}

.contact__glow-orb--2 {
  width: 300px;
  height: 300px;
  background: rgba(255, 188, 0, 0.05);
  bottom: -80px;
  left: -80px;
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact__desc {
  color: #444;
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.contact__detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: #f8f9fa;
  border: 1px solid #edf0f3;
  border-radius: 14px;
  transition: all 0.3s ease;
}

.contact__detail-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(136, 179, 46, 0.1);
  transform: translateY(-2px);
}

.contact__detail-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(136, 179, 46, 0.12);
  color: var(--accent);
  flex-shrink: 0;
  font-size: 1.05rem;
}

.contact__detail-item strong {
  display: block;
  font-size: 0.85rem;
  color: #1a1a2e;
  margin-bottom: 2px;
}

.contact__detail-item span {
  font-size: 0.88rem;
  color: #555;
}

.contact__why {
  margin-bottom: 32px;
}

.contact__why-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.contact__why-items {
  display: flex;
  gap: 16px;
}

.contact__why-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 400;
  color: #1a1a2e;
}

.contact__why-item i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(136, 179, 46, 0.12);
  color: var(--accent);
  font-size: 0.85rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact__social {
  display: flex;
  gap: 12px;
}

.contact__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid #ddd;
  color: #666;
  transition: all 0.3s;
}

.contact__social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(136, 179, 46, 0.05);
}

/* ---------- CONTACT FORM ---------- */
.contact-form {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.contact-form__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 28px;
  color: #1a1a2e;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form__field {
  margin-bottom: 18px;
}

.contact-form__field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: #555;
  margin-bottom: 6px;
}

.contact-form__input {
  width: 100%;
  padding: 13px 16px;
  background: #f8f8f5;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  color: #1a1a2e;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  transition: all 0.3s;
}

.contact-form__input::placeholder { color: #999; }

.contact-form__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(136, 179, 46, 0.1);
  background: #fff;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

@keyframes successPop {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.wizard__success h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.wizard__success p { color: #555; }

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  backdrop-filter: blur(8px);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: #fff;
  font-size: 1.6rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding-top: 70px;
  position: relative;
  z-index: 1;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
}

.footer__logo { height: 40px; margin-bottom: 16px; }

.footer__brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.3s;
}

.footer__social a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.footer__col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.footer__col ul li {
  margin-bottom: 10px;
}

.footer__col ul li,
.footer__col ul li a {
  color: var(--text-muted);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__col ul li a:hover { color: var(--accent); }
.footer__col ul li i { color: var(--accent); font-size: 0.8rem; }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s;
  backdrop-filter: blur(8px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--accent);
  background: rgba(136, 179, 46, 0.08);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* =============================================
   ANIMATIONS
   ============================================= */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="fade-right"] { transform: translateX(-50px); }
[data-animate="fade-left"] { transform: translateX(50px); }
[data-animate="fade-up"] { transform: translateY(40px); }

[data-animate].visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
/* ---- 1024px : Tablette paysage ---- */
@media (max-width: 1024px) {
  .hero__title { font-size: 3.5rem; }
  .section__title { font-size: 2.2rem; }
  .apropos__grid { gap: 50px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .bridge-img__photo { display: none; }
  .building__services { gap: 20px; }
  .building__svc-card { padding: 40px 20px 28px; }
  .care__content .section__title { font-size: 2rem; }
}

/* ---- 820px : Tablette portrait ---- */
@media (max-width: 820px) {
  .section { padding: 80px 0; }

  .header__burger { display: flex; }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--glass-border);
    padding: 100px 30px 40px;
    flex-direction: column;
    align-items: flex-start;
    transition: right 0.4s ease;
    z-index: 100;
  }

  .header__nav.open { right: 0; }

  .header__menu {
    flex-direction: column;
    gap: 4px;
    width: 100%;
    margin-bottom: 24px;
  }

  .header__link {
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
    width: 100%;
  }

  /* Hero */
  .hero { min-height: 90vh; }
  .hero__content {
    text-align: center;
    align-items: center;
  }
  .hero__title { font-size: 2.6rem; }
  .hero__subtitle { text-align: center; }
  .hero__actions { justify-content: center; }
  .hero__indicators { display: none; }
  .hero__scroll { display: none; }

  /* Stats */
  .stats { margin-top: -40px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); padding: 28px; }
  .stat__number { font-size: 2.2rem; }

  /* À propos */
  .apropos { padding-bottom: 60px; }
  .apropos__grid { grid-template-columns: 1fr; gap: 40px; }
  .apropos__img-wrapper { margin-bottom: 0; }
  .apropos__content { text-align: left; align-items: flex-start; }
  .apropos__features { align-items: flex-start; }
  .apropos__float-card { right: 10px; bottom: -10px; }
  .bridge-img__photo { display: none; }

  /* Services */
  .services__grid { grid-template-columns: 1fr; gap: 20px; }

  /* Building */
  .building { padding: 80px 0; }
  .building__services { grid-template-columns: 1fr; gap: 40px; padding-top: 10px; }
  .building__svc-card { padding: 44px 24px 28px; }
  .building__blueprint { width: 80%; opacity: 0.08; }

  /* Gallery */
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__toolbar { flex-direction: column; align-items: flex-start; }

  /* Care */
  .care__layout { grid-template-columns: 1fr; gap: 40px; }
  .care__content { align-items: flex-start; text-align: left; }
  .care__content .section__title { font-size: 1.8rem; }
  .care__orbital { max-width: 420px; margin: 0 auto; }
  .care__sat-icon { width: 58px; height: 58px; }
  .care__sat-icon i { font-size: 1.2rem; }
  .care__sat-label { font-size: 0.72rem; }
  .care__center-content { width: 95px; height: 95px; }
  .care__center-label { font-size: 1rem; }
  .care__center-sub { font-size: 0.7rem; }

  /* Contact */
  .contact__layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 28px 22px; }
  .contact-form__row { grid-template-columns: 1fr; }
  .contact__why-items { flex-wrap: wrap; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }

  .cursor, .cursor-follower { display: none !important; }
}

/* ---- 480px : Mobile ---- */
@media (max-width: 480px) {
  .section { padding: 60px 0; }

  /* Hero */
  .hero__title { font-size: 2rem; }
  .hero__subtitle { font-size: 1rem; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__badge { font-size: 0.75rem; }

  /* Stats */
  .stats__grid { gap: 12px; padding: 20px; }
  .stat__number { font-size: 1.8rem; }

  /* À propos */
  .section__title { font-size: 1.8rem; }
  .bridge-img__photo { display: none; }

  /* Building */
  .building__services { gap: 36px; }
  .building__svc-float-icon { width: 48px; height: 48px; top: -24px; font-size: 1.1rem; }
  .building__svc-card { padding: 38px 20px 24px; }
  .building__svc-title { font-size: 1rem; }
  .building__svc-desc { font-size: 0.82rem; }

  /* Gallery */
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__filter { padding: 6px 16px; font-size: 0.82rem; }

  /* Care */
  .care__content .section__title { font-size: 1.6rem; }
  .care__orbital { max-width: 300px; }
  .care__sat-icon { width: 46px; height: 46px; }
  .care__sat-icon i { font-size: 0.95rem; }
  .care__sat-label { font-size: 0.6rem; }
  .care__center-content { width: 75px; height: 75px; }
  .care__center-label { font-size: 0.8rem; }
  .care__center-sub { font-size: 0.6rem; }

  /* Contact */
  .contact-form { padding: 20px 16px; }
  .contact-form__title { font-size: 1.1rem; }
  .contact__why-items { gap: 8px; }
  .contact__why-item { font-size: 0.78rem; }
  .contact__why-item i { width: 30px; height: 30px; font-size: 0.75rem; }
  .contact__detail-item { padding: 14px 16px; }
}

/* ========== CHATBOT ========== */
.chatbot {
  position: fixed;
  bottom: 90px;
  right: 30px;
  z-index: 9999;
  font-family: var(--font-body);
}

.chatbot__toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(136, 179, 46, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
}

.chatbot__toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(136, 179, 46, 0.5);
}

.chatbot__toggle-close {
  display: none;
}

.chatbot.open .chatbot__toggle-icon { display: none; }
.chatbot.open .chatbot__toggle-close { display: block; }

.chatbot__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  background: #e74c3c;
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  transition: all 0.3s;
}

.chatbot.open .chatbot__badge,
.chatbot.seen .chatbot__badge { display: none; }

.chatbot__window {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 370px;
  height: 500px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s ease;
}

.chatbot.open .chatbot__window {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chatbot__header {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot__header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255,255,255,0.1);
  padding: 4px;
}

.chatbot__name {
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.chatbot__status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
}

.chatbot__status-dot {
  width: 8px;
  height: 8px;
  background: #88b32e;
  border-radius: 50%;
  display: inline-block;
  animation: chatPulse 2s infinite;
}

@keyframes chatPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.chatbot__close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
  transition: color 0.3s;
}

.chatbot__close:hover { color: #fff; }

.chatbot__messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chatbot__msg {
  display: flex;
  max-width: 85%;
}

.chatbot__msg--bot { align-self: flex-start; }
.chatbot__msg--user { align-self: flex-end; }

.chatbot__msg-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.chatbot__msg--bot .chatbot__msg-bubble {
  background: #f1f3f5;
  color: #1a1a2e;
  border-bottom-left-radius: 4px;
}

.chatbot__msg--user .chatbot__msg-bubble {
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chatbot__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 12px;
}

.chatbot__quick-btn {
  padding: 8px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  color: #1a1a2e;
  cursor: pointer;
  transition: all 0.3s;
}

.chatbot__quick-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(136, 179, 46, 0.06);
}

.chatbot__input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-top: 1px solid #eee;
}

.chatbot__input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 24px;
  font-size: 0.85rem;
  background: #f8f9fa;
  outline: none;
  transition: border-color 0.3s;
  font-family: var(--font-body);
  color: #1a1a2e;
}

.chatbot__input:focus { border-color: var(--accent); }

.chatbot__send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  flex-shrink: 0;
}

.chatbot__send:hover { background: #7aa328; }

.chatbot__typing {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  align-self: flex-start;
}

.chatbot__typing span {
  width: 8px;
  height: 8px;
  background: #ccc;
  border-radius: 50%;
  animation: typingDot 1.4s infinite;
}

.chatbot__typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot__typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

@media (max-width: 480px) {
  .chatbot__window {
    width: calc(100vw - 32px);
    height: 70vh;
    right: -8px;
    bottom: 70px;
  }
  .chatbot { bottom: 76px; right: 16px; }
  .chatbot__toggle { width: 54px; height: 54px; font-size: 1.2rem; }
}

/* ---- 360px : Très petit mobile ---- */
@media (max-width: 360px) {
  .hero__title { font-size: 1.7rem; }
  .hero__subtitle { font-size: 0.9rem; }
  .section__title { font-size: 1.5rem; }
  .care__content .section__title { font-size: 1.4rem; }
  .bridge-img__photo { display: none; }
  .building__services { gap: 34px; }
  .care__orbital { max-width: 260px; }
}

/* Overlay mobile */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
