/* ============================================================
   SOS Habitat – Feuille de style publique (redesign v2)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --primary:       #1a4a7a;
  --primary-light: #2d7dd2;
  --primary-dark:  #0f2d4e;
  --accent:        #f07b28;
  --accent-dark:   #d4611a;
  --accent-light:  #fdf0e5;
  --teal:          #00b4d8;
  --bg:            #f5f7fc;
  --white:         #ffffff;
  --dark:          #1a2535;
  --gray:          #6b7a8d;
  --gray-light:    #8fa0b4;
  --light:         #e8eef6;
  --success:       #22a96a;
  --danger:        #e74c3c;
  --warning:       #f39c12;
  --border:        #d4dde8;
  --shadow-sm:     0 2px 8px rgba(26,74,122,.08);
  --shadow:        0 6px 24px rgba(26,74,122,.12);
  --shadow-lg:     0 12px 40px rgba(26,74,122,.18);
  --radius:        14px;
  --radius-sm:     8px;
  --radius-xs:     6px;
  --gradient:      linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  --gradient-warm: linear-gradient(135deg, #f07b28 0%, #f5a623 100%);
}

/* ── Reset & base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.65;
  font-size: 16px;
}
a { color: var(--primary-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5 { font-family: 'Poppins', 'Segoe UI', sans-serif; }

/* ── Typography ───────────────────────────────────────────── */
h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.15rem; font-weight: 600; }
p  { margin-bottom: .75rem; }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  background: #ffffff;
  padding: 0 1.5rem;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,.1);
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 1rem; position: relative;
}
.logo {
  display: flex; align-items: center; gap: .85rem;
  color: var(--dark); text-decoration: none !important;
  transition: opacity .2s;
}
.logo:hover { opacity: .85; text-decoration: none !important; }
.logo-full-img {
  height: 52px; width: auto; flex-shrink: 0;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.15));
}
/* Fallback pour ancien logo-icon-img */
.logo-icon-img {
  width: 42px; height: 42px; flex-shrink: 0;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.15));
}
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem; font-weight: 800;
  letter-spacing: -.3px; color: var(--primary-dark);
}
.logo-name span { color: var(--accent); }
.logo-tagline {
  font-size: .7rem; font-weight: 400;
  color: var(--gray); letter-spacing: .5px;
  text-transform: uppercase;
}
.header-title {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem; font-weight: 800;
  color: var(--primary-dark); letter-spacing: -.3px;
  white-space: nowrap; pointer-events: none;
}
.header-title span { color: var(--primary-light); }
.header-contact { color: var(--gray); font-size: .85rem; text-align: right; }
.header-contact strong { display: block; color: var(--primary-dark); font-size: 1rem; font-weight: 600; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--gradient);
  color: var(--white);
  padding: 4.5rem 1.5rem 5.5rem;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(45,125,210,.35) 0%, transparent 70%),
              radial-gradient(ellipse at 20% 80%, rgba(0,180,216,.2) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { margin-bottom: .85rem; text-shadow: 0 2px 8px rgba(0,0,0,.15); }
.hero p  { font-size: 1.15rem; opacity: .88; max-width: 580px; margin: 0 auto 2.25rem; }
.hero-badges { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.badge {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  padding: .45rem 1.1rem; border-radius: 50px;
  font-size: .85rem; font-weight: 500;
  transition: background .2s;
}
.badge:hover { background: rgba(255,255,255,.22); }

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: .8rem 1.5rem; font-size: .875rem;
  box-shadow: var(--shadow-sm);
}
.breadcrumb-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary-light); font-weight: 500; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--gray-light); }
.breadcrumb .current { color: var(--gray); }

/* ── Main container ────────────────────────────────────────── */
.main-wrap { max-width: 1200px; margin: 0 auto; padding: 2.75rem 1.5rem; }

/* ── Section heading ───────────────────────────────────────── */
.section-heading {
  text-align: center; margin-bottom: 2.75rem;
}
.section-heading h2 {
  color: var(--primary); margin-bottom: .4rem;
  display: inline-flex; align-items: center; gap: .6rem;
}
.section-heading h2::before, .section-heading h2::after {
  content: ''; flex: 1; height: 2px;
  background: linear-gradient(90deg, transparent, var(--border));
}
.section-heading h2::after {
  background: linear-gradient(90deg, var(--border), transparent);
}
.section-heading p  { color: var(--gray); font-size: 1.05rem; max-width: 600px; margin: .4rem auto 0; }

