/* =========================================================
   Jimmy Lavoie-Desbiens, conseiller en sécurité financière
   Variante : noir & gris acier #AFAFAF (monochrome, sans bronze)
   Version 3 : priorité aux placements + partenaires séparés
   (particuliers / entreprises)
   ========================================================= */

:root {
  --black: #0c0e11;
  --ink: #14171c;
  --steel-900: #1c2128;
  --steel-700: #353c46;
  --steel-500: #5c6470;
  --steel-300: #9aa1ab;
  --steel-100: #e6e8ec;
  --paper: #f6f7f9;
  --white: #ffffff;
  --accent: #afafaf;       /* gris acier */
  --accent-deep: #8a8a8a;  /* gris acier plus sombre (survol / contraste) */

  --maxw: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -22px rgba(12, 14, 17, 0.45);
  --shadow-soft: 0 10px 30px -18px rgba(12, 14, 17, 0.35);

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typographie ---------- */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.2rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--steel-500);
  margin: 0 0 0.8rem;
}

.accent { color: var(--accent); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--accent); color: var(--black); }
.btn-primary:hover { background: var(--white); transform: translateY(-2px); }
.btn-ghost { border-color: var(--steel-300); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* on dark backgrounds (héro + sections sombres) */
.hero .btn-ghost,
.section-dark .btn-ghost { border-color: var(--steel-500); color: var(--steel-100); }
.hero .btn-ghost:hover,
.section-dark .btn-ghost:hover { border-color: var(--white); color: var(--white); }

/* =========================================================
   EN-TÊTE
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 14, 17, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
}
.brand-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  text-indent: 0.18em; /* compense le letter-spacing pour recentrer les lettres */
  color: var(--white);
  line-height: 1.1;
  text-decoration: none; /* évite tout soulignement parasite (header et footer identiques) */
}
.brand-mark::after {
  content: "";
  width: 60%;
  height: 2px;
  margin-top: 5px;
  background: var(--accent);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 0.98rem; font-weight: 600; }
.brand-text small { font-size: 0.72rem; color: var(--steel-300); letter-spacing: 0.02em; }
.brand-ia {
  height: 30px;
  width: auto;
  margin-left: 0.9rem;
  padding-left: 0.9rem;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.main-nav { display: flex; align-items: center; gap: 1.8rem; }
.main-nav a {
  text-decoration: none;
  color: var(--steel-100);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--accent); }
.main-nav .nav-cta {
  padding: 0.6rem 1.2rem;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
}
.main-nav .nav-cta:hover { background: var(--accent); color: var(--black); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); transition: 0.3s; }

/* =========================================================
   HÉRO
   ========================================================= */
.hero {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(175, 175, 175, 0.14), transparent 60%),
    linear-gradient(160deg, var(--black) 0%, var(--steel-900) 100%);
  color: var(--steel-100);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 { color: var(--white); margin-bottom: 1.4rem; }
.hero .lede { color: var(--steel-300); font-size: 1.12rem; max-width: 38ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 2.4rem; }
.hero-trust {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.6rem;
  font-size: 0.9rem;
  color: var(--steel-300);
}
.hero-trust strong { color: var(--accent); font-weight: 600; }

/* Portrait */
.hero-visual { display: flex; justify-content: center; }
.portrait-frame {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--steel-700), var(--steel-900));
  border: 1px solid rgba(175, 175, 175, 0.3);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.portrait-frame.small { max-width: 320px; aspect-ratio: 1 / 1; box-shadow: var(--shadow-soft); }
.portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.portrait-placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--steel-300);
  text-align: center;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* =========================================================
   BANDEAU
   ========================================================= */
.strip {
  background: var(--ink);
  color: var(--steel-100);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.strip-inner { padding: 1.6rem 24px; }
.strip p { margin: 0; text-align: center; font-size: 1.05rem; color: var(--steel-300); }
.strip em { color: var(--accent); font-style: normal; }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-soft { background: var(--paper); }
.section-dark { background: var(--ink); color: var(--steel-100); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-head { max-width: 660px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.section-sub { color: var(--steel-500); font-size: 1.08rem; margin: 1rem 0 0; }
.section-dark .section-sub { color: var(--steel-300); }

/* ---------- Cartes services ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--steel-100);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: var(--accent); }
/* Carte mise en avant : les placements en priorité */
.card.card-feature { border-color: var(--accent); box-shadow: var(--shadow-soft); }
.card-flag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--black);
  background: var(--accent);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.9rem;
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--ink);
  margin-bottom: 1.2rem;
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--steel-500); font-size: 0.96rem; }
.card-list { list-style: none; margin: 1.1rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--steel-100); }
.card-list li { position: relative; padding-left: 1.3rem; margin-bottom: 0.45rem; font-size: 0.9rem; color: var(--steel-700); }
.card-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Étapes (approche) ---------- */
.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.8rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
}
.step-num { font-family: var(--font-serif); font-size: 2rem; color: var(--accent); display: block; margin-bottom: 0.6rem; }
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--steel-300); font-size: 0.95rem; margin: 0; }

