@charset "UTF-8";

:root {
  --bg: #f9f7f4;
  --paper: #ffffff;
  --ink: #1a1f23;
  --muted: #5e6b77;
  --line: #e8e2d9;
  --accent: #ca8a04;
  --primary: #114979;
  --brand-orange: #ff640a;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

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

/* ===== HEADER (Fix Mobile Bug) ===== */
.mast {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.mast-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1; /* Prend l'espace disponible */
}

.logo {
  width: 54px;
  height: 54px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  flex-shrink: 0;
}
.logo img { width: 100%; height: 100%; object-fit: cover; }

.brand-text { display: flex; flex-direction: column; }
.title {
  font-weight: 800;
  font-size: clamp(14px, 4vw, 19px);
  line-height: 1.2;
}
.subtitle {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
}

.call-btn {
  background: var(--brand-orange);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: transform 0.2s;
}

@media (max-width: 600px) {
  .btn-label { display: none; } /* Cache le numéro, garde l'icône sur petit tel */
  .call-btn { padding: 12px; }
  .subtitle { display: none; }
}

/* ===== RUBAN COORDONNÉES ===== */
.coords {
  background: var(--primary);
  color: #fff;
  padding: 8px 0;
  font-size: 13px;
}
.coords-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.coords a { color: #fff; text-decoration: none; }
.sep { margin: 0 8px; opacity: 0.5; }

@media (max-width: 850px) {
  .coords-row { flex-direction: column; text-align: center; gap: 5px; }
  .usp { display: none; } /* Cache les arguments secondaires sur mobile */
}

/* ===== LAYOUT ===== */
.layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
  margin: 30px 0;
}

@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
}

/* ===== ARTICLE & CARDS ===== */
.paper {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.article-body { padding: 30px; }
h1 { font-family: serif; font-size: clamp(24px, 5vw, 34px); margin-bottom: 20px; color: var(--primary); }
h2 { font-family: serif; font-size: 24px; margin-top: 30px; margin-bottom: 15px; color: var(--primary); }

.lead {
  font-size: 18px;
  border-left: 4px solid var(--brand-orange);
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--muted);
}

.main-illustration { margin: 25px 0; width: 100%; }
.main-illustration img { width: 100%; border-radius: 8px; display: block; }

/* Grilles */
.section-services, .section-engagements { padding: 30px; border-top: 1px solid var(--line); background: #fafafa; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

@media (max-width: 700px) {
  .grid3 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.icon-accent { font-size: 28px; color: var(--brand-orange); margin-bottom: 10px; display: block; }
.list { list-style: none; margin-top: 10px; font-size: 14px; }
.list li { margin-bottom: 8px; display: flex; align-items: baseline; }
.list li::before { content: "→"; color: var(--accent); margin-right: 8px; font-weight: bold; }

.card-simple h4 { color: var(--accent); margin-bottom: 5px; }
.card-simple p { font-size: 14px; color: var(--muted); }

/* ===== SIDEBAR ===== */
.sidebar .sticky-content { position: sticky; top: 100px; display: grid; gap: 20px; }
.contact-card {
  background: #fff;
  padding: 25px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.contact-methods { display: grid; gap: 12px; margin: 20px 0; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  padding: 5px 0;
}
.contact-link i { color: var(--brand-orange); }

.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 15px; }
.badge {
  background: #f0f4f8;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
}

.sidebar-thumb { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.sidebar-thumb img { width: 100%; display: block; }

/* ===== FOOTER ===== */
footer { background: var(--primary); color: #fff; padding: 40px 0 0; }
.foot-content { padding-bottom: 30px; text-align: center; }
.foot-brand { font-weight: 800; font-size: 18px; margin-bottom: 10px; }
address { font-style: normal; opacity: 0.8; font-size: 14px; line-height: 1.8; }
address a { color: #fff; }

.copyright-bar {
  background: #0b1116;
  padding: 15px 0;
  font-size: 12px;
  text-align: center;
  opacity: 0.7;
}