/* --- Base Reset & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #fcfcfc;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

/* --- Top Utility Bar --- */
.top-bar {
    background-color: #f4f6f9;
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 0;
    font-size: 0.875rem;
    color: #555555;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-info span {
    margin-right: 5px;
}

.contact-info a:hover {
    color: #0056b3;
}

.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 5px 10px;
    border: 1px solid #ccd0d5;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 0.85rem;
}

.search-box button {
    background-color: #0056b3;
    color: #ffffff;
    border: 1px solid #0056b3;
    padding: 5px 12px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.search-box button:hover {
    background-color: #004085;
}

/* --- Main Header & Navigation --- */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: relative;
    z-index: 100;
}

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

.logo a {
    display: block;
    font-size: 1.5rem;
    color: #1a2a3a;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.logo-bold {
    font-weight: 700;
    color: #0056b3;
}

.logo small {
    display: block;
    font-size: 0.75rem;
    color: #777777;
    margin-top: -2px;
}
/*INSERT V2*/
/* Style de base de la barre de navigation */
.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  padding: 10px 5px;
  display: block;
}

/* Positionnement du conteneur parent */
.dropdown {
  position: relative;
}

/* 1. Masquer le sous-menu par défaut */
.dropdown-menu {
  display: none;                /* Caché par défaut */
  position: absolute;           /* Sort du flux normal pour se superposer */
  top: 100%;                    /* Se place juste sous l'élément parent */
  left: 0;
  background-color: #ffffff;
  min-width: 180px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
  margin: 0;
  list-style: none;
  border-radius: 4px;
  z-index: 1000;               /* S'assure de passer au-dessus du contenu */
}

/* Style des liens dans le sous-menu */
.dropdown-menu li a {
  padding: 8px 16px;
  color: #333;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background-color: #f1f5f9;
  color: #0056b3;
}

/* 2. Afficher le sous-menu au survol de la rubrique parente */
.dropdown:hover .dropdown-menu {
  display: block;
}
/*INSERT V2*/
.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.main-nav li {
    position: relative;
}

.main-nav > ul > li > a {
    display: block;
    padding: 10px 18px;
    color: #334155;
    font-weight: 500;
    font-size: 0.95rem;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
    color: #0056b3;
}

/* Dropdown Sub-menus */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 220px;
    display: none;
    flex-direction: column;
    padding: 5px 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    font-size: 0.9rem;
    color: #475569;
}

.dropdown-menu li a:hover {
    background-color: #f8fafc;
    color: #0056b3;
}

.dropdown:hover .dropdown-menu {
    display: flex;
}

/* --- Hero Section --- */
.hero-section {
    /* Substitute with a real cityscape/skyline image URL as needed */
    background: url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    height: 380px;
    position: relative;
}
.hero-sectionb {
    /* Substitute with a real cityscape/skyline image URL as needed */
    background: url('test.jpg') center/cover no-repeat;
    height: 380px;
    position: relative;
}

.hero-overlay {
    background: linear-gradient(to right, rgba(26, 42, 58, 0.55), rgba(26, 42, 58, 0.3));
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}
.hero-overlayb {
    background: linear-gradient(to right, rgba(26, 42, 58, 0.30), rgba(26, 42, 58, 0.15));
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-text {
    color: #ffffff;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.hero-text p {
    font-size: 1.2rem;
    max-width: 600px;
    opacity: 0.95;
}

/* --- Services Grid Section --- */
.services-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.section-title {
    font-size: 2rem;
    color: #1a2a3a;
    text-align: center;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1.05rem;
}
.section-subtitleb {
    text-align: center;
    color: #64748b;
    max-width: 1000px;
    margin: 20px auto 20px auto;
    font-size: 0.8rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.service-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.service-card.highlighted {
    border-top: 4px solid #0056b3;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
.service-card.highlightedb {
    border-top: 4px solid #fa8925;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.service-card h3 {
    color: #1a2a3a;
    font-size: 1.35rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.service-card p {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Pricing Lists */
.price-list {
    list-style: none;
    margin-bottom: 25px;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #cbd5e1;
    font-size: 0.95rem;
}

.price-list li span {
    font-weight: 700;
    color: #0056b3;
    width:30%;
    text-align:right;
}

/* Buttons */
.btn-primary, .btn-accent, .btn-accentb {
    display: inline-block;
    text-align: center;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
}
.btn-accentc {
    display: inline-block;
    text-align: center;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: #edf2f7;
    color: #2d3748;
    border: 1px solid #cbd5e1;
}

.btn-primary:hover {
    background-color: #e2e8f0;
}

.btn-accent {
    background-color: #0056b3;
    color: #ffffff;
}
.btn-accentb {
    background-color: #fa8925;
    color: #ffffff;
}
.btn-accentc {
    background-color: #67aa43;
    color: #ffffff;
}

.btn-accent:hover {
    background-color: #004085;
}
.btn-accentb:hover {
    background-color: #ed751a;
}

/* --- About Summary Section --- */
.about-summary {
    background-color: #f1f5f9;
    padding: 50px 0;
    text-align: center;
}

.about-summary h2 {
    color: #1a2a3a;
    margin-bottom: 15px;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: #0056b3;
    border: none;
    margin: 0 auto 20px auto;
}
.dividerb {
    width: 100px;
    height: 3px;
    background-color: #67aa43;
    border: none;
    margin: 0 auto 20px auto;
}

.about-summary p {
    max-width: 850px;
    margin: 0 auto;
    color: #475569;
    font-size: 1.05rem;
}

/* --- Footer --- */
.main-footer {
    background-color: #1a2a3a;
    color: #94a3b8;
    padding: 40px 0 25px 0;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 1px solid #334155;
    padding-bottom: 25px;
}

.footer-info p {
    margin-bottom: 5px;
}

.footer-info strong {
    color: #ffffff;
}

.footer-links a {
    color: #94a3b8;
    margin: 0 5px;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.8rem;
}

/* --- Responsive Layout Rules --- */
@media (max-width: 1000px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    .main-nav > ul > li {
        width: 100%;
        text-align: center;
    }
/* --- 
.dropdown-menu {
        position: static;
        box-shadow: none;
        width: 100%;
        background-color: #f8fafc;
    }
 --- */
        
    .hero-section {
        height: 300px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}