/* =========================
   Variables & base
   ========================= */

:root {
  --bg-dark: #050814;
  --bg-darker: #03040a;
  --bg-light: #F4F4F8;
  --accent: #4fd1c5;
  --accent-soft: #0f766e;
  --accent-gold: #E4B258;
  --text-main: #F9FAFF;
  --text-muted: #9CA3AF;
  --text-dark: #111827;
  --border-subtle: rgba(148, 163, 184, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at 30% 20%, #1f2937 0%, #020617 55%, #020617 100%);
  color: #e5e7eb;
  line-height: 1.6;
}

p {
  margin-top: 0;
}

/* =========================
   Typographie
   ========================= */

h1,
h2,
h3 {
  margin-top: 0;
  color: #f9fafb;
}

h1 {
  font-size: 2.4rem;
  letter-spacing: 0.04em;
}

h2 {
  font-size: 1.8rem;
  letter-spacing: 0.03em;
}

h3 {
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

/* =========================
   Layout global
   ========================= */

main {
  padding: 0 16px 40px;
}

.hero,
.hero-home,
.home-section,
.services-hero,
.services-grid-section,
.salaries-hero,
.offers-hero,
.offers-grid-section,
.about-hero,
.about-section,
.contact-section,
.legal-hero,
.legal-section {
  max-width: 1100px;
  margin: 0 auto;
}

/* =========================
   Header / Navigation
   ========================= */

.hero {
  background:
    radial-gradient(circle at top left, rgba(0, 108, 255, 0.25), transparent 55%),
    radial-gradient(circle at bottom right, rgba(79, 209, 197, 0.25), transparent 55%),
    linear-gradient(135deg, var(--bg-darker), #050b1f);
  padding: 20px 16px 60px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Logo + IA-Atlas */

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-image {
  height: 120px;
  width: auto;
  display: block;
}

.brand-badge-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid #ffffff;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: #ffffff;
}

/* Liens de navigation */

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.92rem;
}

.nav-links a {
  color: #e5e7ffcc;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 999px;
  transition: background 0.15s ease-out, color 0.15s ease-out;
}

.nav-links a:hover {
  background: rgba(15, 23, 42, 0.85);
  color: var(--accent);
}

.nav-links a.active {
  background: rgba(15, 23, 42, 0.95);
  color: var(--accent);
  font-weight: 600;
}

/* =========================
   Hero principal (Accueil) + Elise
   ========================= */

.hero-content {
  max-width: 1100px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: stretch;
}

.hero-text {
  max-width: 640px;
}

.hero-text p {
  color: #f9fafb;
  margin-bottom: 1rem;
}

/* Paragraphe principal plus blanc */
.hero-lead {
  font-size: 1.1rem;
  color: #f9fafb;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 6px;
}

.hero-note {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Liste de bénéfices dans le hero : texte blanc + puce turquoise */

.hero-benefits {
  list-style: none;
  margin: 1rem 0 1.2rem;
  padding: 0;
}

.hero-benefits li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  color: #f9fafb;
}

.hero-benefits li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #4fd1c5;
}

/* Élise dans le hero (mini-chat intégré) */

.hero-assistant {
  display: flex;
  justify-content: flex-end;
}

/* Carte chatbot – même style que les autres cartes */
.hero-assistant-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform 0.18s ease-out,
              box-shadow 0.18s ease-out,
              border-color 0.18s ease-out;
}

.hero-assistant-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.3rem;
}

/* AVATAR ELISE ACCUEIL – PLUS GRAND */
.hero-assistant-avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(79, 209, 197, 0.9);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
}

.hero-assistant-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-assistant-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hero-assistant-name {
  font-weight: 600;
  font-size: 0.98rem;
  color: #f9fafb;
}

.hero-assistant-role {
  font-size: 0.82rem;
  color: #e5e7eb;
  opacity: 0.9;
}

.hero-assistant-status {
  font-size: 0.8rem;
  color: #4fd1c5;
}

