:root{
  --bg: #f6f7fb;
  --bg2:#ffffff;

  --text: #0f172a;      /* slate-900 */
  --muted:#475569;      /* slate-600 */
  --muted2:#64748b;     /* slate-500 */

  --border: rgba(15, 23, 42, .10);
  --panel: rgba(255,255,255,.75);
  --panel2: rgba(255,255,255,.95);

  --shadow: 0 18px 40px rgba(2, 6, 23, .10);

  --radius: 18px;
  --radius2: 26px;
  --max: 1120px;

  /* Accent pro (bleu + doré léger) */
  --a1: #0ea5e9; /* sky-500 */
  --a2: #f59e0b; /* amber-500 */
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(1100px 520px at 10% -10%, rgba(14,165,233,.18), transparent 60%),
    radial-gradient(900px 460px at 110% 10%, rgba(245,158,11,.14), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
}
a{ color: inherit; text-decoration:none; }
.container{ width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* Header */
/* Header Moderne */
.site-header {
  position: fixed; /* Fixe le header par rapport à la fenêtre */
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000; /* Assure qu'il passe au-dessus de TOUS les éléments */
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.header-inner {
 display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  /* On réutilise la largeur max pour centrer le contenu à l'intérieur de la barre fixe */
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* Logo & Status */
.logo-group .logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.logo-text .status {
  font-size: 0.7rem;
  color: #10b981; /* Vert succès */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Navigation */
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
}

.nav-list a {
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.nav-list a:not(.btn-nav):hover {
  background: rgba(14, 165, 233, 0.08);
  color: var(--a1);
}

/* Bouton Contact dans la nav */
.btn-nav {
  background: var(--text);
  color: white !important;
  margin-left: 10px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-nav:hover {
  background: var(--a1);
  transform: translateY(-1px);
}

/* Effet au scroll (Optionnel avec JS) */
.header-scrolled {
  top: 0;
  width: 100%;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.95);
}
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, var(--a1), #0284c7); /* Bleu pro */
  color: white; /* Texte blanc sur fond bleu c'est plus lisible */
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}
.btn:active{ transform: translateY(0); }
.btn-ghost{
  background: rgba(255,255,255,.90);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}
.btn-ghost:hover{ background: rgba(255,255,255,1); }
.btn-sm{ padding: 10px 12px; border-radius: 12px; }

/* Hero */
.hero{ padding: 70px 0 24px; }
.hero-grid{
  display:grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 22px;
  align-items: start;
}
.kicker{
  margin:0 0 10px;
  display:inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.85);
  color: var(--muted);
  font-weight: 750;
}
h1{
  margin:0 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.8px;
  line-height: 1.08;
}
.sub{
  display:block;
  margin-top: 8px;
  font-size: clamp(14px, 2vw, 18px);
  color: var(--muted);
  font-weight: 700;
}
.lead{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}
.hero-actions{ display:flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.highlights{
  margin-top: 16px;
  display:flex;
  gap:10px;
  flex-wrap: wrap;
}
.pill{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.85);
  color: var(--muted);
  font-weight: 700;
}

/* Hero Card */
.hero-card{
  padding: 16px;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}
.photo-wrap{
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255,255,255,1);
}
.photo {
  display: block;
  width: 100%;
  height: 480px; /* On augmente la hauteur pour voir plus de l'image */
  object-fit: cover;
  object-position: top; 
}
.card-meta{ padding: 14px 2px 0; }
.name{ margin:0; font-weight: 900; letter-spacing: -.2px; }
.role{ margin:6px 0 10px; color: var(--muted); }
.meta-row{
  display:grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}
.card-actions{ display:flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

/* Sections */
.section{ padding: 56px 0; }
.section-alt{
  background: rgba(255,255,255,.60);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head{ margin-bottom: 18px; }
.section-head h2{
  margin:0 0 6px;
  font-size: 1.9rem;
  letter-spacing: -.4px;
}
.section-head p{ margin:0; color: var(--muted); }

/* Layout blocks */
.two-col{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  align-items: start;
}
.panel{
  padding: 18px;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}
.text{ color: var(--muted); line-height: 1.8; margin: 0 0 10px; }

.list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.95;
}

/* Stats */
.grid{ display:grid; gap: 12px; }
.stats{ grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; }
.stat{
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.85);
}
.stat-value{ margin:0; font-weight: 950; }
.stat-label{ margin:4px 0 0; color: var(--muted2); }

/* Timeline */
.timeline{
  position: relative;
  padding-left: 18px;
  display: grid;
  gap: 14px;
}
.timeline::before{
  content:"";
  position:absolute;
  left: 6px; top: 8px; bottom: 8px;
  width: 2px;
  background: rgba(15,23,42,.12);
}
.t-item{
  position: relative;
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
  align-items: start;
}
.t-dot{
  width: 12px; height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  box-shadow: 0 0 0 6px rgba(15,23,42,.06);
  margin-top: 8px;
}
.t-content{
  padding: 16px;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}
.t-top{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.t-top h3{ margin:0; letter-spacing: -.2px; }
.t-date{ color: var(--muted2); font-weight: 800; }
.bullets{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

/* Cards (Réalisations) */
.cards{ grid-template-columns: repeat(3, minmax(0,1fr)); }
.card{
  padding: 16px;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  transition: transform .15s ease;
}
.card:hover{ transform: translateY(-2px); }
.card-head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}
.card-head h3{ margin:0; }
.chip{
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.90);
  color: var(--muted);
  font-weight: 800;
  font-size: .9rem;
}
.tags{ display:flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.tag{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.90);
  color: var(--muted);
  font-weight: 700;
  font-size: .9rem;
}

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.contact-lines p{ margin: 10px 0; color: var(--muted); }
.form{
  padding: 18px;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}
label{
  display:grid;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 800;
}
input, textarea{
  width:100%;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.14);
  background: rgba(248,250,252,1);
  color: var(--text);
  outline: none;
}
input:focus, textarea:focus{
  border-color: rgba(14,165,233,.65);
  box-shadow: 0 0 0 4px rgba(14,165,233,.15);
}
.note{ margin: 12px 0 0; color: var(--muted2); }

/* Footer */
/* Footer High-End */
.site-footer {
  background: var(--text); /* Fond sombre pour le contraste */
  color: white;
  padding: 60px 0 20px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info .logo {
  color: white;
  margin-bottom: 15px;
}

.footer-tagline {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 300px;
}

.site-footer h4 {
  color: var(--a1); /* Titres en bleu accent */
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  color: #cbd5e1;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: white;
}

.footer-contact p {
  color: #cbd5e1;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.footer-bottom {
  padding-top: 25px;
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
}

.certified {
  font-style: italic;
  margin-top: 5px;
  color: #94a3b8;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-tagline {
    margin: 0 auto;
  }
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .two-col{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .photo{ height: 280px; }
}
