/* Entre Ciel & Terre — feuille de style principale */

:root {
  --navy: #123252;
  --navy-dark: #0c2440;
  --navy-light: #1d4470;
  --sky: #4fb3e8;
  --sky-dark: #2e9bd6;
  --orange: #ed823a;
  --orange-dark: #d96b22;
  --ink: #0b0e14;
  --ink-fixed: #0b0e14;
  --bg: #fafafa;
  --cream: #f6f3ea;
  --white: #ffffff;
  --surface: #ffffff;
  --text: #1c2128;
  --muted: #6b7280;
  --border: #e9eaec;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-hover: 0 16px 32px rgba(16, 24, 40, 0.08);
  --radius: 16px;
  --max-width: 1180px;
  --font-display: "Plus Jakarta Sans", "Inter", sans-serif;
}

html[data-theme="dark"] {
  --bg: #0c1017;
  --cream: #10141b;
  --surface: #161b24;
  --text: #d3d8e0;
  --muted: #8b94a3;
  --border: rgba(255,255,255,0.09);
  --ink: #f3f5f8;
  --shadow: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-hover: 0 20px 40px rgba(0,0,0,0.45);
}
html[data-theme="dark"] .site-header { background: rgba(12,16,23,0.85); }
html[data-theme="dark"] .site-header.scrolled { box-shadow: 0 1px 0 rgba(255,255,255,0.06); }
html[data-theme="dark"] .lang-switch { border-color: var(--border); }
html[data-theme="dark"] .disclaimer { background: rgba(237,130,58,0.08); }
html[data-theme="dark"] .file-field { background: rgba(255,255,255,0.03); }
html[data-theme="dark"] .status-nouveau { background: rgba(79,179,232,0.15); color: #7cc4ee; }
html[data-theme="dark"] .status-en_revue { background: rgba(237,130,58,0.18); color: #f0a066; }
html[data-theme="dark"] .status-accepte { background: rgba(46,158,90,0.18); color: #6fd196; }
html[data-theme="dark"] .status-refuse { background: rgba(217,68,68,0.18); color: #ef8f8f; }
html[data-theme="dark"] a { color: var(--sky); }
html[data-theme="dark"] .aurora span { opacity: 0.5; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--sky), var(--orange));
  background-size: 200% 100%;
  animation: progressShimmer 3s linear infinite;
  z-index: 1000; transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(237,130,58,0.6);
}
@keyframes progressShimmer { to { background-position: -200% 0; } }

/* Cursor spotlight (hero) */
.spotlight {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(500px circle at var(--sx, 50%) var(--sy, 50%), rgba(237,130,58,0.16), transparent 60%);
  opacity: 0; transition: opacity 0.4s ease;
}
.hero:hover .spotlight { opacity: 1; }

/* Aurora animated background (dark sections without photo) */
.aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora span {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.35;
  animation: auroraDrift 16s ease-in-out infinite;
}
.aurora span:nth-child(1) { width: 380px; height: 380px; background: var(--orange); top: -10%; left: 5%; animation-delay: 0s; }
.aurora span:nth-child(2) { width: 320px; height: 320px; background: var(--sky); bottom: -15%; right: 8%; animation-delay: -5s; }
.aurora span:nth-child(3) { width: 260px; height: 260px; background: var(--navy-light); top: 30%; right: 30%; animation-delay: -10s; }
@keyframes auroraDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.15); }
  66% { transform: translate(-30px, 25px) scale(0.9); }
}

.card, .dest-card, .founder-card {
  position: relative;
}

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

.icon { width: 22px; height: 22px; display: inline-block; flex-shrink: 0; vertical-align: -5px; }
.icon-sm { width: 18px; height: 18px; vertical-align: -4px; }
.icon-lg { width: 30px; height: 30px; }

html {
  /* Laisse assez d'espace en haut lors d'un défilement vers une ancre (#id) pour que le
     contenu ciblé n'atterrisse pas caché sous l'en-tête collant (.site-header, sticky). */
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.55em;
}

