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

.hero-content {
  max-width: 1100px;
  margin: 40px auto 0;
}

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

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

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

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

/* Ajout : texte du paragraphe principal (déjà utilisé) */
.hero-lead {
  font-size: 1.1rem;
  color: #dbe2ff;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Ajout : liste de bénéfices dans le hero */
.hero-benefits {
  margin: 1rem 0 1.2rem;
  padding-left: 1.2rem; /* puces normales, une seule rangée */
}

.hero-benefits li {
  color: #4fd1c5; /* turquoise */
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

/* =========================
   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); /* turquoise */
  color: var(--accent);        /* turquoise comme "Diagnostic IA offert" */
}

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

.home-card:hover,
.service-card:hover,
.offer-card:hover,
.salary-card:hover,
.contact-card:hover,
.hero-home-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 */

.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);
  /* Ajout pour l’animation et le hover turquoise */
  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; /* affiche toute l’image sans la couper */
  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;
}

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

/* Ajout : liens du footer bien visibles */
.footer-legal a {
  color: #4fd1c5;
  text-decoration: none;
}

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

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

@media (max-width: 900px) {
  .hero-content {
    margin-top: 30px;
  }

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

@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;
  }
}
/* =========================
   Corrections spécifiques page d'accueil
   ========================= */

/* Liste du 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 !important; /* texte blanc */
}

.hero-benefits li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #4fd1c5 !important; /* turquoise du site */
}


/* Texte du HERO (le paragraphe principal) plus blanc */
.hero-text p,
.hero-lead {
  color: #f9fafb !important; /* blanc lisible */
}
/* Harmonisation du hover sur les boutons secondaires */
.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
  border-color: var(--accent); /* turquoise */
  color: var(--accent);        /* turquoise comme "Diagnostic IA offert" */
}
/* Harmonisation du lien "Mentions légales & politique de confidentialité" sur toutes les pages */

.footer-legal a {
  color: #4fd1c5 !important;     /* turquoise */
  font-weight: 600;
  text-decoration: none;
}

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

/* Texte après le lien = blanc/gris, uniforme partout */
.footer-legal {
  color: #e5e7eb !important;
}

/* Pour être sûr que seul le lien est turquoise */
.footer-legal p {
  color: #e5e7eb !important;
}

.footer-legal p a {
  color: #4fd1c5 !important;
}
/* Harmonisation du lien "Mentions légales & politique de confidentialité" sur toutes les pages */

.footer-legal a {
  color: #4fd1c5 !important;     /* turquoise */
  font-weight: 600;
  text-decoration: none;
}

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

/* Texte après le lien = blanc/gris, uniforme partout */
.footer-legal {
  color: #e5e7eb !important;
}

/* Pour être sûr que seul le lien est turquoise */
.footer-legal p {
  color: #e5e7eb !important;
}

.footer-legal p a {
  color: #4fd1c5 !important;
}
