/* =========================
   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: transparent;
  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 : globe + IA-Atlas (bannière), sans badge borduré */
.brand-badge-white {
  display: none;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  height: 72px;
  width: 220px; /* largeur fixe : menu stable */
  background-image: url("logo-ia-atlas.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
  text-decoration: none;
}

/* On conserve l'image HTML pour l'accessibilité/layout, mais elle est invisible */
.brand-logo-image {
  opacity: 0;
  height: 72px;
  width: auto;
  display: block;
}

/* 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;
}

/* =========================
   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);
}

/* =========================
   Accueil — Hero principal + 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;
}

.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;
}

.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: var(--accent);
}

/* =========================
   Chatbot (Elise) — base
   ========================= */
.hero-assistant {
  display: flex;
  justify-content: flex-end;
}

.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;
}

.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: var(--accent);
}

.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.55rem; /* espacement premium unifié */
}

/* Messages (Elise) */
.assistant-message {
  border: none; /* évite double liseré */
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  line-height: 1.45;
  max-width: 92%;
}

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

.assistant-message-user {
  align-self: flex-end;
  background: var(--accent);
  color: #020617;
  font-weight: 500;
  max-width: 88%;
  filter: saturate(1.02);
}

/* Champ input */
.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: var(--accent);
}

.hero-assistant-input-button {
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  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: var(--text-muted);
}

/* Liens dans messages chat */
.hero-assistant-messages a,
.hero-assistant-messages a:visited,
.assistant-message a,
.assistant-message 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,
.assistant-message a:hover,
#elise-messages a:hover {
  color: #67e8f9;
  text-decoration-color: rgba(103, 232, 249, 0.55);
}

/* =========================
   Accueil — Hero secondaire
   ========================= */
.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 / Grilles / 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;
}

.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;
}

/* Layout CTA + assistant */
.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 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;
}

.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;
}

.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: var(--accent);
}

.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.55rem;
}

/* Messages (Salariés) */
.assistant-message-sal {
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  line-height: 1.45;
  max-width: 92%;
}

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

.assistant-message-sal-user {
  align-self: flex-end;
  background: var(--accent);
  color: #020617;
  font-weight: 500;
  max-width: 88%;
}

.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: var(--accent);
}

.salaries-cta-assistant-input-button {
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  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: var(--text-muted);
}

/* Liens chat salariés */
.salaries-cta-assistant-messages a,
.salaries-cta-assistant-messages a:visited,
.assistant-message-sal a,
.assistant-message-sal a:visited {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(79, 209, 197, 0.45);
  text-underline-offset: 2px;
}

.salaries-cta-assistant-messages a:hover,
.assistant-message-sal a:hover {
  color: #67e8f9;
  text-decoration-color: rgba(103, 232, 249, 0.55);
}

/* =========================
   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);
}

/* Offres — note de clarification */
.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;
}

/* =========================
   À 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;
}

.footer-legal a {
  color: var(--accent);
  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;
  }

  .salaries-cta-assistant-card {
    margin-top: 0;
  }

  .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;
  }

  /* Logo bannière en version mobile */
  .brand-logo {
    height: 52px;
    width: 180px;
  }

  .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;
  }
}

@media (min-width: 769px) {
  .brand-logo {
    height: 72px;
    width: 220px;
  }

  .brand-logo-image {
    height: 72px;
  }
}
/* =========================
   PREMIUM & FIXES — bloc unique final (safe)
   À coller tout en bas de styles.css
   ========================= */

/* (A) Lisibilité premium : largeur de ligne confortable (ne casse pas les grilles) */
.hero-text,
.services-hero,
.about-section,
.legal-section,
.contact-card,
.home-card p,
.service-card p,
.offer-card p,
.salary-card p {
  max-width: 65ch;
}

/* (B) Hiérarchie douce : textes secondaires légèrement atténués (mesuré) */
.hero-note,
.hero-home-note,
.offer-tagline,
.services-subtitle,
.about-subtitle,
.contact-subtitle,
.legal-subtitle,
.footer-bottom {
  opacity: 0.88;
}

/* (C) Focus clavier (accessibilité + finition pro) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 10px;
}

/* (D) Rendu “calme” premium : transitions harmonisées */
.nav-links a,
.btn,
.home-card,
.service-card,
.offer-card,
.salary-card,
.contact-card,
.hero-home-card,
.hero-assistant-card,
.salaries-cta-assistant-card {
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

/* (E) Micro-détails typographiques : lissage + rendu plus net */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* (F) Boutons : cohérence visuelle (sans changer le style existant) */
.btn,
.btn-primary,
.btn-secondary,
.btn-outline {
  min-height: 44px; /* confort tactile, standard pro */
}

/* (G) Navigation : meilleure lisibilité si le menu wrap sur petites largeurs */
@media (max-width: 768px) {
  .nav-links {
    gap: 0.45rem;
  }

  .nav-links a {
    padding: 6px 10px;
  }

  /* Optionnel mais safe : sections un peu moins “hautes” sur mobile */
  .home-section {
    padding: 2.2rem 0;
  }

  /* Typo mobile légèrement ajustée (safe) */
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.6rem; }
}

/* (H) Cards : bordure unifiée légèrement plus “premium” (très léger) */
.home-card,
.service-card,
.offer-card,
.salary-card,
.contact-card,
.hero-home-card,
.hero-assistant-card,
.salaries-cta-assistant-card {
  border-color: rgba(148, 163, 184, 0.33);
}

/* (I) Chat : liens et espacement (cohérence) */
.hero-assistant-messages,
.salaries-cta-assistant-messages,
.elise-chat-messages {
  gap: 0.55rem;
}

.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);
}

/* (J) Header : on garantit qu’il reprend bien le fond global (aucune bande sombre) */
.hero {
  background: transparent;
}
/* =========================
   FIX DÉFINITIF — Chatbots
   Suppression du double cadre
   ========================= */

.assistant-message,
.assistant-message-sal {
  border: none !important;
  background-clip: padding-box;
}
.assistants-image {
  text-align: center;   /* centre l’image */
  margin: 20px 0;       /* espace au-dessus et en dessous */
}

.assistants-image img {
  width: 80%;           /* rend l’image plus petite */
  max-width: 900px;     /* empêche qu’elle soit trop grande */
  height: auto;         /* garde les proportions */
}
