/* CSS ModernisŽ 2025 - Nicolas Morlot Expert IA Industriel */

/* ====== VARIABLES DE COULEURS OPTIMISƒES ====== */
:root {
  /* Palette principale avec meilleur contraste */
  --bleu-principal: #1A202C;      /* Bleu plus foncŽ pour meilleur contraste */
  --bleu-secondaire: #2C5282;     /* Bleu moyen */
  --accent-mocha: #8B4513;        /* Mocha plus foncŽ pour contraste */
  --neutre-chaud: #F7FAFC;        /* Blanc cassŽ plus contrastŽ */
  --gris-moderne: #4A5568;        /* Gris plus foncŽ pour lisibilitŽ */
  --orange-action: #2F855A;       /* Update: CTA now use a dark green instead of red */
  --blanc: #FFFFFF;
  --noir-texte: #1A202C;          /* Noir plus profond */
  
  /* Gradients modernes */
  --gradient-hero: linear-gradient(135deg, var(--bleu-principal) 0%, var(--bleu-secondaire) 100%);
  --gradient-accent: linear-gradient(45deg, var(--accent-mocha) 0%, #A0522D 100%);
  
  /* Ombres sophistiquŽes */
  --shadow-card: 0 10px 25px rgba(26, 32, 44, 0.15);
  --shadow-hover: 0 20px 40px rgba(26, 32, 44, 0.25);
  --shadow-button: 0 4px 14px rgba(47, 133, 90, 0.4); /* Match new green CTA tone */
}

/* ====== RƒINITIALISATION ET BASE ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background-color: var(--neutre-chaud);
  color: var(--noir-texte);
  line-height: 1.6;
  font-size: 16px;
  scroll-behavior: smooth;
}

/* ====== NAVIGATION MODERNE ====== */
nav {
  background: var(--gradient-hero);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--blanc);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

nav a:focus {
  outline: 2px solid var(--orange-action);
  outline-offset: 2px;
}

nav a.active {
  background-color: var(--accent-mocha);
  color: var(--blanc);
}

/* ====== STRUCTURE MODERNE ====== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

header {
  background: var(--gradient-hero);
  color: var(--blanc);
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 200"><path d="M0,100 C150,200 350,0 500,100 C650,200 850,0 1000,100 L1000,200 L0,200 Z" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat bottom;
  background-size: cover;
  z-index: 1;
}

header * {
  position: relative;
  z-index: 2;
}

section {
  padding: 3rem 2rem;
  margin: 0 auto;
  max-width: 1200px;
  animation: fadeInUp 0.8s ease forwards;
}

/* ====== PROFILE SECTION STYLES ====== */
.profile-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
  margin: 2rem 0;
}

.profile-content {
  min-width: 0; /* Permet au contenu de se rŽtrŽcir */
}

.profile-image {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.profile-image .img-illustration {
  max-width: 300px;
  width: 100%;
  height: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.ethics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.cta-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.bloc {
  background: var(--blanc);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(26, 32, 44, 0.1);
  transition: all 0.3s ease;
}

.bloc:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* ====== TYPOGRAPHIE MODERNE ====== */
h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, var(--blanc), rgba(255,255,255,0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--bleu-principal);
  margin: 2rem 0 1rem 0;
  font-weight: 600;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

h3 {
  font-size: 1.25rem;
  color: var(--bleu-secondaire);
  margin: 1.5rem 0 1rem 0;
  font-weight: 600;
}

p, li {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--noir-texte);
  line-height: 1.7;
}

/* ====== BOUTONS OPTIMISƒS ====== */
/* Update: CTAs switched from red to a deeper green for a calmer palette */
.cta {
  display: inline-block;
  background: var(--orange-action);
  color: var(--blanc);
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: var(--shadow-button);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}

.cta:hover::before {
  left: 100%;
}

.cta:hover, .cta:focus {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(47, 133, 90, 0.5);
}

.cta:focus {
  outline: 2px solid var(--accent-mocha);
  outline-offset: 2px;
}

.cta-secondary {
  background: transparent;
  border: 2px solid var(--accent-mocha);
  color: var(--accent-mocha);
}

.cta-secondary:hover {
  background: var(--accent-mocha);
  color: var(--blanc);
}

/* ====== CARTES AVEC ANIMATIONS AMƒLIORƒES ====== */
.service-card, .feature-item {
  background: var(--blanc);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-card);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(26, 32, 44, 0.1);
  position: relative;
  overflow: hidden;
}