/* ── Grid thèmes ───────────────────────────────────────────── */
.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 1.25rem;
}
.theme-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.85rem 1.25rem; text-align: center;
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s;
  border: 2px solid transparent;
  display: block; color: inherit;
  position: relative; overflow: hidden;
}
.theme-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(45,125,210,.04) 0%, transparent 60%);
  transition: opacity .2s;
}
.theme-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
  text-decoration: none;
}
.theme-card:hover::before { opacity: 2; }
.theme-card-icon {
  font-size: 2.6rem; margin-bottom: .9rem;
  width: 68px; height: 68px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .9rem;
  background: var(--light);
  box-shadow: 0 4px 12px rgba(26,74,122,.1);
  transition: transform .22s;
}
.theme-card:hover .theme-card-icon { transform: scale(1.1); }
.theme-card h3 { color: var(--primary); margin-bottom: .3rem; font-size: 1rem; font-weight: 700; }
.theme-card p  { color: var(--gray); font-size: .83rem; margin: 0; line-height: 1.45; }

/* ── Grid familles ─────────────────────────────────────────── */
.familles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
}
.famille-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.35rem 1.25rem; display: flex; color: inherit;
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s, border-color .2s;
  border: 2px solid transparent;
  align-items: flex-start; gap: 1rem;
  text-decoration: none !important;
}
.famille-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
  text-decoration: none !important;
}
.famille-icon {
  font-size: 1.8rem; flex-shrink: 0;
  width: 50px; height: 50px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.famille-card:hover .famille-icon { background: #fde8d4; }
.famille-info h3 { color: var(--primary); margin-bottom: .2rem; font-size: .95rem; font-weight: 600; }
.famille-info p  { color: var(--gray); font-size: .82rem; margin: 0; line-height: 1.45; }

/* ── Parcours Q&R ─────────────────────────────────────────── */
.parcours-wrap { max-width: 740px; margin: 0 auto; }

.progress-bar-wrap {
  background: var(--light); border-radius: 50px; height: 7px;
  margin-bottom: 2.25rem; overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  border-radius: 50px; transition: width .45s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.progress-bar-fill::after {
  content: ''; position: absolute; right: 0; top: -2px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--accent); border: 2px solid white;
  box-shadow: 0 0 0 2px var(--accent);
}

.question-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2.5rem; box-shadow: var(--shadow);
  animation: fadeSlideUp .3s cubic-bezier(.4,0,.2,1);
  border-top: 4px solid var(--primary-light);
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.question-num {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--gradient); color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: .8rem; font-weight: 700;
  padding: .3rem .9rem; border-radius: 50px;
  margin-bottom: 1.1rem; letter-spacing: .5px;
}
.question-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--primary); margin-bottom: .5rem;
  line-height: 1.3;
}
.question-aide { color: var(--gray); font-size: .9rem; margin-bottom: 1.85rem; line-height: 1.5; }

.reponses-list { display: flex; flex-direction: column; gap: .7rem; }
.reponse-btn {
  background: var(--bg); border: 2px solid var(--border);
  border-radius: var(--radius-sm); padding: 1rem 1.25rem;
  text-align: left; cursor: pointer; font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--dark); transition: all .2s cubic-bezier(.4,0,.2,1);
  display: flex; align-items: center; gap: .85rem;
}
.reponse-btn:hover {
  background: var(--white); border-color: var(--primary-light);
  color: var(--primary); transform: translateX(5px);
  box-shadow: var(--shadow-sm);
}
.reponse-btn .arrow {
  margin-left: auto; color: var(--gray-light);
  transition: transform .2s, color .2s;
}
.reponse-btn:hover .arrow {
  transform: translateX(3px); color: var(--primary-light);
}

.parcours-nav {
  display: flex; gap: 1rem; margin-top: 1.75rem; flex-wrap: wrap;
}
.btn-retour {
  background: transparent; border: 2px solid var(--border);
  color: var(--gray); padding: .65rem 1.35rem;
  border-radius: var(--radius-sm); cursor: pointer;
  font-size: .9rem; font-family: 'Inter', sans-serif; font-weight: 500;
  transition: all .2s;
  display: flex; align-items: center; gap: .5rem;
}
.btn-retour:hover {
  border-color: var(--primary-light); color: var(--primary);
  background: var(--light);
}