h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); font-weight: 800; }
.text-accent { color: var(--orange); }
.hero .text-accent { color: var(--orange); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--text); }

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-tight { padding: 52px 0; }
.section-alt { background: var(--cream); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--orange-dark);
  margin-bottom: 1em;
}

.section-head { max-width: 640px; margin: 0 auto 3.5rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 6px 6px 6px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn::after {
  content: "";
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background-repeat: no-repeat; background-position: center; background-size: 12px;
  transition: transform 0.2s ease;
}
.btn:hover::after { transform: translateX(3px); }
.btn-primary::after, .btn-outline-navy::after {
  background-color: var(--navy-dark);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 5l6 7-6 7'/%3E%3Cpath d='M13 5l6 7-6 7'/%3E%3C/svg%3E");
}
.btn-outline::after {
  background-color: rgba(255,255,255,0.92);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c2440' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 5l6 7-6 7'/%3E%3Cpath d='M13 5l6 7-6 7'/%3E%3C/svg%3E");
}
.hero .btn-primary::after, .cta-banner .btn-primary::after {
  background-color: var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 5l6 7-6 7'/%3E%3Cpath d='M13 5l6 7-6 7'/%3E%3C/svg%3E");
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(42px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in-view { opacity: 1; transform: none; }
.grid.reveal-group .card,
.grid.reveal-group .step,
.grid.reveal-group .dest-card { opacity: 0; transform: translateY(42px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.grid.reveal-group.in-view .card:nth-child(1), .grid.reveal-group.in-view .step:nth-child(1), .grid.reveal-group.in-view .dest-card:nth-child(1) { transition-delay: 0.05s; }
.grid.reveal-group.in-view .card:nth-child(2), .grid.reveal-group.in-view .step:nth-child(2), .grid.reveal-group.in-view .dest-card:nth-child(2) { transition-delay: 0.15s; }
.grid.reveal-group.in-view .card:nth-child(3), .grid.reveal-group.in-view .step:nth-child(3), .grid.reveal-group.in-view .dest-card:nth-child(3) { transition-delay: 0.25s; }
.grid.reveal-group.in-view .card:nth-child(4), .grid.reveal-group.in-view .step:nth-child(4), .grid.reveal-group.in-view .dest-card:nth-child(4) { transition-delay: 0.35s; }
.grid.reveal-group.in-view .card,
.grid.reveal-group.in-view .step,
.grid.reveal-group.in-view .dest-card { opacity: 1; transform: none; }

.dest-carousel.reveal-group .dest-card { opacity: 0; transform: translateY(42px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.dest-carousel.reveal-group.in-view .dest-card { opacity: 1; transform: none; }
.dest-carousel.reveal-group.in-view .dest-card:nth-child(1) { transition-delay: 0.05s; }
.dest-carousel.reveal-group.in-view .dest-card:nth-child(2) { transition-delay: 0.13s; }
.dest-carousel.reveal-group.in-view .dest-card:nth-child(3) { transition-delay: 0.21s; }
.dest-carousel.reveal-group.in-view .dest-card:nth-child(4) { transition-delay: 0.29s; }

.gallery-grid.reveal-group .gallery-item { opacity: 0; transform: translateY(42px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.gallery-grid.reveal-group.in-view .gallery-item { opacity: 1; transform: none; }
.gallery-grid.reveal-group.in-view .gallery-item:nth-child(1) { transition-delay: 0.05s; }
.gallery-grid.reveal-group.in-view .gallery-item:nth-child(2) { transition-delay: 0.12s; }
.gallery-grid.reveal-group.in-view .gallery-item:nth-child(3) { transition-delay: 0.19s; }
.gallery-grid.reveal-group.in-view .gallery-item:nth-child(4) { transition-delay: 0.26s; }
.gallery-grid.reveal-group.in-view .gallery-item:nth-child(5) { transition-delay: 0.33s; }

/* Stats band */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-band .stat { padding: 32px 20px; text-align: center; border-left: 1px solid var(--border); }
.stats-band .stat:first-child { border-left: none; }
.stats-band .stat .icon { color: var(--orange); margin-bottom: 10px; }
.stats-band .stat:nth-child(2) .icon { color: var(--sky-dark); }
.stats-band .stat:nth-child(3) .icon { color: var(--navy); }
.stats-band .stat:nth-child(4) .icon { color: var(--orange); }
.stats-band .stat .num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; color: var(--ink); letter-spacing: -0.02em; }
.stats-band .stat .label { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(237,130,58,0.3);
}
.btn-primary:hover { background: var(--orange-dark); color: var(--white); box-shadow: 0 8px 24px rgba(237,130,58,0.4); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); color: var(--white); }

.btn-outline-navy {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}
.btn-outline-navy:hover { background: var(--bg); border-color: var(--ink); color: var(--ink); }

.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease, padding 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 1px 0 rgba(16, 24, 40, 0.06); }
.nav-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: padding 0.25s ease;
  flex-wrap: nowrap;
}
.site-header.scrolled .nav-wrap { padding: 6px 20px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 38px; width: auto; transition: height 0.25s ease; }
.site-header.scrolled .brand img { height: 30px; }
.brand-logo-dark { display: none; }
html[data-theme="dark"] .brand-logo-light { display: none; }
html[data-theme="dark"] .brand-logo-dark { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 1;
  min-width: 0;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 6px 1px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  text-decoration: none;
  border-bottom-color: var(--ink);
}

/* Nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 4px;
  background: none; border: none; cursor: pointer;
  font-family: inherit; color: var(--text); font-weight: 500; font-size: 0.88rem;
  padding: 6px 1px; border-bottom: 2px solid transparent;
}
.nav-dropdown-toggle .icon { width: 14px; height: 14px; transition: transform 0.2s ease; }
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown.active .nav-dropdown-toggle,
.nav-dropdown.open .nav-dropdown-toggle { color: var(--ink); border-bottom-color: var(--ink); }
.nav-dropdown.open .nav-dropdown-toggle .icon { transform: rotate(180deg); }
.nav-dropdown-menu {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(4px);
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-hover);
  min-width: 190px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 10;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px;
  color: var(--text); font-weight: 500; font-size: 0.88rem;
  white-space: nowrap;
}
.nav-dropdown-menu a .icon { color: var(--muted); }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a.active { background: var(--bg); color: var(--ink); text-decoration: none; }

.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-actions .btn { padding: 9px 16px; font-size: 0.84rem; white-space: nowrap; }
.nav-actions .btn::after { display: none; }
.nav-portal {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); color: var(--ink); flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.nav-portal:hover { background: var(--bg); border-color: var(--sky); text-decoration: none; }
.nav-portal .icon { width: 18px; height: 18px; }

.theme-toggle {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); background: transparent; color: var(--navy-dark);
  cursor: pointer; padding: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.theme-toggle:hover { background: var(--bg); border-color: var(--sky); }
.theme-toggle .icon { width: 18px; height: 18px; }
.theme-toggle .theme-icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .theme-icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .theme-icon-moon { display: inline-block; }
html[data-theme="dark"] .theme-toggle { color: var(--text); }

.lang-switch { display: flex; align-items: center; gap: 2px; border: 1px solid var(--border); border-radius: 999px; padding: 3px; }
.lang-switch a {
  padding: 5px 11px; border-radius: 999px; font-size: 0.78rem; font-weight: 700;
  color: var(--muted); text-decoration: none; letter-spacing: 0.02em;
}
.lang-switch a.active { background: var(--ink-fixed); color: var(--white); }
.lang-switch a:hover { text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-dark);
  margin: 5px 0;
  transition: 0.2s;
}

/* Hero */
@keyframes kenburns {
  0% { transform: scale(1.02) translate(0, 0); }
  100% { transform: scale(1.09) translate(-1%, -1%); }
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.hero {
  background: var(--ink-fixed);
  color: var(--white);
  padding: 120px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero-media { position: absolute; inset: -4px; z-index: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; filter: blur(3px); animation: kenburns 26s ease-in-out infinite alternate; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6,9,14,0.92) 0%, rgba(6,9,14,0.55) 42%, rgba(6,9,14,0.28) 100%);
}
.hero.has-media { background: var(--ink-fixed); }

/* Hero carousel — spécificité supérieure à ".hero-media img" pour que le fondu enchaîné fonctionne réellement */
.hero-media .hero-slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: blur(3px); animation: none; transition: opacity 1s ease; }
.hero-media .hero-slide-bg.active { opacity: 0.9; animation: kenburns 26s ease-in-out infinite alternate; }
.hero-slide-content { display: none; }
.hero-slide-content.active { display: block; animation: fadeInUp 0.7s ease; }
.hero-dots { display: flex; gap: 8px; margin-top: 40px; }
.hero-dot { width: 22px; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.3); border: none; cursor: pointer; transition: 0.2s; padding: 0; }
.hero-dot:hover { background: rgba(255,255,255,0.6); }
.hero-dot.active { background: var(--white); }

.hero-shapes, .flight-path { display: none; }

.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 18px 8px 14px;
  border-radius: 999px;
  color: rgba(255,255,255,0.88);
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.82rem;
  margin-bottom: 1.4em;
}
.hero .eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange); flex-shrink: 0;
}
.hero h1 { color: var(--white); text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.05; }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,0.78); max-width: 560px; font-weight: 400; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2.2rem; }
.hero .btn-primary { background: var(--white); color: var(--ink-fixed); }
.hero .btn-primary:hover { background: rgba(255,255,255,0.85); color: var(--ink-fixed); }

