/* ==========================================================================
   SAW (Swiss Active Workplace) — Feuille de style principale
   Direction Artistique & Composants UI — Gaby-Z
   ========================================================================== */

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

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

html {
  font-family: var(--saw-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--saw-text-main);
  background-color: var(--saw-bg-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--saw-transition-fast);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --- TYPOGRAPHIE --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--saw-font-heading);
  color: var(--saw-navy-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: 1.4rem; font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 600; }

p {
  margin-bottom: 1rem;
  color: var(--saw-text-main);
}
p:last-child { margin-bottom: 0; }

.text-muted { color: var(--saw-text-muted); }
.text-white { color: var(--saw-text-white); }
.text-red { color: var(--saw-swiss-red); }

/* --- CONTENEURS & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 960px;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

.section-subtle {
  background-color: var(--saw-bg-subtle);
}

.section-dark {
  background-color: var(--saw-navy-dark);
  color: var(--saw-text-white);
}
.section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--saw-text-white);
}
.section-dark p {
  color: #CBD5E1;
}

/* --- BADGES THÉMATIQUES --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--saw-radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-federation { background: var(--saw-pole-federation-light); color: var(--saw-pole-federation); border: 1px solid var(--saw-pole-federation-border); }
.badge-programmes { background: var(--saw-pole-programmes-light); color: var(--saw-pole-programmes); border: 1px solid var(--saw-pole-programmes-border); }
.badge-evenements { background: var(--saw-pole-evenements-light); color: var(--saw-pole-evenements); border: 1px solid var(--saw-pole-evenements-border); }
.badge-membership { background: var(--saw-pole-membership-light); color: var(--saw-pole-membership); border: 1px solid var(--saw-pole-membership-border); }
.badge-ressources { background: var(--saw-pole-ressources-light); color: var(--saw-pole-ressources); border: 1px solid var(--saw-pole-ressources-border); }
.badge-membres { background: var(--saw-pole-membres-light); color: var(--saw-pole-membres); border: 1px solid var(--saw-pole-membres-border); }
.badge-projets { background: var(--saw-pole-projets-light); color: var(--saw-pole-projets); border: 1px solid var(--saw-pole-projets-border); }
.badge-actualites { background: var(--saw-pole-actualites-light); color: var(--saw-pole-actualites); border: 1px solid var(--saw-pole-actualites-border); }
.badge-international { background: var(--saw-pole-international-light); color: var(--saw-pole-international); border: 1px solid var(--saw-pole-international-border); }

.badge-swiss {
  background: var(--saw-swiss-red-light);
  color: var(--saw-swiss-red);
  border: 1px solid var(--saw-swiss-red-border);
}

/* --- BOUTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--saw-radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--saw-transition-base);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--saw-swiss-red);
  color: #FFFFFF;
}
.btn-primary:hover {
  background-color: var(--saw-swiss-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(217, 4, 41, 0.28);
}

.btn-secondary {
  background-color: var(--saw-navy-primary);
  color: #FFFFFF;
}
.btn-secondary:hover {
  background-color: var(--saw-navy-surface);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 50, 77, 0.2);
}

.btn-outline-white {
  background-color: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--saw-navy-primary);
  border-color: var(--saw-navy-border);
}
.btn-outline-navy:hover {
  background-color: var(--saw-navy-light);
  border-color: var(--saw-navy-primary);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
}

/* --- HEADER & TOPBAR --- */
.topbar {
  background-color: var(--saw-navy-dark);
  color: #CBD5E1;
  font-size: 0.825rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-item a:hover {
  color: #FFFFFF;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Sélecteur de langue */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.4rem;
  border-radius: var(--saw-radius-xs);
}

.lang-link {
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.775rem;
  color: #94A3B8;
  transition: all var(--saw-transition-fast);
}

.lang-link.active, .lang-link:hover {
  color: #FFFFFF;
  background-color: var(--saw-swiss-red);
}

.topbar-btn-member {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--saw-radius-xs);
  background: rgba(217, 4, 41, 0.15);
  color: #FFAAB5;
  border: 1px solid rgba(217, 4, 41, 0.35);
  font-weight: 600;
  font-size: 0.775rem;
}
.topbar-btn-member:hover {
  background: var(--saw-swiss-red);
  color: #FFFFFF;
}