/* ── Solution ──────────────────────────────────────────────── */
.solution-wrap { max-width: 800px; margin: 0 auto; }
.solution-header {
  background: var(--gradient);
  color: var(--white); padding: 2.75rem;
  border-radius: var(--radius); margin-bottom: 2rem;
  position: relative; overflow: hidden;
}
.solution-header::before {
  content: '';
  position: absolute; top: -30px; right: -30px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.solution-header h1 { margin-bottom: .5rem; font-size: clamp(1.4rem, 3vw, 2rem); }
.solution-meta {
  display: flex; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.25rem;
}
.meta-badge {
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.25);
  padding: .4rem 1rem;
  border-radius: 50px; font-size: .85rem;
  display: flex; align-items: center; gap: .45rem;
}
.solution-section {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow-sm); margin-bottom: 1.5rem;
  border-left: 4px solid var(--border);
  transition: border-color .2s;
}
.solution-section:hover { border-left-color: var(--primary-light); }
.solution-section h2 {
  color: var(--primary); margin-bottom: 1.25rem;
  font-size: 1.15rem; font-weight: 700;
  display: flex; align-items: center; gap: .6rem;
}

.materiel-list { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.materiel-list li {
  display: flex; align-items: center; gap: .85rem;
  padding: .65rem 1rem; background: var(--bg);
  border-radius: var(--radius-sm); font-size: .95rem;
  border: 1px solid var(--border);
}
.materiel-list li::before {
  content: "✓"; color: var(--success);
  font-weight: 800; flex-shrink: 0;
  width: 20px; height: 20px;
  background: #e8f5e9; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
}

.etapes-list { display: flex; flex-direction: column; gap: 1.35rem; }
.etape { display: flex; gap: 1.25rem; align-items: flex-start; }
.etape-num {
  width: 40px; height: 40px;
  background: var(--gradient);
  color: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 700;
  flex-shrink: 0; font-size: .95rem;
  box-shadow: 0 4px 10px rgba(26,74,122,.25);
}
.etape-content h4 { color: var(--primary); margin-bottom: .25rem; font-weight: 600; }
.etape-content p  { color: var(--gray); margin: 0; font-size: .95rem; }

.conseil-box {
  background: #fff8e1; border-left: 4px solid var(--warning);
  padding: 1.1rem 1.35rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: flex; gap: .85rem; align-items: flex-start;
}
.conseil-box span { font-size: 1.35rem; flex-shrink: 0; }
.conseil-box p { color: var(--dark); margin: 0; font-size: .95rem; line-height: 1.5; }

.solution-actions {
  display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.25rem;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn-primary, .btn-secondary, .btn-danger, .btn-accent {
  padding: .85rem 1.85rem; border-radius: var(--radius-sm);
  font-size: 1rem; font-weight: 600; cursor: pointer;
  border: none; transition: all .22s;
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: 'Inter', sans-serif; letter-spacing: .2px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--success) 0%, #1e9157 100%);
  color: var(--white); box-shadow: 0 4px 14px rgba(34,169,106,.3);
}
.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(34,169,106,.4);
  transform: translateY(-2px); filter: brightness(1.06);
}
.btn-secondary {
  background: var(--gradient); color: var(--white);
  box-shadow: 0 4px 14px rgba(26,74,122,.25);
}
.btn-secondary:hover {
  box-shadow: 0 6px 20px rgba(26,74,122,.35);
  transform: translateY(-2px); filter: brightness(1.08);
}
.btn-danger {
  background: linear-gradient(135deg, var(--danger) 0%, #c0392b 100%);
  color: var(--white); box-shadow: 0 4px 14px rgba(231,76,60,.3);
}
.btn-danger:hover {
  box-shadow: 0 6px 20px rgba(231,76,60,.4);
  transform: translateY(-2px);
}
.btn-accent {
  background: var(--gradient-warm); color: var(--white);
  box-shadow: 0 4px 14px rgba(240,123,40,.3);
}
.btn-accent:hover {
  box-shadow: 0 6px 20px rgba(240,123,40,.4);
  transform: translateY(-2px); filter: brightness(1.06);
}

/* ── Incident form ─────────────────────────────────────────── */
.incident-wrap { max-width: 780px; margin: 0 auto; }
.incident-intro {
  background: linear-gradient(135deg, #fff8e0, #fff3cc);
  border: 1px solid #f0c040; border-radius: var(--radius);
  padding: 1.6rem; margin-bottom: 2rem;
  display: flex; gap: 1.1rem; align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.incident-intro-icon { font-size: 2.2rem; flex-shrink: 0; }
.incident-intro h2 { color: #7a5000; margin-bottom: .3rem; font-size: 1.1rem; }
.incident-intro p  { color: #7a5000; margin: 0; font-size: .92rem; line-height: 1.5; }

.form-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2.25rem; box-shadow: var(--shadow-sm); margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}
.form-card h3 {
  color: var(--primary); margin-bottom: 1.5rem;
  padding-bottom: .85rem; border-bottom: 2px solid var(--light);
  font-size: 1.05rem; font-weight: 700;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-weight: 600; font-size: .88rem; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .8rem 1.1rem; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: border-color .2s, box-shadow .2s;
  background: var(--bg);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--primary-light);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(45,125,210,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.required { color: var(--danger); }

.form-submit {
  display: flex; justify-content: flex-end; gap: 1rem; margin-top: 1.75rem;
}

/* ── Confirmation ──────────────────────────────────────────── */
.confirmation {
  text-align: center; padding: 3.5rem 1.5rem;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.confirmation-icon { font-size: 4.5rem; margin-bottom: 1rem; }
.confirmation h2 { color: var(--success); margin-bottom: .5rem; }
.confirmation p  { color: var(--gray); margin-bottom: 2rem; }
.confirmation .ref {
  background: var(--light); padding: .85rem 1.75rem;
  border-radius: var(--radius-sm); display: inline-block;
  font-family: 'Poppins', sans-serif; font-weight: 700;
  color: var(--primary); font-size: 1.15rem; margin-bottom: 1.75rem;
  border: 2px dashed var(--primary-light);
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--primary-dark);
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: rgba(255,255,255,.65);
  padding: 3rem 1.5rem; margin-top: 5rem;
  font-size: .9rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.25rem;
}
.footer-col h4 { color: var(--white); margin-bottom: .85rem; font-size: .95rem; font-weight: 700; }
.footer-col p, .footer-col a {
  color: rgba(255,255,255,.6); display: block;
  margin-bottom: .4rem; transition: color .2s;
}
.footer-col a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  max-width: 1200px; margin: 2.25rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem;
}
.footer-bottom a { color: rgba(255,255,255,.45); font-size: .8rem; }
.footer-bottom a:hover { color: var(--accent); }

/* ── Info cards ────────────────────────────────────────────── */
.info-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem; margin-top: 3.5rem;
}
.info-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.65rem; box-shadow: var(--shadow-sm);
  display: flex; gap: 1.1rem; align-items: flex-start;
  border: 1px solid var(--border);
  transition: box-shadow .2s, transform .2s;
}
.info-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.info-card-icon {
  font-size: 1.8rem; width: 52px; height: 52px;
  background: var(--light); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.info-card h4 { color: var(--primary); margin-bottom: .3rem; font-weight: 600; }
.info-card p  { color: var(--gray); font-size: .85rem; margin: 0; line-height: 1.5; }

/* ── Alerts ────────────────────────────────────────────────── */
.alert {
  padding: 1.1rem 1.35rem; border-radius: var(--radius-sm);
  margin-bottom: 1rem; display: flex; gap: .85rem; align-items: flex-start;
}
.alert-info    { background: #e3f2fd; border-left: 4px solid #2196F3; color: #1565c0; }
.alert-success { background: #e8f5e9; border-left: 4px solid #4CAF50; color: #2e7d32; }
.alert-warning { background: #fff8e1; border-left: 4px solid #FFC107; color: #e65100; }
.alert-danger  { background: #fce4ec; border-left: 4px solid #F44336; color: #c62828; }

/* ── Theme banner ──────────────────────────────────────────── */
.theme-banner {
  background: var(--gradient);
  color: var(--white); padding: 2.75rem 1.5rem;
  border-radius: 0; position: relative; overflow: hidden;
}
.theme-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,255,255,.08) 0%, transparent 60%);
}
.theme-banner-inner { max-width: 1200px; margin: 0 auto; position: relative; }
.theme-banner h1 {
  margin-bottom: .35rem; display: flex; align-items: center; gap: .85rem;
}
.theme-banner p  { opacity: .82; margin: 0; font-size: 1.05rem; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .form-grid { grid-template-columns: 1fr; }
  .parcours-nav { flex-direction: column; }
  .solution-actions { flex-direction: column; }
  .themes-grid { grid-template-columns: repeat(2, 1fr); }
  .header-contact { display: none; }
  .header-title { font-size: 1.1rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { padding: 3rem 1.25rem 4rem; }
  .question-card { padding: 1.75rem; }
}
@media (max-width: 480px) {
  .themes-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.65rem; }
  .question-card { padding: 1.35rem; }
  .header-title { font-size: 1rem; }
  .logo-full-img { height: 40px; }
}

/* ── Recherche hero ────────────────────────────────────────── */
.hero-search {
  position: relative; z-index: 1;
  max-width: 620px; margin: 0 auto 2rem;
}
.hero-search-inner {
  display: flex; align-items: center;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 50px;
  padding: .2rem .2rem .2rem 1.2rem;
  transition: border-color .2s, background .2s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(0,0,0,.12);
}
.hero-search-inner:focus-within {
  border-color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.22);
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}
.search-icon-btn { font-size: 1.1rem; flex-shrink: 0; }
.hero-search-input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--white); font-size: 1rem; font-family: 'Inter', sans-serif;
  padding: .65rem .75rem;
}
.hero-search-input::placeholder { color: rgba(255,255,255,.6); }
.search-clear-btn {
  display: none; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.2); border: none;
  color: var(--white); cursor: pointer; font-size: .85rem;
  flex-shrink: 0; transition: background .2s;
}
.search-clear-btn:hover { background: rgba(255,255,255,.35); }