.hero-float-card {
  position: absolute; right: 40px; bottom: 40px; z-index: 3;
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.97); color: var(--ink-fixed);
  border-radius: 14px; padding: 14px 20px 14px 14px;
  box-shadow: var(--shadow-hover);
  text-decoration: none;
  animation: floatCard 5s ease-in-out infinite;
}
.hero-float-card:hover { text-decoration: none; }
.hero-float-card strong { display: block; font-size: 0.88rem; font-family: var(--font-display); }
.hero-float-card span:last-child { font-size: 0.78rem; color: rgba(11,14,20,0.55); }
.hero-float-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(237,130,58,0.12); color: var(--orange-dark);
  display: flex; align-items: center; justify-content: center;
}
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 900px) { .hero-float-card { display: none; } }

.hero-sm { padding: 76px 0 64px; }
.hero-sm h1 { color: var(--white); }
.breadcrumb { color: rgba(255,255,255,0.6); font-size: 0.88rem; position: relative; z-index: 2; }
.breadcrumb a { color: rgba(255,255,255,0.8); }

/* Cards */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.grid .card:hover, .founder-card:hover {
  border-color: rgba(237,130,58,0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(16,24,40,0.1), 0 0 0 1px rgba(237,130,58,0.12);
}
.card .icon-badge {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(237, 130, 58, 0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange-dark);
  margin-bottom: 20px;
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1);
}
.card .icon-badge .icon { width: 22px; height: 22px; }
.grid .card:nth-child(2) .icon-badge { background: rgba(79, 179, 232, 0.14); color: var(--sky-dark); }
.grid .card:nth-child(3) .icon-badge { background: rgba(18, 50, 82, 0.08); color: var(--navy); }
.grid .card:nth-child(4) .icon-badge { background: rgba(237, 130, 58, 0.1); color: var(--orange-dark); }
.grid .card:hover .icon-badge { transform: scale(1.1) rotate(-4deg); }

