:root {
	--numtech-black: #000000;
	--numtech-blue: #46AFE8;
	--numtech-light-grey: #f8f9fa;
	--numtech-dark-grey: #333333;
	--text-color: #222222;
	--border-color: #e0e0e0;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
	color: var(--text-color);
	background-color: #ffffff;
	line-height: 1.6;
}

header {
	background-color: var(--numtech-black);
	padding: 15px 40px;
	border-bottom: 3px solid var(--numtech-blue);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.logo {
	color: #ffffff;
	font-weight: bold;
	font-size: 22px;
	letter-spacing: 1px;
}
.logo span {
	color: var(--numtech-blue);
}

/* Layout Écran Splitter (Hauteur complète) */
.main-workspace {
	display: flex;
	height: 100vh;
}

/* Colonne Gauche : Contenu, Arguments et Formulaire */
.content-panel {
	flex: 1.2;
	min-width: 50%;
	padding: 20px 40px 15px 40px; /* Paddings réduits (20px haut, 15px bas) */
	display: flex;
	flex-direction: column;
	justify-content: space-between; /* Distribue l'espace harmonieusement */
	overflow-y: auto; /* Sécurité : scrolle en interne si l'écran est trop bas */
	background-color: #ffffff;
}

.tagline {
	color: var(--numtech-blue);
	text-transform: uppercase;
	font-weight: bold;
	font-size: 12px;
	letter-spacing: 2px;
	margin-bottom: 8px;
}

/* Tailles de texte et marges optimisées pour la hauteur */
h1 {
	color: var(--numtech-black);
	font-size: 26px; /* Réduit de 32px à 26px */
	line-height: 1.2;
	margin-bottom: 10px; /* Réduit de 15px à 10px */
}

.description {
	font-size: 15px; /* Réduit de 16px à 15px */
	color: var(--numtech-dark-grey);
	margin-bottom: 20px; /* Réduit de 30px à 20px */
}

.arguments-embedded {
	display: flex;
	gap: 20px;
	margin-bottom: 20px; /* Réduit de 30px à 20px */
}

/* Le style pour ton logo du haut (Ligne 227 dans ton HTML) */
.content-panel img:first-of-type {
	max-height: 100px; /* Empêche le logo de manger tout l'espace vertical */
	width: auto;
	object-fit: contain;
	margin-bottom: 40px;
	margin-right:auto;
}

/* Le style pour ton logo NUMTECH du bas (Ligne 263 dans ton HTML) */
.content-panel img:last-of-type {
	margin-left: auto;
	max-height: 40px; /* Aligne sa hauteur de manière discrète */
	width: auto;
	object-fit: contain;
	margin-top: 10px;
}

.arg-box {
	flex: 1;
	background-color: var(--numtech-light-grey);
	padding: 20px;
	border-radius: 6px;
	border-left: 4px solid var(--numtech-black);
}

.arg-box h3 {
	font-size: 15px;
	color: var(--numtech-black);
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.arg-box p {
	font-size: 14px;
	color: #555555;
}

.config-panel {
	background-color: #ffffff;
	padding: 25px;
	border-radius: 8px;
	border: 1px solid var(--border-color);
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
	margin-top:auto;
}

.config-row {
	display: flex;
	gap: 15px;
	margin-bottom: 15px;
}

.form-group {
	flex: 1;
}

label {
	display: block;
	font-size: 11px;
	font-weight: bold;
	margin-bottom: 5px;
	color: var(--numtech-dark-grey);
	text-transform: uppercase;
}

input, select {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background-color: #fff;
	font-size: 14px;
}

input:disabled {
	background-color: #e9ecef;
	color: #495057;
}

.btn-cta {
	display: inline-block;
	background-color: var(--numtech-blue);
	color: #ffffff;
	padding: 14px 24px;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
	border-radius: 4px;
	text-align: center;
	border: none;
	cursor: pointer;
	transition: background 0.2s ease;
	width: 100%;
}

.btn-cta:hover {
	background-color: #359cd4;
}

.pricing-badge {
	text-align: center;
	margin-top: 12px;
	font-size: 14px;
	color: var(--numtech-black);
}

/* CONTAINER DE LA CARTE OPENLAYERS */
.hero-map {
	flex: 1;
	position: relative;
	border-left: 1px solid var(--border-color);
	background-color: #f0ede5;
}

#map {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.map-overlay-card {
	position: absolute;
	bottom: 25px;
	left: 25px;
	background: rgba(0, 0, 0, 0.85);
	color: white;
	padding: 15px;
	border-radius: 4px;
	border-left: 4px solid var(--numtech-blue);
	font-size: 13px;
	max-width: 340px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.3);
	z-index: 100; /* Reste au-dessus de la carte */
	pointer-events: none;
}