.hero-assistant-messages {
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.6rem 0.7rem;
  max-height: 220px;
  overflow-y: auto;
  font-size: 0.86rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.assistant-message {
  padding: 0.4rem 0.6rem;
  border-radius: 10px;
  line-height: 1.5;
}

.assistant-message-bot {
  align-self: flex-start;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.assistant-message-user {
  align-self: flex-end;
  background: #4fd1c5;
  color: #020617;
  font-weight: 500;
}

.hero-assistant-input {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.hero-assistant-input-field {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  padding: 0.4rem 0.7rem;
  font-size: 0.85rem;
  color: #f9fafb;
  outline: none;
}

.hero-assistant-input-field::placeholder {
  color: #6b7280;
}

.hero-assistant-input-field:focus {
  border-color: #4fd1c5;
}

.hero-assistant-input-button {
  border-radius: 999px;
  border: 1px solid transparent;
  background: #4fd1c5;
  color: #020617;
  font-size: 0.83rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.5);
  transition: transform 0.15s ease-out,
              box-shadow 0.15s ease-out,
              opacity 0.15s ease-out;
}

.hero-assistant-input-button:hover {
  transform: translateY(-1px);
  opacity: 0.95;
  box-shadow: 0 16px 30px rgba(15, 118, 110, 0.7);
}

.hero-assistant-hint {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: #9CA3AF;
}

/* =========================
   Boutons
   ========================= */

.btn,
.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.15s ease-out,
    box-shadow 0.15s ease-out,
    background 0.15s ease-out,
    opacity 0.15s ease-out,
    color 0.15s ease-out;
}

.btn-primary {
  background: var(--accent);
  color: #020617;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(15, 118, 110, 0.65);
  opacity: 0.95;
}

.btn-secondary {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.8);
  color: #e5e7eb;
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #f9fafb;
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(15, 23, 42, 0.85);
}

/* =========================
   Hero secondaire (Accueil)
   ========================= */

.hero-home {
  padding: 3rem 0 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-home-subtitle {
  font-size: 1.02rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.hero-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.hero-home-note {
  font-size: 0.9rem;
  opacity: 0.85;
}

.hero-home-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-home-card {
  background: rgba(10, 18, 40, 0.9);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  max-width: 360px;
}

.hero-home-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}

.hero-home-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
}

.hero-home-card li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
}

.hero-home-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

/* =========================
   Sections génériques & cartes
   ========================= */

.home-section {
  padding: 2.7rem 0;
}

.home-section h2 {
  margin-bottom: 1.5rem;
}

/* Grilles */

.home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.salaries-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Cartes unifiées */

.home-card,
.service-card,
.offer-card,
.salary-card,
.contact-card,
.hero-home-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s ease-out,
              box-shadow 0.18s ease-out,
              border-color 0.18s ease-out;
}

.home-card,
.service-card,
.offer-card,
.salary-card,
.contact-card {
  padding: 1.5rem;
  font-size: 0.95rem;
}

/* Hover identique pour toutes les cartes, y compris les chatbots */
.home-card:hover,
.service-card:hover,
.offer-card:hover,
.salary-card:hover,
.contact-card:hover,
.hero-home-card:hover,
.hero-assistant-card:hover,
.salaries-cta-assistant-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.9);
}

/* Listes avec puces dans les cartes */

.offer-card ul,
.salary-card ul,
.home-solutions ul {
  list-style: none;
  padding: 0;
  margin: 0.7rem 0 0;
}

.offer-card li,
.salary-card li,
.home-solutions li {
  padding-left: 1.2rem;
  margin-bottom: 0.4rem;
  position: relative;
}

.offer-card li::before,
.salary-card li::before,
.home-solutions li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

/* Solutions IA : flèche au lieu de puce */

.home-solutions li::before {
  content: "›";
  opacity: 0.7;
}

/* CTA général */

.home-cta {
  text-align: center;
}

.home-cta p {
  max-width: 650px;
  margin: 0.5rem auto 1.5rem;
}

/* =========================
   Bloc RGPD (Accueil)
   ========================= */

.home-rgpd {
  padding-top: 0;
}

.rgpd-card {
  background: rgba(10, 18, 40, 0.95);
  border-radius: 18px;
  padding: 1.8rem 1.6rem 1.6rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.8);
  transition: transform 0.18s ease-out,
              box-shadow 0.18s ease-out,
              border-color 0.18s ease-out;
}

.rgpd-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.9);
}

.rgpd-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.4rem;
  align-items: flex-start;
}

.rgpd-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 118, 110, 0.2);
  border: 1px solid rgba(34, 197, 154, 0.7);
  font-size: 1.3rem;
}

.rgpd-subtitle {
  font-size: 0.98rem;
  opacity: 0.9;
  margin-top: 0.3rem;
}

.rgpd-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.rgpd-column h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.rgpd-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.rgpd-list li {
  margin-bottom: 0.4rem;
  padding-left: 1.1rem;
  position: relative;
}

.rgpd-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.9em;
  color: var(--accent);
}

.rgpd-bottom-line {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  opacity: 0.95;
}

/* =========================
   Services
   ========================= */

.services-hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.services-subtitle {
  opacity: 0.9;
  margin-top: 1rem;
  font-size: 1rem;
}

.services-grid-section {
  padding: 2rem 0 3rem;
}