/* Alternating-color feature cards */
.grid .card--accent { background: var(--sky); border-color: transparent; }
.grid .card--accent h3, .grid .card--accent p { color: var(--navy-dark); }
.grid .card--accent .icon-badge { background: rgba(12,36,64,0.14); color: var(--navy-dark); }
.grid .card--accent a.link-underline { color: var(--navy-dark); }
.grid .card--accent:hover { border-color: transparent; box-shadow: 0 20px 40px rgba(46,155,214,0.28); }

.grid .card--dark { background: var(--ink-fixed); border-color: transparent; }
.grid .card--dark h3 { color: var(--white); }
.grid .card--dark p { color: rgba(255,255,255,0.68); }
.grid .card--dark .icon-badge { background: rgba(255,255,255,0.1); color: var(--white); }
.grid .card--dark a.link-underline { color: var(--white); }
.grid .card--dark:hover { border-color: transparent; box-shadow: 0 20px 40px rgba(0,0,0,0.35); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.step {
  background: var(--surface);
  padding: 32px 28px;
}
.step .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

/* Dark band / CTA banner */
.band-dark {
  background: var(--navy-dark);
  color: var(--white);
}
.band-dark h2 { color: var(--white); }
.band-dark p { color: rgba(255,255,255,0.78); }

.cta-banner {
  background: var(--ink-fixed);
  border-radius: var(--radius);
  padding: 56px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); margin-bottom: 0.3em; }