/* ── Résultats de recherche ────────────────────────────────── */
#searchResults { padding-bottom: 2rem; }
.search-count {
  text-align: center; color: var(--gray); font-size: .92rem;
  margin-bottom: 1.5rem; padding: .6rem;
}
.search-count strong { color: var(--primary); }
.search-group-label {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: .8rem; text-transform: uppercase; letter-spacing: .8px;
  color: var(--gray); margin-bottom: .85rem;
  display: flex; align-items: center; gap: .5rem;
}
.search-group-count {
  background: var(--primary); color: #fff;
  padding: .1rem .5rem; border-radius: 20px; font-size: .75rem;
}
.search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.search-result-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--white); border-radius: var(--radius);
  padding: 1rem 1.1rem; box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  color: var(--dark); text-decoration: none;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s, border-color .2s;
}
.search-result-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow);
  border-color: var(--primary-light); text-decoration: none; color: var(--dark);
}
.src-icon {
  font-size: 1.6rem; width: 48px; height: 48px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); background: var(--bg);
}
.src-body { flex: 1; min-width: 0; }
.src-body strong { display: block; font-size: .95rem; color: var(--primary); margin-bottom: .2rem; }
.src-body p {
  font-size: .82rem; color: var(--gray); margin: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.src-breadcrumb {
  display: inline-block; margin-top: .35rem;
  font-size: .75rem; color: var(--gray-light);
  background: var(--light); padding: .15rem .5rem; border-radius: 20px;
}
.src-arrow {
  color: var(--gray-light); font-size: 1.4rem; flex-shrink: 0;
  transition: transform .2s, color .2s;
}
.search-result-card:hover .src-arrow { transform: translateX(3px); color: var(--primary-light); }
.search-hl {
  background: #fff176; color: var(--dark);
  border-radius: 2px; padding: 0 1px;
}
.search-no-result {
  text-align: center; padding: 3.5rem 1rem;
  color: var(--gray); max-width: 480px; margin: 0 auto;
}
.search-no-result-icon { font-size: 3rem; margin-bottom: 1rem; }
.search-no-result h3 { color: var(--primary); margin-bottom: .5rem; }
.search-no-result p { color: var(--gray); font-size: .95rem; }

@media (max-width: 600px) {
  .hero-search-input { font-size: .9rem; }
  .search-results-grid { grid-template-columns: 1fr; }
}