/* =========================
   Salariés virtuels
   ========================= */

.salaries-hero {
  padding: 3rem 0 2rem;
}

.salaries-hero-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 1.8rem;
}

.salaries-hero-image {
  display: flex;
  justify-content: center;
  margin-bottom: 1.8rem;
}

.salaries-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  display: block;
}

/* CTA Salariés virtuels avec Elise à droite */

.salaries-cta-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: stretch;
}

.salaries-cta-text {
  text-align: left;
}

.salaries-cta-assistant {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

/* AVATAR ELISE SALARIÉS – PLUS GRAND (desktop) */
.salaries-cta-assistant-avatar {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(79, 209, 197, 0.9);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
}

.salaries-cta-assistant-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Carte chatbot Salariés – même style que les autres cartes, remontée davantage */
.salaries-cta-assistant-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 360px;
  transition: transform 0.18s ease-out,
              box-shadow 0.18s ease-out,
              border-color 0.18s ease-out;
  margin-top: -140px; /* remonte Elise plus haut pour se rapprocher des cartes */
}

.salaries-cta-assistant-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.3rem;
}

.salaries-cta-assistant-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.salaries-cta-assistant-name {
  font-weight: 600;
  font-size: 0.98rem;
  color: #f9fafb;
}

.salaries-cta-assistant-role {
  font-size: 0.82rem;
  color: #e5e7eb;
  opacity: 0.9;
}

.salaries-cta-assistant-status {
  font-size: 0.8rem;
  color: #4fd1c5;
}

