/* =========================================
   Consolidation: design-system.css
========================================= */

/* --- Source: variables.css --- */

:root {
  /* Palette de couleurs */
  --color-primary: #02182B;       /* Bleu marine sombre officiel */
  --color-accent: #07B1F0;        /* Bleu cyan vif officiel (boutons principaux) */
  --color-success: #10B981;       /* Vert d'accentuation */
  
  /* Arrière-plans */
  --bg-white: #FFFFFF;
  --bg-light-blue: #F0F9FF;       /* Bleu ciel pastel doux (services) */
  --bg-light-green: #F0FDF4;      /* Vert menthe pastel doux (témoignages/actu) */
  --bg-footer: #F8FAFC;           /* Gris/bleu cassé très clair (footer) */
  
  /* Couleurs de texte */
  --text-dark: #02182B;           /* Bleu marine sombre officiel */
  --text-normal: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  /* Typographie */
  --font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  
  /* Tailles de police */
  --font-xs: 0.75rem;     /* 12px */
  --font-sm: 0.875rem;    /* 14px */
  --font-base: 1rem;      /* 16px */
  --font-lg: 1.125rem;    /* 18px */
  --font-xl: 1.25rem;     /* 20px */
  --font-2xl: 1.5rem;     /* 24px */
  --font-3xl: 1.875rem;   /* 30px */
  --font-4xl: 2.25rem;    /* 36px */
  --font-5xl: 3rem;       /* 48px */
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Border Radius & Shadow */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);

  /* Section Secteurs */
  --color-sectors-desc: #668AA4;
  --color-sectors-link: #53B730;
  --color-sectors-dark: #010E1A;
  
  /* Section Services */
  --color-services-bg: #DFF3FF;
  
  /* Section Partenaires */
  --color-partners-green: #53B730;
  
  /* Section Actualités */
  --color-news-bg: #f0fbea;
}

/* ==========================================================================
   DESIGN SYSTEM - CLASSES UTILITAIRES GLOBALES
   ========================================================================== */

/* --------------------------------------------------------------------------
   TYPOGRAPHIE
   -------------------------------------------------------------------------- */
body {
  font-family: var(--font-family);
  color: var(--text-normal);
  background-color: var(--bg-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-family: 'DM Sans', sans-serif;
}

/* --------------------------------------------------------------------------
   BOUTONS (Style Industriel : Pas d'arrondis, bordures nettes)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 66px;
  padding: 0 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  border-radius: 0; /* Style industriel strict */
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  letter-spacing: 0.01em;
}

/* Bouton Primaire (Bleu foncé #02182b) */
.btn-primary {
  background-color: var(--color-primary);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: #031d33;
  transform: translateY(-2px);
}

/* Bouton Accentuation (Cyan #07B1F0) */
.btn-accent {
  background-color: var(--color-accent);
  color: var(--text-white);
}

.btn-accent:hover {
  background-color: #058ec1;
  transform: translateY(-2px);
}

/* Bouton Outline (Transparent avec bordure) */
.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--bg-white);
}

/* --------------------------------------------------------------------------
   FORMULAIRES (Champs de saisie, selects)
   -------------------------------------------------------------------------- */
.form-control {
  width: 100%;
  height: 64px;
  padding: 0 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  color: var(--color-primary);
  background: transparent;
  border: 1px solid var(--color-sectors-desc); /* #668aa4 */
  border-radius: 0; /* Angles vifs */
  outline: none;
  transition: border-color var(--transition-fast);
  box-sizing: border-box;
}

.form-control::placeholder {
  color: var(--color-sectors-desc);
}

.form-control:focus {
  border-color: var(--color-primary);
}

/* Surcharge pour les <textarea> */
textarea.form-control {
  height: 180px;
  padding: 20px;
  resize: vertical;
}

/* Surcharge pour les <select> */
select.form-control {
  appearance: none;
  cursor: pointer;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23668aa4" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
}