.cta-banner p { color: rgba(255,255,255,0.65); margin: 0; }
.cta-banner .btn-primary { background: var(--white); color: var(--ink-fixed); }
.cta-banner .btn-primary:hover { background: rgba(255,255,255,0.85); }

/* Tag chips (countries) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}
.flag-icon { display: inline-block; vertical-align: -2px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); }

/* Disclaimer box */
.disclaimer {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  border-radius: 10px;
  padding: 20px 24px;
  font-size: 0.9rem;
  color: var(--text);
}
.disclaimer strong { color: var(--ink); }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}
.checklist li::before {
  content: "✓";
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ink-fixed);
  color: var(--white);
  font-size: 0.7rem;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

/* Dream destination map — real world map (CC BY-SA 3.0, Al MacDonald / Fritz Lekschas) */
.dream-map-wrap { max-width: 880px; margin: 0 auto; text-align: center; }
.dream-map-zoom-wrap { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg); }
.dream-globe {
  width: 100%; height: auto; display: block; cursor: crosshair;
  transition: transform 0.15s ease-out;
}
.dream-map-zoom-wrap.panning .dream-globe { cursor: grabbing; transition: none; }
#dreamCountries path, #dreamCountries g {
  fill: #d7dee6; stroke: var(--white); stroke-width: 0.6; stroke-linejoin: round;
  transition: fill 0.15s ease; cursor: pointer;
}
#dreamCountries path:hover, #dreamCountries g:hover path { fill: var(--sky); }

/* Destinations mises en avant : classe "featured" ajoutée dynamiquement (liste gérée en admin) */
#dreamCountries .featured, #dreamCountries .featured path { fill: var(--orange); }
#dreamCountries .featured:hover, #dreamCountries .featured:hover path,
#dreamCountries .featured path:hover { fill: var(--orange-dark); }

.dream-map-zoom-controls {
  position: absolute; bottom: 12px; right: 12px; z-index: 3;
  display: flex; flex-direction: column; gap: 4px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 4px;
  box-shadow: var(--shadow);
}
.dream-map-zoom-controls button {
  width: 32px; height: 32px; border: none; background: transparent; border-radius: 6px;
  font-size: 1.1rem; font-weight: 700; color: var(--ink); cursor: pointer; line-height: 1;
}
.dream-map-zoom-controls button:hover { background: var(--bg); }

.dream-pin-dot { fill: var(--ink); transform-box: fill-box; transform-origin: center; animation: pinPop 0.45s cubic-bezier(.34,1.56,.64,1); }
.dream-pin-pulse { fill: var(--ink); opacity: 0.35; transform-box: fill-box; transform-origin: center; animation: pinPulse 1.7s ease-out infinite; }
@keyframes pinPop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes pinPulse { 0% { transform: scale(1); opacity: 0.35; } 100% { transform: scale(3); opacity: 0; } }

.map-credit { font-size: 0.72rem; color: var(--muted); margin-top: 10px; }

