/*
 * Styles pour le site CEGRI - Design moderne et épuré
 * Site développé par Makhlouf B. dans le cadre d'un stage chez CEGRI SAS - 2025
 */

/* ====== Variables CSS ====== */
:root {
  --primary-blue: #4a5568;
  --accent-blue: #3b82f6;
  --brand-blue: #1f6feb;
  --brand-blue-dark: #164f9e;
  --text-dark: #2d3748;
  --text-light: #718096;
  --background: #ffffff;
  --border-light: #e2e8f0;
  --yellow-accent: #ffd700;
  --border-radius: 12px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.2s ease;
  
  /* Design system variables */
  --btn-radius: 12px;
  --btn-min-height: 48px;
  --btn-padding-x: 22px;
  --btn-padding-y: 12px;
  --btn-font-weight: 600;
  --btn-gap: 8px;
  --btn-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  --btn-shadow-hover: 0 4px 8px rgba(0, 0, 0, 0.15);
  --btn-focus-ring: 0 0 0 3px rgba(31, 111, 235, 0.3);
  
  /* Card system */
  --card-bg: #ffffff;
  --card-border: 1px solid #e5e7eb;
  --card-radius: 16px;
  --card-shadow: 0 8px 20px rgba(2, 6, 23, 0.08);
  --card-padding: 24px;
  
  /* Section spacing */
  --section-padding: clamp(56px, 6vw, 88px);
  
  /* Danger button */
  --btn-danger: #ef4444;
  --btn-danger-dark: #dc2626;
}

/* ====== Reset et Base ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* Fix pour iOS Safari */
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