/* Navigation principale */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #FFFFFF;
  box-shadow: var(--saw-shadow-sm);
  border-bottom: 1px solid var(--saw-border-subtle);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Logo SAW */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.logo-shield {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #D90429 0%, #B00320 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 10px rgba(217, 4, 41, 0.25);
}

.logo-cross {
  position: relative;
  width: 22px;
  height: 22px;
}
.logo-cross::before, .logo-cross::after {
  content: '';
  position: absolute;
  background: #FFFFFF;
  border-radius: 1px;
}
.logo-cross::before {
  top: 0;
  left: 7.5px;
  width: 7px;
  height: 22px;
}
.logo-cross::after {
  top: 7.5px;
  left: 0;
  width: 22px;
  height: 7px;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-brand {
  font-family: var(--saw-font-heading);
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--saw-navy-primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.logo-brand span {
  color: var(--saw-swiss-red);
}

.logo-sub {
  font-size: 0.685rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--saw-text-muted);
  line-height: 1.2;
  margin-top: 2px;
}

/* --- MEGA MENU --- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.85rem;
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--saw-navy-primary);
  border-radius: var(--saw-radius-sm);
  transition: all var(--saw-transition-fast);
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--saw-swiss-red);
  background-color: var(--saw-navy-light);
}

.nav-link svg.chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--saw-transition-fast);
}

.nav-item:hover .nav-link svg.chevron {
  transform: rotate(180deg);
}

/* Mega-Menu Dropdown */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 680px;
  background: #FFFFFF;
  border-radius: var(--saw-radius-md);
  box-shadow: var(--saw-shadow-xl);
  border: 1px solid var(--saw-border-subtle);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--saw-transition-base);
  z-index: 999;
}

.nav-item:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.mega-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem;
  border-radius: var(--saw-radius-sm);
  transition: background-color var(--saw-transition-fast);
  text-decoration: none;
}
.mega-card:hover {
  background-color: var(--saw-bg-subtle);
}

.mega-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--saw-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.mega-card-content h4 {
  font-size: 0.95rem;
  color: var(--saw-navy-primary);
  margin-bottom: 0.15rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mega-card:hover .mega-card-content h4 {
  color: var(--saw-swiss-red);
}

.mega-card-content p {
  font-size: 0.8rem;
  color: var(--saw-text-muted);
  line-height: 1.35;
  margin-bottom: 0;
}

.mega-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--saw-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--saw-bg-subtle);
  margin: 1.25rem -1.5rem -1.5rem -1.5rem;
  padding: 0.85rem 1.5rem;
  border-bottom-left-radius: var(--saw-radius-md);
  border-bottom-right-radius: var(--saw-radius-md);
}

.mega-footer-text {
  font-size: 0.8rem;
  color: var(--saw-text-muted);
}
.mega-footer-link {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--saw-swiss-red);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--saw-navy-primary);
}

/* --- HERO BANNER --- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #081E2E 0%, #0D324D 60%, #144266 100%);
  color: #FFFFFF;
  padding: 6rem 0 5rem 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: 
    radial-gradient(circle at 85% 20%, rgba(217, 4, 41, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 15% 80%, rgba(45, 106, 79, 0.2) 0%, transparent 45%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-content h1 span {
  color: #FF6B81;
}

.hero-lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #E2E8F0;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.85rem;
  color: #94A3B8;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 700;
  color: #E2E8F0;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--saw-radius-lg);
  padding: 2rem;
  box-shadow: var(--saw-shadow-xl);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.hero-stat-box {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.25rem;
  border-radius: var(--saw-radius-md);
  border-left: 3px solid var(--saw-swiss-red);
}

.hero-stat-value {
  font-family: var(--saw-font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: #94A3B8;
  margin-top: 0.35rem;
}

/* --- SECTIONS & GRILLES --- */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-tag {
  margin-bottom: 0.85rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--saw-text-muted);
  line-height: 1.6;
}

