/* =========================================================
   CleAd Conseil — feuille de style commune
   Identité visuelle :
     Blanc     #FFFFFF
     Bleu acier #3C5A74
     Anthracite #29323B
     Orange     #E07B39 (accent, ≤10% de la surface)
   Police : Inter
   ========================================================= */

:root {
  /* Palette officielle — charte graphique CleAd (édition 2026) */
  --blanc: #FFFFFF;
  --bleu: #3C5A74;        /* Bleu acier */
  --bleu-clair: #4d6f8c;
  --anthracite: #2A2E33;  /* Anthracite */
  --orange: #E2701C;      /* Orange industriel — accent uniquement */
  --gris-fond: #F4F6F8;   /* Gris clair — fonds, respiration */
  --gris-bord: #e4e7ea;
  --texte: #2A2E33;
  --texte-doux: #6A7178;  /* Gris — texte secondaire */
  --max: 1120px;
  --radius: 10px;
  --shadow: 0 8px 30px rgba(42, 46, 51, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  /* Carlito — police unique de la marque (équivalent libre de Calibri) */
  font-family: 'Carlito', Calibri, 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--texte);
  background: var(--blanc);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--bleu); text-decoration: none; }
a:hover { color: var(--orange); }

h1, h2, h3 { line-height: 1.2; color: var(--anthracite); font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }

p { color: var(--texte-doux); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

section { padding: 84px 0; }
.section-sombre { background: var(--anthracite); }
.section-sombre h2, .section-sombre h3 { color: var(--blanc); }
.section-sombre p { color: #c7ced4; }
.section-gris { background: var(--gris-fond); }

.eyebrow {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.lead { font-size: 1.15rem; color: var(--texte-doux); max-width: 720px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: #cf6d2e; color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--blanc); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: var(--orange); color: var(--blanc); }
.btn-outline { background: transparent; color: var(--bleu); border-color: var(--bleu); }
.btn-outline:hover { background: var(--bleu); color: #fff; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gris-bord);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 40px; width: auto; display: block; }
.nav-links { display: flex; gap: 30px; align-items: center; list-style: none; }
.nav-links a { color: var(--anthracite); font-weight: 500; font-size: 0.98rem; }
.nav-links a.active, .nav-links a:hover { color: var(--orange); }
.nav-cta { padding: 10px 20px; font-size: 0.95rem; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 2px; background: var(--anthracite); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--anthracite) 0%, var(--bleu) 100%);
  color: #fff; padding: 96px 0 104px;
  position: relative; overflow: hidden;
}
.hero .wrap { position: relative; z-index: 2; }
/* Fonds décoratifs de hero (filigrane, grille, illustration par page) */
.hero--home { background: var(--anthracite) url("assets/hero-bg.svg") center right / cover no-repeat; }
.hero--methode { background: var(--anthracite) url("assets/hero-methode.svg") center right / cover no-repeat; }
.hero--apropos { background: var(--anthracite) url("assets/hero-apropos.svg") center right / cover no-repeat; }
.hero--approfondir { background: var(--anthracite) url("assets/hero-approfondir.svg") center right / cover no-repeat; }
.hero--contact { background: var(--anthracite) url("assets/hero-contact.svg") center right / cover no-repeat; }
.hero--legal { background: var(--anthracite) url("assets/hero-legal.svg") center right / cover no-repeat; }
.hero h1 { color: #fff; max-width: 900px; }
.hero .lead { color: #d5dde4; margin: 22px 0 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Grilles / cartes ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--gris-bord);
  border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.98rem; }

.section-header { max-width: 760px; margin-bottom: 48px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Liste symptômes */
.symptom {
  background: #fff; border-left: 3px solid var(--bleu);
  border-radius: 8px; padding: 22px 24px; box-shadow: var(--shadow);
}
.symptom p { color: var(--texte); font-style: italic; font-size: 1.2rem; line-height: 1.45; }
.symptom strong { color: var(--anthracite); font-style: normal; }

/* Illustration-parcours CRÉA */
.crea-illustration { width: 100%; max-width: 1240px; height: auto; margin: 0 auto; display: block; }

/* Étapes CRÉA */
.crea-step {
  background: #fff; border: 1px solid var(--gris-bord);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow);
  position: relative;
}
.crea-letter {
  font-size: 4rem; font-weight: 800; color: var(--orange);
  line-height: 1; margin-bottom: 12px;
}
.crea-step h3 { margin-bottom: 8px; }

/* Chiffres / preuve */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.stat-num { font-size: 2.6rem; font-weight: 800; color: var(--orange); line-height: 1; }
.stat-label { color: #c7ced4; font-size: 0.95rem; margin-top: 8px; }

/* Cas / citation */
.case {
  background: #fff; border-radius: var(--radius); padding: 40px;
  box-shadow: var(--shadow); border: 1px solid var(--gris-bord);
}
.case .quote { font-size: 1.25rem; color: var(--anthracite); font-weight: 500; line-height: 1.5; }

/* Valeurs */
.value { padding: 26px 0; border-bottom: 1px solid var(--gris-bord); }
.value:last-child { border-bottom: 0; }
.value h3 { margin-bottom: 6px; }
.value .cost { font-size: 0.9rem; color: var(--orange); font-weight: 600; }

/* CTA final — fond bleu acier, orange réservé à l'accent (bouton) */
.cta-band { background: var(--bleu); text-align: center; position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe4ec; }
.cta-band .btn-primary { background: var(--orange); color: #fff; }
.cta-band .btn-primary:hover { background: #c85f12; color: #fff; }

/* ---------- Formulaire ---------- */
.form { max-width: 640px; }
.form-row { margin-bottom: 20px; }
.form label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--anthracite); font-size: 0.95rem; }
.form input, .form textarea, .form select {
  width: 100%; padding: 13px 15px; font-size: 1rem; font-family: inherit;
  border: 1px solid var(--gris-bord); border-radius: 8px; background: #fff; color: var(--texte);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--bleu); box-shadow: 0 0 0 3px rgba(60,90,116,.12);
}
.form textarea { min-height: 150px; resize: vertical; }

/* ---------- Portrait (À propos) ---------- */
.portrait { margin: 0; }
.portrait img {
  width: 100%; border-radius: var(--radius); display: block;
  box-shadow: var(--shadow); border: 1px solid var(--gris-bord);
}
.portrait figcaption {
  margin-top: 12px; font-size: 0.82rem; color: var(--texte-doux);
  padding-left: 12px; border-left: 3px solid var(--orange);
  white-space: nowrap;
}

/* ---------- Split (À propos) ---------- */
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center; }
/* Parcours (À propos) : texte + photo, empilé sur mobile */
.split-parcours { grid-template-columns: 1fr 230px; align-items: center; }
@media (max-width: 900px) {
  .split-parcours { grid-template-columns: 1fr; gap: 28px; }
  .split-parcours .portrait { max-width: 260px; margin: 0 auto; }
}
.about-side { background: var(--bleu); color: #fff; border-radius: var(--radius); padding: 36px; }
.about-side h3 { color: #fff; }
.about-side ul { list-style: none; margin-top: 14px; }
.about-side li { padding: 8px 0 8px 26px; position: relative; color: #e2e9ef; }
.about-side li::before { content: '—'; position: absolute; left: 0; color: var(--orange); }
.enbref-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 32px; }
@media (max-width: 680px) { .enbref-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--anthracite); color: #b6bec6; padding: 56px 0 30px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 34px; }
.footer-brand img { height: 46px; width: auto; display: block; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .06em; }
.footer-col a { display: block; color: #b6bec6; padding: 4px 0; font-size: 0.95rem; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid #3a444e; padding-top: 22px; font-size: 0.85rem; color: #8a949d; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Articles : index ---------- */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.article-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--gris-bord); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; transition: transform .15s ease;
}
.article-card:hover { transform: translateY(-3px); }
.article-card a { color: inherit; display: flex; flex-direction: column; height: 100%; }
.article-card .card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.article-tag {
  display: inline-block; align-self: flex-start; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange);
  border: 1px solid var(--orange); border-radius: 20px; padding: 3px 11px; margin-bottom: 14px;
}
.article-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.article-card p { font-size: 0.96rem; margin-bottom: 16px; }
.article-card .article-more { margin-top: auto; font-weight: 600; color: var(--bleu); font-size: 0.95rem; }
.article-card:hover .article-more { color: var(--orange); }
.article-date { font-size: 0.82rem; color: var(--texte-doux); margin-bottom: 8px; }

/* ---------- Article : page ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article .article-head { margin-bottom: 30px; }
.article .article-tag { margin-bottom: 16px; }
.article h1 { margin-bottom: 14px; }
.article .article-meta { font-size: 0.9rem; color: var(--texte-doux); }
.article .article-body { font-size: 1.08rem; line-height: 1.75; }
.article .article-body h2 { font-size: 1.5rem; margin: 34px 0 12px; }
.article .article-body h3 { font-size: 1.2rem; margin: 26px 0 8px; }
.article .article-body p { margin-bottom: 16px; }
.article .article-body ul { margin: 0 0 16px 22px; }
.article .article-body li { margin-bottom: 6px; color: var(--texte-doux); }
.article .article-body blockquote {
  margin: 24px 0; padding: 14px 22px; border-left: 3px solid var(--orange);
  background: var(--gris-fond); color: var(--anthracite); font-style: italic;
}
.article-back { display: inline-block; margin-top: 40px; font-weight: 600; }

/* ---------- Page légale ---------- */
.legal { max-width: 800px; }
.legal h2 { font-size: 1.3rem; margin: 34px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin-bottom: 12px; }
.legal mark { background: #fdecd9; color: #a8530f; padding: 1px 6px; border-radius: 4px; font-weight: 600; }

/* ---------- Utilitaires ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }

/* ---------- Bandeau cookies ---------- */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px;
  max-width: 540px; margin: 0 auto; z-index: 1000;
  background: var(--anthracite); color: #fff;
  padding: 18px 22px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,.3);
}
.cookie-banner p { color: #d5dde4; font-size: 0.9rem; margin: 0 0 14px; line-height: 1.5; }
.cookie-banner p a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }
.cookie-banner .btn { padding: 9px 20px; font-size: 0.9rem; }
.cookie-banner .btn-outline { color: #fff; border-color: rgba(255,255,255,.45); }
.cookie-banner .btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 680px) {
  section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 0; border-bottom: 1px solid var(--gris-bord);
    box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 0 24px; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--gris-fond); }
  .nav-links li:last-child { padding: 12px 24px; }
  .nav-cta { text-align: center; }
  .nav-toggle { display: flex; }
  .case { padding: 28px; }
}
