/* ==========================================
   BPO MANAGEMENT - CSS MODERNE (MAQUETTE EXACTE)
   ========================================== */

/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Couleurs BPO */
  --primary: #0d7091;
  --secondary: #3ebbeb;
  --accent: #9bc832;

  /* Texte */
  --text-dark: #595959;
  --text-light: #979797;
  --text-white: #ffffff;

  /* Backgrounds */
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  --bg-dark: #1a1a1a;
  --bg-gray: #808080;

  /* Spacing */
  --container-max: 1400px;
  --section-padding: 80px 0;

  /* Transitions */
  --transition: all 0.3s ease;
}

body {
  font-family: 'Tajawal', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Titres avec Heiti SC */
h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title,
.page-title,
.value-card h3,
.service-column h3,
.feature-card h3,
.footer-column h4 {
  font-family: 'Heiti SC', 'PingFang SC', 'Microsoft YaHei', 'Tajawal', sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* === CONTAINER === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Marge gauche supplémentaire pour pages principales */
.page-main .container {
  padding-left: 35px;
}

/* ==========================================
   HEADER - Selon maquette exacte
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Logo + Menu hamburger à gauche - LOGO EN PREMIER */
.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Accès client à droite */
.header-right {
  display: flex;
  align-items: center;
}

.logo {
  order: 1; /* Logo en premier */
}

.logo img {
  height: 45px;
  width: auto;
}

/* Menu Hamburger - APRÈS le logo */
.menu-toggle {
  order: 2; /* Hamburger après le logo */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 1001; /* Au-dessus du menu modal */
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Animation X quand menu ouvert */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Bouton Accès Client - BORDER ONLY (pas plein) */
.btn-access {
  display: inline-block;
  padding: 10px 30px;
  border: 2px solid var(--primary);
  border-radius: 25px;
  color: var(--primary);
  background: transparent;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  font-size: 16px;
  text-decoration: none;
}

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

/* Menu Mobile - MODAL PLEIN ÉCRAN */
.mobile-menu {
  position: fixed;
  top: 75px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100vh - 75px);
  background: white;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px;
}

.mobile-menu-item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: #333;
  text-decoration: none;
  font-family: 'Tajawal', sans-serif;
  font-size: 36px;
  font-weight: 300;
  transition: all 0.3s ease;
}

.mobile-menu-item:hover {
  color: var(--primary);
}

.mobile-menu-item .menu-arrow {
  width: 55px;
  height: auto;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.mobile-menu-item:hover .menu-arrow {
  transform: translateX(10px);
  opacity: 1;
}

/* ==========================================
   HERO SECTION - PAS DE LAYER BLEU !
   ========================================== */
.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('/images/bg-home.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 75px;
}

/* PAS DE OVERLAY BLEU - juste un léger assombrissement pour lisibilité */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 900px;
  padding: 0 20px;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.95;
}

.hero-title {
  font-size: 52px;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 40px;
}

/* Bouton CTA Hero - Cyan/Turquoise */
.btn-cta {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary);
  color: white;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 500;
  border: 2px solid var(--secondary);
  transition: var(--transition);
  cursor: pointer;
}

.btn-cta:hover {
  background: transparent;
  color: white;
  border-color: white;
}

/* ==========================================
   SECTION VALEUR AJOUTÉE - Layout HORIZONTAL 40/60
   ========================================== */
.value-section {
  padding: var(--section-padding);
  background: var(--bg-light);
}

/* Container principal - Layout 40% gauche / 60% droite */
.value-container {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 80px;
  align-items: start;
}

/* Colonne gauche - Texte */
.value-left {
  padding-right: 20px;
}

.section-pretitle {
  font-size: 14px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  font-weight: 400;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--primary);
  display: inline-block;
}

.section-title {
  font-size: 48px;
  color: var(--text-dark);
  font-weight: 300;
  margin-bottom: 25px;
  line-height: 1.2;
}

.section-description {
  font-size: 18px;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 25px;
}

.section-list {
  list-style: none;
  margin-bottom: 25px;
}

.section-list li {
  font-size: 16px;
  color: var(--text-dark);
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.section-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 24px;
}