/* ===== POPPINS POUR TITRES ET TEXTES UNIQUEMENT ===== */
/* Tous les titres en Poppins */
h1, h2, h3, h4, h5, h6,
.hero-title, .section-title, .page-title, .teamv2-title, .history-title,
.hero-title-v3, .blue-section-title, .engagement-title, .hero-question-title {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Tous les textes et paragraphes en Poppins */
p, span:not([class*="fa"]):not(.fas):not(.fab):not(.far), 
.hero-subtitle, .hero-content p, .company-text p, .step-description,
.testimonial-content blockquote, .testimonial-content cite,
.team-intro, .team-culture-text, .history-text p, .expertise-intro,
.blue-section-text, .blue-section-highlight, .engagement-subtitle,
.teamv2-copy p, .name-tag, .contact-address, .service-bullets li {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Textes de navigation et boutons en Poppins */
.nav-link, .contact-btn, .btn, 
.btn-primary, .btn-secondary, .btn-pill,
.blue-section-btn, .teamv2-cta, .history-cta-btn {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Textes de formulaire en Poppins */
input[type="text"], input[type="email"], input[type="tel"], 
textarea, select, label, .form-group label,
.contact-form input, .contact-form textarea, .contact-form select {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Textes des cartes en Poppins */
.service-card h3, .testimonial-card blockquote, .testimonial-card cite,
.team-card h4, .team-card p, .contact-card h3, .contact-card p,
.engagement-card-large h3, .engagement-card-large p,
.engagement-card-small h4, .engagement-card-small p {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Footer textes en Poppins */
.footer p, .footer-social a {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}
/* ===== FIN POPPINS TITRES ET TEXTES ===== */

html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--background);
  /* Fixes spécifiques pour iOS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  /* Optimisations de performance */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Application globale de Poppins à tous les éléments */
* {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* GPU uniquement sur l'image hero (LCP) */
.hero-photo {
  transform: translateZ(0);
}

/* ===== RESPONSIVE DESIGN COMPLET POUR TOUS APPAREILS ===== */

/* ========== BREAKPOINTS SYSTÈME ========== */
/* 
Mobile: 320px - 767px
Tablette: 768px - 1023px  
Laptop: 1024px - 1439px
Desktop: 1440px - 1919px
Large Desktop: 1920px+
*/

/* ========== TRES PETITS ECRANS (320px - 374px) ========== */
@media (max-width: 374px) {
  /* Pour iPhone SE, petits Android */
  .container {
    padding: 0 0.75rem;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  .btn,
  .btn-primary,
  .btn-secondary {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
  
  .nav-logo-img {
    max-height: 40px;
  }
  
  .service-card {
    padding: 1rem;
  }
  
  .service-card h3 {
    font-size: 1rem;
  }
  
  .service-card p {
    font-size: 0.85rem;
  }
}

/* ========== iPHONE 12/13/14 & SIMILAIRES (375px - 428px) ========== */
@media (min-width: 375px) and (max-width: 428px) {
  /* Fix pour iPhone 12 Pro (390px), iPhone 12 (390px), iPhone 14 (390px) */
  
  /* RESET COMPLET - Plus de debordement */
  .container,
  .project-description-enhanced .container,
  .description-grid,
  .description-content,
  .description-stats,
  .hero-container,
  .hero-image,
  .contact-cards,
  .contact-card {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  /* Sections */
  .project-description-enhanced,
  .hero-image-section,
  .project-gallery,
  .project-info,
  .hero-section,
  .contact-section {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  /* Images Hero */
  .hero-image {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 1rem !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }
  
  .hero-photo {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: block !important;
    object-fit: cover !important;
  }
  
  /* Stats et cards */
  .description-stats {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    width: 100% !important;
    padding: 0 1rem !important;
  }
  
  .stat-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  
  /* Highlight items */
  .description-highlights {
    width: 100% !important;
    padding: 0 !important;
  }
  
  .highlight-item {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.75rem 1rem !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  
  /* Section badge */
  .section-badge {
    width: auto !important;
    max-width: calc(100% - 2rem) !important;
    margin: 0 1rem !important;
  }
  
  /* Titres */
  .description-content h2 {
    font-size: 1.5rem !important;
    word-wrap: break-word !important;
    padding: 0 !important;
  }
  
  /* Contact cards fix */
  .contact-cards {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    padding: 0 1rem !important;
  }
  
  .contact-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.5rem !important;
    margin: 0 !important;
  }
}

/* ========== MOBILE FIRST (320px - 767px) ========== */
@media (max-width: 767px) {
  /* RESET GLOBAL MOBILE */
  * {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  }
  
  /* Container mobile - Prevent horizontal scroll */
  .container {
    max-width: 100%;
    padding: 0 1rem;
    overflow-x: hidden;
  }
  
  body {
    overflow-x: hidden;
    width: 100%;
  }
  
  /* Images responsive */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Navigation mobile FIXE */
  .main-nav {
    position: sticky;
    top: 0;
    z-index: 10000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .nav-container {
    padding: 0.75rem 1rem;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    height: 70px;
  }
  
  .nav-logo {
    flex-shrink: 0;
    max-width: 120px;
  }
  
  .nav-logo-img {
    max-width: 100%;
    height: auto;
    max-height: 50px;
  }
  
  /* Menu mobile : toujours dans le DOM pour pouvoir reset scrollTop */
  .nav-menu {
    display: flex !important;
    position: fixed;
    top: var(--nav-mobile-height, 70px);
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 1.5rem 1rem 2rem 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 9999;
    max-height: calc(100dvh - var(--nav-mobile-height, 70px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(31, 111, 235, 0.5) transparent;
  }

  .nav-menu.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: opacity 0.25s ease, visibility 0s linear 0s !important;
  }
  
  .nav-menu li {
    width: 100%;
    text-align: center;
    padding: 0.4rem 0;
  }
  
  .nav-menu .nav-link {
    display: block;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .nav-menu .nav-link:hover,
  .nav-menu .nav-link:active {
    background: rgba(31, 111, 235, 0.1);
    color: var(--brand-blue);
  }
  
  .mobile-menu-btn {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10001;
    padding: 0.5rem;
  }
  
  .mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--brand-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
  }
  
  .nav-contact {
    display: none;
  }
  
  /* Hero section mobile OPTIMISE */
  .hero-section {
    min-height: auto;
    padding: 2rem 0 3rem;
    margin-top: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  
  .hero-content {
    order: 1;
    width: 100%;
  }
  
  .hero-image {
    order: 2;
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }
  
  .hero-photo {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    object-fit: cover;
    max-height: 300px;
    margin: 0 auto;
  }
  
  .hero-photo img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    display: block;
  }
  
  .hero-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    margin-bottom: 1rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: clamp(0.95rem, 4vw, 1.1rem);
    margin-bottom: 1.5rem;
    line-height: 1.5;
  }
  
  /* Services grid mobile */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
  }
  
  .service-card {
    padding: 1.25rem;
    text-align: left;
  }
  
  .service-card i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
  
  .service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  .service-card p {
    font-size: 0.9rem;
  }
  
  /* Boutons mobile - Taille tactile minimum 44px */
  .btn,
  .btn-primary,
  .btn-secondary,
  .contact-btn {
    min-height: 48px;
    padding: 12px 24px;
    font-size: 1rem;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  
  .hero-bottom {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    width: 100%;
  }
  
  .hero-bottom .btn {
    width: 100%;
    max-width: 300px;
  }
  
  /* Sections mobile OPTIMISEES */
  .company-section,
  .steps-section,
  .team-v2,
  .testimonials-section,
  .intervention-section,
  .contact-section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  /* Company section mobile */
  .company-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .company-image {
    order: -1;
  }
  
  .company-photo {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
  }
  
  .company-photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  /* Steps mobile */
  .steps-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .steps-image {
    order: -1;
  }
  
  .step-item {
    margin-bottom: 1rem;
  }
  
  .step-header {
    padding: 1rem;
  }
  
  .step-description {
    padding: 0 1rem 1rem;
  }
  
  /* Team mobile */
  .teamv2-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .teamv2-portraits {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem;
  }
  
  .portrait img,
  .portrait-placeholder {
    width: clamp(80px, 20vw, 120px);
    height: clamp(80px, 20vw, 120px);
  }
  
  .teamv2-copy {
    padding: 1.5rem;
  }
  
  /* Testimonials mobile */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  /* Formulaires mobile */
  .contact-form,
  .form-group,
  .quote-form {
    width: 100%;
  }
  
  .form-group label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 8px;
    border: 2px solid var(--border-light);
  }
  
  .form-group textarea {
    min-height: 120px;
  }
  
  .form-submit,
  .submit-btn {
    width: 100%;
    min-height: 52px;
    font-size: 1.1rem;
    margin-top: 1rem;
  }
  
  /* Cartes realisations mobile */
  .realisations-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .realisation-card {
    width: 100%;
    margin: 0;
  }
  
  .realisation-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  /* Page Services mobile */
  .services-page .hero-section {
    padding: 2rem 0;
  }
  
  .service-detail-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  /* Page Contact mobile */
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    padding: 0 1rem;
    overflow-x: hidden;
  }
  
  .contact-card {
    padding: 1.5rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
  }
  
  .contact-card .contact-details,
  .contact-card .contact-info {
    width: 100%;
    max-width: 100%;
  }
  
  .contact-map iframe {
    width: 100%;
    height: 300px;
    border-radius: 12px;
  }
  
  /* Intervention section mobile */
  .intervention-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .zone-card {
    padding: 1.5rem;
  }
  
  /* Tables responsive */
  table {
    width: 100%;
    overflow-x: auto;
    display: block;
  }
  
  table th,
  table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
  }
  
  /* Stats cards mobile */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
    padding: 0 1rem;
  }
  
  .stat-card {
    padding: 1.5rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
  }
  
  .description-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding: 0;
  }
  
  .description-stats .stat-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  
  /* Modal responsive */
  .modal-content {
    width: 95%;
    max-width: 95vw;
    margin: 1rem;
    padding: 1.5rem;
  }
  
  /* Footer mobile */
  .footer .container {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 2rem 1rem;
  }
  
  .social-links {
    justify-content: center;
    margin-left: 0;
    gap: 1rem;
  }
  
  .social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Fix pour scroll horizontal */
  .row,
  .grid,
  section {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Espacements uniformes */
  h1 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  h3 { font-size: clamp(1.25rem, 5vw, 1.75rem); }
  h4 { font-size: clamp(1.1rem, 4vw, 1.5rem); }
  
  p, li {
    font-size: clamp(0.95rem, 4vw, 1.1rem);
    line-height: 1.6;
  }
}

/* ========== TABLETTE (768px - 1023px) ========== */
@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    max-width: 750px;
    padding: 0 1.5rem;
  }
  
  /* Navigation tablette */
  .nav-container {
    padding: 0 1.5rem;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .nav-menu {
    display: flex;
    gap: 1.5rem;
  }
  
  /* Hero tablette */
  .hero-section {
    min-height: 80vh;
    padding: 3rem 0;
  }
  
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
  
  .hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  /* Sections tablette */
  .company-content {
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
  }
  
  .steps-container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .teamv2-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .teamv2-portraits {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

/* ========== LAPTOP (1024px - 1439px) ========== */
@media (min-width: 1024px) and (max-width: 1439px) {
  .container {
    max-width: 1000px;
    padding: 0 2rem;
  }
  
  .hero-section {
    min-height: 85vh;
  }
  
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .company-content {
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
  }
  
  .steps-container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  
  .teamv2-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
  
  .teamv2-portraits {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
}

/* ========== DESKTOP (1440px - 1919px) ========== */
@media (min-width: 1440px) and (max-width: 1919px) {
  .container {
    max-width: 1200px;
    padding: 0 2rem;
  }
  
  .hero-section {
    min-height: 85vh;
    padding: 4rem 0;
  }
  
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 600px;
  }
  
  .teamv2-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 1000px;
    margin: 4rem auto 3rem;
  }
}

/* ========== LARGE DESKTOP (1920px+) ========== */
@media (min-width: 1920px) {
  .container {
    max-width: 1400px;
    padding: 0 2rem;
  }
  
  .hero-section {
    min-height: 90vh;
    padding: 5rem 0;
  }
  
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
  
  .hero-title {
    font-size: clamp(3rem, 4vw, 4rem);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 700px;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .teamv2-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    max-width: 1200px;
    margin: 5rem auto 4rem;
  }
}

/* ========== RESPONSIVE IMAGES ========== */
@media (max-width: 767px) {
  .hero-photo,
  .company-photo,
  .steps-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
  }
}

/* ========== RESPONSIVE TYPOGRAPHY ========== */
@media (max-width: 767px) {
  .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  
  .teamv2-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  
  .testimonial-content blockquote {
    font-size: 0.9rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
  }
}

/* ========== RESPONSIVE BUTTONS ========== */
@media (max-width: 767px) {
  .btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }
  
  .hero-cta .btn {
    min-height: 48px;
    padding: 0 2rem;
  }
}

/* ========== RESPONSIVE FORMS ========== */
@media (max-width: 767px) {
  .contact-form {
    padding: 1rem;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  input, textarea, select {
    font-size: 16px; /* Évite le zoom sur iOS */
  }
}

/* ========== RESPONSIVE NAVIGATION MOBILE ========== */
/* (règles fusionnées dans le bloc @media (max-width: 767px) principal) */

/* ========== RESPONSIVE UTILITAIRES ========== */
/* Masquer sur mobile */
@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
}

/* Masquer sur tablette */
@media (min-width: 768px) and (max-width: 1023px) {
  .hide-tablet {
    display: none !important;
  }
}

/* Masquer sur desktop */
@media (min-width: 1024px) {
  .hide-desktop {
    display: none !important;
  }
}

/* Afficher uniquement sur mobile */
@media (min-width: 768px) {
  .show-mobile-only {
    display: none !important;
  }
}

/* ===== FIN RESPONSIVE DESIGN COMPLET ===== */

/* ===== RESPONSIVE POUR PAGES SPÉCIFIQUES ===== */

/* Page Entreprise Responsive */
@media (max-width: 767px) {
  .company-hero-v3 {
    min-height: auto;
    padding: 5rem 0 3rem;
  }
  
  .hero-container-v3 {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1rem;
  }
  
  .hero-images-grid-v3 {
    grid-template-columns: 1fr;
    gap: 1rem;
    order: -1;
  }
  
  .hero-content-v3 {
    text-align: center;
  }
  
  .hero-title-v3 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  
  .hero-question-box,
  .hero-blue-section {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .history-section-v2 .history-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .history-image {
    order: -1;
  }
  
  .engagement-top-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .engagement-bottom-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .expertise-grid-v2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-modern-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Page Services Responsive */
@media (max-width: 767px) {
  .svc-hero {
    padding: 2rem 0;
  }
  
  .svc-hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1rem;
  }
  
  .svc-hero__media {
    order: -1;
  }
  
  .service-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .service-media {
    order: -1;
  }
  
  .contact-cta .contact-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Page Contact Responsive */
@media (max-width: 767px) {
  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-card {
    padding: 1.5rem;
  }
  
  .contact-form-card {
    padding: 1.5rem;
  }
  
  .contact-map-section {
    margin-top: 2rem;
  }
}

/* Page Réalisations Responsive */
@media (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .gallery-item {
    margin-bottom: 0;
    width: 100%;
  }
  
  .gallery-item img {
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 300px;
    object-fit: cover;
  }
  
  .project-details {
    padding: 1.5rem;
  }
  
  .reference-showcase {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Page Devis Responsive */
@media (max-width: 767px) {
  .form-step {
    padding: 1.5rem;
  }
  
  .form-progress {
    margin-bottom: 1.5rem;
  }
  
  .step-content {
    padding: 1rem;
  }
  
  .form-navigation {
    flex-direction: column;
    gap: 1rem;
  }
  
  .form-navigation .btn {
    width: 100%;
  }
}

/* ===== RESPONSIVE TABLETTE POUR PAGES SPÉCIFIQUES ===== */
@media (min-width: 768px) and (max-width: 1023px) {
  .company-hero-v3 {
    min-height: auto;
    padding: 5rem 0 3rem;
  }
  
  .hero-container-v3 {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .hero-images-grid-v3 {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .service-row {
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
  }
  
  .contact-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .expertise-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* ===== RESPONSIVE LAPTOP POUR PAGES SPÉCIFIQUES ===== */
@media (min-width: 1024px) and (max-width: 1439px) {
  .hero-container-v3 {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  
  .service-row {
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
  }
  
  .contact-main-grid {
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
  }
  
  .expertise-grid-v2 {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* ===== RESPONSIVE DESKTOP POUR PAGES SPÉCIFIQUES ===== */
@media (min-width: 1440px) {
  .hero-container-v3 {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
  
  .service-row {
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
  }
  
  .contact-main-grid {
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
  }
  
  .expertise-grid-v2 {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

/* ===== RESPONSIVE OPTIMISATIONS PERFORMANCE ===== */
@media (max-width: 767px) {
  /* Désactive les animations complexes sur mobile */
  .service-card:hover,
  .team-card:hover,
  .testimonial-card:hover {
    transform: none;
  }
  
  /* Optimise les images sur mobile */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Réduit les ombres sur mobile */
  .card,
  .service-card,
  .team-card,
  .testimonial-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
}

/* ===== RESPONSIVE ACCESSIBILITÉ ===== */
@media (max-width: 767px) {
  /* Augmente la taille des zones de clic */
  .btn,
  .nav-link,
  .contact-btn {
    min-height: 48px;
    min-width: 48px;
  }
  
  /* Améliore le contraste sur petit écran */
  .nav-link:focus,
  .btn:focus {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
  }
}

/* ===== FIN RESPONSIVE PAGES SPÉCIFIQUES ===== */

/* ===== TITRES PAGE ENTREPRISE AVEC STYLE ACCUEIL EN #2b3977 ===== */
/* Style des titres identique à l'accueil mais en #2b3977 */
.history-title,
.team-section .section-title,
.expertise-section-v2 .section-title,
.engagement-title,
.hero-title-v3 {
  font-size: clamp(1.875rem, 4vw, 2.5rem) !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, #2b3977 0%, #1e293b 50%, #2b3977 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-align: center !important;
  margin-bottom: clamp(2rem, 4vw, 3rem) !important;
  position: relative !important;
  letter-spacing: -0.025em !important;
  padding-bottom: 1rem !important;
}

/* Ligne décorative sous les titres comme l'accueil */
.history-title::after,
.team-section .section-title::after,
.expertise-section-v2 .section-title::after,
.engagement-title::after,
.hero-title-v3::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 70px !important;
  height: 3px !important;
  background: linear-gradient(90deg, #2b3977, #1e293b, #2b3977) !important;
  border-radius: 2px !important;
  box-shadow: 0 2px 8px rgba(43, 57, 119, 0.3) !important;
  transition: width 0.2s ease !important;
}

/* Effet hover sur les titres */
.history-title:hover::after,
.team-section .section-title:hover::after,
.expertise-section-v2 .section-title::after:hover,
.engagement-title:hover::after,
.hero-title-v3:hover::after {
  width: 80px !important;
}

/* Titres secondaires avec style moderne */
.hero-question-title,
.blue-section-title {
  font-size: clamp(1.375rem, 3vw, 1.75rem) !important;
  font-weight: 700 !important;
  color: #2b3977 !important;
  margin-bottom: 1.5rem !important;
  text-align: center !important;
  position: relative !important;
}

/* Titres des cartes d'engagement avec style moderne */
.engagement-card-large h3 {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #2b3977 !important;
  margin-bottom: 0.5rem !important;
  background: linear-gradient(135deg, #2b3977, #1e293b) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.engagement-card-small h4 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #2b3977 !important;
  margin-bottom: 0.75rem !important;
  background: linear-gradient(135deg, #2b3977, #1e293b) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Responsive pour les titres entreprise */
@media (max-width: 767px) {
  .history-title,
  .team-section .section-title,
  .expertise-section-v2 .section-title,
  .engagement-title,
  .hero-title-v3 {
    font-size: clamp(1.5rem, 5vw, 2rem) !important;
    background: #2b3977 !important;
    background-clip: initial !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    color: #2b3977 !important;
  }
  
  .hero-question-title,
  .blue-section-title {
    font-size: clamp(1.125rem, 4vw, 1.375rem) !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .history-title,
  .team-section .section-title,
  .expertise-section-v2 .section-title,
  .engagement-title,
  .hero-title-v3 {
    font-size: clamp(1.75rem, 4vw, 2.25rem) !important;
  }
}

/* ===== FIN TITRES STYLE ACCUEIL ===== */

/* ===== COULEURS SPÉCIFIQUES PAGE ENTREPRISE #2b3977 ===== */
/* TOUS les titres en #2b3977 pour la page entreprise */
.history-title,
.team-section .section-title,
.team-section h2,
.expertise-section-v2 .section-title,
.expertise-section-v2 h2,
.engagement-title,
.engagement-section-v2 h2,
.engagement-card-large h3,
.engagement-card-small h4,
.hero-title-v3,
.hero-question-title,
.blue-section-title,
.contact-modern-card h3,
.contact-section-modern h4 {
  color: #2b3977 !important;
}

/* Section équipe - titre et textes en #2b3977 */
.team-intro {
  color: #2b3977 !important;
}

.team-culture-text {
  color: #2b3977 !important;
}

/* Section expertise - intro en #2b3977 */
.expertise-intro {
  color: #2b3977 !important;
}

/* Texte de l'histoire en #2b3977 */
.history-text p {
  color: #2b3977 !important;
}

.history-content-v2 p {
  color: #2b3977 !important;
}

/* Tous les paragraphes de texte dans les sections spécifiques */
.team-section p,
.history-section-v2 p,
.expertise-section-v2 p,
.engagement-section-v2 p {
  color: #2b3977 !important;
}

/* Force la couleur sur tous les textes de ces sections */
.team-section .team-intro,
.team-section .team-culture-text,
.history-section-v2 .history-text,
.history-section-v2 .history-content-v2,
.expertise-section-v2 .expertise-intro,
.engagement-section-v2 .engagement-subtitle {
  color: #2b3977 !important;
}

/* Assure que tous les paragraphes dans ces sections sont en #2b3977 */
.team-section p,
.history-section-v2 p,
.expertise-section-v2 p,
.history-content-v2 p,
.history-text p,
.engagement-section-v2 p,
.engagement-card-large p,
.engagement-card-small p {
  color: #2b3977 !important;
  line-height: 1.7;
}

/* Titres spécifiques de la page entreprise */
body .team-section .section-title,
body .history-section-v2 .history-title,
body .expertise-section-v2 .section-title,
body .engagement-section-v2 .engagement-title,
body .engagement-section-v2 h2 {
  color: #2b3977 !important;
}

/* Titres dans les cartes d'engagement */
.engagement-card-large h3,
.engagement-card-small h4 {
  color: #2b3977 !important;
}

/* Titres dans la section hero de l'entreprise */
.hero-title-v3,
.hero-question-title,
.blue-section-title {
  color: #2b3977 !important;
}

/* ===== FIN COULEURS PAGE ENTREPRISE ===== */

/* ===== RÉDUCTION ESPACES PAGE ENTREPRISE - ENCORE PLUS ===== */
/* Réduction des paddings des sections principales */
.history-section-v2,
.team-section,
.engagement-section-v2,
.expertise-section-v2,
.contact-section-modern,
.contact-cta {
  padding: clamp(1rem, 2vw, 2rem) 0 !important; /* Réduit encore plus */
}

/* Réduction des conteneurs */
.history-container,
.team-container,
.engagement-container-v2,
.expertise-container-v2 {
  gap: clamp(1rem, 2vw, 1.5rem) !important; /* Réduit les gaps */
  margin-bottom: clamp(1rem, 2vw, 1.5rem) !important;
}

/* Réduction des marges des titres */
.history-title,
.team-section .section-title,
.expertise-section-v2 .section-title,
.engagement-title {
  margin-bottom: clamp(1rem, 2vw, 1.5rem) !important; /* Réduit encore */
  padding-bottom: 0.5rem !important;
}

/* Réduction des cartes et éléments */
.engagement-card-large,
.engagement-card-small,
.team-card,
.expertise-card-v2 {
  margin-bottom: clamp(0.5rem, 1vw, 1rem) !important;
  padding: clamp(1rem, 2vw, 1.5rem) !important;
}

/* Réduction des textes et paragraphes */
.history-text p,
.team-intro,
.team-culture-text,
.engagement-subtitle,
.expertise-intro {
  margin-bottom: clamp(0.5rem, 1vw, 1rem) !important;
  line-height: 1.4 !important; /* Réduction de l'interligne */
}

/* Réduction spécifique pour mobile */
@media (max-width: 768px) {
  .history-section-v2,
  .team-section,
  .engagement-section-v2,
  .expertise-section-v2,
  .contact-cta {
    padding: 1rem 0 !important;
  }
  
  .history-container,
  .team-container,
  .engagement-container-v2 {
    gap: 0.75rem !important;
  }
  
  .history-title,
  .team-section .section-title,
  .engagement-title {
    margin-bottom: 0.75rem !important;
  }
}

/* ===== COULEURS TITRES ACCUEIL - COULEUR #2b3977 FORCÉE ===== */
/* Titres spécifiques en couleur unie - PRIORITÉ MAXIMALE */
body .section-title {
  color: #2b3977 !important;
  background: none !important;
  background-clip: initial !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  font-weight: 800 !important;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

body .teamv2-title {
  color: #2b3977 !important;
  background: none !important;
  background-clip: initial !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  font-weight: 800 !important;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

/* Ligne décorative sous les titres */
body .section-title::after,
body .teamv2-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #2b3977, #1e293b, #2b3977);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(43, 57, 119, 0.3);
  transition: width 0.2s ease;
}

/* Effet hover sur les titres */
body .section-title:hover::after,
body .teamv2-title:hover::after {
  width: 80px;
}

/* Sous-titre "Notre zone d'intervention" */
body .section-subtitle {
  color: #2b3977 !important;
  font-weight: 600 !important;
  text-align: center;
}

/* ===== TITRES PAGE ENTREPRISE - COULEUR #2b3977 FORCÉE ===== */
/* Force la couleur #2b3977 sur tous les titres de la page entreprise */
body .history-title,
body .team-section .section-title,
body .expertise-section-v2 .section-title,
body .engagement-title,
body .engagement-section-v2 h2,
body .engagement-section-v2 .engagement-title {
  color: #2b3977 !important;
  background: none !important;
  background-clip: initial !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  font-weight: 800 !important;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

/* Ligne décorative sous les titres */
body .history-title::after,
body .team-section .section-title::after,
body .expertise-section-v2 .section-title::after,
body .engagement-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #2b3977, #1e293b, #2b3977);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(43, 57, 119, 0.3);
  transition: width 0.2s ease;
}

/* Effet hover sur les titres */
body .history-title:hover::after,
body .team-section .section-title:hover::after,
body .expertise-section-v2 .section-title:hover::after,
body .engagement-title:hover::after {
  width: 80px;
}

/* ===== FIN TITRES PAGE ENTREPRISE ===== */

/* ===== TITRES SERVICES PAGE - COULEUR #2b3977 ===== */
/* Force la couleur #2b3977 sur les titres des services */
.services-page .service-content h3,
.service-content h3 {
  color: #2b3977 !important;
  font-weight: 800 !important;
  font-size: clamp(1.5rem, 3vw, 1.875rem) !important;
  margin-bottom: 1.5rem !important;
  font-family: 'Poppins', sans-serif !important;
}

/* ===== FIN TITRES SERVICES PAGE ===== */

/* ===== PAGE DEVIS - STYLE UNIFIÉ ===== */

/* Header page devis — hérite du style global page-header */
.devis-header .page-title {
  color: #1e293b !important;
}

.devis-header .page-subtitle {
  color: #64748b;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* Trust badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.trust-badges .badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
}

.trust-badges .badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(43, 57, 119, 0.15);
  border-color: rgba(43, 57, 119, 0.2);
}

.trust-badges .badge i {
  color: #2b3977;
  font-size: 1.1rem;
}

.trust-badges .badge span {
  font-weight: 600;
  color: #2b3977;
  font-family: 'Poppins', sans-serif !important;
}

/* Section proposition de valeur */
.value-proposition {
  padding: 4rem 0;
  background: white;
}

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

.benefit-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8, #1e40af);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-card i {
  font-size: 2.5rem;
  color: #3b82f6;
  margin-bottom: 1.5rem;
  display: block;
}

.benefit-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif !important;
}

.benefit-card p {
  color: #64748b;
  line-height: 1.6;
  font-family: 'Poppins', sans-serif !important;
}

/* Section formulaire */
.quote-form-section {
  padding: 4rem 0;
  background: white; /* Changé de gradient gris à blanc */
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-container h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  margin-bottom: 2rem;
  font-family: 'Poppins', sans-serif !important;
}

/* Styles des étapes du formulaire */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(37, 90, 155, 0.02) 100%);
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.step-icon {
  font-size: 2rem;
  color: #3b82f6;
  margin-bottom: 1rem;
}

.step-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
  font-family: 'Poppins', sans-serif !important;
}

.step-description {
  color: #64748b;
  font-family: 'Poppins', sans-serif !important;
}

/* Groupes de formulaire */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group.enhanced {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  font-family: 'Poppins', sans-serif !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.label-icon {
  color: #3b82f6;
  font-size: 1rem;
}

.optional {
  font-weight: 400;
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Champs de formulaire */
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  font-family: 'Poppins', sans-serif !important;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Select wrapper */
.select-wrapper {
  position: relative;
}

.select-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}

/* Boutons */
.form-actions {
  text-align: center;
  margin-top: 2rem;
}

.enhanced-btn,
.next-step,
.prev-step,
.submit-button {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif !important;
  text-decoration: none;
}

.enhanced-btn:hover,
.next-step:hover,
.prev-step:hover,
.submit-button:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 50%, #1e3a8a 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.prev-step {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  color: #475569;
  margin-right: 1rem;
}

.prev-step:hover {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  box-shadow: 0 4px 12px rgba(71, 85, 105, 0.2);
}

/* Messages d'aide */
.form-help {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif !important;
}

.urgent-contact {
  color: #dc2626;
  font-weight: 600;
}

.urgent-contact strong {
  color: #dc2626;
}

/* Section témoignages */
.testimonials-section {
  padding: 4rem 0;
  background: white;
}

.testimonials-section .section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  /* Couleur gérée par la règle globale body .section-title */
  font-family: 'Poppins', sans-serif !important;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Section FAQ */
.faq-section {
  padding: 4rem 0;
  background: white; /* Changé de gradient gris à blanc */
}

.faq-section h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #1e293b;
  font-family: 'Poppins', sans-serif !important;
}

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

.faq-item {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.faq-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif !important;
}

.faq-item p {
  color: #64748b;
  line-height: 1.6;
  font-family: 'Poppins', sans-serif !important;
}

/* Responsive */
@media (max-width: 768px) {
  .trust-badges {
    gap: 1rem;
  }
  
  .trust-badges .badge {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .form-container {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .form-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .prev-step {
    margin-right: 0;
  }
}

/* ===== FIN PAGE DEVIS ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif !important;
}

/* Textes et paragraphes avec Poppins */
p, span, div, a, button, input, textarea, label {
  font-family: 'Poppins', sans-serif !important;
}

/* Listes avec Poppins */
ul, ol, li {
  font-family: 'Poppins', sans-serif !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== SYSTÈME DE BOUTONS UNIFIÉ STYLE ACCUEIL ===== */
/* Style de base pour TOUS les boutons du site */
.btn, .contact-btn, .submit-btn, .form-btn, .cta-btn, 
.hero-cta .btn, .company-cta .btn, .steps-cta .btn, .teamv2-cta,
.blue-section-btn, .history-cta-btn, .contact-actions .btn,
.btn-primary, .btn-secondary, .btn-pill, .btn-modern,
input[type="submit"], button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.9rem 1.8rem;
  border-radius: 26px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.025em;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  
  /* Style principal - bleu gradient comme l'accueil */
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
  color: white;
  box-shadow: 0 6px 18px rgba(59,130,246,0.3), 0 3px 10px rgba(29,78,216,0.2);
}

/* Effet de brillance sur tous les boutons */
.btn::before, .contact-btn::before, .submit-btn::before, .form-btn::before, .cta-btn::before,
.hero-cta .btn::before, .company-cta .btn::before, .steps-cta .btn::before, .teamv2-cta::before,
.blue-section-btn::before, .history-cta-btn::before, .contact-actions .btn::before,
.btn-primary::before, .btn-secondary::before, .btn-pill::before, .btn-modern::before,
input[type="submit"]::before, button[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

/* Hover state unifié pour tous les boutons */
.btn:hover, .contact-btn:hover, .submit-btn:hover, .form-btn:hover, .cta-btn:hover,
.hero-cta .btn:hover, .company-cta .btn:hover, .steps-cta .btn:hover, .teamv2-cta:hover,
.blue-section-btn:hover, .history-cta-btn:hover, .contact-actions .btn:hover,
.btn-primary:hover, .btn-secondary:hover, .btn-pill:hover, .btn-modern:hover,
input[type="submit"]:hover, button[type="submit"]:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 50%, #1d4ed8 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(59,130,246,0.4), 0 5px 16px rgba(29,78,216,0.3);
}

/* Effet de brillance au hover */
.btn:hover::before, .contact-btn:hover::before, .submit-btn:hover::before, .form-btn:hover::before, .cta-btn:hover::before,
.hero-cta .btn:hover::before, .company-cta .btn:hover::before, .steps-cta .btn:hover::before, .teamv2-cta:hover::before,
.blue-section-btn:hover::before, .history-cta-btn:hover::before, .contact-actions .btn:hover::before,
.btn-primary:hover::before, .btn-secondary:hover::before, .btn-pill:hover::before, .btn-modern:hover::before,
input[type="submit"]:hover::before, button[type="submit"]:hover::before {
  left: 100%;
}

/* Animation des icônes dans les boutons */
.btn i, .contact-btn i, .submit-btn i, .form-btn i, .cta-btn i,
.hero-cta .btn i, .company-cta .btn i, .steps-cta .btn i, .teamv2-cta i,
.blue-section-btn i, .history-cta-btn i, .contact-actions .btn i,
.btn-primary i, .btn-secondary i, .btn-pill i, .btn-modern i,
input[type="submit"] i, button[type="submit"] i {
  transition: transform 0.3s ease;
}

.btn:hover i, .contact-btn:hover i, .submit-btn:hover i, .form-btn:hover i, .cta-btn:hover i,
.hero-cta .btn:hover i, .company-cta .btn:hover i, .steps-cta .btn:hover i, .teamv2-cta:hover i,
.blue-section-btn:hover i, .history-cta-btn:hover i, .contact-actions .btn:hover i,
.btn-primary:hover i, .btn-secondary:hover i, .btn-pill:hover i, .btn-modern:hover i,
input[type="submit"]:hover i, button[type="submit"]:hover i {
  transform: translateX(2px);
}

/* Focus state unifié */
.btn:focus, .contact-btn:focus, .submit-btn:focus, .form-btn:focus, .cta-btn:focus,
.hero-cta .btn:focus, .company-cta .btn:focus, .steps-cta .btn:focus, .teamv2-cta:focus,
.blue-section-btn:focus, .history-cta-btn:focus, .contact-actions .btn:focus,
.btn-primary:focus, .btn-secondary:focus, .btn-pill:focus, .btn-modern:focus,
input[type="submit"]:focus, button[type="submit"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
}

/* Active state unifié */
.btn:active, .contact-btn:active, .submit-btn:active, .form-btn:active, .cta-btn:active,
.hero-cta .btn:active, .company-cta .btn:active, .steps-cta .btn:active, .teamv2-cta:active,
.blue-section-btn:active, .history-cta-btn:active, .contact-actions .btn:active,
.btn-primary:active, .btn-secondary:active, .btn-pill:active, .btn-modern:active,
input[type="submit"]:active, button[type="submit"]:active {
  transform: translateY(-1px) scale(1.01);
}

/* Variante secondaire (optionnelle) */
.btn-secondary {
  background: white !important;
  color: #3b82f6 !important;
  border: 2px solid #3b82f6 !important;
  box-shadow: 0 4px 12px rgba(59,130,246,0.2) !important;
}

.btn-secondary:hover {
  background: #f8faff !important;
  color: #2563eb !important;
  border-color: #2563eb !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px rgba(59,130,246,0.3) !important;
}

/* Bouton téléphone — vert, distinct du CTA principal */
.btn-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.9rem 1.8rem;
  border-radius: 26px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: 2px solid #22c55e;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  color: #16a34a;
  letter-spacing: 0.025em;
}

.btn-phone:hover {
  background: #22c55e;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.35);
}

.btn-phone i {
  transition: transform 0.3s ease;
}

.btn-phone:hover i {
  transform: rotate(15deg);
}

/* Hero CTA : 2 boutons côte à côte */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 480px) {
  .btn-phone {
    width: 100%;
  }
}

/* Taille pill (plus grande) */
.btn-pill, .teamv2-cta {
  min-height: 56px !important;
  padding: 1rem 2rem !important;
  font-size: 1.1rem !important;
  border-radius: 28px !important;
}

/* Responsive mobile */
@media (max-width: 767px) {
  .btn, .contact-btn, .submit-btn, .form-btn, .cta-btn,
  .hero-cta .btn, .company-cta .btn, .steps-cta .btn, .teamv2-cta,
  .blue-section-btn, .history-cta-btn, .contact-actions .btn,
  .btn-primary, .btn-secondary, .btn-pill, .btn-modern,
  input[type="submit"], button[type="submit"] {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    min-height: 48px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  
  .btn-pill, .teamv2-cta {
    min-height: 52px !important;
    padding: 0.9rem 1.8rem !important;
  }
}

/* ===== FIN SYSTÈME BOUTONS UNIFIÉ ===== */

/* ====== Global Card System ====== */
.card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: var(--card-padding);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.12);
}

/* ====== Navigation ====== */
.main-nav {
  background: var(--background);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition);
}

.main-nav.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;
  padding: 0.5rem 0;
  gap: 0.75rem;
}

.nav-logo-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
}

.logo-circle {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary-blue) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  background: #f7fafc;
  color: var(--accent-blue);
}

.nav-link[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent-blue);
  border-radius: 1px;
}

.contact-btn {
  background: var(--brand-blue);
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--btn-radius);
  font-weight: var(--btn-font-weight);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  min-height: 44px;
}

.contact-btn:hover {
  background: var(--brand-blue-dark);
  transform: translateY(-1px) translateZ(0);
  box-shadow: 0 4px 12px rgba(31, 111, 235, 0.3);
}

.contact-btn:focus {
  outline: none;
  box-shadow: var(--btn-focus-ring);
}

/* Masquer le bouton contact mobile sur desktop */
.nav-contact-mobile {
  display: none;
}

/* Mobile menu button — caché sur desktop, visible sur mobile via @media */
@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none !important;
  }
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: var(--transition);
  border-radius: 1px;
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ====== Section Hero ====== */
.hero-section {
  background: #ffffff;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 60px 0;
  margin-top: 0;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-container {
  grid-template-columns: 1fr 1fr;
    gap: 60px;
  align-items: center;
  }
}

.hero-content {
  padding: 2rem 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 18ch;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 16px;
  font-weight: 400;
  max-width: 46ch;
}

/* ====== Service Pills ====== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
  max-width: 600px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  min-height: 148px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.12);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.service-icon i {
  font-size: 1.5rem;
  color: #ffffff;
}

.service-icon svg {
  color: #ffffff;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  text-align: center;
}

/* ====== Hero Bottom (Rating + CTA) ====== */
.hero-bottom {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 2rem;
}

.rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars {
  color: var(--yellow-accent);
  font-size: 1.2rem;
}

.rating-text {
  color: #6b7280;
  font-weight: 500;
}

.hero-cta {
  margin-top: 16px;
}

.hero-cta .btn {
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--btn-radius);
  font-weight: 700;
  font-size: 1.1rem;
}

@media (max-width: 639px) {
  .hero-cta .btn {
    width: 100%;
  }
}

/* ====== Hero Image ====== */
.hero-image {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  height: 100%;
  min-height: 500px;
  min-width: 400px;
  /* order: -1; --- NEUTRALISÉ - causait des conflits */
  order: 0;
  display: flex;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-image {
    order: 0;
    height: auto;
    aspect-ratio: 4/3;
  }
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  border-radius: 18px;
}

.hero-photo:hover {
  transform: scale(1.02);
}

/* ====== Section Entreprise avec design moderne ====== */
.company-section {
  padding: var(--section-padding) 0;
  background: white;
  border-top: 1px solid rgba(59,130,246,0.1);
  position: relative;
  overflow: hidden;
}

.company-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 15% 25%, rgba(59,130,246,0.02) 0%, transparent 50%),
    radial-gradient(circle at 85% 75%, rgba(147,197,253,0.03) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

.company-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.company-image {
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.company-image::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  background: linear-gradient(135deg, rgba(59,130,246,0.1) 0%, rgba(147,197,253,0.05) 100%);
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.company-image:hover::before {
  opacity: 1;
}

.company-photo {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(2,6,23,.12), 0 4px 16px rgba(59,130,246,.08);
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255,255,255,0.8);
}

.company-image:hover .company-photo {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px rgba(2,6,23,.15), 0 6px 24px rgba(59,130,246,.12);
}

.company-text {
  text-align: left;
  position: relative;
}

.company-text p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #475569;
  font-weight: 500;
  transition: all 0.3s ease;
}

.company-text p:hover {
  color: #334155;
  transform: translateX(2px);
}

/* Responsive design pour la section entreprise */
@media (max-width: 768px) {
  .company-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .company-text {
    text-align: center;
  }
  
  .company-text p {
    font-size: 1rem;
  }
  
  .company-photo {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .company-image:hover .company-photo {
    transform: translateY(-2px) scale(1.01);
  }
}

.company-cta {
  margin-top: 32px;
}

.company-cta .btn {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
  color: white;
  border: none;
  min-height: 52px;
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 26px;
  box-shadow: 0 6px 18px rgba(59,130,246,0.3), 0 3px 10px rgba(29,78,216,0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.025em;
  gap: 0.5rem;
}

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

.company-cta .btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 50%, #1d4ed8 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(59,130,246,0.4), 0 5px 16px rgba(29,78,216,0.3);
}

.company-cta .btn:hover::before {
  left: 100%;
}

.company-cta .btn i {
  transition: transform 0.3s ease;
}

.company-cta .btn:hover i {
  transform: translateX(2px);
}

/* ====== Section 4 Étapes avec design moderne ====== */
.steps-section {
  padding: var(--section-padding) 0;
  background: white;
  position: relative;
  overflow: hidden;
}

.steps-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(59,130,246,0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(147,197,253,0.04) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

.steps-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .steps-container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.steps-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  aspect-ratio: 3/4;
}

.steps-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.steps-content {
  display: flex;
  flex-direction: column;
}

.steps-timeline {
  position: relative;
  margin-top: 2rem;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 44px;
  bottom: 44px;
  width: 3px;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
  opacity: 0.4;
  z-index: 1;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(59,130,246,0.2);
}

.step-item {
  position: relative;
  margin-bottom: 1.5rem;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(59,130,246,0.1);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(2,6,23,.08), 0 4px 12px rgba(59,130,246,.06);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.step-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.02) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.step-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(2,6,23,.12), 0 6px 20px rgba(59,130,246,.1);
  border-color: rgba(59,130,246,0.2);
}

.step-item:hover::before {
  opacity: 1;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-header {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  transition: var(--transition);
}

.step-header:hover {
  background: white;
}

.step-header:focus {
  outline: none;
  box-shadow: var(--btn-focus-ring);
}

.step-badge {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin-right: 1.25rem;
  flex-shrink: 0;
  z-index: 3;
  position: relative;
  box-shadow: 0 4px 12px rgba(59,130,246,0.3), 0 2px 6px rgba(29,78,216,0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.step-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(-45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.step-item:hover .step-badge {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(59,130,246,0.4), 0 3px 8px rgba(29,78,216,0.3);
}

.step-item:hover .step-badge::before {
  opacity: 1;
  animation: shimmerStep 1s ease-in-out;
}

@keyframes shimmerStep {
  0% { transform: translateX(-100%) translateY(-100%) rotate(-45deg); }
  50% { transform: translateX(0%) translateY(0%) rotate(-45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(-45deg); }
}

.step-title {
  flex: 1;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  letter-spacing: 0.025em;
  position: relative;
  z-index: 2;
}

.step-chevron {
  width: 24px;
  height: 24px;
  color: #6b7280;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.step-item.is-open .step-chevron {
  transform: rotate(180deg);
}

.step-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  opacity: 0;
  transform: translateY(-10px);
}

.step-item.is-open .step-content {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
}

.step-description {
  padding: 0 1.5rem 1.5rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.steps-cta {
  text-align: center;
  margin-top: 3rem;
  position: relative;
}

.steps-cta .btn {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
  color: white;
  border: none;
  min-height: 56px;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 28px;
  box-shadow: 0 8px 20px rgba(59,130,246,0.3), 0 4px 12px rgba(29,78,216,0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.025em;
}

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

.steps-cta .btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 50%, #1d4ed8 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(59,130,246,0.4), 0 6px 20px rgba(29,78,216,0.3);
}

.steps-cta .btn:hover::before {
  left: 100%;
}

.steps-cta .btn:active {
  transform: translateY(-1px) scale(1.02);
}

/* ====== Section Équipe ====== */
.team-section {
  padding: var(--section-padding) 0;
  background: white;
}

.team-section .section-title {
  text-align: center;
  margin-bottom: 16px;
}

.team-section .section-subtitle {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-card {
  background: #FFFFFF;
  border: 1px solid #e5e7eb;
  border-radius: var(--card-radius);
  padding: var(--card-padding);
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.team-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.12);
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--brand-blue);
  transition: var(--transition);
}

@media (max-width: 767px) {
  .team-card img {
    width: 96px;
    height: 96px;
  }
}

.team-card:hover img {
  border-color: var(--brand-blue-dark);
}

.team-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.team-card p {
  color: #6b7280;
  font-size: 14px;
  margin: 0;
}

.team-cta {
  text-align: center;
  margin-top: 32px;
}

/* ====== Section Témoignages - Design Minimaliste ====== */
.testimonials-section {
  padding: var(--section-padding) 0;
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  margin-top: 4rem;
  justify-items: center;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 1000px;
    margin: 4rem auto 3rem;
  }
}

.testimonial-card {
  background: white;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 400px;
}

.testimonial-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.testimonial-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #1a365d;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.testimonial-icon i {
  color: white;
  font-size: 1.5rem;
}

.testimonial-content {
  position: relative;
  max-width: 300px;
}

.quote-mark {
  position: absolute;
  font-size: 4rem;
  color: #000000;
  font-family: serif;
  font-weight: bold;
  line-height: 1;
}

.quote-open {
  top: -10px;
  left: -20px;
}

.quote-close {
  bottom: -20px;
  right: -20px;
}

.testimonial-card blockquote {
  font-style: normal;
  color: #000000;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  font-weight: 600;
  font-size: 1rem;
  padding: 0 1rem;
}

.testimonial-card cite {
  color: #000000;
  font-weight: 500;
  font-style: normal;
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 1rem;
}

/* Responsive design pour les témoignages */
@media (max-width: 768px) {
  .testimonials-grid {
    gap: 2.5rem;
    grid-template-columns: 1fr;
    margin-top: 3rem;
  }
  
  .testimonial-card {
    max-width: 350px;
  }
  
  .testimonial-label {
    font-size: 0.7rem;
    margin-bottom: 0.8rem;
  }
  
  .testimonial-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
    background: #1a365d;
    border: none;
  }
  
  .testimonial-icon i {
    font-size: 1.2rem;
    color: white;
  }
  
  .quote-mark {
    font-size: 3rem;
  }
  
  .quote-open {
    top: -5px;
    left: -15px;
  }
  
  .quote-close {
    bottom: -15px;
    right: -15px;
  }
  
  .testimonial-content {
    max-width: 300px;
  }
  
  .testimonial-card blockquote {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }
}

@media (max-width: 480px) {
  .testimonials-grid {
    gap: 2rem;
    margin-top: 2.5rem;
  }
  
  .testimonial-card {
    max-width: 300px;
  }
  
  .testimonial-label {
    font-size: 0.65rem;
    margin-bottom: 0.6rem;
  }
  
  .testimonial-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 1rem;
    background: #1a365d;
    border: none;
  }
  
  .testimonial-icon i {
    font-size: 1rem;
    color: white;
  }
  
  .quote-mark {
    font-size: 2.5rem;
  }
  
  .testimonial-content {
    max-width: 250px;
  }
  
  .testimonial-card blockquote {
    font-size: 0.9rem;
  }
}

/* ====== Section Partenaires ====== */
.partners-section {
  margin-bottom: 3rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 640px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.partner-logo {
  background: white;
  border-radius: var(--card-radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  transition: var(--transition);
  min-height: 100px;
}

.partner-logo:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--card-shadow);
}

.partner-placeholder {
  color: var(--text-light);
  font-weight: 500;
  text-align: center;
}

/* ====== Section Zone d'intervention ====== */
.intervention-section {
  padding: var(--section-padding) 0;
  background: white;
}

.intervention-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .intervention-content {
    grid-template-columns: 1fr 1fr;
  }
}

.intervention-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.region-highlight {
  color: var(--brand-blue);
  font-weight: 600;
  background: rgba(31, 111, 235, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.map-container {
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 400px;
}

/* ====== Section Titles ====== */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 3rem;
}

/* ====== Footer ====== */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 3rem 0 2rem;
  text-align: center;
  border-top: 1px solid var(--border-light);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Liens SEO local dans le footer */
.footer-seo {
  width: 100%;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 0.5rem;
}

.footer-seo-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.75rem;
}

.footer-seo-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-seo-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-seo-links a:hover {
  color: #3b82f6;
}

.footer-social .social-links {
  display: flex;
  gap: 1rem;
  margin-left: -40px;
}

.footer-social .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.footer-social .social-links a:hover {
  background: var(--accent-blue);
  transform: translateY(-2px);
}

/* ====== Global Focus Styles ====== */
*:focus {
  outline: none;
  box-shadow: var(--btn-focus-ring);
}

*:focus:not(:focus-visible) {
  box-shadow: none;
}

/* ====== Optimisations de Performance ====== */

/* Réduction des animations sur les appareils moins puissants */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Optimisations pour les appareils mobiles */
@media (max-width: 768px) {
  /* Réduction des effets coûteux sur mobile */
  .hero-title,
  .hero-title-v3 {
    color: #2b3977 !important;
    background: none !important;
    background-clip: initial !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
  }
  
  .section-title,
  .teamv2-title {
    animation: none !important;
    background: #1e293b !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
  }
  
  /* Simplification des transitions sur mobile */
  * {
    transition-duration: 0.1s !important;
  }
  
  /* Désactivation des effets de hover sur mobile */
  .contact-card:hover,
  .step-item:hover,
  .company-photo:hover {
    transform: none !important;
  }
}

/* Optimisations pour les performances de scroll */
.hero-section,
.company-section,
.steps-section,
.team-section,
.testimonials-section,
.intervention-section {
  contain: layout style paint;
}

/* Optimisation des images */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* ====== Responsive Design ====== */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: row;
    gap: 1rem;
  }

  /* Règle unifiée pour le menu mobile - déjà définie plus haut */

  .nav-menu li {
    width: 100%;
    text-align: center;
    padding: 0.5rem 0;
  }

  .nav-menu .nav-link {
    display: block;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .nav-menu .nav-link:hover {
    background: rgba(31, 111, 235, 0.1);
    color: var(--brand-blue);
  }

  .nav-menu .nav-contact-mobile {
    display: flex !important;
    justify-content: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-light);
    width: 100%;
  }

  .nav-menu .nav-contact-mobile .contact-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
    color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(31, 111, 235, 0.3);
  }

  .nav-menu .nav-contact-mobile .contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(31, 111, 235, 0.4);
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-contact {
    display: none;
  }

  .nav-contact-mobile {
    display: flex !important;
  }
  
  .hero-title {
  font-size: 2.5rem;
}

    .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: 2rem;
  }

     .services-grid {
    grid-template-columns: 1fr;
     gap: 1rem;
     max-width: 100%;
  }
  
     .hero-bottom {
  flex-direction: column;
  text-align: center;
}

  .footer .container {
  flex-direction: column;
  text-align: center;
}
}

/* ====== Accessibility - Reduced Motion ====== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .step-content {
    transition: none;
  }
  
  .step-chevron {
    transition: none;
  }
  
  .step-item.is-open .step-content {
    max-height: none;
  }
  
  .team-card:hover {
    transform: none;
  }
  
  .team-card:hover img {
    transform: none;
  }
}

/* === TEAM ENFORCE (do not edit) === */
.section.team-section:not(.team-v2) { padding: clamp(56px, 6vw, 88px) 0; background:#fff; }
.team-title { margin-bottom: 16px; text-align:center; }
.team-intro { max-width: 900px; margin: 0 auto 32px; color:#6b7280; font-size:16px; text-align:center; }

.team-grid { display:grid; gap:24px; grid-template-columns:1fr; margin:0; }
@media (min-width:768px){ .team-grid{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1200px){ .team-grid{ grid-template-columns:repeat(4,1fr); } }

.team-card { background:#fff; border:1px solid #e5e7eb; border-radius:16px;
  box-shadow:0 8px 20px rgba(2,6,23,.08); padding:24px; text-align:center;
  display:flex; flex-direction:column; align-items:center; gap:12px;
  transition:transform .15s ease, box-shadow .15s ease;
}
@media (prefers-reduced-motion:no-preference){
  .team-card:hover{ transform:translateY(-2px); box-shadow:0 12px 28px rgba(2,6,23,.12); }
}

.avatar-wrap{ width:120px; height:120px; border-radius:999px; padding:3px;
  background:#fff; box-shadow:0 0 0 3px var(--brand, #1f6feb); display:grid; place-items:center; margin-bottom:6px;
}
@media (max-width:767px){ .avatar-wrap{ width:96px; height:96px; } }

.avatar{ width:100%; height:100%; border-radius:999px; object-fit:cover; display:block; }

.member-name{ font-weight:800; font-size:18px; color:#0f172a; margin:0; }
.member-role{ margin:0; color:#6b7280; font-size:14.5px; }

.section-cta-center{ display:flex; justify-content:center; margin-top:32px; }
.section-cta-center .team-cta{ min-height:48px; padding:0 22px; border-radius:12px; font-weight:600; }
@media (max-width:640px){ .section-cta-center .team-cta{ width:100%; } }

/* Utility classes for team section */
.center { text-align: center; }

/* ====== Fixes spécifiques pour iOS Safari ====== */
@supports (-webkit-touch-callout: none) {
  /* Réduction des effets pour iOS */
  .step-item:hover {
    transform: translateY(-2px) scale(1.01);
  }
  
  .company-image:hover .company-photo {
    transform: translateY(-2px) scale(1.01);
  }
  
  .contact-card:hover {
    transform: translateY(-4px) scale(1.01);
  }
  
  /* Désactivation des animations complexes sur iOS */
  .step-badge::before,
  .contact-icon::before,
  .teamv2-portraits::before {
    animation: none !important;
  }
  
  /* Réduction des animations des titres sur iOS */
  .hero-title {
    animation: none;
    background: #1e293b;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .teamv2-title::after {
    animation: none;
  }
  
  /* Amélioration des performances sur iOS */
  .step-item,
  .contact-card,
  .company-photo {
    will-change: auto;
    transform: translateZ(0);
  }
}

/* ====== Styles avancés pour les titres de la page d'accueil ====== */

/* Titre principal héro - Style optimisé pour les performances */
.hero-title,
.hero-title-v3 {
  color: #2b3977;
  position: relative;
  font-weight: 800;
  text-shadow: none;
  will-change: auto;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8, #1e40af);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

/* Animation supprimée pour améliorer les performances */

/* Sous-titre du héro - Style élégant */
.hero-subtitle {
  font-size: clamp(1.125rem, 2.8vw, 1.375rem);
  color: #475569;
  font-weight: 500;
  margin: 1.5rem 0 2rem 0;
  text-align: center;
  position: relative;
  padding: 0 1rem;
  letter-spacing: 0.025em;
}

.hero-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3b82f6);
}

.hero-subtitle::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, #3b82f6, transparent);
}

/* Titre de section standard - Couleur gérée par la règle globale */
/* body:not(.contact-page):not(.landing-page):not(.services-page) .section-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(135deg, #1e293b 0%, #3b82f6 50%, #1e40af 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  padding-bottom: 1rem;
  letter-spacing: -0.025em;
} */

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8, #1e40af);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
  transition: width 0.2s ease;
}

.section-title:hover::after {
  width: 80px;
}

/* Les témoignages utilisent maintenant le style standard */

/* Titre équipe - Couleur gérée par la règle globale */
/* .teamv2-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, #1e293b 0%, #3b82f6 50%, #1e40af 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin-bottom: clamp(28px, 3.5vw, 40px);
  padding-bottom: 12px;
  position: relative;
  letter-spacing: -0.025em;
} */

.teamv2-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8, #1e40af);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
  will-change: auto;
}

/* Animation supprimée pour améliorer les performances */

/* Sous-titre de section - Style raffiné */
.section-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  color: #64748b;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 500;
  position: relative;
  padding: 0 2rem;
}

.section-subtitle::before,
.section-subtitle::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.section-subtitle::before {
  left: 0;
}

.section-subtitle::after {
  right: 0;
}

/* Zone d'intervention utilise maintenant le style standard */

/* ====== Styles pour la page entreprise ====== */

/* Hero section entreprise v3 - Exact Screenshot */
/* Hero section entreprise v3 - Exact Screenshot - AGRANDI PLUS */
.company-hero-v3 {
  background: linear-gradient(to bottom, #e0f2fe 0%, #f0f9ff 30%, #ffffff 100%);
  min-height: auto;
  display: flex;
  align-items: flex-start;
  padding: 6rem 0 4rem;
}

.hero-container-v3 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Layout 3 images exact du screenshot - AGRANDIES ENCORE PLUS */
.hero-images-grid-v3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.75rem;
  height: 650px; /* Augmenté de 400px à 650px */
}

.hero-image-top-left {
  grid-column: 1;
  grid-row: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-image-top-right {
  grid-column: 2;
  grid-row: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-image-bottom {
  grid-column: 1 / 3;
  grid-row: 2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-image-top-left img,
.hero-image-top-right img,
.hero-image-bottom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hero-image-top-left:hover img,
.hero-image-top-right:hover img,
.hero-image-bottom:hover img {
  transform: scale(1.05);
}

/* Contenu à droite */
.hero-content-v3 {
  padding-left: 1rem;
}

.hero-title-v3 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* Section question blanche */
.hero-question-box {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
}

.hero-question-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #3b82f6;
  margin-bottom: 1rem;
}

.hero-checkpoints {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checkpoint-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkpoint-item i {
  color: #10b981;
  font-size: 0.875rem;
  width: 14px;
}

.checkpoint-item span {
  color: #374151;
  font-weight: 500;
  font-size: 0.875rem;
}

/* Section bleue avec étoile */
.hero-blue-section {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.star-badge {
  position: absolute;
  top: -10px;
  left: 1.5rem;
  background: #fbbf24;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.625rem;
}

.blue-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.blue-section-highlight {
  color: #3b82f6;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blue-section-text {
  color: #475569;
  line-height: 1.5;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.blue-section-btn {
  background: #3b82f6;
  color: white;
  padding: 0.625rem 1.5rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(59, 130, 246, 0.3);
}

.blue-section-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Section Notre Histoire v2 - Style Screenshot */
.history-section-v2 {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: white;
}

.container-v2 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.history-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.history-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.history-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.history-image:hover img {
  transform: scale(1.05);
}

.history-content-v2 {
  padding-left: 2rem;
}

.history-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 800;
  /* Couleur gérée par la règle globale body .history-title */
  margin-bottom: 2rem;
  position: relative;
}

.history-text {
  margin-bottom: 2rem;
}

.history-text p {
  color: #475569;
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.history-text p:first-child {
  color: #1e293b;
  font-weight: 600;
}

.history-cta-btn {
  background: #3b82f6;
  color: white;
  padding: 0.875rem 2.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.875rem;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.history-cta-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.company-hero .hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-question {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  color: #475569;
  margin: 1.5rem 0 2rem 0;
}

.hero-strengths {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.strength-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.strength-item i {
  color: #3b82f6;
  font-size: 1.25rem;
  width: 20px;
  text-align: center;
}

.strength-item span {
  font-weight: 500;
  color: #1e293b;
  font-size: 0.95rem;
}

/* Section benefits */
.benefits-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: white;
}

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

.benefit-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(59, 130, 246, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.benefit-card p {
  color: #64748b;
  line-height: 1.6;
}

/* Section about */
.about-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.highlight-box {
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(59, 130, 246, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  margin-top: 2rem;
}

.intro-strong {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight-box p {
  color: #475569;
  line-height: 1.7;
  font-size: 1.05rem;
}

.about-photo {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Section history */
.history-section {
  padding: clamp(3rem, 6vw, 4rem) 0;
  background: white;
}

.section-subtitle {
  font-size: clamp(1.375rem, 3vw, 1.5rem);
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 2rem;
}

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

.history-content p {
  color: #475569;
  line-height: 1.7;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* Team section */
.team-intro {
  text-align: center;
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.team-culture-text {
  text-align: center;
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.team-conclusion {
  text-align: center;
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Onglets Support/Terrain exactement comme sur le screenshot */
.team-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.team-tab {
  background: transparent;
  border: 2px solid #e2e8f0;
  color: #64748b;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

.team-tab:hover {
  border-color: #3b82f6;
  color: #3b82f6;
}

.team-tab.active {
  background: #3b82f6;
  border-color: #3b82f6;
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Contenu des onglets */
.team-content {
  display: none;
}

.team-content.active {
  display: block;
}

/* Grille des membres d'équipe - exactement comme sur le screenshot */
.team-members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  justify-items: center;
  max-width: 700px;
  margin: 0 auto;
}

/* Membre individuel */
.team-member {
  text-align: center;
  padding: 0.5rem;
}

.member-photo {
  width: 100px;
  height: 100px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
  position: relative;
}

.member-photo:hover {
  border-color: #3b82f6;
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.team-member h4 {
  font-size: clamp(0.8rem, 1.5vw, 0.875rem);
  font-weight: 700;
  color: #1e293b;
  margin: 0.25rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.team-member p {
  font-size: clamp(0.75rem, 1.2vw, 0.8rem);
  color: #64748b;
  margin: 0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25px;
  line-height: 1.2;
}

/* Section engagement v2 - Style Screenshot */
.engagement-section-v2 {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: white;
}

.engagement-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 3rem;
}

.engagement-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.engagement-card-large {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.engagement-icon-large {
  width: 60px;
  height: 60px;
  background: #f1f5f9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #3b82f6;
  font-size: 1.5rem;
}

.engagement-card-large h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.engagement-subtitle {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 1rem;
}

.engagement-card-large p {
  color: #64748b;
  line-height: 1.6;
  font-size: 0.95rem;
}

.engagement-bottom-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.engagement-card-small {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}

.engagement-icon-small {
  width: 48px;
  height: 48px;
  background: #f1f5f9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #3b82f6;
  font-size: 1.25rem;
}

.engagement-card-small h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.engagement-card-small p {
  color: #64748b;
  line-height: 1.5;
  font-size: 0.875rem;
}

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

.engagement-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(59, 130, 246, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.engagement-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.engagement-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.engagement-subtitle {
  font-size: 0.875rem;
  color: #3b82f6;
  font-weight: 600;
  margin-bottom: 1rem;
}

.engagement-card p {
  color: #64748b;
  line-height: 1.6;
}

/* Section expertise v2 - Style Screenshot */
.expertise-section-v2 {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: white;
}

.expertise-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.expertise-card-v2 {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.expertise-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.expertise-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.expertise-card-v2:hover .expertise-image img {
  transform: scale(1.05);
}

.expertise-content {
  padding: 1.5rem;
}

.expertise-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.expertise-content p {
  color: #64748b;
  line-height: 1.6;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.expertise-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.expertise-link:hover {
  color: #1d4ed8;
}

.expertise-intro {
  text-align: center;
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.expertise-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(59, 130, 246, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.expertise-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.expertise-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.expertise-card p {
  color: #64748b;
  line-height: 1.6;
}

/* Section réalisations - Style Screenshot */
.realisations-showcase {
  padding: 4rem 0;
  background: #f8fafc;
}

.realisations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.realisation-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.realisation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.realisation-card:hover .card-image img {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 2rem 1.5rem 1.5rem;
  color: white;
}

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

.card-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.info-icon {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.info-icon:hover {
  background: rgba(255, 255, 255, 0.3);
}

.info-icon i {
  font-size: 1rem;
}


/* Responsive pour réalisations */
@media (max-width: 768px) {
  .realisations-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }
}

/* ===== Carte des chantiers – responsive mobile, style type Google Maps ===== */
.chantiers-map-section {
  background: #f8fafc;
  margin: 0;
  padding: 2rem 0;
}

.chantiers-map-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #2b3977 !important;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.chantiers-map-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #2b3977, #1e293b, #2b3977);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(43, 57, 119, 0.3);
  transition: width 0.2s ease;
}

.chantiers-map-title:hover::after {
  width: 80px;
}

.chantiers-map-title .fa-map-marker-alt {
  color: var(--accent-blue);
}

.chantiers-map-intro {
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Carte : mobile-first, pleine largeur, hauteur adaptable */
.chantiers-map {
  width: 100%;
  min-width: 0;
  height: 280px;
  min-height: 280px;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-light);
  overflow: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Popups au clic – adresses type liste */
.chantiers-popup-wrapper {
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border: 1px solid var(--border-light);
}

.chantiers-popup {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-dark);
  min-width: 200px;
  max-width: 300px;
}

.chantiers-popup strong {
  color: #2b3977;
  display: block;
  margin-bottom: 0.25rem;
}

/* Tablette et plus */
@media (min-width: 480px) {
  .chantiers-map {
    height: 360px;
    min-height: 360px;
  }
}

@media (min-width: 768px) {
  .chantiers-map-section {
    padding: 4rem 0;
  }
  .chantiers-map {
    height: 450px;
    min-height: 400px;
    border-radius: var(--card-radius);
  }
}

@media (min-width: 1024px) {
  .chantiers-map {
    height: 480px;
  }
}

/* Styles pour les pages de détail des réalisations */
.realisation-header {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 2rem 0 3rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-nav {
  margin-bottom: 1.5rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #1d4ed8;
}

.realisation-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.realisation-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
  font-weight: 500;
}

.meta-icon {
  font-size: 1.2rem;
}

/* Métadonnées améliorées pour les pages de détail */
.realisation-meta-enhanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.meta-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.meta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.meta-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  border-color: rgba(59, 130, 246, 0.2);
}

.meta-card:hover::before {
  opacity: 1;
}

.meta-icon-wrapper {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.meta-card:hover .meta-icon-wrapper {
  transform: scale(1.1);
}

.meta-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.meta-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.meta-value {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

/* Description améliorée pour les pages de détail */
.project-description-enhanced {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.description-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.description-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.description-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
}

.highlight-item:hover {
  transform: translateX(10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
}

.highlight-item i {
  color: #10b981;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.highlight-item span {
  font-weight: 500;
  color: #374151;
}

.description-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #64748b;
  background: white;
  padding: 2rem;
  border-radius: 16px;
  border-left: 4px solid #3b82f6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.description-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
}

.stat-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.stat-card:hover::before {
  transform: translateX(0);
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #3b82f6;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsive pour description améliorée */
@media (max-width: 768px) {
  .description-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .description-content {
    width: 100%;
    max-width: 100%;
  }
  
  .description-content h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  
  .description-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
    overflow-x: hidden;
  }
  
  .stat-card {
    min-width: 150px;
    flex-shrink: 0;
  }
}

.realisation-main {
  padding: 3rem 0;
}

.hero-image-section {
  margin-bottom: 4rem;
}

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  max-height: 500px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-description {
  margin-bottom: 4rem;
}

.description-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.description-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.description-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.project-gallery {
  margin-bottom: 4rem;
}

.project-gallery h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2rem;
  text-align: center;
}

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

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  position: relative;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.gallery-item a {
  display: block;
  width: 100%;
  height: 100%;
}

.project-info {
  margin-bottom: 4rem;
}

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

.info-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card .info-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.5rem;
}

.info-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.info-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.info-card li {
  padding: 0.5rem 0;
  color: #64748b;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-card li:last-child {
  border-bottom: none;
}

.info-card li::before {
  content: '✓';
  color: #10b981;
  font-weight: bold;
  margin-right: 0.5rem;
}

.project-navigation {
  margin-bottom: 4rem;
}

.project-navigation h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2rem;
  text-align: center;
}

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

.nav-project {
  display: block;
  text-decoration: none;
  color: inherit;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.nav-project:hover {
  transform: translateY(-5px);
}

.nav-project img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.nav-project span {
  display: block;
  padding: 1rem;
  font-weight: 600;
  color: #1e293b;
  text-align: center;
}

/* Responsive pour pages de détail */
@media (max-width: 768px) {
  .realisation-header {
    padding: 1.5rem 0 2rem;
  }
  
  .realisation-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    margin-bottom: 1.5rem;
  }
  
  .realisation-meta,
  .realisation-meta-enhanced {
    grid-template-columns: 1fr;
    flex-direction: column;
    gap: 1rem;
  }
  
  .meta-card {
    padding: 1rem;
  }
  
  .meta-icon-wrapper {
    width: 50px;
    height: 50px;
  }
  
  .meta-value {
    font-size: 1rem;
  }
  
  .hero-image-section {
    margin-bottom: 2rem;
  }
  
  .hero-image img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 12px;
  }
  
  .project-description-enhanced {
    padding: 2rem 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .project-description-enhanced .container {
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
  }
  
  .description-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
  }
  
  .description-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
  }
  
  .stat-card {
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 1.75rem;
  }
  
  .stat-label {
    font-size: 0.9rem;
  }
  
  .project-gallery {
    padding: 2rem 0;
  }
  
  .project-gallery h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .info-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .info-card {
    padding: 1.5rem;
  }
  
  .nav-projects {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .nav-project {
    padding: 1rem;
  }
  
  .nav-project img {
    width: 100%;
    height: 150px;
    object-fit: cover;
  }
  
  .info-cards,
  .nav-projects {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
    padding: 0;
  }
  
  .gallery-item {
    width: 100%;
    margin: 0;
  }
  
  .gallery-item img {
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 350px;
    object-fit: cover;
  }
  
  .gallery-item a {
    display: block;
    width: 100%;
  }
}

.reference-showcase {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.reference-main-image {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.reference-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reference-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #64748b;
}

.reference-placeholder i {
  font-size: 4rem;
  opacity: 0.8;
}

.reference-placeholder span {
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.reference-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(59, 130, 246, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reference-play-button:hover {
  background: rgba(59, 130, 246, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.reference-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.reference-thumbnail {
  height: 100px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.reference-thumbnail:hover {
  transform: scale(1.05);
}

.reference-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.thumbnail-placeholder i {
  font-size: 1.5rem;
  opacity: 0.8;
}

.reference-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reference-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.reference-cta {
  background: #3b82f6;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.reference-cta:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* ====== Styles globaux pour la page entreprise ====== */
body.entreprise-page {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #374151;
  background: white;
}

.entreprise-page * {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Typography améliorée */
.entreprise-page h1,
.entreprise-page h2,
.entreprise-page h3,
.entreprise-page h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #1e293b;
}

.entreprise-page h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.entreprise-page h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

.entreprise-page h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

.entreprise-page p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 1.25rem;
}

.entreprise-page strong {
  font-weight: 600;
  color: #1e293b;
}

/* Contact Section Modern - Page Entreprise */
.contact-section-modern {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: white;
}

.contact-modern-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

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

.contact-modern-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-modern-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8, #1e40af);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-modern-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.contact-modern-card:hover::before {
  opacity: 1;
}

.contact-icon-wrapper {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
  transition: transform 0.3s ease;
}

.contact-modern-card:hover .contact-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.contact-modern-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.contact-address {
  font-style: normal;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #1d4ed8;
}

.contact-phone-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #3b82f6;
  text-decoration: none;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.contact-phone-number:hover {
  color: #1d4ed8;
}

.contact-subtitle {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.contact-actions-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px solid rgba(59, 130, 246, 0.1);
}

.contact-buttons-modern {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-size: 0.95rem;
}

.btn-modern-primary {
  background: #3b82f6;
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-modern-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.btn-modern-secondary {
  background: white;
  color: #3b82f6;
  border-color: #3b82f6;
}

.btn-modern-secondary:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Carte Google Maps */
.contact-map-container {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: fit-content;
  position: sticky;
  top: 2rem;
}

.contact-map-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.contact-map-header h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.contact-map-header p {
  color: #64748b;
  font-size: 0.9rem;
  margin: 0;
}

.contact-map-wrapper {
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.contact-map-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(59, 130, 246, 0.1), transparent);
  pointer-events: none;
  z-index: 1;
}

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

.reference-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.reference-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.reference-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.reference-item:hover .reference-image {
  transform: scale(1.05);
}

.reference-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 2rem 1rem 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.reference-item:hover .reference-overlay {
  transform: translateY(0);
}

.reference-overlay h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  align-items: center;
}

.contact-info-card {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.contact-info-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.contact-info-card address {
  font-style: normal;
  color: #64748b;
  line-height: 1.6;
}

.phone-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: color 0.3s ease;
}

.phone-link:hover {
  color: #1d4ed8;
}

.contact-cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-cta-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.contact-cta-content p {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 2rem;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  min-height: 56px;
}

/* Responsive pour entreprise */
@media (max-width: 768px) {
  .company-hero .hero-container,
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .trust-badges {
    justify-content: center;
  }
  
  .benefits-grid,
  .engagement-grid,
  .expertise-grid {
    grid-template-columns: 1fr;
  }
  
  .history-timeline {
    padding-left: 1rem;
  }
  
  .timeline-item {
    padding-left: 1.5rem;
  }
  
  .timeline-marker {
    left: -1.5rem;
  }
  
  /* Responsive pour les onglets équipe */
  .team-tabs {
    gap: 0.5rem;
  }
  
  .team-tab {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    min-width: 100px;
  }
  
  .team-members-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 400px;
  }
  
  .member-photo {
    width: 80px;
    height: 80px;
  }
  
  .team-member h4 {
    font-size: 0.875rem;
  }

  .team-member p {
    font-size: 0.8rem;
  }
  
  /* Responsive pour engagement v2 */
  .engagement-top-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .engagement-bottom-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Responsive pour expertise v2 */
  .expertise-grid-v2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Responsive pour réalisations v2 */
  .reference-showcase {
    padding: 1rem;
  }
  
  .reference-main-image {
    height: 200px;
  }
  
  .reference-thumbnails {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  
  .reference-thumbnail {
    height: 60px;
  }
  
  .reference-info {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  /* Responsive pour hero v3 */
  .hero-container-v3 {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-images-grid-v3 {
    height: 250px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
  }
  
  .hero-image-top-left {
    grid-column: 1;
    grid-row: 1;
  }
  
  .hero-image-top-right {
    grid-column: 2;
    grid-row: 1;
  }
  
  .hero-image-bottom {
    display: none;
  }
  
  .hero-content-v3 {
    padding-left: 0;
  }
  
  .hero-question-box {
    padding: 1.25rem;
  }
  
  .hero-blue-section {
    padding: 1.25rem;
  }
  
  /* Responsive pour contact modern */
  .contact-modern-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-modern-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-modern-card {
    padding: 2rem 1.5rem;
  }
  
  .contact-buttons-modern {
    flex-direction: column;
  }
  
  .contact-map-container {
    position: static;
    order: -1;
  }
  
  .contact-map-wrapper {
    height: 250px;
  }
  
  /* Responsive pour history v2 */
  .history-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .history-content-v2 {
    padding-left: 0;
  }
  
  .history-image img {
    height: 250px;
  }
}

/* ====== Media Queries spécifiques pour iPhone ====== */
@media only screen and (max-width: 480px) {
  /* Réduction des effets pour très petits écrans */
  .step-item:hover,
  .contact-card:hover,
  .company-image:hover .company-photo {
    transform: none;
  }
  
  /* Amélioration de la lisibilité sur petit écran */
  .steps-section,
  .company-section,
  .team-v2 {
    padding: clamp(32px, 5vw, 48px) 0;
  }
  
  /* Navigation mobile optimisée */
  .nav-menu {
    padding-top: 1rem;
  }
  
  /* Boutons plus faciles à toucher */
  .btn {
    min-height: 48px;
    padding: 12px 20px;
  }
  
  /* Optimisation des titres sur mobile */
  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    line-height: 1.1;
  }
  
  .hero-title::after {
    width: 60px;
    height: 3px;
  }
  
  /* Les témoignages utilisent le style standard */
  
  .section-subtitle {
    padding: 0 1rem;
  }
  
  .section-subtitle::before,
  .section-subtitle::after {
    width: 20px;
  }
}

/* === TEAM V2 (portraits left, copy right, jumbo CTA) === */
.team-v2{ 
  padding: clamp(56px,6vw,88px) 0; 
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
  min-height: auto;
}

.team-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/jigsaw.png') center/contain no-repeat;
  background-size: 300px 300px;
  opacity: 0.5;
  filter: grayscale(100%) brightness(0.3);
  z-index: 0;
  pointer-events: none;
}

.team-v2 .container {
  position: relative;
  z-index: 1;
}
.teamv2-title{ margin-bottom: clamp(20px,2.5vw,28px); }

.teamv2-grid{
  display:grid; gap: clamp(24px,3vw,40px);
  grid-template-columns: 1fr;
  align-items:start;
}
@media (min-width: 1024px){
  .teamv2-grid{ grid-template-columns: 1.05fr .95fr; }
}

/* Responsive design pour l'arrière-plan jigsaw de la section */
@media (max-width: 768px) {
  .team-v2 {
    background-size: 250px 250px;
  }
  
  .team-v2::before {
    background-size: 200px 200px;
    opacity: 0.06;
  }
}

@media (max-width: 480px) {
  .team-v2 {
    background-size: 180px 180px;
  }
  
  .team-v2::before {
    background-size: 150px 150px;
    opacity: 0.04;
  }
}

/* Responsive design pour l'arrière-plan jigsaw des portraits */
@media (max-width: 768px) {
  .teamv2-portraits::before {
    background-size: 80px 80px;
    opacity: 0.08;
  }
}

@media (max-width: 480px) {
  .teamv2-portraits::before {
    background-size: 60px 60px;
    opacity: 0.06;
  }
}

/* Left block: 2×2 portraits */
.teamv2-portraits{
  display:grid; grid-template-columns: 1fr 1fr; gap: clamp(18px,2vw,28px);
  background: transparent;
  backdrop-filter: none;
  border: none; 
  border-radius: 0;
  padding: clamp(14px,2vw,22px);
  box-shadow: none;
  position: relative;
  overflow: visible;
}

.teamv2-portraits::before {
  display: none;
}

.teamv2-portraits > * {
  position: relative;
  z-index: 1;
}
.portrait{ display:flex; flex-direction:column; align-items:center; gap:10px; }
.portrait img{
  width: clamp(120px,12vw,168px); height: clamp(120px,12vw,168px);
  border-radius: 50%; object-fit: cover; display:block;
  border: 2px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.portrait-placeholder {
  width: clamp(120px,12vw,168px); 
  height: clamp(120px,12vw,168px);
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: clamp(2rem, 4vw, 3rem);
  border: 2px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.portrait:hover .portrait-placeholder {
  background: #e2e8f0;
  color: #64748b;
  transform: scale(1.05);
}
.name-tag{
  background: rgba(255, 255, 255, 0.9); border:1px solid #e5e7eb; border-radius:999px;
  padding: 6px 14px; font-weight:600; color:#0f172a; box-shadow: 0 2px 6px rgba(2,6,23,.06);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Right block: copy + CTA avec design moderne */
.teamv2-copy{ 
  padding: clamp(24px,3vw,40px);
  background: linear-gradient(145deg, rgba(255,255,255,0.8) 0%, rgba(248,250,252,0.9) 100%);
  border-radius: 20px;
  border: 1px solid rgba(59,130,246,0.08);
  box-shadow: 0 8px 24px rgba(2,6,23,.06), 0 4px 12px rgba(59,130,246,.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.teamv2-copy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(59,130,246,0.02) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

.teamv2-copy > * {
  position: relative;
  z-index: 1;
}

.teamv2-copy p{
  color: #334155; 
  font-size: clamp(16px,1.2vw,18px); 
  line-height: 1.8; 
  margin: 0 0 20px;
  font-weight: 500;
}

.teamv2-copy .highlight{ 
  color: #3b82f6; 
  font-weight: 700;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.teamv2-copy .highlight.danger{ 
  color: #ef4444; 
  font-weight: 700;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.teamv2-cta{
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  margin-top: clamp(24px,2.8vw,36px);
  min-height: 56px; 
  padding: 1rem 2rem; 
  border-radius: 28px; 
  font-weight: 700; 
  font-size: 1.05rem;
  letter-spacing: 0.025em;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
  color: white;
  text-decoration: none;
  border: none;
  box-shadow: 0 8px 20px rgba(59,130,246,0.3), 0 4px 12px rgba(29,78,216,0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

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

.teamv2-cta:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 50%, #1d4ed8 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(59,130,246,0.4), 0 6px 20px rgba(29,78,216,0.3);
}

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

@media (max-width: 1023px){
  .teamv2-cta{ width: 100%; }
}

/* --- Timeline rail: place it behind cards + align to badge center --- */
:root{
  --step-badge: 44px;        /* badge diameter */
  --step-pad: 1.5rem;        /* header vertical & left padding used in your .step-header */
}

/* the vertical blue line */
.steps-timeline{ position: relative; }
.steps-timeline::before{
  content: "";
  position: absolute;
  /* X = left padding + half badge */
  left: calc(var(--step-pad) + (var(--step-badge) / 2));
  /* Y = top/bottom padding + half badge so it meets the first/last badge centers */
  top: calc(var(--step-pad) + (var(--step-badge) / 2));
  bottom: calc(var(--step-pad) + (var(--step-badge) / 2));
  width: 2px;
  background: #1a365d;
  opacity: .32;
  z-index: 0;                 /* <<< behind everything */
}

/* each card sits above the rail so it hides the line inside the card area */
.step-item{
  position: relative;
  z-index: 1;                 /* <<< above the rail */
  margin-bottom: 1.25rem;     /* keep a gap so the rail shows between cards */
  background: #fff;           /* ensure it masks the rail */
}
.step-item:last-child{ margin-bottom: 0; }

/* badge stays above the card so the circle isn't clipped */
.step-badge{
  position: relative;
  z-index: 2;
  width: var(--step-badge);
  height: var(--step-badge);
}

/* optional: keep the chevron rotation you had */
.step-item.is-open .step-chevron{ transform: rotate(180deg); }

/* ==================== HERO — match the mockup ==================== */

/* Removed conflicting styles - using new layout */

/* Titre plus compact, retours nets */
.hero-title{
  max-width: 20ch !important;
  line-height: 1.08 !important;
  letter-spacing: -0.2px;
  margin-bottom: 10px !important;
}

/* Sous-ligne comme la maquette */
.hero-subtitle{
  color:#1f2937 !important;           /* un peu plus foncé */
  font-weight: 600 !important;        /* semi-gras */
  margin-bottom: 16px !important;
}

/* ===== Pills: fond lavande plein + carré icône foncé ===== */
:root{
  --pill-bg: #8fa8fb;                 /* lavande clair */
  --pill-bg-hover: #8099f6;
  --pill-icon-bg: #2f57b7;            /* bleu foncé intérieur */
  --pill-icon-shadow: 0 6px 14px rgba(47,87,183,.28);
}

.services-grid{
  grid-template-columns: 1fr 1fr !important;  /* 2×2 */
  gap: 18px !important;
  max-width: 520px !important;
  margin: 18px 0 14px !important;
}

@media (max-width:640px){
  .services-grid{ grid-template-columns: 1fr !important; }
}

.service-card{
  background: var(--pill-bg) !important;
  border: none !important;
  border-radius: 18px !important;
  min-height: 120px !important;
  padding: 18px !important;
  box-shadow: 0 8px 22px rgba(17,24,39,.08) !important;
  color:#0b1630 !important;
}
.service-card:hover{ background: var(--pill-bg-hover) !important; }

.service-icon{
  width: 56px !important;
  height: 56px !important;
  border-radius: 14px !important;
  background: var(--pill-icon-bg) !important;
  display:grid !important; place-items:center !important;
  margin: 0 0 12px !important;
  box-shadow: var(--pill-icon-shadow) !important;
}
.service-icon i, .service-icon svg{ color:#fff !important; font-size: 1.35rem; }
.service-card h3{
  color:#0b1630 !important;
  font-weight: 700 !important;
  font-size: 1.02rem !important;
  text-align:left !important;
}

/* ===== Bloc étoiles compact noir + texte gris ===== */
.rating{ gap:6px !important; }
.rating .stars{ color:#111827 !important; font-size:1rem !important; }
.rating-text{ color:#6b7280 !important; font-weight:500; }

/* ===== CTA primaire comme sur la maquette ===== */
.hero-cta{ margin-top: 14px !important; }
.hero-cta .btn{
  border-radius: 14px !important;
  min-height: 52px !important;
  padding: 0 28px !important;
  font-weight: 800 !important;
}

/* Removed conflicting image styles - using new layout */

/* ===== HERO PILLS — EXACT MOCKUP ===== */
:root{
  --pill-w: 360px;           /* largeur carte desktop */
  --pill-h: 118px;           /* hauteur carte desktop */
  --pill-r: 22px;            /* arrondi de la carte */
  --pill-bg1: #8fa8fb;       /* lavande clair */
  --pill-bg2: #8fa8fb;       /* (même teinte pour un aplat stable) */
  --pill-icon: #2f57b7;      /* bleu foncé de la case icône */
}

.services-grid{
  /* grille 2x2, cartes fixes comme la maquette */
  display:grid !important;
  grid-template-columns: repeat(2, var(--pill-w)) !important;
  gap: 18px 22px !important;
  align-content:start !important;
  justify-content:start !important;
  margin: 18px 0 14px !important;
}

@media (max-width: 1023px){
  .services-grid{ grid-template-columns: 1fr 1fr !important; }
  .service-card{ width: 100% !important; }
}
@media (max-width: 640px){
  .services-grid{ grid-template-columns: 1fr !important; }
}

/* carte horizontale (plus carrée) */
.service-card{
  width: var(--pill-w) !important;
  height: var(--pill-h) !important;
  background: linear-gradient(180deg, var(--pill-bg1), var(--pill-bg2)) !important;
  border: none !important;
  border-radius: var(--pill-r) !important;
  box-shadow: 0 10px 24px rgba(17,24,39,.10) !important;

  /* clé : layout en ligne */
  display:flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 16px !important;
  padding: 18px 22px !important;
  text-align: left !important;
}

/* case icône à gauche */
.service-icon{
  width: 56px !important;
  height: 56px !important;
  border-radius: 14px !important;
  background: var(--pill-icon) !important;
  display:grid !important;
  place-items:center !important;
  margin: 0 !important;
  flex: 0 0 56px !important;
  box-shadow: 0 6px 14px rgba(47,87,183,.28) !important;
}
.service-icon i,
.service-icon svg{
  color:#fff !important;
  font-size: 1.35rem !important;
}

/* libellé à droite de l'icône */
.service-card h3{
  margin: 0 !important;
  font-weight: 700 !important;
  font-size: 1.02rem !important;
  color:#0b1630 !important;
  line-height: 1.2 !important;
}

/* désactive les anciens styles en colonne */
.service-card > * { text-align: left !important; }

/* ===== LOGO HEADER ===== */
.nav-logo-img {
  max-height: 75px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.2s ease;
  padding: 0.25rem;
}

.nav-logo-img:hover {
  opacity: 0.8;
}

/* Ajustements responsive pour le logo */
/* Hero responsive improvements */
@media (max-width: 1023px) {
  .hero-container {
    gap: 30px;
  }
  
  .hero-image {
    /* order: -1; --- NEUTRALISÉ - causait des conflits */
    order: 0;
    min-height: 300px;
    min-width: 280px;
  }
  
  .hero-content {
    padding: 1rem 0;
  }
}

@media (max-width: 768px) {
  .nav-logo-img {
    max-height: 50px;
  }
  
  .hero-section {
    padding: 40px 0;
  }
  
  .hero-container {
    padding: 0 1.5rem;
    gap: 24px;
  }
  
  .hero-image {
    min-height: 250px;
    min-width: 100%;
  }
}

/* CONFLICTING HERO STYLES REMOVED - USING CLEAN ABSOLUTE POSITIONING */

/* 
=== BLOC DÉSACTIVÉ : HERO — placement absolu (causait des conflits) ===
Remplacé par l'approche grid simple en bas du fichier

:root{
  --hero-abs-w: 520px;
  --hero-abs-h: 420px;
  --hero-abs-right: 48px;
  --hero-abs-top: 0px;
}

@media (min-width: 1200px){
  .hero-section{
    overflow: visible;
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .hero-container{
    position: relative !important;
    display: block !important;
    padding-right: calc(var(--hero-abs-w) + 72px) !important;
    min-height: calc(var(--hero-abs-h) + var(--hero-abs-top) + 24px) !important;
  }

  .hero-content{
    max-width: 720px !important;
    z-index: 1 !important;
  }

  .hero-image{
    position: absolute !important;
    right: var(--hero-abs-right) !important;
    top: var(--hero-abs-top) !important;
    width: var(--hero-abs-w) !important;
    height: var(--hero-abs-h) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 18px 38px rgba(0,0,0,.18) !important;
    margin: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    order: 0 !important;
    transform: none !important;
    inset: auto !important;
    z-index: 0 !important;
  }

  .hero-photo{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 50% 50% !important;
  }
}

@media (max-width: 1199px){
  .hero-container{ padding-right: 0 !important; display: grid !important; gap: 24px; }
  .hero-image{
    position: relative !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    height: 380px !important;
  }
}
*/

/* Logo navbar */
.nav-logo-img{ height: 64px !important; width: auto !important; object-fit: contain !important; }
@media (max-width: 768px){
  .nav-logo-img{ height: 50px !important; }
}

/* === HERO FIX — image en haut à droite, comme la maquette === */
@media (min-width: 1024px){
  .hero-container{
    display: grid !important;
    grid-template-columns: minmax(560px,1fr) 520px !important; /* texte / image */
    column-gap: 36px !important;
    align-items: start !important; /* aligne en haut */
    padding-right: 0 !important;   /* on ne réserve plus de place via padding */
    position: relative !important;
    min-height: unset !important;
  }

  .hero-image{
    position: static !important;   /* plus d'absolu */
    width: 400px !important;
    height: 320px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    justify-self: end !important;  /* plaque à droite */
    align-self: start !important;  /* en haut */
    box-shadow: 0 18px 38px rgba(0,0,0,.18) !important;
    border-radius: 14px !important;
    z-index: 0 !important;
    order: 0 !important;           /* neutralise tout order:-1 */
  }

  .hero-photo{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 50% 50% !important;
    border-radius: 0 !important;
    transform: none !important;
  }
}

/* Mobile/tablette : image sous le texte, pleine largeur */
@media (max-width: 1023px){
  .hero-container{
    display: grid !important;
    grid-template-columns: 1fr !important;
    row-gap: 24px !important;
  }
  .hero-image{
    position: relative !important;
    width: 100% !important;
    height: 380px !important;
    order: 1 !important; /* après le texte */
  }
}

/* === HERO — image à droite, isolée, sans chevauchement === */
@media (min-width: 1024px){
  .hero-container{
    display: grid !important;
    grid-template-columns: minmax(560px, 1fr) 520px !important; /* texte | image */
    column-gap: 48px !important;  /* espace entre texte et image */
    align-items: start !important;
    padding-right: 0 !important;
    min-height: unset !important;
    position: static !important;
  }

  .hero-content{
    max-width: 700px !important;
    z-index: 1 !important;
  }

  .hero-image{
    position: static !important;      /* fini l'absolu */
    justify-self: center !important;     /* plaque au centre */
    align-self: center !important;     /* centré verticalement */
    width: 400px !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    margin: 8px 12px 0 12px !important;  /* petit air autour, centré, bien remonté */
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 18px 38px rgba(0,0,0,.18) !important;

    /* neutralise d'anciennes règles parasites */
    min-width: 0 !important;
    min-height: 0 !important;
    order: 0 !important;
    inset: auto !important;
    transform: none !important;
    z-index: 0 !important;
  }

  .hero-photo{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 50% 50% !important;
    border-radius: 0 !important;
    transform: none !important;
  }

  /* garde les "pills" bien dans la colonne texte */
  .services-grid{ max-width: 520px !important; }
}

/* Mobile/tablette : image sous le texte, pleine largeur */
@media (max-width: 1023px){
  .hero-container{
    display: grid !important;
    grid-template-columns: 1fr !important;
    row-gap: 24px !important;
    padding-right: 0 !important;
  }
  .hero-image{
    position: relative !important;
    width: 100% !important;
    height: 380px !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    order: 1 !important;
    justify-self: stretch !important;
  }
}

/* === HERO: layout comme la capture === */
@media (min-width:1024px){
  .hero-container{
    display:grid !important;
    grid-template-columns: minmax(560px,1fr) 420px !important; /* texte | image */
    column-gap: 32px !important; /* espacement proche du screen */
    align-items:start !important;
  }

  .hero-content{
    max-width: 720px !important;
  }

  /* Image: colonne droite, plus haute (3/4), bords ronds, ombre douce */
  .hero-image{
    position: static !important;
    justify-self: center !important;
    align-self: center !important;
    width: 350px !important;
    aspect-ratio: 3 / 4 !important;   /* plus haut que large, comme ta capture */
    height: auto !important;
    margin: 0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 16px 36px rgba(0,0,0,.16) !important;

    min-width: 0 !important; min-height: 0 !important; order: 0 !important;
    inset: auto !important; transform:none !important; z-index:0 !important;
  }
  .hero-photo{
    width:100% !important; height:100% !important;
    object-fit:cover !important; object-position:center !important;
    border-radius:18px !important;
  }

  /* Titre + sous-titre comme sur le screen */
  .hero-title{
    max-width: 20ch !important;
    line-height: 1.08 !important;
    letter-spacing:-.2px;
    margin-bottom: 12px !important;
  }
  .hero-subtitle{
    color:#1f2937 !important;
    font-weight:600 !important;
    margin-bottom: 14px !important;
  }

  /* Pills: 2×2 égales, largeur contrôlée, ne pousse pas l'image */
  .services-grid{
    max-width: 560px !important;                 /* largeur bloc pills */
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
  }
  .service-card{
    min-height: 92px !important;                 /* proportion proche du screen */
    border-radius: 16px !important;
  }

  /* Rating + CTA comme sur le screen */
  .rating{ margin-top: 8px !important; }
  .hero-cta .btn{
    width: 420px !important;                     /* largeur du gros bouton */
    border-radius: 14px !important;
    min-height: 56px !important;
    font-weight: 800 !important;
  }
}

/* Mobile / tablette: image sous le texte, pleine largeur */
@media (max-width:1023px){
  .hero-container{
    display:grid !important;
    grid-template-columns: 1fr !important;
    row-gap: 24px !important;
  }
  .hero-image{
    width:100% !important;
    height: 380px !important; aspect-ratio:auto !important;
    justify-self: stretch !important;
    border-radius:18px !important; overflow:hidden !important;
  }
  .hero-cta .btn{ width:100% !important; }
}

/* ===== AJUSTEMENT IMAGE HERO - DÉCALAGE VERS LA DROITE ===== */
@media (min-width: 1024px) {
  .hero-image {
    margin-right: -10px !important;
    transform: translateX(10px) !important;
  }
}

/* ===== STYLES POUR LES PAGES INTERNES ===== */
/* Page Header — style unifié avec l'accueil */
.page-header {
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 50%, #ffffff 100%);
  padding: 6rem 0 3.5rem;
  border-bottom: none;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-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 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(59,130,246,0.12)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>') repeat;
  opacity: 0.7;
  pointer-events: none;
}

.page-title {
  font-size: clamp(2rem, 4vw, 2.875rem);
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  letter-spacing: -0.025em;
}

.page-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  border-radius: 2px;
  margin: 0.875rem auto 1rem;
  transition: width 0.3s ease;
}

.page-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  line-height: 1.6;
  font-weight: 500;
}

/* Hero Services */
.hero-services {
  padding: 2rem 0;
  background: white;
}

.hero-services-image {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* Main Content */
.main-content {
  padding: var(--section-padding) 0;
  background: white;
}

/* Services Grid (pour pages internes) */
.main-content .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.main-content .service-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--card-radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.main-content .service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.12);
}

.main-content .service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.main-content .service-card p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text-light);
}

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

.service-features li::before {
  content: "✓";
  color: var(--brand-blue);
  font-weight: bold;
  margin-right: 0.5rem;
}

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

.contact-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--card-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.12);
}

.contact-card i {
  font-size: 2rem;
  color: var(--brand-blue);
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--text-light);
  margin: 0;
}

/* Services Page Specific Styles */
.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text-light);
  line-height: 1.5;
  position: relative;
  padding-left: 1.5rem;
}

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

.service-list li::before {
  content: "•";
  color: var(--brand-blue);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0.75rem;
}

/* Contact CTA Section */
.contact-cta {
  background: white;
  padding: 3rem 0;
  margin-top: 3rem;
  border-top: 1px solid var(--border-light);
}

/* ===== CARTE CONTACT AVEC MAPS - STYLE UNIFIÉ ===== */
.contact-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(2,6,23,.08);
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  transition: all 0.3s ease;
}

/* Animation hover sur la carte */
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(2,6,23,.12);
}

/* Desktop : 2 colonnes */
@media (min-width: 768px) {
  .contact-card {
    grid-template-columns: 1fr 1fr;
  }
}

/* Section informations contact */
.contact-info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

/* Header avec logo + titre */
.contact-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(59,130,246,0.02) 0%, rgba(37,90,155,0.01) 100%);
  border-radius: 16px;
  border: 1px solid rgba(59,130,246,0.08);
  transition: all 0.3s ease;
}

.contact-header:hover {
  background: linear-gradient(135deg, rgba(59,130,246,0.04) 0%, rgba(37,90,155,0.02) 100%);
  border-color: rgba(59,130,246,0.12);
  transform: translateY(-1px);
}

.contact-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(59,130,246,0.15);
  transition: all 0.3s ease;
}

.contact-header:hover .contact-logo {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(59,130,246,0.2);
}

.contact-header h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  font-family: 'Poppins', sans-serif !important;
  letter-spacing: -0.025em;
}

/* Détails de contact */
.contact-details {
  font-style: normal;
  line-height: 1.7;
  color: #475569;
}

.contact-details p {
  font-size: 1.0625rem;
  margin: 0 0 1.25rem 0;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 500;
}

.contact-phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.125rem;
  background: linear-gradient(135deg, rgba(59,130,246,0.05) 0%, rgba(29,78,216,0.03) 100%);
  border-radius: 12px;
  border: 1px solid rgba(59,130,246,0.1);
  transition: all 0.3s ease;
}

.contact-phone:hover {
  background: linear-gradient(135deg, rgba(59,130,246,0.08) 0%, rgba(29,78,216,0.05) 100%);
  border-color: rgba(59,130,246,0.15);
  transform: translateY(-1px);
}

.phone-icon {
  font-size: 1.125rem;
  color: #3b82f6;
}

.contact-phone a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  font-family: 'Poppins', sans-serif !important;
  transition: all 0.3s ease;
}

.contact-phone a:hover {
  color: #1d4ed8;
}

/* Boutons d'action */
.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-actions .btn {
  position: relative;
  padding: 0.875rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: 'Poppins', sans-serif !important;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  border: 2px solid transparent;
}

.contact-actions .btn::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.5s ease;
}

.contact-actions .btn:hover::before {
  left: 100%;
}

.contact-actions .btn-secondary {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  color: #475569;
  border-color: #cbd5e1;
}

.contact-actions .btn-secondary:hover {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  color: #334155;
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(71,85,105,0.15);
}

.contact-actions .btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
  color: white;
  border-color: #2563eb;
}

.contact-actions .btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 50%, #1e3a8a 100%);
  border-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59,130,246,0.3);
}

/* Section carte Maps */
.contact-map {
  position: relative;
  min-height: 300px;
  background: #e2e8f0;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}

/* Mobile : espacement ajusté */
@media (max-width: 767px) {
  .contact-info {
    padding: 2rem 1.5rem;
  }
  
  .contact-card {
    margin: 0 1rem;
    border-radius: 16px;
  }
  
  .contact-map {
    border-radius: 0 0 16px 16px;
  }
  
  .contact-actions {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* Desktop : ajustements */
@media (min-width: 768px) {
  .contact-map {
    border-radius: 0 20px 20px 0;
  }
}

.contact-cta__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contact-cta .btn {
  background: var(--brand-blue);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--btn-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.contact-cta .btn:hover {
  background: var(--brand-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(31, 111, 235, 0.3);
}

.contact-cta__address {
  color: var(--text-dark);
  line-height: 1.6;
}

.contact-cta__address strong {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  display: block;
}

.contact-cta__address a {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
}

.contact-cta__address a:hover {
  text-decoration: underline;
}

/* Responsive adjustments for pages */
@media (max-width: 768px) {
  .page-header {
    padding: 5rem 0 2.5rem;
  }
  
  .page-title, .hero-title {
    font-size: 2rem;
  }
  
  .page-subtitle {
    font-size: 1.1rem;
  }
  
  .main-content .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-cta__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  
  .service-title {
    font-size: 1.25rem;
  }
}

/* ===== AMÉLIORATION DES ICÔNES FONT AWESOME ===== */
/* S'assurer que toutes les icônes s'affichent correctement */
.fas, .fab, .far, .fal, .fad {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
  font-weight: 900;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

/* Icônes dans les cartes de service */
.service-icon i {
  font-size: 1.5rem !important;
  color: white !important;
  line-height: 1 !important;
}

/* Icônes dans les boutons */
.btn i {
  font-size: 1rem !important;
  margin-left: 8px !important;
}

/* Icônes des chevrons */
.step-chevron {
  font-size: 1rem !important;
  transition: transform 0.2s ease !important;
}

/* Étoiles */
.stars i {
  color: #ffd700 !important;
  font-size: 1rem !important;
}

/* ===== COULEUR HÉRO TITRE ET SOUS-TITRE ===== */
.hero-title {
  color: #2b3977 !important;
}

.hero-subtitle {
  color: #2b3977 !important;
}

/* ===== COULEUR SECTION ENTREPRISE ===== */
.company-section .section-title {
  color: #2b3977 !important;
}

.company-text p {
  color: #2b3977 !important;
}

.company-photo {
  color: #2b3977 !important;
}

/* ===== FOOTER COULEURS FONCÉES ===== */
/* Texte du footer plus foncé */
.footer {
  color: white !important;
}

.footer p {
  color: white !important;
}

/* Icônes réseaux sociaux plus foncées */
.social-links a i {
  font-size: 1.25rem !important;
  color: #1f2937 !important;
  transition: color 0.2s ease !important;
}

.social-links a:hover i {
  color: #2b3977 !important;
}

/* Assurer l'affichage des icônes brands */
.fab {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

/* ===== SVG X/TWITTER PERSONNALISÉ ===== */
.socialContainer {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.socialSvg {
  width: 1.25rem !important;
  height: 1.25rem !important;
  fill: #1f2937 !important;
  transition: fill 0.2s ease !important;
}

.socialContainer:hover .socialSvg {
  fill: #2b3977 !important;
}

/* ===== FORCER COULEUR FOOTER COMPLÈTEMENT ===== */
/* S'assurer que tout le contenu du footer est blanc */
.footer * {
  color: white !important;
}

.footer .container p {
  color: white !important;
  font-weight: 500 !important;
}

/* ===== COULEURS SPÉCIFIQUES DES RÉSEAUX SOCIAUX ===== */
/* Instagram - dégradé rose/orange */
.footer a[aria-label*="Instagram"] i {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
}

/* X/Twitter - noir */
.footer .socialContainer[aria-label*="X/Twitter"] .socialSvg {
  fill: #000000 !important;
}

.footer .socialContainer[aria-label*="X/Twitter"]:hover .socialSvg {
  fill: #1da1f2 !important;
}

/* LinkedIn - bleu officiel */
.footer a[aria-label*="LinkedIn"] i {
  color: #0077b5 !important;
}

.footer a[aria-label*="LinkedIn"]:hover i {
  color: #005885 !important;
}

/* Email - couleur mail classique */
.footer a[aria-label*="Email"] i {
  color: #ea4335 !important;
}

.footer a[aria-label*="Email"]:hover i {
  color: #d93025 !important;
}

/* Services page – minimal safe layout */
.hero { padding: 3rem 0 2rem; text-align: center; }
.hero-title { margin-bottom: 1rem; }

.services-section { padding: 2rem 0; }

/* Services cards with images */
.service-card { 
  overflow: hidden;
  background: #f7f9ff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  padding: 1.25rem;
}
.service-figure {
  aspect-ratio: 16 / 9;
  width: 100%;
  margin: 0 0 .75rem 0;
  border-radius: 12px;
  overflow: hidden;
  background: #eef2ff; /* fallback */
  display: block;
}
.service-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* remplissage propre */
  display: block;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}

.contact-cta {
  background: #f5f7fa;
  padding: 2rem 0;
  margin-top: 2rem;
}
.contact-cta__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,1); white-space: nowrap; border: 0; }

/* ===== SCOPE: Services page only ===== */
.services-page .services-section,
.services-page .services-grid,
.services-page .service-card,
.services-page .service-card * {
  box-sizing: border-box;
}

/* Grille responsive propre (1 col mobile, 2 cols desktop) */
.services-page .services-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1.25rem !important;
  max-width: none !important;
  margin: 2rem 0 !important;
  justify-content: initial !important;   /* neutralise les justifications "pills" */
  align-content: initial !important;
}
@media (min-width: 768px) {
  .services-page .services-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Cartes: retour au layout en colonne (image > titre > liste) */
.services-page .service-card {
  position: static !important;
  display: block !important;            /* annule le row des "pills" */
  width: auto !important;               /* annule --pill-w */
  height: auto !important;              /* annule --pill-h */
  min-height: 0 !important;
  margin: 0 !important;
  float: none !important;
  transform: none !important;
  background: #f7f9ff !important;       /* ton style services */
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  box-shadow: 0 6px 16px rgba(0,0,0,.08) !important;
  padding: 1.25rem !important;
}

/* Figure image responsive */
.services-page .service-figure {
  width: 100% !important;
  margin: 0 0 .75rem 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  aspect-ratio: 16/9 !important;
  background: #eef2ff !important;
}
.services-page .service-figure img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Titres/listes propres */
.services-page .service-card h3 {
  margin: .25rem 0 .5rem !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  color: var(--text-dark) !important;
  text-align: left !important;
}
.services-page .service-card ul {
  list-style: disc inside !important;
  margin: 0 !important;
  padding-left: 1rem !important;
  columns: 1 !important;                /* au cas où des colonnes globales existent */
  -webkit-columns: 1 !important;
  -moz-columns: 1 !important;
  column-gap: normal !important;
}
.services-page .service-card li {
  margin: .25rem 0 !important;
  break-inside: avoid !important;
  float: none !important;
  position: static !important;
}

/* CTA contact propre en bas */
.services-page .contact-cta {
  background: #f5f7fa !important;
  padding: 2rem 0 !important;
  margin-top: 2rem !important;
}
.services-page .contact-cta__inner {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
}

/* ===== Page Services — HERO + Sections ===== */
.services-page .svc-hero { 
  padding: 28px 0 18px; 
  background: #fff; 
}

/* Conteneur gradient arrondi - plus grand verticalement */
.services-page .svc-hero__wrap{
  background: linear-gradient(135deg, #8B5CF6 0%, #06B6D4 100%);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
  margin: 0 20px;
  min-height: 420px;
  position: relative;
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease-out;
}

.services-page .svc-hero__wrap:hover{
  transform: translateY(-2px);
  box-shadow: 0 25px 50px rgba(139, 92, 246, 0.2);
}

/* Animation d'entrée */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Zone interne du hero - plus grande et mieux organisée */
.services-page .svc-hero__inner{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  min-height: 420px;
  padding: 40px;
}

/* Logo CEGRI repositionné pour la version agrandie */
.services-page .svc-hero__logo{
  position: absolute;
  top: 30px;
  left: 30px;
  width: 64px;
  height: 64px;
  background: #2D3748;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  animation: slideInLeft 0.6s ease-out 0.2s both;
}

.services-page .svc-hero__logo:hover{
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

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

.services-page .svc-hero__logo-img{
  width: 120%;
  height: 120%;
  object-fit: cover;
  /* Logo recouvre entièrement le cercle */
}

/* Carte sombre semi-transparente plus moderne */
.services-page .svc-hero__card{
  position: relative;
  background: rgba(45, 55, 72, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  margin: 0;
  max-width: 420px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 5;
  height: fit-content;
  align-self: center;
  transition: all 0.3s ease;
  animation: slideInRight 0.8s ease-out 0.3s both;
}

.services-page .svc-hero__card:hover{
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  background: rgba(45, 55, 72, 0.95);
  border-color: rgba(255, 255, 255, 0.2);
}

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

/* Titre plus grand pour la version agrandie */
.services-page .svc-hero__title{
  margin: 0 0 24px;
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  color: #fff;
}

/* Bouton CTA plus grand pour la version agrandie */
.services-page .svc-hero__cta{
  background: #fff; 
  color: #2D3748; 
  border: 0;
  border-radius: 8px; 
  font-weight: 600;
  font-size: 13px;
  padding: 14px 24px; 
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.services-page .svc-hero__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.5s;
}

.services-page .svc-hero__cta:hover{
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  background: #f8fafc;
}

.services-page .svc-hero__cta:hover::before{
  left: 100%;
}

.services-page .svc-hero__cta:active{
  transform: translateY(0) scale(0.98);
}

/* Image à droite plus grande et mieux proportionnée */
.services-page .svc-hero__media{
  position: relative;
  margin: 0;
  width: auto;
  height: 320px;
  border-radius: 100px 100px 100px 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  background: #fff;
  transition: all 0.4s ease;
  animation: zoomIn 0.8s ease-out 0.5s both;
}

.services-page .svc-hero__media:hover{
  transform: scale(1.02) rotate(1deg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.services-page .svc-hero__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* ===== AMÉLIORATIONS ACCESSIBILITÉ ===== */

/* Focus states pour l'accessibilité */
.services-page .svc-hero__logo:focus,
.services-page .svc-hero__pill:focus,
.services-page .svc-hero__cta:focus {
  outline: 3px solid #06B6D4;
  outline-offset: 2px;
}

/* Effets au focus pour les pastilles */
.services-page .svc-hero__pill:focus {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Réduction du mouvement pour les utilisateurs qui le préfèrent */
@media (prefers-reduced-motion: reduce) {
  .services-page .svc-hero__wrap,
  .services-page .svc-hero__logo,
  .services-page .svc-hero__card,
  .services-page .svc-hero__media,
  .services-page .svc-hero__pill {
    animation: none;
    transition: none;
  }
  
  .services-page .svc-hero__wrap:hover,
  .services-page .svc-hero__logo:hover,
  .services-page .svc-hero__card:hover,
  .services-page .svc-hero__media:hover,
  .services-page .svc-hero__pill:hover,
  .services-page .svc-hero__cta:hover {
    transform: none;
  }
}

/* ===== MICRO-INTERACTIONS AVANCÉES ===== */

/* Effet de pulsation subtile sur le conteneur */
.services-page .svc-hero__wrap::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #8B5CF6, #06B6D4, #8B5CF6);
  border-radius: 26px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.services-page .svc-hero__wrap:hover::before {
  opacity: 0.5;
  animation: borderGlow 2s ease-in-out infinite;
}

@keyframes borderGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

/* Pastilles bien visibles avec design amélioré */
.services-page .svc-hero__pill{
  position: absolute; 
  z-index: 10;
  background: rgba(255, 255, 255, 0.95); 
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #2D3748;
  border-radius: 25px; 
  padding: 10px 18px;
  font-weight: 700; 
  font-size: 12px; 
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
  transition: all 0.3s ease;
  cursor: pointer;
  opacity: 0;
  animation: fadeInScale 0.6s ease-out forwards;
}

.services-page .svc-hero__pill:hover{
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 1);
  border-color: rgba(255, 255, 255, 0.4);
}

.services-page .svc-hero__pill:active{
  transform: translateY(-1px) scale(1.02);
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Délais d'animation différents pour chaque pastille */
.services-page .pill--cf { animation-delay: 0.4s; }
.services-page .pill--mtn { animation-delay: 0.6s; }
.services-page .pill--irve { animation-delay: 0.8s; }
.services-page .pill--cfb { animation-delay: 1s; }

/* Positions desktop - pastilles de gauche encore plus rapprochées */
@media (min-width: 1024px){
  .services-page .pill--cf  { top: 50px; left: 350px; }
  .services-page .pill--mtn { top: 50px; right: 50px; }
  .services-page .pill--irve{ bottom: 50px; left: 220px; }
  .services-page .pill--cfb { bottom: 50px; right: 180px; }
}

/* Mobile/tablette responsive - version agrandie */
@media (max-width: 1023px){
  .services-page .svc-hero__wrap{
    margin: 0 10px;
    min-height: 480px;
  }
  .services-page .svc-hero__inner{ 
    grid-template-columns: 1fr; 
    gap: 24px; 
    min-height: 480px; 
    padding: 24px;
  }
  .services-page .svc-hero__card{ 
    order: 1; 
    margin: 0;
    max-width: 100%;
  }
  .services-page .svc-hero__media{ 
    order: 2; 
    margin: 0;
    height: 280px; 
  }
  .services-page .svc-hero__pill{ 
    position: static; 
    display: inline-block; 
    margin: 8px 12px 8px 0; 
  }
  .services-page .svc-hero__logo{
    top: 20px;
    left: 20px;
    width: 56px;
    height: 56px;
    padding: 0;
    overflow: hidden;
  }
  .services-page .svc-hero__logo-img{
    width: 120%;
    height: 120%;
  }
}

/* ===== ICÔNES DE PROFIL TEMPORAIRES ===== */

/* Icônes grises élégantes pour remplacer les photos en attendant */
.placeholder-icon {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.placeholder-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.placeholder-icon:hover::before {
  transform: translateX(100%);
}

.placeholder-icon i {
  font-size: 2.5rem;
  color: #94a3b8;
  transition: all 0.3s ease;
  z-index: 1;
}

.placeholder-icon:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(148, 163, 184, 0.2);
  border-color: #94a3b8;
}

.placeholder-icon:hover i {
  color: #64748b;
  transform: scale(1.1);
}

/* Responsive pour les icônes */
@media (max-width: 768px) {
  .placeholder-icon i {
    font-size: 2rem;
  }
}

/* Screen reader only class */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Sections : image gauche / carte droite ===== */
.services-page .services-section{ padding: 2rem 0; display:grid; gap:2rem; }

/* Ligne de service : égalisation automatique des hauteurs */
.services-page .service-row{
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto; /* mobile : image au-dessus, carte en-dessous */
  gap: 1.25rem;
  align-items: stretch; /* force les éléments à prendre toute la hauteur disponible */
}

@media (min-width: 900px){
  .services-page .service-row{
    grid-template-columns: 1fr 1fr; /* desktop : 2 colonnes égales */
    grid-template-rows: 1fr; /* 1 ligne avec hauteur flexible */
    align-items: stretch; /* égalise automatiquement la hauteur */
  }
}

/* Image : ratio fixe avec height flexible */
.services-page .service-media{
  border-radius: 16px;
  overflow: hidden;
  background: #eef2ff;
  box-shadow: 0 8px 20px rgba(2,6,23,.08);
  display: flex; /* pour que l'image remplisse tout l'espace */
  min-height: 280px; /* hauteur minimale cohérente */
}

.services-page .service-media img{
  width: 100%;
  height: 100%;
  object-fit: cover; /* maintient le ratio tout en remplissant */
  display: block;
}

/* Carte blanche : s'adapte à la hauteur de l'image */
.services-page .service-content.card{
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(2,6,23,.10);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* contenu aligné en haut */
  min-height: 280px; /* même hauteur minimale que l'image */
}

.services-page .service-content h3{
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #1f2a44;
  flex-shrink: 0; /* titre ne rétrécit pas */
}

.services-page .service-bullets{
  margin: 0;
  padding-left: 1.1rem;
  flex-grow: 1; /* la liste prend l'espace restant */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.services-page .service-bullets li{
  margin: .4rem 0;
  line-height: 1.5;
}

/* Espacement entre les sections */
.services-page .service-row + .service-row{ margin-top: .5rem; }

/* ===== Carte Contact avec Maps ===== */
.services-page .contact-cta{
  background: white;
  padding: 3rem 0;
  margin-top: 2rem;
}

.services-page .contact-card{
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(2,6,23,.08);
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  transition: all 0.3s ease;
}

/* ✨ Animation hover sur la carte - plus subtile */
.services-page .contact-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(2,6,23,.12);
}

/* Desktop : 2 colonnes */
@media (min-width: 768px){
  .services-page .contact-card{
    grid-template-columns: 1fr 1fr;
  }
}

/* Section informations contact */
.services-page .contact-info{
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

/* Header avec logo + titre */
.services-page .contact-header{
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(59,130,246,0.02) 0%, rgba(37,90,155,0.01) 100%);
  border-radius: 16px;
  border: 1px solid rgba(59,130,246,0.08);
  transition: all 0.3s ease;
}

.services-page .contact-header:hover {
  background: linear-gradient(135deg, rgba(59,130,246,0.05) 0%, rgba(37,90,155,0.02) 100%);
  border-color: rgba(59,130,246,0.15);
  transform: translateY(-1px);
}

/* ✅ Logo 64px - taille premium avec design moderne */
.services-page .contact-logo{
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
  padding: 10px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(2,6,23,.1), 0 4px 12px rgba(59,130,246,.08);
  border: 1px solid rgba(255,255,255,0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.services-page .contact-logo::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.services-page .contact-header:hover .contact-logo {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 12px 32px rgba(2,6,23,.15), 0 6px 20px rgba(59,130,246,.12);
}

.services-page .contact-header:hover .contact-logo::before {
  opacity: 1;
}

.services-page .contact-header h3{
  font-size: 1.875rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
  background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.025em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: relative;
}

.services-page .contact-header h3::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.services-page .contact-header:hover h3::after {
  width: 60px;
}

/* Détails adresse */
.services-page .contact-details{
  font-style: normal;
  color: #475569;
  line-height: 1.7;
  background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  position: relative;
  transition: all 0.3s ease;
}

.services-page .contact-details::before {
  content: '📍';
  position: absolute;
  top: -8px;
  left: 1rem;
  background: white;
  padding: 0.5rem;
  border-radius: 8px;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.services-page .contact-details:hover {
  background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.services-page .contact-details p{
  margin: 0.5rem 0 1.25rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: #334155;
  line-height: 1.6;
}

/* 📞 Téléphone avec icône moderne */
.services-page .contact-phone{
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.05) 0%, rgba(29,78,216,0.02) 100%);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(59,130,246,0.1);
  transition: all 0.3s ease;
}

.services-page .contact-phone:hover {
  background: linear-gradient(135deg, rgba(59,130,246,0.08) 0%, rgba(29,78,216,0.04) 100%);
  transform: translateX(2px);
  border-color: rgba(59,130,246,0.2);
}

.services-page .phone-icon{
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.services-page .phone-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(-45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.services-page .contact-phone:hover .phone-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.services-page .contact-phone:hover .phone-icon::before {
  opacity: 1;
  animation: shimmer-phone 1s ease-in-out;
}

@keyframes shimmer-phone {
  0% { transform: translateX(-100%) translateY(-100%) rotate(-45deg); }
  50% { transform: translateX(0%) translateY(0%) rotate(-45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(-45deg); }
}

.services-page .contact-phone a{
  color: #3b82f6;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  position: relative;
}

.services-page .contact-phone a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  transition: width 0.3s ease;
}

.services-page .contact-phone a:hover{
  color: #1d4ed8;
}

.services-page .contact-phone a:hover::after {
  width: 100%;
}

/* 🟦 Boutons côte à côte avec dégradés modernes */
.services-page .contact-actions{
  display: flex;
  gap: 1.25rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.services-page .contact-btn{
  flex: 1;
  min-width: 150px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.025em;
}

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

.services-page .contact-btn:hover{
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.services-page .contact-btn:hover::before {
  left: 100%;
}

/* ✅ Bouton Contact : design moderne avec effets */
.services-page .btn-secondary.contact-btn{
  background: white;
  color: #475569;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  position: relative;
  z-index: 1;
}

.services-page .btn-secondary.contact-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.05) 0%, rgba(147,197,253,0.02) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 14px;
  z-index: -1;
}

.services-page .btn-secondary.contact-btn:hover{
  background: white;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
  border-color: #cbd5e1;
  color: #334155;
}

.services-page .btn-secondary.contact-btn:hover::after {
  opacity: 1;
}

/* ✅ Bouton Itinéraire : dégradé bleu premium */
.services-page .btn-primary.contact-btn{
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
  color: white;
  border: 1px solid #2563eb;
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
  position: relative;
  z-index: 1;
}

.services-page .btn-primary.contact-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 14px;
  z-index: -1;
}

.services-page .btn-primary.contact-btn:hover{
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 50%, #1d4ed8 100%);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.4);
  border-color: #1d4ed8;
}

.services-page .btn-primary.contact-btn:hover::after {
  opacity: 1;
}

/* Section carte Maps */
.services-page .contact-map{
  position: relative;
  min-height: 300px;
  background: #e2e8f0;
}

.services-page .contact-map iframe{
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}

/* Mobile : espacement ajusté */
@media (max-width: 767px){
  .services-page .contact-info{
    padding: 2rem 1.5rem;
  }
  
  .services-page .contact-card{
    margin: 0 1rem;
    border-radius: 16px;
  }
  
  .services-page .contact-map{
    border-radius: 0 0 16px 16px;
  }
}

/* Desktop : ajustements */
@media (min-width: 768px){
  .services-page .contact-map{
    border-radius: 0 20px 20px 0;
  }
}

/* Sécurité : évite qu'un style global "pills" s'applique ici */
.services-page .services-grid, .services-page .service-card{ all: unset; }

/* ===== Page Contact / Services — hérite du style global page-header ===== */
.contact-page .page-title,
.services-page .page-title {
  color: #1e293b;
}

/* Section arrière-plan comme accueil */
.contact-page .main-content {
  background: white;
  min-height: 70vh;
  padding: 2rem 0;
}

/* Grille principale 2 colonnes avec proportions équilibrées */
.contact-page .contact-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: start;
}

@media (min-width: 968px) {
  .contact-page .contact-main-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
  }
}

@media (min-width: 768px) and (max-width: 967px) {
  .contact-page .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* === COLONNE GAUCHE : COORDONNÉES === */
.contact-page .contact-info-section h2 {
  color: #1e293b;
  font-weight: 800;
  margin-bottom: 2.5rem;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  text-align: center;
}

/* Grille 2x2 pour les cartes de contact avec proportions optimisées - ÉLARGIES */
.contact-page .contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 100%;
  margin-top: 2rem;
  align-items: stretch; /* Force toutes les cartes à avoir la même hauteur */
}

@media (min-width: 1200px) {
  .contact-page .contact-cards-grid {
    gap: 2.5rem; /* Augmenté de 1.5rem à 2.5rem */
  }
}

@media (max-width: 640px) {
  .contact-page .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Fixes spécifiques pour iPhone */
  .contact-page .contact-card {
    height: auto;
    min-height: 280px;
    padding: 1.5rem 1rem;
  }
  
  .contact-page .contact-icon {
    width: 56px;
    height: 56px;
  }
  
  .contact-page .contact-content {
    min-height: 180px;
  }
  
  .contact-page .contact-content p {
    font-size: 0.9rem;
    line-height: 1.7;
  }
}

/* Cartes individuelles de contact avec hauteur ajustée - ÉLARGIES ET SYMÉTRIQUES */
.contact-page .contact-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(2,6,23,.12), 0 4px 16px rgba(37,90,155,.08);
  padding: 2.5rem 2rem; /* Augmenté de 1.75rem 1.25rem à 2.5rem 2rem */
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-height: 380px; /* Augmenté de 320px à 380px */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Changé de flex-start à space-between pour une meilleure répartition */
  overflow: visible;
  position: relative;
  width: 100%; /* Force la largeur complète */
}

@media (max-width: 640px) {
  .contact-page .contact-card {
    height: auto;
    min-height: 280px; /* Augmenté de 240px à 280px */
    padding: 2rem 1.5rem; /* Augmenté de 1.25rem 0.875rem à 2rem 1.5rem */
  }
}

.contact-page .contact-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(2,6,23,.2), 0 8px 32px rgba(37,90,155,.15);
  border-color: rgba(37,90,155,0.3);
}

.contact-page .contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(37,90,155,0.05) 0%, rgba(59,130,246,0.02) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.contact-page .contact-card:hover::before {
  opacity: 1;
}

/* Icônes rondes dans les cartes - proportions optimisées - AGRANDIES */
.contact-page .contact-icon {
  width: 80px; /* Augmenté de 64px à 80px */
  height: 80px; /* Augmenté de 64px à 80px */
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3), 0 4px 12px rgba(29, 78, 216, 0.2);
  margin: 0 auto 2rem auto; /* Augmenté de 1.5rem à 2rem */
  flex-shrink: 0;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.contact-page .contact-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(-45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.contact-page .contact-card:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4), 0 6px 20px rgba(29, 78, 216, 0.3);
}

.contact-page .contact-card:hover .contact-icon::before {
  opacity: 1;
  animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(-45deg); }
  50% { transform: translateX(0%) translateY(0%) rotate(-45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(-45deg); }
}

.contact-page .contact-icon i {
  color: white;
  position: relative;
  z-index: 2;
  font-size: 1.5rem; /* Augmenté de 1.3rem à 1.5rem */
}

/* Contenu des cartes avec gestion du débordement - AMÉLIORÉ */
.contact-page .contact-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 200px; /* Augmenté de 160px à 200px */
  overflow: visible;
  position: relative;
  z-index: 3;
  padding: 0 0.5rem 1rem 0.5rem; /* Ajout d'un padding horizontal et bottom */
}

.contact-page .contact-content h3 {
  color: #1e293b;
  font-weight: 700;
  margin: 0 0 1rem 0; /* Augmenté de 0.75rem à 1rem */
  font-size: clamp(1.1rem, 2.6vw, 1.3rem); /* Augmenté de clamp(1rem, 2.4vw, 1.125rem) */
  flex-shrink: 0;
  line-height: 1.3;
  letter-spacing: 0.025em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.05);
  font-family: 'Poppins', sans-serif !important;
  text-align: center;
}

.contact-page .contact-content p {
  color: #475569;
  margin: 0.5rem 0 1rem 0; /* Augmenté les marges */
  font-size: clamp(0.9rem, 2vw, 0.95rem); /* Augmenté la taille */
  line-height: 1.6;
  font-weight: 400;
  flex-grow: 1;
  overflow: visible;
  word-wrap: break-word;
  hyphens: auto;
  text-align: center;
  font-family: 'Poppins', sans-serif !important;
}

/* Boutons et badges - positionnés en bas de chaque carte */
.contact-page .contact-btn,
.contact-page .status-badge {
  margin-top: auto;
  flex-shrink: 0;
}

.contact-page .contact-btn {
  display: inline-flex;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-size: clamp(0.75rem, 1.7vw, 0.825rem);
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  position: relative;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
  overflow: hidden;
}

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

.contact-page .contact-btn:hover {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.contact-page .contact-btn:hover::before {
  left: 100%;
}

/* Badge statut avec couleurs appropriées */
.contact-page .status-badge {
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: clamp(0.7rem, 1.6vw, 0.8rem);
  font-weight: 700;
  display: inline-block;
  white-space: nowrap;
  position: relative;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

/* Badge ouvert - vert */
.contact-page .status-badge.open {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* Badge fermé - rouge */
.contact-page .status-badge.closed {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

/* === COLONNE DROITE : FORMULAIRE === */
.contact-page .contact-form-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(2,6,23,.08);
  padding: 2.5rem;
  height: fit-content;
  position: sticky;
  top: 2rem;
}

.contact-page .contact-form-card h2 {
  color: #1e293b;
  font-weight: 800;
  margin-bottom: 2rem;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  text-align: center;
}

/* Champs de formulaire */
.contact-page .form-group {
  margin-bottom: 1.5rem;
}

.contact-page .form-group label {
  display: block;
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.contact-page .form-group input,
.contact-page .form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: white;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.contact-page .form-group input:focus,
.contact-page .form-group select:focus {
  border-color: #255a9b;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 90, 155, 0.1);
  outline: none;
}

/* Checkbox */
.contact-page .checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.contact-page .checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.contact-page .checkbox-group label {
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
}

/* Bouton submit violet comme dans le screenshot */
.contact-page .submit-btn {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  padding: 0.875rem 2rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  width: 100%;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.contact-page .submit-btn:hover {
  background: linear-gradient(135deg, #4f46e5, #4338ca);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* === SECTION CARTE MAPS === */
.contact-page .contact-map-section {
  margin-top: 3rem;
}

.contact-page .contact-map-section h2 {
  color: #1e293b;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-page .map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(2,6,23,.08);
}

/* ===== PAGE DEVIS (Landing Page) - DESIGN MODERNE ===== */

/* Header avec dégradé élégant */
.landing-page .landing-header {
  background: #255a9b;
  color: white;
  padding: 2rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.landing-page .landing-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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
  opacity: 0.5;
}

.landing-page .header-nav {
  position: relative;
  z-index: 2;
  padding: 1rem 0;
}

.landing-page .back-to-home {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.landing-page .back-to-home:hover {
  color: white;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.landing-page .site-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.landing-page .site-subtitle {
  font-size: 1.2rem;
  text-align: center;
  opacity: 0.9;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

/* Trust badges modernes */
.landing-page .trust-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.landing-page .trust-badges .badge {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.landing-page .trust-badges .badge:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Main content avec arrière-plan dégradé */
.landing-page .landing-content {
  background: white;
  min-height: 100vh;
  padding: 3rem 0;
}

/* Cards des bénéfices */
.landing-page .benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.landing-page .benefit-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(2,6,23,.08);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.landing-page .benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(2,6,23,.12);
}

.landing-page .benefit-card i {
  font-size: 2.5rem;
  color: #255a9b;
  margin-bottom: 1rem;
  display: block;
}

.landing-page .benefit-card h3 {
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.landing-page .benefit-card p {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Formulaire principal */
.landing-page .form-container {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 12px 40px rgba(2,6,23,.12);
  max-width: 800px;
  margin: 0 auto 3rem;
}

.landing-page .form-container h2 {
  text-align: center;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 2rem;
  font-size: 1.75rem;
}

/* Étapes du formulaire */
.landing-page .form-step {
  display: none;
}

.landing-page .form-step.active {
  display: block;
}

.landing-page .step-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.landing-page .step-icon {
  font-size: 2rem;
  color: #255a9b;
  margin-bottom: 1rem;
}

.landing-page .step-header h3 {
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.landing-page .step-description {
  color: #64748b;
  font-size: 0.95rem;
}

/* Champs de formulaire améliorés */
.landing-page .form-group.enhanced {
  margin-bottom: 1.5rem;
}

.landing-page .form-group.enhanced label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.landing-page .label-icon {
  color: #255a9b;
}

.landing-page .select-wrapper {
  position: relative;
}

.landing-page .select-wrapper select {
  width: 100%;
  padding: 1rem 3rem 1rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: white;
  font-size: 0.95rem;
  appearance: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.landing-page .select-wrapper select:focus {
  border-color: #255a9b;
  background: white;
  box-shadow: 0 0 0 3px rgba(37, 90, 155, 0.1);
  outline: none;
}

.landing-page .select-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

.landing-page .optional {
  color: #64748b;
  font-weight: 400;
  font-size: 0.85rem;
}

/* Boutons d'action */
.landing-page .form-actions {
  margin-top: 2rem;
  text-align: center;
}

.landing-page .enhanced-btn,
.landing-page .next-step,
.landing-page .prev-step,
.landing-page .submit-button {
  background: linear-gradient(135deg, #255a9b, #1e4a80);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem;
  text-decoration: none;
}

.landing-page .enhanced-btn:hover,
.landing-page .next-step:hover,
.landing-page .prev-step:hover,
.landing-page .submit-button:hover {
  background: linear-gradient(135deg, #1e4a80, #164066);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 90, 155, 0.3);
}

.landing-page .prev-step {
  background: #6b7280;
}

.landing-page .prev-step:hover {
  background: #4b5563;
}

.landing-page .form-help {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.landing-page .urgent-contact {
  color: #dc2626;
  font-weight: 600;
}

/* Témoignages */
.landing-page .testimonials-section {
  margin: 3rem 0;
}

.landing-page .testimonials-section h2 {
  text-align: center;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 2rem;
}

.landing-page .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.landing-page .testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(2,6,23,.08);
  text-align: center;
}

.landing-page .testimonial-card .stars {
  color: #fbbf24;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.landing-page .testimonial-card p {
  color: #4b5563;
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.landing-page .testimonial-card cite {
  color: #255a9b;
  font-weight: 600;
  font-style: normal;
}

/* FAQ */
.landing-page .faq-section h2 {
  text-align: center;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 2rem;
}

.landing-page .faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.landing-page .faq-item {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(2,6,23,.08);
}

.landing-page .faq-item h3 {
  color: #1e293b;
  font-weight: 700;
  margin-bottom: 1rem;
}

.landing-page .faq-item p {
  color: #64748b;
  line-height: 1.6;
}

/* Responsive design */
@media (max-width: 768px) {
  .landing-page .trust-badges {
    gap: 1rem;
  }
  
  .landing-page .trust-badges .badge {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  
  .landing-page .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .landing-page .form-container {
    margin: 0 1rem 3rem;
    padding: 2rem;
  }
}

/* Styles pour les champs de formulaire standard de la page devis */
.landing-page .form-group {
  margin-bottom: 1.5rem;
}

.landing-page .form-group label {
  display: block;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.landing-page .form-group input,
.landing-page .form-group select,
.landing-page .form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: white;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.landing-page .form-group input:focus,
.landing-page .form-group select:focus,
.landing-page .form-group textarea:focus {
  border-color: #255a9b;
  background: white;
  box-shadow: 0 0 0 3px rgba(37, 90, 155, 0.1);
  outline: none;
}

.landing-page .form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Checkbox personnalisée pour la page devis */
.landing-page .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
  margin-bottom: 1.5rem;
}

.landing-page .checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #255a9b;
  margin: 0;
  flex-shrink: 0;
}

/* Correctif menu mobile: le premier lien (Accueil) ne doit pas être masqué */
@media (max-width: 768px) {
  .main-nav {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .nav-container {
    min-height: 70px;
    height: 70px;
  }

  .nav-menu {
    position: fixed !important;
    top: var(--nav-mobile-height, 70px) !important;
    left: 0 !important;
    width: 100% !important;
    max-height: calc(100dvh - var(--nav-mobile-height, 70px)) !important;
    padding-top: 0.75rem !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .nav-menu.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

/* ===== Correctifs mobile cibles (safe) ===== */
@media (max-width: 1023px) {
  /* Evite le grand vide en haut sur l'accueil */
  .hero-section {
    min-height: auto !important;
    display: block !important;
    padding-top: 1rem !important;
    padding-bottom: 1.5rem !important;
  }

  .hero-container {
    align-items: start !important;
    gap: 1rem !important;
  }

  .hero-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    justify-content: flex-start !important;
    height: auto !important;
  }

  .hero-image {
    min-width: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 280px !important;
  }

  .hero-photo {
    max-height: 280px !important;
  }
}

/* =====================================================
   MOBILE NAV — CORRECTIONS GLOBALES
   Appliquées en dernier pour prendre le dessus
   ===================================================== */

/* Quand le menu mobile est ouvert :
   - Tout élément sticky passe derrière le menu (z-index battle iOS fix)
   - Le nav garde son z-index élevé */
@media (max-width: 767px) {
  body.nav-open .blog-filters,
  body.nav-open [class*="sticky"],
  body.nav-open .page-header,
  body.nav-open section,
  body.nav-open main,
  body.nav-open footer {
    position: relative !important;
    z-index: 0 !important;
  }

  /* Le menu et la nav restent toujours au-dessus */
  body.nav-open .main-nav {
    z-index: 10000 !important;
  }

  body.nav-open .nav-menu {
    z-index: 9999 !important;
  }

  /* Bouton hamburger toujours visible et cliquable */
  .mobile-menu-btn {
    display: flex !important;
    position: relative;
    z-index: 10001 !important;
  }

  /* Contact dans le menu mobile */
  .nav-contact-mobile {
    display: flex !important;
    width: 100%;
    justify-content: center;
    padding: 0.5rem 0 0;
    margin-top: 0.5rem;
    border-top: 1px solid #e2e8f0;
  }

  .nav-contact-mobile .contact-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    text-align: center;
  }

  /* Blog filters : pas sticky sur mobile pour éviter le conflit */
  .blog-filters {
    position: relative !important;
    top: auto !important;
    z-index: 1 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }
}