/* Animation de la barre supŽrieure colorŽe */
.service-card::before, .feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover::before, .feature-item:hover::before {
  transform: scaleX(1);
}

/* Effet hover principal */
.service-card:hover, .feature-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

/* Animation pour les cartes animŽes */
.animated-card {
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 0.6s ease forwards;
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====== SOCIAL PROOF / LOGOS CLIENTS ====== */
.client-logo {
  background: var(--neutre-chaud);
  padding: 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  color: var(--bleu-principal);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
  cursor: pointer;
}

.client-logo:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: var(--accent-mocha);
  box-shadow: var(--shadow-hover);
  background: var(--blanc);
}

.client-logo small {
  color: var(--gris-moderne);
  font-weight: 400;
}

/* ====== GRID MODERNE ====== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--blanc);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

/* ====== TABLEAUX MODERNES ====== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--blanc);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

th {
  background: var(--gradient-hero);
  color: var(--blanc);
  padding: 1rem;
  font-weight: 600;
  text-align: left;
}

td {
  padding: 1rem;
  border-bottom: 1px solid rgba(74, 85, 104, 0.1);
  color: var(--noir-texte);
}

tbody tr:hover {
  background-color: rgba(26, 32, 44, 0.02);
}

/* ====== FORMULAIRES MODERNES ====== */
form {
  background: var(--blanc);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  max-width: 600px;
  margin: 2rem auto;
}

label {
  display: block;
  margin: 1rem 0 0.5rem 0;
  font-weight: 600;
  color: var(--bleu-principal);
}

input, select, textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid rgba(74, 85, 104, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: var(--neutre-chaud);
  color: var(--noir-texte);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-mocha);
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

button[type="submit"] {
  width: 100%;
  margin-top: 1rem;
}

/* ====== IMAGES MODERNES ====== */
.img-illustration {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  margin: 2rem auto;
  display: block;
  transition: all 0.3s ease;
}

.img-illustration:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

.hero-image {
  max-width: 400px;
  margin: 2rem auto;
}

/* ====== FOOTER MODERNE ====== */
footer {
  background: var(--gradient-hero);
  color: var(--blanc);
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
  border-top: 4px solid var(--accent-mocha);
}