/* Sections au Scroll (Détails et FAQ) */
.details-container {
	background-color: var(--numtech-light-grey);
	padding: 60px 40px;
	border-top: 1px solid var(--border-color);
}

.section-max-width {
	max-width: 1000px;
	margin: 0 auto;
}

.section-title {
	text-align: center;
	font-size: 26px;
	color: var(--numtech-black);
	margin-bottom: 40px;
}

/* Grille des tarifs / détails */
.features-grid {
	display: flex;
	gap: 25px;
	margin-bottom: 50px;
}

.feature-item {
	flex: 1;
	background: #ffffff;
	padding: 25px;
	border-radius: 6px;
	border: 1px solid var(--border-color);
}

.feature-item h4 {
	color: var(--numtech-blue);
	margin-bottom: 10px;
	font-size: 16px;
}

/* Section FAQ Accordéon */
.faq-item {
	background: #ffffff;
	border: 1px solid var(--border-color);
	margin-bottom: 12px;
	border-radius: 4px;
	overflow: hidden;
}

.faq-question {
	padding: 18px 20px;
	background-color: #ffffff;
	font-weight: bold;
	font-size: 15px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	user-select: none;
}

.faq-question::after {
	content: '+';
	color: var(--numtech-blue);
	font-size: 18px;
	font-weight: bold;
}

.faq-item.active .faq-question::after {
	content: '−';
}

.faq-answer {
	padding: 0 20px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-out, padding 0.2s ease-out;
	font-size: 14.5px;
	color: var(--numtech-dark-grey);
	background-color: var(--numtech-light-grey);
}

.faq-item.active .faq-answer {
	padding: 15px 20px;
	max-height: 300px;
	border-top: 1px solid var(--border-color);
}

/* Tooltip interactif pour le survol des points */
.map-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none; /* Évite de bloquer les interactions de la souris */
    z-index: 2000;
    display: none;
    border-left: 3px solid var(--numtech-blue);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    white-space: nowrap;
    transform: translate(-50%, -120%); /* Centre le tooltip juste au-dessus du curseur */
}
.map-tooltip strong {
    color: var(--numtech-blue);
    display: block;
    margin-bottom: 2px;
}

/* VERSION MOBILE ACCORDÉE (Responsive) */
@media (max-width: 900px) {
    /* 1. Permettre au workspace de s'agrandir en hauteur au scroll */
    .main-workspace {
        flex-direction: column;
        height: auto !important; /* Libère la hauteur fixe 100vh de l'écran PC */
        min-height: auto;
    }

    /* 2. Colonne de gauche (texte/formulaire) prend sa hauteur naturelle */
    .content-panel {
        width: 100%;
        flex: none; /* Désactive le flex: 1.2 du PC */
        overflow-y: visible;
        padding: 25px;
    }

    /* 3. La carte passe en-dessous avec une hauteur dédiée bien visible */
    .hero-map {
        width: 100%;
        height: 450px; /* Hauteur fixe confortable pour la carte sur smartphone */
        flex: none;
        position: relative;
        border-left: none;
        border-top: 2px solid var(--numtech-blue);
    }

    /* 4. Astuce Flexbox (Sécurité) : Forcer la carte en 2ème position */
    .hero-map {
        order: 2;
    }
    .content-panel {
        order: 1;
    }

    .arguments-embedded {
        flex-direction: column;
        gap: 15px;
    }
    
    .features-grid {
        flex-direction: column;
    }
}