/* Grille 3 colonnes */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Cards & Tuiles */
.card {
  background: var(--saw-bg-card);
  border-radius: var(--saw-radius-md);
  border: 1px solid var(--saw-border-subtle);
  padding: 2rem;
  box-shadow: var(--saw-shadow-sm);
  transition: all var(--saw-transition-base);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--saw-shadow-lg);
  border-color: var(--saw-navy-border);
}

.card-pole-border {
  border-top-width: 4px;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--saw-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.card-title {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.card-text {
  color: var(--saw-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.card-link {
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* --- TARIFS & MEMBERSHIP --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}

.pricing-card {
  background: #FFFFFF;
  border: 2px solid var(--saw-border-subtle);
  border-radius: var(--saw-radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--saw-transition-base);
}

.pricing-card:hover {
  border-color: var(--saw-swiss-red);
  box-shadow: var(--saw-shadow-xl);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--saw-swiss-red);
  box-shadow: var(--saw-shadow-lg);
  background: linear-gradient(180deg, #FFF0F2 0%, #FFFFFF 15%);
}

.pricing-featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--saw-swiss-red);
  color: #FFFFFF;
  padding: 0.25rem 1rem;
  border-radius: var(--saw-radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-head {
  border-bottom: 1px solid var(--saw-border-subtle);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.pricing-tranche {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--saw-navy-primary);
  margin-bottom: 0.35rem;
}

.pricing-amount {
  font-family: var(--saw-font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--saw-navy-primary);
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.pricing-currency { font-size: 1.25rem; font-weight: 700; }
.pricing-period { font-size: 0.9rem; font-weight: 500; color: var(--saw-text-muted); }

.pricing-rate {
  font-size: 0.85rem;
  color: var(--saw-swiss-red);
  font-weight: 600;
  margin-top: 0.25rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--saw-text-main);
  margin-bottom: 0.75rem;
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--saw-pole-federation);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Simulateur de cotisation */
.calc-box {
  background: var(--saw-navy-dark);
  color: #FFFFFF;
  border-radius: var(--saw-radius-xl);
  padding: 3rem;
  margin-top: 4rem;
  box-shadow: var(--saw-shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.calc-input-group {
  margin-top: 1.5rem;
}

.calc-range-wrapper {
  margin: 1.5rem 0;
}

.calc-range {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  -webkit-appearance: none;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--saw-swiss-red);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(217, 4, 41, 0.5);
}

.calc-result-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--saw-radius-lg);
  padding: 2rem;
  text-align: center;
}

.calc-result-val {
  font-family: var(--saw-font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  margin: 1rem 0 0.5rem 0;
}
.calc-result-val span {
  color: #FF6B81;
}

/* --- ÉVÉNEMENTS --- */
.event-card {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 1.75rem;
  align-items: center;
  background: #FFFFFF;
  border-radius: var(--saw-radius-md);
  border: 1px solid var(--saw-border-subtle);
  padding: 1.5rem;
  transition: all var(--saw-transition-base);
  margin-bottom: 1.25rem;
}

.event-card:hover {
  border-color: var(--saw-pole-evenements);
  box-shadow: var(--saw-shadow-md);
  transform: translateX(4px);
}

.event-date-badge {
  background: var(--saw-pole-evenements-light);
  border: 1px solid var(--saw-pole-evenements-border);
  border-radius: var(--saw-radius-sm);
  padding: 0.85rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-day {
  font-family: var(--saw-font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--saw-pole-evenements);
  line-height: 1;
}

.event-month {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--saw-pole-evenements);
  margin-top: 0.2rem;
}

.event-details h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--saw-text-muted);
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* --- FOOTER NORAPILOT --- */
.site-footer {
  background-color: var(--saw-navy-darker);
  color: #94A3B8;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-newsletter input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--saw-radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  outline: none;
}
.footer-newsletter input:focus {
  border-color: var(--saw-swiss-red);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.footer-legal-links a:hover { color: #FFFFFF; }

.footer-propulsion {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.45rem 0.9rem;
  border-radius: var(--saw-radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  font-weight: 600;
  font-size: 0.825rem;
}

.footer-propulsion strong {
  color: #FF6B81;
}

/* --- CHATBOT WIDGET CONCIERGE SAW --- */
.saw-chatbot-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  font-family: var(--saw-font-body);
}

.saw-chatbot-trigger {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--saw-navy-primary);
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  padding: 0.75rem 1.25rem;
  border-radius: var(--saw-radius-full);
  box-shadow: var(--saw-shadow-xl);
  cursor: pointer;
  transition: all var(--saw-transition-base);
}

.saw-chatbot-trigger:hover {
  background: var(--saw-navy-dark);
  transform: scale(1.04);
}

.bot-avatar {
  width: 32px;
  height: 32px;
  background: var(--saw-swiss-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.bot-trigger-text {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.bot-pulse {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Fenêtre de chat */
.saw-chatbot-modal {
  position: absolute;
  bottom: calc(100% + 1rem);
  right: 0;
  width: 380px;
  height: 520px;
  background: #FFFFFF;
  border-radius: var(--saw-radius-lg);
  box-shadow: var(--saw-shadow-xl);
  border: 1px solid var(--saw-border-subtle);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.96);
  transition: all var(--saw-transition-base);
}

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

.bot-modal-header {
  background: var(--saw-navy-primary);
  color: #FFFFFF;
  padding: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bot-modal-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bot-modal-header h4 {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 0.1rem;
}

.bot-modal-header p {
  font-size: 0.75rem;
  color: #CBD5E1;
  margin: 0;
}

.bot-close-btn {
  background: transparent;
  border: none;
  color: #CBD5E1;
  cursor: pointer;
  font-size: 1.25rem;
}
.bot-close-btn:hover { color: #FFFFFF; }

.bot-messages-area {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  background: var(--saw-bg-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.bot-msg {
  max-width: 85%;
  padding: 0.75rem 0.95rem;
  border-radius: var(--saw-radius-md);
  font-size: 0.875rem;
  line-height: 1.45;
}

.bot-msg-received {
  align-self: flex-start;
  background: #FFFFFF;
  color: var(--saw-text-main);
  border: 1px solid var(--saw-border-subtle);
  box-shadow: var(--saw-shadow-xs);
  border-bottom-left-radius: 2px;
}

.bot-msg-sent {
  align-self: flex-end;
  background: var(--saw-navy-primary);
  color: #FFFFFF;
  border-bottom-right-radius: 2px;
}

.bot-quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.bot-prompt-chip {
  background: #FFFFFF;
  border: 1px solid var(--saw-navy-border);
  color: var(--saw-navy-primary);
  padding: 0.3rem 0.65rem;
  border-radius: var(--saw-radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--saw-transition-fast);
}

.bot-prompt-chip:hover {
  background: var(--saw-navy-primary);
  color: #FFFFFF;
}

.bot-input-bar {
  padding: 0.75rem;
  background: #FFFFFF;
  border-top: 1px solid var(--saw-border-subtle);
  display: flex;
  gap: 0.5rem;
}

.bot-input-bar input {
  flex: 1;
  padding: 0.6rem 0.85rem;
  border-radius: var(--saw-radius-sm);
  border: 1px solid var(--saw-border-subtle);
  font-size: 0.85rem;
  outline: none;
}
.bot-input-bar input:focus { border-color: var(--saw-navy-primary); }

.bot-input-bar button {
  background: var(--saw-swiss-red);
  color: #FFFFFF;
  border: none;
  padding: 0 0.85rem;
  border-radius: var(--saw-radius-sm);
  cursor: pointer;
  font-weight: 600;
}

.bot-modal-footer {
  padding: 0.4rem 0.75rem;
  background: #FFFFFF;
  border-top: 1px solid var(--saw-border-subtle);
  text-align: center;
  font-size: 0.7rem;
  color: var(--saw-text-light);
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mega-dropdown { width: 560px; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .main-nav { display: none; }
  .mobile-toggle { display: block; }
  .grid-3, .grid-2, .grid-4, .pricing-grid { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 1fr; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .saw-chatbot-modal { width: calc(100vw - 2rem); right: -1rem; height: 480px; }
}