/* ====== ANIMATIONS ====== */
@keyframes fadeInUp {
  from { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

@keyframes slideInLeft {
  from { 
    opacity: 0; 
    transform: translateX(-30px); 
  }
  to { 
    opacity: 1; 
    transform: translateX(0); 
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.animate-on-scroll {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

/* DŽlais d'animation pour effet cascade */
section:nth-child(1) { animation-delay: 0.1s; }
section:nth-child(2) { animation-delay: 0.2s; }
section:nth-child(3) { animation-delay: 0.3s; }
section:nth-child(4) { animation-delay: 0.4s; }

/* ====== ƒLƒMENTS DƒCORATIFS ====== */
.decorative-line {
  width: 100px;
  height: 3px;
  background: var(--gradient-accent);
  margin: 2rem auto;
  border-radius: 2px;
}

.accent-text {
  color: var(--accent-mocha);
  font-weight: 600;
}

.highlight-box {
  background: var(--blanc);
  border: 1px solid rgba(139, 69, 19, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--accent-mocha);
  box-shadow: var(--shadow-card);
}

/* ====== PRIX ET BADGES ====== */
.price {
  background: var(--gradient-accent);
  color: var(--blanc);
  padding: 1rem;
  border-radius: 12px;
  margin: 1rem 0;
  font-weight: 600;
  text-align: center;
}

.badge {
  display: inline-block;
  background: var(--accent-mocha);
  color: var(--blanc);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0.25rem;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  header {
    padding: 2rem 1rem;
  }
  
  section {
    padding: 2rem 1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  /* Profile section responsive */
  .profile-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .profile-image {
    order: -1; /* Met l'image en premier sur mobile */
  }
  
  .profile-image .img-illustration {
    max-width: 250px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .ethics-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .cta-group {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .cta {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
  
  table {
    font-size: 0.875rem;
  }
  
  th, td {
    padding: 0.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  section {
    padding: 1.5rem 1rem;
  }
  
  form {
    padding: 1.5rem;
    margin: 1rem auto;
  }
  
  /* Profile section pour tr�s petits Žcrans */
  .profile-section {
    gap: 1.5rem;
  }
  
  .profile-image .img-illustration {
    max-width: 200px;
  }
  
  .stats-grid {
    gap: 1rem;
  }
  
  .stats-grid > div {
    padding: 1rem;
    background: rgba(139, 69, 19, 0.05);
    border-radius: 8px;
  }
  
  .highlight-box {
    padding: 1rem;
    margin: 1rem 0;
  }
  
  .approach-grid {
    gap: 1rem;
  }
  
  .bloc {
    padding: 1rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.25rem;
  }
  
  h3 {
    font-size: 1.1rem;
  }
  
  .cta {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
  }
  
  .cta-group {
    width: 100%;
  }
  
  .cta-group .cta {
    width: 100%;
    max-width: 280px;
  }
}

/* ====== ACCESSIBILITƒ ====== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible pour l'accessibilitŽ */
*:focus-visible {
  outline: 2px solid var(--orange-action);
  outline-offset: 2px;
}

/* ====== CAS D'USAGE STYLES ====== */
.use-case-section {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
}

.use-case-icon {
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  min-width: 120px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.use-case-content {
  min-width: 0;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.success-example {
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 2rem;
  border: 1px solid rgba(26, 32, 44, 0.1);
}

.full-width {
  grid-column: 1/-1;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
  margin: 1rem 0;
}

.identification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* ====== CONTACT STYLES ====== */
.contact-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.contact-main-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin: 2rem 0;
}

.contact-form-wrapper {
  min-width: 0;
}

.contact-info-wrapper {
  min-width: 0;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

/* ====== RESPONSIVE DESIGN AMƒLIORƒ ====== */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  header {
    padding: 2rem 1rem;
  }
  
  section {
    padding: 2rem 1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  /* Profile section responsive */
  .profile-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .profile-image {
    order: -1;
  }
  
  .profile-image .img-illustration {
    max-width: 250px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .ethics-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .cta-group {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  /* Cas d'usage responsive */
  .use-case-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  
  .use-case-icon {
    order: -1;
    margin: 0 auto;
    max-width: 150px;
  }
  
  .use-case-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .identification-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Contact responsive */
  .contact-features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .contact-main-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .cta {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
  
  table {
    font-size: 0.875rem;
  }
  
  th, td {
    padding: 0.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  section {
    padding: 1.5rem 1rem;
  }
  
  form {
    padding: 1.5rem;
    margin: 1rem auto;
  }
  
  /* Profile section pour tr�s petits Žcrans */
  .profile-section {
    gap: 1.5rem;
  }
  
  .profile-image .img-illustration {
    max-width: 200px;
  }
  
  .stats-grid {
    gap: 1rem;
  }
  
  .stats-grid > div {
    padding: 1rem;
    background: rgba(139, 69, 19, 0.05);
    border-radius: 8px;
  }
  
  .highlight-box {
    padding: 1rem;
    margin: 1rem 0;
  }
  
  .approach-grid {
    gap: 1rem;
  }
  
  .bloc {
    padding: 1rem;
  }
  
  /* Cas d'usage mobile */
  .use-case-section {
    gap: 1rem;
  }
  
  .use-case-icon {
    padding: 1rem;
    min-width: 100px;
    font-size: 0.7rem;
  }
  
  .use-case-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .features-list {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .success-example {
    padding: 1rem;
    margin-top: 1rem;
  }
  
  /* Contact mobile */
  .contact-main-section {
    gap: 1.5rem;
  }
  
  .contact-features-grid {
    gap: 1rem;
  }
  
  .feature-item {
    padding: 1rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.25rem;
  }
  
  h3 {
    font-size: 1.1rem;
  }
  
  .cta {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
  }
  
  .cta-group {
    width: 100%;
  }
  
  .cta-group .cta {
    width: 100%;
    max-width: 280px;
  }
}

/* ====== UTILITAIRES ====== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none; }
.flex { display: flex; }
.block { display: block; }
.inline-block { display: inline-block; }
/* Navigation : les liens passent a la ligne plutot que de deborder */
.nav-links {
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 0.5rem;
}

/* Entre tablette et grand ecran, les 7 liens tiennent sur une ligne */
@media (min-width: 769px) and (max-width: 1100px) {
  .nav-links {
    gap: 0.5rem;
  }
}
