* {
    font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
    color: black;
}

#LogoSite {
    height: 100px;
    width: auto;
}

#TitreSite {
    font-weight: bolder;
}

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

.PagesMenu {
    margin-right: 10px;
}

header {
    background-color: white;
    border-bottom: 2px solid slategray;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header > a {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.home-page {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 30px;
}

.illustration {
    padding: 16px;
    position: relative; 
    width: max(1200px);
}

#illuHomePage {
    width: 100%;
    border: 8px, whitesmoke, solid;
    border-radius: 15px;
}

.menu-recherche {
    position: sticky;
    grid-column: span 3 / span 3;
    grid-row: span 2 / span 2;
    grid-column-start: 3;
    grid-row-start: 2;
}
/* Partie importée de Claude.AI*/

.container {
            max-width: 1200px;
            margin: 0 auto;
        }
.header {
            text-align: center;
            color: #667eea;
            margin-bottom: 40px;
        }
.header h1 {
            font-size: 4em;
            margin-bottom: 10px;
            color: #667eea;
        }

.search-container {
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            margin-bottom: 30px;
        }
.search-box {
            position: relative;
            margin-bottom: 20px;
        }
#searchInput {
            width: 100%;
            padding: 15px 50px 15px 20px;
            border: 2px solid #ddd;
            border-radius: 50px;
            font-size: 16px;
            outline: none;
            transition: border-color 0.3s ease;
            box-sizing: border-box;
        }
#searchInput:focus {
            border-color: #667eea;
        }
.search-icon {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: #666;
        }
.advanced-search-btn {
            width: 100%;
            padding: 12px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border: none;
            border-radius: 25px;
            font-size: 16px;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
            text-align: center;
            margin-top: 10px;
        }
.results-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
            gap: 25px;
        }
.result-card {
            background: white;
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            cursor: pointer;
        }
.result-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }
.company-name {
            font-size: 1.4em;
            font-weight: bold;
            color: #333;
            margin-bottom: 10px;
            border-bottom: 2px solid #667eea;
            padding-bottom: 5px;
        }
.company-info {
            display: grid;
            gap: 8px;
            margin-bottom: 15px;
        }
.info-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
        }
.info-icon {
            color: #667eea;
            min-width: 20px;
        }
.services {
            margin: 15px 0;
        }
.services-title {
            font-weight: bold;
            color: #333;
            margin-bottom: 8px;
            font-size: 14px;
        }
.service-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
        }
.tag {
            background: #f0f3ff;
            color: #667eea;
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 12px;
            border: 1px solid #e0e6ff;
        }
.description {
            margin: 15px 0;
            color: #666;
            font-style: italic;
            font-size: 14px;
            line-height: 1.4;
        }
.quote-btn {
            width: 100%;
            padding: 12px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border: none;
            border-radius: 25px;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 15px;
        }
.quote-btn:hover {
            background: linear-gradient(135deg, #764ba2, #667eea);
            transform: scale(1.02);
        }
.no-results {
            text-align: center;
            color: #667eea;
            font-size: 1.2em;
            margin-top: 50px;
        }
.results-count {
            color: #667eea;
            text-align: center;
            margin-bottom: 20px;
            font-size: 1.1em;
        }
.pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin-top: 30px;
        }
.pagination-btn {
            padding: 10px 15px;
            background: white;
            color: #667eea;
            border: 2px solid #667eea;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 14px;
        }
.pagination-btn:hover:not(.disabled) {
            background: #667eea;
            color: white;
        }
.pagination-btn.active {
            background: #667eea;
            color: white;
        }
.pagination-btn.disabled {
            opacity: 0.5;
            cursor: not-allowed;
            border-color: #ccc;
            color: #ccc;
        }
.page-info {
            color: #667eea;
            font-size: 14px;
            margin: 0 15px;
        }
@media (max-width: 768px) {
            .results-container {
                grid-template-columns: 1fr;
            }
            .header h1 {
                font-size: 2em;
            }
        }