/* Grid 2x2 pour les 4 cards - Colonne droite */
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.value-card {
  background: white;
  padding: 35px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

.value-card h3 {
  font-size: 20px;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 15px;
}

.value-card p {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Section header pour autres sections */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Bouton "En savoir +" / Outline */
.btn-outline {
  display: inline-block;
  padding: 12px 35px;
  border: 2px solid var(--text-dark);
  border-radius: 25px;
  color: var(--text-dark);
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--text-dark);
  color: white;
}

/* ==========================================
   SECTION SERVICES - FOND BLANC + SÉPARATEURS VERTICAUX
   ========================================== */
.services-section {
  padding: var(--section-padding);
  background: white;
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header h2 {
  font-size: 42px;
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.services-header p {
  font-size: 16px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Grid 4 colonnes - PAS DE GAP (séparateurs) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

/* Colonnes avec séparateurs verticaux */
.service-column {
  padding: 0 30px;
  border-right: 1px solid #e0e0e0;
}

.service-column:last-child {
  border-right: none;
}

.service-column:first-child {
  padding-left: 0;
}

.service-column h3 {
  font-size: 20px;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--accent);
}

.service-column ul {
  list-style: none;
}

.service-column ul li {
  font-size: 15px;
  color: var(--text-dark);
  padding: 10px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.service-column ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 20px;
}

/* ==========================================
   CARACTÉRISTIQUES - 3 CARDS HORIZONTALES + NAVIGATION
   ========================================== */
.features-section {
  padding: var(--section-padding);
  background: var(--bg-light);
}

.features-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.features-header-left h2 {
  font-size: 42px;
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.features-header-left p {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.7;
  max-width: 500px;
}

/* Navigation flèches < > */
.features-nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-btn {
  width: 45px;
  height: 45px;
  border: 2px solid #333;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 18px;
  color: #333;
}

.nav-btn:hover {
  background: #333;
  color: white;
}

/* Wrapper pour le slider */
.features-slider-wrapper {
  overflow: hidden;
  position: relative;
}

/* Grid slider - 3 colonnes visibles */
.features-grid {
  display: flex;
  gap: 25px;
  transition: transform 0.4s ease;
  flex-wrap: nowrap;
}

.feature-card {
  flex: 0 0 calc((100% - 50px) / 3);
  min-width: calc((100% - 50px) / 3);
  background: #b5b5b5;
  padding: 50px 30px;
  border-radius: 8px;
  text-align: center;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Icône ronde blanche - 90x90 */
.feature-icon {
  width: 90px;
  height: 90px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  overflow: hidden;
}

.feature-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.feature-card h3 {
  font-size: 22px;
  color: white;
  font-weight: 500;
  margin-bottom: 20px;
}

.feature-card ul {
  list-style: none;
  text-align: left;
  width: 100%;
}

.feature-card ul li {
  font-size: 14px;
  color: white;
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.feature-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: white;
  font-size: 18px;
}

.features-cta {
  text-align: center;
  margin-top: 50px;
}

/* Sections CTA génériques */
.section-cta {
  text-align: center;
  margin-top: 50px;
}

/* ==========================================
   FOOTER - Fond noir avec logo vert
   ========================================== */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

/* Logo très grand - 64px */
.footer-logo img {
  height: 64px;
  margin-bottom: 20px;
}

.footer-column h4 {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.footer-column p {
  font-size: 14px;
  color: white;
  line-height: 1.8;
  font-weight: 300;
}

.footer-column a {
  color: white;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   FORMULAIRES
   ========================================== */
.form-section {
  padding: var(--section-padding);
  background: white;
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 16px;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  font-family: 'Tajawal', sans-serif;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 112, 145, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.btn-submit {
  width: 100%;
  padding: 18px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(13, 112, 145, 0.3);
}

.btn-submit:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* Messages */
.alert {
  padding: 15px 20px;
  border-radius: 5px;
  margin-bottom: 20px;
  font-size: 16px;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Honeypot - invisible */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================
   PAGE HEADER (pour pages internes)
   ========================================== */
.page-header {
  background: var(--bg-light);
  padding: 120px 0 60px;
  text-align: center;
  margin-top: 75px;
}

.page-title {
  font-size: 42px;
  font-weight: 300;
  color: var(--text-dark);
}

/* About Section */
.about-section {
  padding: var(--section-padding);
  background: white;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-intro {
  font-size: 22px;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 30px;
  line-height: 1.6;
}

.about-text {
  font-size: 18px;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ==========================================
   ABOUT PAGE - Qui sommes nous (Design simplifié)
   ========================================== */

/* Hero About - Titre à gauche */
.about-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  margin-top: 75px;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.about-hero-content {
  position: relative;
  z-index: 3;
  color: white;
  padding: 0 60px;
}

.about-hero-content h1 {
  font-size: 56px;
  font-weight: 300;
  line-height: 1.2;
  margin: 0;
}

/* Section principale - 2 colonnes */
.about-main {
  padding: 80px 0;
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text-col h2 {
  font-size: 28px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 30px;
  line-height: 1.4;
}

.about-text-col p {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-image-col img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Section Contact */
.about-contact {
  padding: 60px 0;
  background: var(--bg-light);
  text-align: center;
}

.about-contact h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.about-contact-form {
  margin-top: 20px;
}

/* ==========================================
   DEMO FORM - Formulaire de demande de démo
   ========================================== */
.demo-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.demo-form-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.demo-form-container h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.demo-subtitle {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 40px;
}

/* Grid 3 colonnes */
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.form-grid .form-group {
  margin-bottom: 0;
}

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

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 16px 20px;
  background: #f0f0f0;
  border: 2px solid transparent;
  border-radius: 5px;
  font-size: 15px;
  font-family: 'Tajawal', sans-serif;
  color: #666;
  transition: all 0.3s ease;
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
  color: #999;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: #333;
  background: white;
}

/* Champs email et entreprise avec fond blanc */
.form-grid input[name="email"],
.form-grid input[name="entreprise"] {
  background: white;
  border: 1px solid #ddd;
}

.form-grid select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-grid textarea {
  min-height: 120px;
  resize: vertical;
}

/* Bouton soumettre */
.form-submit {
  text-align: center;
  margin-top: 30px;
}

.btn-submit-demo {
  padding: 14px 50px;
  background: white;
  color: #333;
  border: 2px solid #333;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit-demo:hover {
  background: #333;
  color: white;
}

.btn-submit-demo:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
  .demo-section {
    padding: 50px 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .form-grid input,
  .form-grid select,
  .form-grid textarea {
    padding: 14px 16px;
    font-size: 14px;
  }

  .demo-form-container h2 {
    font-size: 26px;
  }
}

/* Contact Section */
/* ==========================================
   CONTACT PAGE - NOUVEAU DESIGN
   ========================================== */
.section-contact {
  padding: 120px 0 150px;
  margin-top: 75px;
  background: white;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-header h2 {
  font-size: 42px;
  font-weight: 300;
  color: #333;
  margin-bottom: 15px;
  font-family: 'Tajawal', sans-serif;
}

.contact-header p {
  font-size: 16px;
  color: #999;
  font-weight: 300;
}

.contact-form {
  max-width: 900px;
  margin: 0 auto;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 25px;
  margin-bottom: 25px;
}

.contact-field {
  position: relative;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 18px 20px;
  border: none;
  border-radius: 5px;
  font-size: 15px;
  font-family: 'Tajawal', sans-serif;
  background: #e8e8e8;
  color: #333;
  transition: all 0.3s ease;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #888;
  font-weight: 300;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  background: #e0e0e0;
}

/* Email field - fond blanc avec bordure */
.contact-field--email input {
  background: white;
  border: 1px solid #ccc;
}

.contact-field--email input:focus {
  background: white;
  border-color: #999;
}

/* Message textarea */
.contact-field--message {
  margin-bottom: 40px;
}

.contact-field--message textarea {
  min-height: 120px;
  resize: vertical;
}

/* Submit button - pill shape */
.contact-form-actions {
  text-align: center;
}

.btn-contact-submit {
  display: inline-block;
  padding: 15px 80px;
  background: white;
  color: #333;
  border: 1px solid #333;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 400;
  font-family: 'Tajawal', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-contact-submit:hover {
  background: #333;
  color: white;
}

.btn-contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-contact-submit.loading {
  pointer-events: none;
  opacity: 0.7;
}

/* Error messages */
.contact-field .error-message {
  display: block;
  color: #e74c3c;
  font-size: 12px;
  margin-top: 5px;
  min-height: 18px;
}

.contact-field input.error,
.contact-field textarea.error {
  border: 1px solid #e74c3c;
}

/* Form feedback */
.contact-form .form-feedback {
  text-align: center;
  margin-top: 20px;
  padding: 15px;
  border-radius: 5px;
}

.contact-form .form-feedback.success {
  background: #d4edda;
  color: #155724;
}

.contact-form .form-feedback.error {
  background: #f8d7da;
  color: #721c24;
}

@media (max-width: 768px) {
  .section-contact {
    padding: 80px 0 100px;
  }

  .contact-header h2 {
    font-size: 32px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .btn-contact-submit {
    padding: 15px 60px;
  }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1200px) {
  /* Value - passer en vertical */
  .value-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .value-left {
    padding-right: 0;
  }

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

  .service-column:nth-child(2) {
    border-right: none;
  }

  .service-column:nth-child(3) {
    border-right: 1px solid #e0e0e0;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Header mobile */
  .header-left {
    gap: 15px;
  }

  .logo img {
    height: 35px;
  }

  .btn-access {
    padding: 8px 20px;
    font-size: 14px;
  }

  /* Hero */
  .hero {
    height: 60vh;
    min-height: 400px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  /* Sections */
  .section-title {
    font-size: 32px;
  }

  /* Value Grid - 1 colonne sur mobile */
  .value-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Services - 1 colonne sur mobile + pas de bordures */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-column {
    border-right: none;
    padding: 0;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 30px;
  }

  .service-column:last-child {
    border-bottom: none;
  }

  /* Features - 1 colonne sur mobile */
  .features-grid {
    grid-template-columns: 1fr;
  }

  .features-header {
    flex-direction: column;
    gap: 20px;
  }

  .features-nav {
    align-self: flex-start;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Page header */
  .page-header {
    padding: 100px 0 40px;
  }

  .page-title {
    font-size: 32px;
  }

  /* About page - responsive */
  .about-hero {
    height: 40vh;
    min-height: 300px;
  }

  .about-hero-content {
    padding: 0 20px;
  }

  .about-hero-content h1 {
    font-size: 36px;
  }

  .about-main {
    padding: 50px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-text-col h2 {
    font-size: 24px;
  }

  .about-image-col {
    order: -1;
  }

  .about-contact {
    padding: 40px 0;
  }

  .about-contact h2 {
    font-size: 26px;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Selection */
::selection {
  background: var(--primary);
  color: white;
}

::-moz-selection {
  background: var(--primary);
  color: white;
}

/* Utility classes */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
