/* ==========================================================================
   Base & Variables
   ========================================================================== */
   :root {
    --primary: #0b1d3a;
    --secondary: #e0a106;
    --light: #ffffff;
    --dark: #333333;
    --gray: #555555;
    --light-gray: #f9f9f9;
    --border: #eeeeee;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Open Sans', sans-serif;
    background: var(--light-gray); /* Fond général un peu plus doux */
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--primary);
  }
  
  a {
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  /* ==========================================================================
     Composants Généraux
     ========================================================================== */
  
  /* --- Header --- */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 12%;
    background: var(--light);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }
  
  .brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
  }
  
  .brand i {
    color: var(--secondary);
    margin-right: 10px;
    font-size: 1.5rem;
  }
  
  nav {
    display: flex;
    align-items: center;
  }
  
  nav a {
    margin-left: 30px;
    color: var(--gray);
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    padding: 5px 0;
  }
  
  nav a.active {
      color: var(--secondary);
      font-weight: 600;
  }
  
  nav a:hover {
    color: var(--secondary);
  }
  
  nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
  }
  
  nav a:hover::after,
  nav a.active::after {
    width: 100%;
  }
  
  .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
  }
  
  /* --- Buttons --- */
  .btn {
    display: inline-block;
    background: var(--secondary);
    color: var(--primary);
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: 2px solid var(--secondary);
    cursor: pointer;
  }
  
  .btn:hover {
    background: transparent;
    color: var(--secondary);
    box-shadow: 0 5px 15px rgba(224, 161, 6, 0.3);
    transform: translateY(-3px);
  }
  
  .btn.btn-outline {
    background: white;
    color: var(--primary);
    border: 2px solid var(--border);
  }
  
  .btn.btn-outline:hover {
    background: var(--primary);
    color: var(--light);
    border-color: var(--primary);
  }
  
  
  /* --- Sections --- */
  .section {
    padding: 100px 12%;
    background: var(--light);
  }
  
  .section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 60px;
    position: relative;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* --- Footer --- */
  footer {
    background: var(--primary);
    color: var(--light);
    padding: 60px 12% 30px;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
  }
  
  .footer-column h3 {
    color: var(--light);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
  }
  
  .footer-column h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--secondary);
    bottom: 0;
    left: 0;
  }
  
  .footer-column p {
    opacity: 0.8;
    margin-bottom: 15px;
    font-size: 0.9rem;
  }
  
  .footer-links {
      list-style: none;
  }
  
  .footer-links li {
    margin-bottom: 10px;
  }
  
  .footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
  }
  
  .footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
  }
  
  .social-links {
    display: flex;
    gap: 15px;
  }
  
  .social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light);
    transition: all 0.3s;
  }
  
  .social-links a:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    opacity: 0.7;
  }
  
  .footer-bottom a {
      color: var(--light);
      text-decoration: underline;
  }
  .footer-bottom a:hover {
      color: var(--secondary);
  }
  
  
  /* ==========================================================================
     Styles Spécifiques aux Pages
     ========================================================================== */
  
  /* --- Page: Accueil --- */
  .hero {
    height: 90vh; min-height: 600px;
    background: linear-gradient(rgba(11, 29, 58, 0.7), rgba(11, 29, 58, 0.7)), url('images/hero-bg.jpg') center/cover no-repeat;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; color: var(--light); padding: 0 20px;
  }
  .hero h1 { font-size: 3rem; margin-bottom: 20px; line-height: 1.3; color: var(--light); }
  .hero p { font-size: 1.2rem; margin-bottom: 40px; max-width: 700px; opacity: 0.9; }
  
  .services {
    background: var(--light-gray);
  }
  
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }
  
  .card {
    background: var(--light);
    border: none;
    padding: 40px 25px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  }
  
  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
  }
  
  .cta {
    background: var(--primary);
    color: var(--light);
    text-align: center;
    padding: 100px 20px;
  }
  
  .cta .btn {
    margin-top: 40px;
  }
  
  .cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--light);
  }
  
  /* --- Page: Réalisations --- */
  .gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 50px; }
  .gallery-item { position: relative; overflow: hidden; border-radius: 8px; height: 250px; }
  .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
  .gallery-item:hover img { transform: scale(1.1); }
  .gallery-item-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(11, 29, 58, 0.7); display: flex; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s; }
  .gallery-item:hover .gallery-item-overlay { opacity: 1; }
  .gallery-item-overlay h3 { color: var(--light); }
  .gallery-filters { text-align: center; margin-bottom: 40px; }
  .gallery-filters button { background: none; border: 1px solid var(--border); color: var(--gray); padding: 10px 20px; margin: 5px; border-radius: 4px; cursor: pointer; transition: all 0.3s; font-family: 'Montserrat', sans-serif; }
  .gallery-filters button:hover, .gallery-filters button.active { background: var(--secondary); color: var(--primary); border-color: var(--secondary); font-weight: 600; }
  .gallery-item.hide { display: none; }
  
  /* --- Page: Services --- */
  .services-hero { background: linear-gradient(rgba(11, 29, 58, 0.8), rgba(11, 29, 58, 0.8)), url('https://images.pexels.com/photos/1571460/pexels-photo-1571460.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') center/cover no-repeat; padding: 80px 12%; text-align: center; color: var(--light); }
  .services-hero-content h1 { color: var(--light); font-size: 2.5rem; }
  .process-section { background-color: var(--light-gray); }
  .process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
  .process-step { text-align: center; }
  .process-icon { width: 80px; height: 80px; background: var(--secondary); color: var(--primary); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 2.5rem; margin: 0 auto 20px auto; transition: transform 0.3s, box-shadow 0.3s; }
  .process-step:hover .process-icon { transform: translateY(-5px) scale(1.1); box-shadow: 0 10px 20px rgba(224, 161, 6, 0.3); }
  .service-block { display: flex; gap: 50px; align-items: center; background: var(--light); padding: 40px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07); margin-bottom: 60px; overflow: hidden; }
  .service-block:nth-child(even) { flex-direction: row-reverse; }
  .service-block-image { flex-shrink: 0; max-width: 450px; width: 100%; }
  .service-block-image img { border-radius: 8px; width: 100%; height: auto; object-fit: cover; }
  .service-block-content h3 { font-size: 2rem; }
  .service-block-content .service-tagline { font-weight: 600; color: var(--gray); font-style: italic; }
  .service-block-content ul { list-style: none; margin-top: 20px; }
  .service-block-content li i { color: var(--secondary); margin-right: 15px; }
  
  /* --- SECTION AVIS (CARROUSEL) --- */
  .testimonials {
    background: var(--light-gray);
    position: relative;
  }
  
  .testimonial-slider-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 900px;
  }
  
  .testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .testimonial-card {
    flex: 0 0 100%;
    background: var(--light);
    border-radius: 12px;
    padding: 40px 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.07);
    box-sizing: border-box;
    margin: 0 20px;
    position: relative;
    border-top: 4px solid var(--secondary);
  }
  
  .testimonial-card::before {
    content: '“';
    position: absolute;
    top: 10px;
    left: 15px;
    font-family: 'Georgia', serif;
    font-size: 6rem;
    color: var(--border);
    z-index: 1;
    line-height: 1;
  }
  
  .testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--gray);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    line-height: 1.7;
  }
  
  .testimonial-author-info {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
  }
  
  .testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--border);
  }
  
  .testimonial-author {
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
  }
  
  .testimonial-rating {
    color: var(--secondary);
    font-size: 0.9rem;
  }
  
  .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--light);
    color: var(--primary);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  
  .slider-btn:hover {
    background: var(--secondary);
    color: var(--light);
    border-color: var(--secondary);
    transform: translateY(-50%) scale(1.1);
  }
  
  .slider-btn.prev {
    left: 20px;
  }
  
  .slider-btn.next {
    right: 0px;
  }
  
  /* ==========================================================================
     PAGE CONTACT (VERSION PRESTIGE)
     ========================================================================== */
  .contact-section-wrapper {
      padding: 80px 5%;
      background-color: var(--light-gray);
  }
  
  .contact-container {
      max-width: 800px;
      margin: 0 auto;
      background: var(--light);
      padding: 50px;
      border-radius: 12px;
      box-shadow: 0 15px 50px rgba(0,0,0,0.1);
  }
  
  .contact-header {
      text-align: center;
      margin-bottom: 40px;
  }
  
  .contact-header h1 {
      font-size: 2.5rem;
  }
  
  .contact-header p {
      font-size: 1.1rem;
      color: var(--gray);
      margin-top: 10px;
  }
  
  .progress-bar {
      display: flex;
      justify-content: space-between;
      margin-bottom: 40px;
      position: relative;
  }
  
  .progress-bar::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 0;
      transform: translateY(-50%);
      height: 2px;
      width: 100%;
      background: var(--border);
      z-index: 1;
  }
  
  .progress-step-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
      z-index: 2;
      background: var(--light);
      padding: 0 10px;
  }
  
  .progress-step-item span {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--light);
      border: 2px solid var(--border);
      color: var(--gray);
      display: flex;
      justify-content: center;
      align-items: center;
      font-weight: 600;
      transition: all 0.4s ease;
  }
  
  .progress-step-item p {
      font-size: 0.9rem;
      margin-top: 5px;
      color: var(--gray);
      transition: all 0.4s ease;
  }
  
  .progress-step-item.active span {
      background: var(--secondary);
      border-color: var(--secondary);
      color: var(--primary);
      transform: scale(1.1);
  }
  .progress-step-item.active p {
      color: var(--primary);
      font-weight: 600;
  }
  .progress-step-item.completed span {
      background: var(--primary);
      border-color: var(--primary);
      color: var(--light);
  }
  
  .form-step {
      display: none;
      animation: fadeIn 0.5s ease-in-out;
  }
  
  .form-step.active {
      display: block;
  }
  
  @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
  }
  
  .step-title {
      text-align: center;
      font-size: 1.5rem;
      margin-bottom: 30px;
  }
  
  .project-choice-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 15px;
  }
  
  .project-choice-card {
      position: relative;
      cursor: pointer;
  }
  
  .project-choice-card input[type="radio"] {
      position: absolute;
      opacity: 0;
  }
  
  .project-choice-card .card-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 20px;
      border: 2px solid var(--border);
      border-radius: 8px;
      transition: all 0.3s ease;
      height: 100%;
  }
  
  .project-choice-card .card-content i {
      font-size: 2rem;
      color: var(--primary);
      margin-bottom: 10px;
      transition: all 0.3s ease;
  }
  
  .project-choice-card .card-content span {
      font-weight: 600;
      color: var(--gray);
      text-align: center;
  }
  
  .project-choice-card:hover .card-content {
      border-color: var(--secondary);
      transform: translateY(-5px);
  }
  
  .project-choice-card input:checked + .card-content {
      background: var(--primary);
      border-color: var(--primary);
  }
  
  .project-choice-card input:checked + .card-content i,
  .project-choice-card input:checked + .card-content span {
      color: var(--light);
  }
  
  .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
  }
  .form-grid .form-group {
      grid-column: span 1;
  }
  .form-grid .form-group:has(textarea),
  .form-grid .form-group:has(select){
      grid-column: 1 / -1;
  }
  
  .form-group { margin-bottom: 20px; }
  .form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
  .form-group input, .form-group textarea, .form-group select {
      width: 100%; padding: 12px 15px; border: 1px solid var(--border);
      border-radius: 4px; font-size: 1rem;
  }
  .form-group input[type="file"] { padding: 10px; }
  .form-group input:focus, .form-group textarea:focus, .form-group select:focus {
      outline: none; border-color: var(--secondary); box-shadow: 0 0 5px rgba(224, 161, 6, 0.3);
  }
  
  .form-navigation {
      display: flex;
      justify-content: space-between;
      margin-top: 30px;
  }
  .btn-prev { display: none; }
  .btn-submit { display: none; }
  
  #form-message {
      text-align: center;
      margin-top: 20px;
      padding: 15px;
      border-radius: 4px;
      font-weight: 500;
  }
  #form-message.success { background: #e0f8e9; color: #27ae60; }
  #form-message.error { background: #f8e0e0; color: #c0392b; }
  
  .secondary-contact-info {
      text-align: center;
      margin-top: 40px;
      color: var(--gray);
  }
  .secondary-contact-info span {
      margin: 0 15px;
  }
  .secondary-contact-info i {
      color: var(--secondary);
      margin-right: 5px;
  }
  
  /* ==========================================================================
     Règles Responsives Finales
     ========================================================================== */
  
  @media (max-width: 1200px) {
    header, .section { padding-left: 8%; padding-right: 8%; }
  }
  
  @media (max-width: 992px) {
    header, .section { padding-left: 5%; padding-right: 5%; }
    .service-block, .service-block:nth-child(even) { flex-direction: column; gap: 30px; }
  }
  
  @media (max-width: 768px) {
    .mobile-menu-btn { display: block; z-index: 1001; }
    nav {
      position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
      background: var(--primary); flex-direction: column; align-items: center; justify-content: center;
      transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    }
    nav.active { transform: translateX(0); }
    nav a { margin: 20px 0; color: var(--light); font-size: 1.5rem; }
    nav a.btn { color: var(--primary); background: var(--secondary); }
    
    .contact-container { padding: 30px; }
    .contact-header h1 { font-size: 2rem; }
    
    .form-grid { grid-template-columns: 1fr; }
    .form-grid .form-group { grid-column: 1 / -1; }
  
    .progress-step-item p { display: none; }
    
    .slider-btn.prev { left: 10px; }
    .slider-btn.next { right: 10px; }
  }
  
  @media (max-width: 576px) {
    .section { padding: 80px 15px; }
    .contact-container { padding: 20px; }
    .project-choice-grid { grid-template-columns: 1fr 1fr; }
    .secondary-contact-info { display: flex; flex-direction: column; gap: 10px; }
    .testimonial-card { padding: 30px 25px; }
    .testimonial-slider-wrapper { margin: 0 -20px; }
  }

/* === Patch v2.1 (form + FAB) === */
.floating-call-btn{z-index: 2000;}
input[type="tel"]::placeholder{letter-spacing:.5px}
.devis-express .field input, .devis-express .field textarea {background-color:#fff}