/*Partie Carte*/
.map-title {
    font-weight: bolder;
    font-size: 3rem;
    padding-top: 1.5rem;
    text-align: center;
}
.map-container {
  position: relative;
  width: min(,400px,1200px);
  padding-bottom: 66.6%; /* ratio 16:9 (hauteur/largeur) → adapte si tu veux */
  height: 0;
  overflow: hidden;
  margin: 0 auto;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/*CSS pour le carousel de la page d'accueil*/
.carousel {
  list-style: none;
  margin: 5rem;
  padding: 1rem;
  border: 5px solid white;

  display: grid;
  gap: 2rem;
  grid-auto-flow: column;
  grid-auto-columns: 40%;

  overflow-x: auto;
  scroll-snap-type: x mandatory;

  @media (prefers-reduced-motion: no-preference) {
    scroll-behavior: smooth;
  }

  anchor-name: --carousel;

  scroll-marker-group: after;

  &::scroll-marker-group {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
  }

  > li {
    scroll-snap-align: center;

    &::scroll-marker {
      content: " ";
      width: 20px;
      height: 20px;
      aspect-ratio: 1 / 1;
      border-radius: 100%;
      border: 2px solid grey;
    }

    &::scroll-marker:target-current {
      background: #667eea;
    }
  }

  &::scroll-button(*) {
    position: fixed;
    position-anchor: --carousel;
    margin: 1rem;
    font: inherit;
    background: whitesmoke;
    border: 3px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.5rem;
  }

  &::scroll-button(right) {
    content: ">";
    position-area: center right;
  }

  &::scroll-button(left) {
    content: "<";
    position-area: center left;
  }
}


/*CSS importé de Booster*/
        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 5rem 0;
            text-align: center;
        }

        .hero h1 {
            font-size: 2.8rem;
            color: white;
            margin-bottom: 1.5rem;
            font-weight: 700;
            line-height: 1.2;
        }

        .hero p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            opacity: 0.95;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .btn-primary {
            background: #ff6b6b;
            color: white;
            padding: 0.9rem 2.5rem;
            border: none;
            border-radius: 50px;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s;
            display: inline-block;
            text-decoration: none;
            font-weight: 600;
        }

        .btn-primary:hover {
            background: #ff5252;
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
        }

        /* Section */
        section {
            padding: 4rem 0;
        }

        section.alt {
            background: #f8f9fa;
        }

        .section-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-header h2 {
            font-size: 2.2rem;
            color: #333;
            margin-bottom: 0.5rem;
            font-weight: 700;
        }

        .section-header h3 {
            font-size: 1rem;
            color: #667eea;
            font-weight: 400;
        }

        /* Content Box */
        .content-box-link {
            text-decoration: none;
            color: inherit;
            display: block;
        }
        .content-box {
            background: white;
            padding: 3rem;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
            line-height: 1.8;
            font-size: 1.05rem;
            color: #555;
            transition:all 0.3s ease;
            cursor: pointer;
        }
        .content-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba( 102, 126, 234, 0.3);
            border: 2px sild #667eea;
        }

        .content-box p {
            margin-bottom: 1.5rem;
        }

        .content-box p:last-child {
            margin-bottom: 0;
        }

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

        .feature-card {
            background: white;
            padding: 2rem;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
            transition: all 0.3s;
        }

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

        .feature-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .feature-card h4 {
            color: #667eea;
            font-size: 1.1rem;
            margin-bottom: 0.8rem;
        }

        .feature-card p {
            color: #666;
            font-size: 0.95rem;
        }

        /* CTA */
        .cta-section {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 3rem;
            border-radius: 12px;
            text-align: center;
        }

        .cta-section h3 {
            font-size: 1.8rem;
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .cta-section p {
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
            opacity: 0.95;
        }

        /* Footer */
        footer {
            background: #2d3436;
            color: white;
            padding: 2rem 0;
            text-align: center;
            margin-top: 4rem;
        }

        footer p {
            opacity: 0.8;
            font-size: 0.9rem;
        }

        /* Map Section */
        .map-container2 {
            width: 100%;
            height: 500px;
            background: #e0e0e0;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #999;
            font-size: 1.1rem;
            margin-top: 1.5rem;
        }

        /* Responsive */
        @media (max-width: 768px) {
            nav ul {
                gap: 1rem;
                font-size: 0.85rem;
            }

            .hero h1 {
                font-size: 1.8rem;
            }

            .hero p {
                font-size: 1rem;
            }

            .section-header h2 {
                font-size: 1.6rem;
            }

            .content-box {
                padding: 2rem;
            }
        }


/*Partie Formulaire - Espace Pro*/

        .form-container {
            padding: 40px;
        }

        .intro-text {
            text-align: center;
            margin-bottom: 30px;
            color: #555;
            line-height: 1.6;
        }

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

        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: #333;
            font-size: 15px;
        }

        .required {
            color: #e74c3c;
        }

        .form-input {
            width: 100%;
            padding: 15px;
            border: 2px solid #ddd;
            border-radius: 10px;
            font-size: 16px;
            outline: none;
            transition: all 0.3s ease;
        }

        .form-input:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .form-textarea {
            width: 100%;
            padding: 15px;
            border: 2px solid #ddd;
            border-radius: 10px;
            font-size: 16px;
            outline: none;
            transition: all 0.3s ease;
            resize: vertical;
            min-height: 120px;
            font-family: inherit;
            line-height: 1.5;
        }

        .form-textarea:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }
        .btn-submit {
            width: 100%;
            padding: 18px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 10px;
        }

        .btn-submit:hover {
            background: linear-gradient(135deg, #764ba2, #667eea);
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
        }
        .success-message {
            background: #d4edda;
            border: 1px solid #c3e6cb;
            color: #155724;
            padding: 15px;
            border-radius: 10px;
            margin-bottom: 20px;
            text-align: center;
            display: none;
        }
        .footer-text {
            text-align: center;
            margin-top: 20px;
            color: #666;
            font-size: 13px;
        }
        @media (max-width: 768px) {
            .form-row {
                grid-template-columns: 1fr;
            }
        }

        /*Issu du Demande de contact*/

        .container-contact {
            max-width: 700px;
            margin: 0 auto;
            background: white;
            border-radius: 0px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
            overflow: hidden;
        }
        .company-banner {
            background: white;
            border: 2px solid #667eea;
            padding: 20px;
            margin: 0;
            display: none;
        }

        .company-banner.show {
            display: block;
        }
        .company-subtitle {
            color: #666;
            font-size: 0.95em;
        }
        
        .info-note {
            background: #e8f2ff;
            border: 1px solid #b3d9ff;
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 25px;
            font-size: 14px;
            color: #2c5aa0;
            text-align: center;
        }
        .loading {
            opacity: 0.7;
            pointer-events: none;
        }
        @media (max-width: 768px) {
            .container-contact {
                margin: 10px;
            }
            
            .header {
                padding: 20px;
            }
            
            .header h1 {
                font-size: 1.8em;
            }
            
            .form-container {
                padding: 25px;
            }
            
            .form-row {
                grid-template-columns: 1fr;
                gap: 0;
            }
        }
            .checkbox-group {
                display: flex;
                align-items: start;
                gap: 8px;
                margin-bottom: 8px;
            }
/* --- Forcer le style "normal" pour les checkboxes si elles partagent la classe .form-input --- */
input.form-input[type="checkbox"],
input[type="checkbox"].form-input {
  /* annuler les règles générales */
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 8px 0 0 !important;
  border: 2px solid #667eea !important;
  display: inline-block !important;
  vertical-align: middle !important;
  box-sizing: content-box !important;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  cursor: pointer;
}

/* petite case stylée (taille contrôlée) */
input.form-input[type="checkbox"] {
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  border: 1.5px solid #667eea;
  border-radius: 4px;
  background: white;
  transition: all .15s ease;
}

/* état hover */
input.form-input[type="checkbox"]:hover {
  box-shadow: 0 0 3px rgba(102,126,234,0.25);
  border-color: #5a6fe3;
}

/* état checked : fond + coche */
input.form-input[type="checkbox"]:checked {
  background-color: #667eea;
  border-color: #667eea;
}

/* coche (triangle/ligne) */
input.form-input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;    /* ajuste pour centrer la coche */
  top: 1px;     /* ajuste pour centrer la coche */
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* si tu veux forcer l'alignement label+checkbox proprement */
.checkbox-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 12px;
}