/* ---------- Partenaires ---------- */
.partners-inner { display: block; }
.partners-head { max-width: 760px; margin: 0 0 2rem; }
.partners-head p { color: var(--steel-500); margin: 0; }

/* Groupes : service aux particuliers / aux entreprises, côte à côte */
.partner-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.6rem, 4vw, 3rem);
  margin: 0 0 2rem;
}
.partner-group-title {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--steel-700);
  margin: 0 0 0.9rem;
}
.partner-group-title::before {
  content: "";
  flex: 0 0 auto;
  width: 24px; height: 2px;
  background: var(--accent);
}

.partner-blocks { display: grid; gap: 1.1rem; }
.partner-block {
  background: var(--paper);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
}
.partner-block h3 { margin-bottom: 0.2rem; }
.partner-block p { margin: 0; font-size: 0.95rem; color: var(--steel-500); }
.fineprint { font-size: 0.8rem; color: var(--steel-500); }
.partners-inner > .fineprint {
  max-width: 640px;
  margin: 1.4rem auto 0;
  padding: 0 clamp(1.8rem, 3.5vw, 2.4rem);
  text-align: center;
}
.partners-aside {
  max-width: 640px;
  margin: 0 auto;
  background: linear-gradient(160deg, var(--ink), var(--steel-900));
  color: var(--steel-100);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3.5vw, 2.4rem);
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.partners-aside blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--white);
}

/* Estimation rapide (auto / habitation) dans un bloc partenaire */
.estimate { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--steel-100); }
.estimate-label { font-size: 0.82rem; font-weight: 600; color: var(--steel-700); margin: 0 0 0.6rem; }
.estimate-links { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.estimate-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border: 1.5px solid var(--steel-100);
  border-radius: 999px;
  background: var(--white);
  text-decoration: none;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
  transition: border-color 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease;
}
.estimate-link:hover { border-color: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.estimate-link svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- À propos ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-visual { display: flex; justify-content: center; }
.about-copy p { color: var(--steel-500); }
.values { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 1rem; }
.values li { display: flex; flex-direction: column; padding-left: 1.2rem; border-left: 2px solid var(--accent); }
.values strong { font-size: 1rem; color: var(--ink); }
.values span { font-size: 0.92rem; color: var(--steel-500); }

/* ---------- À propos : fenêtre modale ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 13, 0.72);
  backdrop-filter: blur(4px);
}
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.8rem, 4vw, 3rem);
  animation: about-pop 0.25s ease;
}
@keyframes about-pop {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 12px; right: 14px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--steel-100);
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.modal-close:hover { background: var(--accent); color: var(--black); }
.modal .about-inner { margin: 0; }
body.modal-open { overflow: hidden; }

/* Carte de service cliquable (ouvre une fenêtre) */
.card-clickable { cursor: pointer; }
.card-clickable:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}
.card-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.18s ease; }
.card-clickable:hover .card-more svg { transform: translateX(3px); }

/* Fenêtre : types de placements */
.modal-intro { color: var(--steel-500); margin: 0.4rem 0 1.5rem; }
.placement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
}
.placement-item {
  background: var(--paper);
  border: 1px solid var(--steel-100);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
}
.placement-item h3 { margin: 0 0 0.2rem; }
.placement-item h3 small {
  display: block;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--steel-500);
  margin-top: 2px;
}
.placement-item .card-list { margin-top: 0.8rem; padding-top: 0.8rem; }

/* ---------- Contact ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-copy p { color: var(--steel-300); }
.contact-details { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-details li { display: flex; align-items: center; gap: 0.9rem; }
.contact-details a { color: var(--steel-100); text-decoration: none; font-weight: 500; }
.contact-details a:hover { color: var(--accent); }
.contact-details small { color: var(--steel-500); font-weight: 400; }
.contact-details strong { color: var(--white); }
.ci {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(175, 175, 175, 0.14);
  border: 1px solid rgba(175, 175, 175, 0.35);
}
.ci svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Formulaire */
.contact-form {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; display: flex; flex-direction: column; }
.field label { font-size: 0.82rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--steel-700); }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--steel-100);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(175, 175, 175, 0.28);
  background: var(--white);
}
.field textarea { resize: vertical; }
.hp-field { position: absolute; left: -9999px; }
.form-note { font-size: 0.78rem; color: var(--steel-500); margin: 0.9rem 0 0; text-align: center; }