.salaries-cta-assistant-messages {
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.6rem 0.7rem;
  max-height: 200px;
  overflow-y: auto;
  font-size: 0.86rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.assistant-message-sal {
  padding: 0.4rem 0.6rem;
  border-radius: 10px;
  line-height: 1.5;
}

.assistant-message-sal-bot {
  align-self: flex-start;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.assistant-message-sal-user {
  align-self: flex-end;
  background: #4fd1c5;
  color: #020617;
  font-weight: 500;
}

.salaries-cta-assistant-input {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.salaries-cta-assistant-input-field {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  padding: 0.4rem 0.7rem;
  font-size: 0.85rem;
  color: #f9fafb;
  outline: none;
}

.salaries-cta-assistant-input-field::placeholder {
  color: #6b7280;
}

.salaries-cta-assistant-input-field:focus {
  border-color: #4fd1c5;
}

.salaries-cta-assistant-input-button {
  border-radius: 999px;
  border: 1px solid transparent;
  background: #4fd1c5;
  color: #020617;
  font-size: 0.83rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.5);
  transition: transform 0.15s ease-out,
              box-shadow 0.15s ease-out,
              opacity 0.15s ease-out;
}

.salaries-cta-assistant-input-button:hover {
  transform: translateY(-1px);
  opacity: 0.95;
  box-shadow: 0 16px 30px rgba(15, 118, 110, 0.7);
}

.salaries-cta-assistant-hint {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: #9CA3AF;
}

/* =========================
   Offres
   ========================= */

.offers-hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.offers-subtitle {
  opacity: 0.9;
  margin-top: 1rem;
  font-size: 1rem;
}

.offers-grid-section {
  padding: 2rem 0 3rem;
}

.offer-tagline {
  opacity: 0.9;
  margin-bottom: 0.9rem;
}

.offer-goal {
  margin-top: 0.6rem;
  opacity: 0.9;
}

.offer-highlight {
  border-color: var(--accent);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.6);
}

/* =========================
   À propos
   ========================= */

.about-hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.about-subtitle {
  opacity: 0.9;
  margin-top: 1rem;
  font-size: 1rem;
}

.about-section {
  padding: 1.8rem 0;
}

.about-section h2 {
  margin-bottom: 0.8rem;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-list li {
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.about-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.7;
}

/* =========================
   Contact
   ========================= */

.contact-section {
  padding: 3rem 0;
  text-align: center;
}

.contact-subtitle {
  opacity: 0.9;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.contact-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.contact-email a {
  color: var(--accent);
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

.contact-note {
  margin: 1.2rem 0;
  opacity: 0.85;
}

/* =========================
   Mentions légales
   ========================= */

.legal-hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.legal-subtitle {
  opacity: 0.9;
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.legal-section {
  padding: 1.8rem 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-section h2 {
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
}

.legal-section a {
  color: var(--accent);
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

.legal-disclaimer {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* =========================
   Footer
   ========================= */

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.5rem 16px 2.2rem;
  font-size: 0.85rem;
  opacity: 0.9;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(3, 7, 18, 1));
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-brand {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-tagline {
  opacity: 0.8;
}

.footer-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-right a {
  text-decoration: none;
  opacity: 0.85;
  color: #e5e7eb;
}

.footer-right a:hover {
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  opacity: 0.7;
}

.footer-legal {
  max-width: 1100px;
  margin: 0.8rem auto 0;
  font-size: 0.75rem;
  opacity: 0.7;
  line-height: 1.5;
  color: #e5e7eb;
}

/* Liens du footer bien visibles */

.footer-legal a {
  color: #4fd1c5;
  font-weight: 600;
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 900px) {
  .hero-content {
    margin-top: 30px;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-assistant {
    justify-content: flex-start;
    margin-top: 1.5rem;
  }

  .hero-home {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-home-visual {
    justify-content: flex-start;
  }

  .home-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .salaries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rgpd-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .salaries-cta-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .salaries-cta-assistant {
    justify-content: flex-start;
    margin-top: 1.5rem;
  }

  /* Sur mobile, on enlève la remontée du cadre d’Elise */
  .salaries-cta-assistant-card {
    margin-top: 0;
  }

  /* Avatar Elise plus petit sur mobile */
  .salaries-cta-assistant-avatar {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    gap: 0.5rem;
  }

  .brand-logo-image {
    height: 52px;
  }

  .salaries-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .offers-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  main {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Ajustement : logo plus grand sur ordinateur */

@media (min-width: 769px) {
  .brand-logo-image {
    height: 88px;
  }
}
/* === FIX : double bubble sur le message de présentation Elise === */
/* On retire la bordure du "wrapper" générique, pour n'avoir qu'un seul liseré */
.assistant-message {
  border: none !important;
}
/* === Elise — polish premium (à coller en tout dernier dans styles.css) === */

.assistant-message{
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  line-height: 1.45;
  max-width: 92%;
}

.assistant-message-bot{
  max-width: 92%;
  background: rgba(15, 23, 42, 0.92);
}

.assistant-message-user{
  max-width: 88%;
  filter: saturate(1.02);
}

/* Espacement plus régulier entre messages */
.hero-assistant-messages,
.salaries-cta-assistant-messages,
.elise-chat-messages{
  gap: 0.55rem !important;
}
/* =========================
   Offres — note de clarification (texte simple, sans encart)
   ========================= */

.offers-note{
  max-width: 1100px;
  margin: -18px auto 0;
  padding: 0;
  background: transparent;
}

.offers-note p{
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
  text-align: center;
}
/* =========================
   Chatbots (Elise + Thomas) — Liens turquoise (y compris :visited)
   ========================= */

.hero-assistant-messages a,
.hero-assistant-messages a:visited,
.salaries-cta-assistant-messages a,
.salaries-cta-assistant-messages a:visited,
.elise-chat-messages a,
.elise-chat-messages a:visited,
.assistant-message a,
.assistant-message a:visited,
.assistant-message-sal a,
.assistant-message-sal a:visited,
#elise-messages a,
#elise-messages a:visited{
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(79, 209, 197, 0.45);
  text-underline-offset: 2px;
}

.hero-assistant-messages a:hover,
.salaries-cta-assistant-messages a:hover,
.elise-chat-messages a:hover,
.assistant-message a:hover,
.assistant-message-sal a:hover,
#elise-messages a:hover{
  color: #67e8f9;
  text-decoration-color: rgba(103, 232, 249, 0.55);
}
/* Lien "Adhérer" dans les hints (lisibilité UX) */
.hero-assistant-hint a,
.hero-assistant-hint a:visited {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(79, 209, 197, 0.45);
}

.hero-assistant-hint a:hover {
  color: #67e8f9;
  text-decoration-color: rgba(103, 232, 249, 0.55);
}
/* Lien "Adhérer" dans les hints (lisibilité UX) */
.hero-assistant-hint a,
.hero-assistant-hint a:visited {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(79, 209, 197, 0.45);
}

.hero-assistant-hint a:hover {
  color: #67e8f9;
  text-decoration-color: rgba(103, 232, 249, 0.55);
}
/* Lien "Adhérer" dans les hints (lisibilité UX) */
.hero-assistant-hint a,
.hero-assistant-hint a:visited {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(79, 209, 197, 0.45);
}

.hero-assistant-hint a:hover {
  color: #67e8f9;
  text-decoration-color: rgba(103, 232, 249, 0.55);
}
/* =========================================================
   FIX LOGO IA-ATLAS — taille identique connecté / déconnecté
   ========================================================= */

.nav-left .brand-logo-image{
  height: 88px;
  width: auto;
  max-height: none;
}

@media (max-width: 768px){
  .nav-left .brand-logo-image{
    height: 52px;
  }
}
