/* --- Correctif du décalage menu fixe --- */
html {
scroll-behavior: smooth;
scroll-padding-top: 100px;
}

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

body {
font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
color: #1e293b;
line-height: 1.6;
background-color: #ffffff;
}

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

.text-center {
text-align: center;
}

/* --- Navigation Header --- */
.navbar {
background-color: #ffffff;
box-shadow: 0 4px 15px rgba(0,0,0,0.06);
position: sticky;
top: 0;
z-index: 1000;
padding: 12px 0;
}

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

.logo-img {
height: 140px;
width: auto;
display: block;
transition: transform 0.2s ease;
}

.logo-img:hover {
transform: scale(1.02);
}

.nav-links {
list-style: none;
display: flex;
gap: 22px;
}

.nav-links a {
text-decoration: none;
color: #334155;
font-weight: 600;
font-size: 0.95rem;
display: flex;
align-items: center;
gap: 6px;
padding: 6px 10px;
border-radius: 6px;
transition: all 0.2s ease;
}

.nav-icon {
font-size: 1.05rem;
transition: transform 0.2s ease;
}

.nav-links a:hover {
color: #0284c7;
background-color: #f1f5f9;
}

.nav-links a:hover .nav-icon {
transform: translateY(-2px);
}

.nav-actions {
display: flex;
align-items: center;
gap: 15px;
}

.lang-dropdown {
padding: 8px 12px;
border-radius: 8px;
border: 1px solid #cbd5e1;
background-color: #f8fafc;
font-weight: 600;
cursor: pointer;
font-size: 1.1rem;
transition: border-color 0.2s;
}

.lang-dropdown:hover {
border-color: #0f766e;
}

/* Bouton Devis Stylisé avec Icône */
.btn-quote-header {
background-color: #0f766e;
color: #ffffff;
padding: 10px 20px;
border-radius: 8px;
text-decoration: none;
font-weight: 700;
font-size: 0.9rem;
display: flex;
align-items: center;
gap: 8px;
box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
transition: all 0.3s ease;
}

.btn-quote-header:hover {
background-color: #115e59;
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(15, 118, 110, 0.35);
}

/* --- Hero Section --- */
.hero-section {
background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), url('operation.jpg') no-repeat center center/cover;
padding: 110px 0;
}

.hero-text-block {
max-width: 850px;
}

.hero-tagline {
color: #0284c7;
font-weight: 800;
font-size: 0.85rem;
letter-spacing: 1.5px;
margin-bottom: 15px;
display: block;
}

.hero-title {
font-size: 2.8rem;
font-weight: 800;
color: #0f172a;
line-height: 1.25;
margin-bottom: 20px;
}

.hero-subtitle {
font-size: 1.15rem;
color: #475569;
margin-bottom: 35px;
line-height: 1.7;
}

.hero-buttons {
display: flex;
gap: 15px;
align-items: center;
}

.btn-primary {
background-color: #0284c7;
color: #ffffff;
padding: 14px 28px;
border-radius: 8px;
text-decoration: none;
font-weight: 700;
transition: background-color 0.2s;
}

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

.btn-secondary {
background-color: #f1f5f9;
color: #334155;
padding: 14px 28px;
border-radius: 8px;
text-decoration: none;
font-weight: 700;
border: 1px solid #cbd5e1;
transition: background-color 0.2s;
}

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

/* --- Sections & Typographie --- */
.section {
padding: 90px 0;
}

.bg-light {
background-color: #f8fafc;
}

.section-title {
font-size: 2.2rem;
margin-bottom: 20px;
color: #0f172a;
font-weight: 700;
}

.about-text {
max-width: 850px;
margin: 0 auto;
text-align: center;
font-size: 1.15rem;
color: #475569;
line-height: 1.8;
}

/* --- Cartes des Domaines --- */
.cards-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 30px;
margin-top: 30px;
}

.card {
background: #ffffff;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 20px rgba(0,0,0,0.03);
transition: transform 0.3s ease, box-shadow 0.3s ease;
border: 1px solid #e2e8f0;
}

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

.card-img-holder img {
width: 100%;
height: 220px;
object-fit: cover;
}

.card-body {
padding: 25px;
}

.card-body h3 {
font-size: 1.25rem;
margin-bottom: 12px;
color: #0f172a;
font-weight: 700;
}

.card-body p {
font-size: 0.95rem;
color: #64748b;
margin-bottom: 20px;
line-height: 1.5;
}

.btn-card {
background: none;
border: none;
color: #0284c7;
font-weight: 700;
cursor: pointer;
padding: 0;
font-size: 0.95rem;
}

.btn-card:hover {
color: #0369a1;
text-decoration: underline;
}