.dream-panel { margin-top: 28px; }
.dream-panel-title { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.dream-panel-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.dream-panel-row input { max-width: 260px; }

/* Destination carousel */
.dest-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 2.5rem; flex-wrap: wrap; }
.dest-head .section-head, .dest-head > div { text-align: left; max-width: 560px; margin: 0; }
.carousel-nav { display: flex; gap: 10px; flex-shrink: 0; }
.carousel-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.carousel-arrow .icon { transform: rotate(180deg); width: 16px; height: 16px; }
.carousel-arrow-next .icon { transform: rotate(0deg); }
.carousel-arrow:hover { background: var(--ink-fixed); border-color: var(--ink-fixed); color: var(--white); transform: scale(1.05); }
.dest-carousel {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 4px; scrollbar-width: none;
}
.dest-carousel::-webkit-scrollbar { display: none; }
.dest-carousel .dest-card { flex: 0 0 320px; scroll-snap-align: start; }

/* Destinations / gallery */
.dest-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: none;
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.dest-card:hover { border-color: #d8dade; box-shadow: 0 16px 36px rgba(237,130,58,0.22), 0 4px 12px rgba(79,179,232,0.14); transform: translateY(-4px); }
.dest-card .dest-media { overflow: hidden; height: 230px; }
.dest-card img { height: 230px; width: 100%; object-fit: cover; transition: transform 0.5s ease; }
.dest-card:hover img { transform: scale(1.05); }
.dest-card .dest-body { padding: 24px; }
.dest-tag {
  display: inline-block;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6em;
}

.dest-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 8px;
}
.dest-quick-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.dest-quick-card:hover { border-color: #d8dade; box-shadow: 0 16px 36px rgba(237,130,58,0.18), 0 4px 12px rgba(79,179,232,0.12); transform: translateY(-4px); }
.dest-quick-photo { height: 170px; overflow: hidden; }
.dest-quick-photo img { height: 100%; width: 100%; object-fit: cover; transition: transform 0.5s ease; }
.dest-quick-card:hover .dest-quick-photo img { transform: scale(1.05); }
.dest-quick-photo-fallback {
  height: 100%; width: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2, var(--bg));
  color: var(--muted);
}
.dest-quick-body { padding: 18px 20px 22px; }
.dest-quick-body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.dest-quick-body p { font-size: 0.86rem; color: var(--muted); margin-bottom: 10px; }

.dest-interest-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dest-interest-row span { font-size: 0.85rem; color: var(--muted); font-weight: 600; margin-right: 2px; }

.dest-interest-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 18px; font-size: 0.85rem; font-weight: 600; color: var(--text);
  cursor: pointer; transition: 0.15s;
}
.dest-interest-toggle:hover { border-color: var(--orange); color: var(--orange); }

.interest-popover {
  position: fixed; z-index: 1200; display: none; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 14px 32px rgba(16,24,40,.16); padding: 10px;
}
.interest-popover.open { display: flex; }

.dest-modal-card { max-width: 480px; width: 100%; padding: 0; overflow: hidden; text-align: left; }
.dest-modal-photo { height: 220px; background: var(--surface-2, var(--bg)); }
.dest-modal-photo .dest-quick-photo-fallback { color: var(--muted); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.gallery-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: none;
  aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(12,36,64,0.85), transparent);
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  display: flex; align-items: center; gap: 8px;
}
.gallery-item .cap .icon { opacity: 0.85; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(10, 20, 35, 0.9);
  display: none;
  align-items: center; justify-content: center;
  z-index: 1000;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 10px; }
.lightbox-close {
  position: absolute; top: 24px; right: 30px;
  color: var(--white);
  font-size: 2rem;
  background: none; border: none; cursor: pointer;
  line-height: 1;
}

.star-picker { display: flex; gap: 4px; }
.star-picker .star-pick { font-size: 1.6rem; line-height: 1; color: var(--border); cursor: pointer; transition: color 0.15s ease; }
.star-picker .star-pick.active { color: var(--orange); }