/* Questionnaire de qualification (choix radio façon pastilles) */
.qualif-intro {
  font-size: 0.9rem;
  color: var(--steel-700);
  background: var(--paper);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin: 0.4rem 0 1.4rem;
}
.qualif-hint { font-size: 0.78rem; color: var(--steel-500); margin: 0.6rem 0 0; }
.qualif { border: 0; margin: 0 0 1.2rem; padding: 0; }
.qualif legend {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--steel-700);
  margin-bottom: 0.55rem;
  padding: 0;
}
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border: 1.5px solid var(--steel-100);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.88rem;
  color: var(--steel-700);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.choice input {
  appearance: none;
  -webkit-appearance: none;
  width: 14px; height: 14px;
  margin: 0;
  border: 1.5px solid var(--steel-300);
  border-radius: 50%;
  flex: 0 0 auto;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.choice:hover { border-color: var(--accent); }
.choice input:checked { border-color: var(--accent-deep); box-shadow: inset 0 0 0 4px var(--accent-deep); }
.choice:has(input:checked) {
  border-color: var(--ink);
  background: var(--white);
  color: var(--ink);
  font-weight: 500;
}
.choice input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Case de consentement marketing (Loi 25 : facultatif, non prérempli) */
.consent-marketing {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.95rem 1.1rem;
  margin: 0 0 1.4rem;
  border: 1.5px solid var(--steel-100);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--steel-700);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.consent-marketing:hover { border-color: var(--accent); }
.consent-marketing input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  margin: 0.1rem 0 0;
  border: 1.5px solid var(--steel-300);
  border-radius: 4px;
  flex: 0 0 auto;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.consent-marketing input:checked {
  border-color: var(--accent-deep);
  background: var(--accent-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.consent-marketing:has(input:checked) { border-color: var(--ink); background: var(--white); }
.consent-marketing input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.site-footer { background: var(--black); color: var(--steel-300); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
  padding: 3rem 24px 2rem;
}
.footer-brand { display: flex; gap: 0.9rem; align-items: flex-start; max-width: 360px; }
.footer-brand strong { color: var(--white); display: block; }
.footer-brand p { margin: 0.2rem 0 0; font-size: 0.85rem; line-height: 1.5; }
.footer-brand em { color: var(--steel-300); font-style: italic; }
.footer-ia { height: 32px; width: auto; align-self: flex-start; margin-top: 2px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-nav a { text-decoration: none; color: var(--steel-300); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 0.7rem; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.12);
  transition: border-color 0.2s, background 0.2s;
}
.footer-social a:hover { border-color: var(--accent); background: rgba(175,175,175,0.12); }
.footer-social svg { width: 18px; height: 18px; fill: var(--steel-300); }
.footer-social a:hover svg { fill: var(--accent); }

.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.6rem 24px 2.4rem;
  font-size: 0.8rem;
}
.footer-legal p { margin: 0 0 0.6rem; }
.footer-legal em { color: var(--steel-300); font-style: normal; }
.footer-legal .fineprint { color: var(--steel-500); font-size: 0.76rem; margin: 0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .portrait-frame { max-width: 300px; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
}

@media (max-width: 640px) {
  .partner-groups { grid-template-columns: 1fr; gap: 1.6rem; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--black);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0.5rem 24px 1.2rem;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .main-nav .nav-cta { text-align: center; margin-top: 0.8rem; border-radius: 999px; }
  .field-row { grid-template-columns: 1fr; }
  .brand-ia { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .modal-panel { animation: none !important; }
}

/* =========================================================
   FAQ (accordéon natif)
   ========================================================= */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 0.8rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--steel-100);
  border-radius: var(--radius-sm);
  padding: 0 1.3rem;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 0;
  font-family: var(--font-serif);
  font-size: 1.06rem;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent-deep);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 0 1.2rem; }
.faq-answer p { margin: 0; color: var(--steel-500); line-height: 1.65; }

/* Questions repliées : visibles par défaut (sans JS), masquées seulement
   lorsque le JS active le mode pliable, tant que la section n'est pas dépliée */
.faq-list.js-collapsible .faq-extra { display: none; }
.faq-list.js-collapsible.is-expanded .faq-extra { display: block; }
.faq-more { max-width: 760px; margin: 1.4rem auto 0; text-align: center; }

/* =========================================================
   PIED DE PAGE : liens de confidentialité
   ========================================================= */
.footer-meta { margin: 0.7rem 0 0; font-size: 0.76rem; }
.footer-meta a { color: var(--steel-300); text-decoration: underline; }
.footer-meta a:hover { color: var(--white); }
.footer-meta span { margin: 0 0.45rem; color: var(--steel-700); }

/* =========================================================
   BANNIÈRE DE CONSENTEMENT AUX TÉMOINS (Loi 25)
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 150;
  background: var(--ink);
  color: var(--steel-100);
  border: 1px solid var(--steel-700);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.3rem;
}
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  max-width: var(--maxw);
  margin: 0 auto;
  flex-wrap: wrap;
}
.cookie-text {
  margin: 0;
  flex: 1 1 320px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--steel-100);
}
.cookie-text a { color: var(--accent); text-decoration: underline; }
.cookie-text a:hover { color: var(--white); }
.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex: 0 0 auto;
}
.cookie-actions .btn { padding: 0.55rem 1.4rem; font-size: 0.9rem; }
/* Bouton « Refuser » : plein et bien contrasté sur fond sombre (lisibilité + équité Loi 25) */
.cookie-banner .btn-ghost {
  background: var(--steel-700);
  border-color: var(--steel-700);
  color: var(--white);
}
.cookie-banner .btn-ghost:hover {
  background: var(--steel-500);
  border-color: var(--steel-500);
  color: var(--white);
}

@media (max-width: 600px) {
  .cookie-inner { gap: 0.9rem; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}