/* --- Ancrage National (Carte Mauritanie) --- */
.coverage-container {
display: flex;
align-items: center;
gap: 50px;
}

.coverage-text {
flex: 1;
}

.sub-tag {
color: #0f766e;
font-weight: 700;
font-size: 0.85rem;
letter-spacing: 1px;
}

.coverage-map {
flex: 1;
background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid #cbd5e1;
padding: 30px;
box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.mauritania-map-box {
background: #ffffff;
width: 100%;
max-height: 250px;
border-radius: 10px;
padding: 20px;
text-align: center;
border: 2px solid #0f766e;
box-shadow: 0 4px 12px rgba(15, 118, 110, 0.1);
}

.map-title {
font-size: 1.2rem;
font-weight: 800;
color: #0f172a;
margin-bottom: 15px;
}

.map-points {
display: flex;
justify-content: center;
gap: 20px;
margin: 15px 0;
}

.map-dot {
width: 12px;
height: 12px;
background-color: #0284c7;
border-radius: 50%;
display: inline-block;
box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.2);
animation: pulse 2s infinite;
}

@keyframes pulse {
0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.4); }
70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(2, 132, 199, 0); }
100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

.map-caption {
font-size: 0.85rem;
color: #64748b;
font-weight: 600;
}

/* --- Section Contact --- */
.contact-subtitle {
color: #64748b;
font-size: 1.05rem;
margin-bottom: 40px;
}

.contact-grid {
display: grid;
grid-template-columns: 1.6fr 1fr;
gap: 30px;
align-items: start;
}

.contact-form-wrapper {
background: #ffffff;
padding: 30px;
border-radius: 12px;
border: 1px solid #e2e8f0;
box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}

.form-group {
display: flex;
flex-direction: column;
gap: 6px;
margin-bottom: 18px;
}

.form-group label {
font-size: 0.88rem;
font-weight: 600;
color: #334155;
}

.form-group input,
.form-select,
.form-group textarea {
width: 100%;
padding: 11px 14px;
border: 1px solid #cbd5e1;
border-radius: 6px;
font-size: 0.95rem;
background-color: #f8fafc;
font-family: inherit;
}

.form-group input:focus,
.form-select:focus,
.form-group textarea:focus {
outline: none;
border-color: #0f766e;
background-color: #ffffff;
}

.btn-submit {
width: 100%;
background-color: #0f766e;
color: #ffffff;
border: none;
padding: 13px;
font-weight: 700;
font-size: 1rem;
border-radius: 6px;
cursor: pointer;
transition: background-color 0.2s;
}

.btn-submit:hover {
background-color: #115e59;
}

/* Carte d'Informations */
.info-card {
background: #ffffff;
padding: 25px;
border-radius: 12px;
border: 1px solid #e2e8f0;
box-shadow: 0 4px 15px rgba(0,0,0,0.03);
margin-bottom: 20px;
}

.info-card-title {
font-size: 1.1rem;
color: #0f172a;
font-weight: 700;
margin-bottom: 20px;
}

.info-item {
display: flex;
gap: 15px;
align-items: flex-start;
margin-bottom: 18px;
}

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

.info-item strong {
font-size: 0.75rem;
color: #64748b;
letter-spacing: 1px;
display: block;
margin-bottom: 2px;
}

.info-item p {
font-size: 0.95rem;
color: #1e293b;
font-weight: 600;
}

.phone-link {
color: #0f766e;
text-decoration: none;
font-weight: 700;
}

.phone-link:hover {
text-decoration: underline;
}

.map-container {
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

/* --- Modales --- */
.modal {
display: none;
position: fixed;
z-index: 2000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.6);
}

.modal-content {
background-color: #fefefe;
margin: 8% auto;
padding: 30px;
border-radius: 12px;
width: 90%;
max-width: 600px;
position: relative;
}

.close {
color: #aaa;
position: absolute;
right: 20px;
top: 15px;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}

.close:hover {
color: #000;
}

.modal-img {
width: 100%;
height: 250px;
object-fit: cover;
border-radius: 8px;
margin: 15px 0;
}

/* --- Responsive Mobile --- */
@media screen and (max-width: 868px) {
.nav-container {
flex-direction: column;
gap: 15px;
}

.nav-links {
flex-wrap: wrap;
justify-content: center;
gap: 10px;
}

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

.hero-buttons {
flex-direction: column;
width: 100%;
}

.btn-primary, .btn-secondary {
text-align: center;
width: 100%;
}

.coverage-container {
flex-direction: column;
}

.contact-grid {
grid-template-columns: 1fr;
}

.form-row {
grid-template-columns: 1fr;
}

.logo-img {
height: 100px;
}
}