/* Team / about */
.founder-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: none;
  border: 1px solid var(--border);
  padding: 36px;
  display: flex;
  gap: 26px;
  align-items: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.founder-avatar {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--ink-fixed);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 36px 24px;
}
.team-card {
  text-align: center;
}
.team-photo {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  display: block;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--border);
}
.team-photo-fallback {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--ink-fixed);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0 auto 14px;
}
.team-card h3 { font-size: 0.95rem; margin-bottom: 2px; }
.team-card .team-role { color: var(--muted); font-weight: 500; font-size: 0.82rem; margin-bottom: 0; }

/* Forms */
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--ink); }
input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--surface);
  color: var(--text);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(11,14,20,0.08);
}

.phone-field { display: flex; gap: 8px; }
.phone-field-dial { flex: 0 0 132px; }
.phone-field-local { flex: 1; }
textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }

/* Contact info list */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .ico {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.info-list strong { display: block; color: var(--ink); }

/* Floating WhatsApp button */
@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(0,0,0,0.25), 0 0 0 0 rgba(37,211,102,0.5); }
  50% { box-shadow: 0 10px 24px rgba(0,0,0,0.25), 0 0 0 10px rgba(37,211,102,0); }
}
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  background: #25d366;
  color: var(--white);
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  z-index: 200;
  animation: waPulse 2.6s ease-out infinite;
  transition: transform 0.2s ease;
}
.wa-float .icon { width: 28px; height: 28px; }
.wa-float:hover { text-decoration: none; transform: translateY(-2px) scale(1.05); }

/* Back to top */
.back-top {
  position: fixed; bottom: 24px; left: 24px; z-index: 200;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-hover);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  cursor: pointer;
}
.back-top.visible { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--ink-fixed); color: var(--white); }
.back-top .icon { width: 20px; height: 20px; transform: rotate(-90deg); }

/* Underline-grow hover for inline text links */
.link-underline { position: relative; display: inline-block; }
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.link-underline:hover::after { transform: scaleX(1); }
.link-underline:hover { text-decoration: none; }
.card a.link-underline, .dest-card a.link-underline { color: var(--orange-dark); font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink-fixed); color: rgba(255,255,255,0.6); padding: 64px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid img { height: 40px; margin-bottom: 14px; }
.footer-grid p { color: rgba(255,255,255,0.6); }
.footer-grid h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: rgba(255,255,255,0.75); }
.footer-grid a:hover { color: var(--sky); }
.footer-bottom a { color: rgba(255,255,255,0.75); }
.footer-bottom a:hover { color: var(--sky); }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

/* Application form */
.form-section { margin-bottom: 40px; }
.form-section h3 { display:flex; align-items:center; gap:10px; padding-bottom:10px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.form-section h3::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); flex-shrink:0;
}
.radio-group { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; width: 100%; height: 100%; margin:0; cursor:pointer; }
.radio-pill span {
  display: inline-block; padding: 9px 16px; border-radius: 8px; border: 1px solid var(--border);
  font-size: 0.88rem; font-weight: 600; color: var(--ink); background: var(--surface); cursor:pointer;
  transition: all .15s ease;
}
.radio-pill input:checked + span { background: var(--ink-fixed); border-color: var(--ink-fixed); color: var(--white); }
.file-field {
  border: 1.5px dashed var(--border); border-radius: 10px; padding: 14px 16px; background: var(--bg);
}
.file-field input[type=file] { border: none; padding: 0; background: transparent; }
.required-mark { color: var(--orange-dark); }
.status-badge { display:inline-block; padding:4px 12px; border-radius:999px; font-size:0.76rem; font-weight:700; text-transform:uppercase; letter-spacing:0.04em; }
.status-nouveau { background:#e6f2fb; color:#1d6fa8; }
.status-en_revue { background:#fff3e0; color:#a85f1d; }
.status-accepte { background:#e5f7ea; color:#1e8a45; }
.status-refuse { background:#fbe9e9; color:#b93a3a; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .founder-card { flex-direction: column; text-align: center; }
}

@media (max-width: 1040px) {
  .nav-links, .nav-actions .btn-outline-navy { display: none; }
  .nav-toggle { display: block; }
  .nav-wrap.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: var(--surface);
    padding: 20px 24px;
    box-shadow: var(--shadow-hover);
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }
  .nav-wrap.open .nav-links a { font-size: 0.98rem; }
  .nav-wrap.open .nav-dropdown { width: 100%; }
  .nav-wrap.open .nav-dropdown-toggle { font-size: 0.98rem; padding: 0; }
  .nav-wrap.open .nav-dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    box-shadow: none; border: none; padding: 8px 0 0 16px; min-width: 0;
    max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  }
  .nav-wrap.open .nav-dropdown.open .nav-dropdown-menu { max-height: 220px; }
}

@media (max-width: 760px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
  .section { padding: 56px 0; }
  .dest-carousel .dest-card { flex-basis: 82vw; }
  .dest-head { flex-direction: column; align-items: flex-start; }
}

/* Fil de discussion façon mini-WhatsApp (espace candidat) : bulle, pièce jointe, menu
   d'actions et sélecteur d'emoji autonome (JS pur, sans dépendance externe). */
.msg-row { position:relative; display:flex; align-items:flex-end; gap:6px; max-width:85%; }
.msg-row.mine { align-self:flex-end; flex-direction:row-reverse; }
.msg-row:not(.mine) { align-self:flex-start; }
.msg-bubble { border-radius:12px; padding:10px 14px; font-size:0.88rem; white-space:pre-wrap; word-break:break-word; }
.msg-row.mine .msg-bubble { background:var(--sky); color:#062038; }
.msg-row:not(.mine) .msg-bubble { background:var(--bg); color:var(--text); }
.msg-bubble.is-tombstone { font-style:italic; color:var(--muted); background:transparent; border:1px dashed var(--border); }
.msg-meta { font-size:0.72rem; color:var(--muted); margin-top:3px; }
.msg-row.mine .msg-meta { text-align:right; }
.msg-attachment { display:inline-flex; align-items:center; gap:6px; margin-top:6px; font-size:0.82rem; padding:8px 12px; border:1px solid var(--border); border-radius:10px; color:var(--ink); text-decoration:none; }
.msg-actions { position:relative; opacity:0; transition:opacity .15s; flex-shrink:0; }
.msg-row:hover .msg-actions { opacity:1; }
.msg-actions-btn { width:26px; height:26px; border-radius:50%; border:none; background:transparent; color:var(--muted); display:flex; align-items:center; justify-content:center; cursor:pointer; }
.msg-actions-btn:hover { background:var(--border); color:var(--text); }
.msg-actions-menu { display:none; position:absolute; right:0; top:30px; z-index:30; min-width:190px; padding:6px; background:var(--surface); border:1px solid var(--border); border-radius:10px; box-shadow:var(--shadow-hover); }
.msg-actions-menu.open { display:block; }
.msg-actions-menu button { display:block; width:100%; text-align:left; background:none; border:none; padding:8px 10px; border-radius:6px; font-size:0.85rem; cursor:pointer; color:var(--text); }
.msg-actions-menu button:hover { background:var(--bg); }
.msg-actions-menu button.danger { color:#c0392b; }
.msg-emoji-pop { display:none; position:absolute; bottom:44px; left:0; z-index:30; width:250px; max-height:200px; overflow-y:auto; padding:8px; background:var(--surface); border:1px solid var(--border); border-radius:10px; box-shadow:var(--shadow-hover); grid-template-columns:repeat(7, 1fr); gap:2px; }
.msg-emoji-pop.open { display:grid; }
.msg-emoji-pop button { background:none; border:none; font-size:1.15rem; padding:5px; border-radius:6px; cursor:pointer; line-height:1; }
.msg-emoji-pop button:hover { background:var(--bg); }
.msg-emoji-btn { display:flex; align-items:center; justify-content:center; width:42px; height:42px; border:1px solid var(--border); border-radius:10px; cursor:pointer; flex-shrink:0; background:none; color:var(--text); }
