/* ==========================================================================
   OFPAN — Organisme de formation animalier
   Thème Luxe / Chic — Glassmorphism — Animations fluides
   Palette : bleu #3c6ca8 (primaire) + doré (secondaire)
   ========================================================================== */

:root {
  --primary: #3c6ca8;
  --primary-dark: #2b5183;
  --primary-light: #5b89c4;
  --gold: #c9a24b;
  --gold-light: #e0c47a;
  --ink: #0e1a2b;
  --ink-soft: #16263d;
  --slate: #4a5b73;
  --muted: #7c8aa0;
  --cream: #f7f9fc;
  --white: #ffffff;
  --line: rgba(60,108,168,0.14);
  --glass-bg: rgba(255,255,255,0.08);
  --glass-brd: rgba(255,255,255,0.18);
  --shadow-sm: 0 6px 20px rgba(14,26,43,0.08);
  --shadow-md: 0 18px 50px rgba(14,26,43,0.12);
  --shadow-lg: 0 30px 80px rgba(14,26,43,0.18);
  --radius: 18px;
  --radius-sm: 12px;
  --font-title: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --header-h: 84px;
  --topbar-h: 38px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16.5px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: .3px;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { color: var(--slate); }

.wrap { width: min(1200px, 92%); margin: 0 auto; }
.section { padding: 110px 0; position: relative; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: #e9eef6; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: #b9c6d8; }

/* ---------------- Titres de section ---------------- */
.eyebrow {
  display: inline-block;
  font-size: .74rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { font-size: 1.02rem; }
.rule {
  width: 70px; height: 2px; margin: 22px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-head.left .rule { margin-left: 0; }

/* ---------------- Boutons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: .86rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s, border-color .35s;
  position: relative;
  overflow: hidden;
}
.btn svg { width: 16px; height: 16px; }
.btn--lg { padding: 13px 30px; font-size: .88rem; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(201,162,75,0.32);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(201,162,75,0.44); }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 34px rgba(60,108,168,0.32);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); }
.btn-ghost {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.16); transform: translateY(-3px); }
.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 900;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), padding .45s var(--ease);
  padding: 22px 0;
}
.site-header.scrolled {
  background: rgba(14,26,43,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.22);
  padding: 12px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo svg { width: 42px; height: 42px; flex: 0 0 auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong {
  font-family: var(--font-title);
  font-size: 1.42rem; font-weight: 700; letter-spacing: 2.5px; color: #fff;
}
.logo-text span { font-size: .6rem; letter-spacing: 3.4px; text-transform: uppercase; color: var(--gold-light); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: .82rem; letter-spacing: 1.4px; text-transform: uppercase;
  font-weight: 500; color: rgba(255,255,255,0.9); position: relative; padding: 4px 0;
  transition: color .3s;
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: -3px; width: 0; height: 1.5px;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav a:hover, .nav a.active { color: #fff; }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.header-cta { display: inline-flex; }

.burger {
  display: none; width: 44px; height: 44px; border: none; background: transparent;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px; z-index: 1002;
}
.burger span {
  display: block; width: 27px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s;
}
.burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Menu mobile plein écran */
.mobile-menu {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(14,26,43,0.86);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-14px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-title); font-size: 1.7rem; color: #fff; letter-spacing: 1px;
  padding: 10px 0; opacity: 0; transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu.open a:nth-child(1) { transition-delay: .08s; }
.mobile-menu.open a:nth-child(2) { transition-delay: .14s; }
.mobile-menu.open a:nth-child(3) { transition-delay: .2s; }
.mobile-menu.open a:nth-child(4) { transition-delay: .26s; }
.mobile-menu.open a:nth-child(5) { transition-delay: .32s; }
.mobile-menu.open a:nth-child(6) { transition-delay: .38s; }
.mobile-menu .mm-cta { margin-top: 24px; font-size: .8rem; letter-spacing: 2px; }

/* ---------------- HERO ---------------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 70px) 0 90px;
  background-color: var(--ink);
  background-size: cover; background-position: center;
  color: #fff;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(14,26,43,0.92) 0%, rgba(14,26,43,0.62) 48%, rgba(43,81,131,0.55) 100%);
  z-index: 1;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-inner { max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero p.lead {
  color: rgba(255,255,255,0.86); font-size: 1.12rem; max-width: 620px; margin-bottom: 38px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 54px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px; border-radius: 8px;
  background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .78rem; letter-spacing: 1.4px; text-transform: uppercase; color: #fff;
}
.hero-badge svg { width: 17px; height: 17px; color: var(--gold-light); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .62rem; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.7);
}
.scroll-cue i {
  display: block; width: 1px; height: 42px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: cue 2s infinite;
}
@keyframes cue { 0%,100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

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

.card {
  background: var(--white); border-radius: var(--radius); padding: 38px 32px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(201,162,75,0.4); }
.card .ico {
  width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(60,108,168,0.12), rgba(201,162,75,0.14));
  color: var(--primary); margin-bottom: 22px;
}
.card .ico svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: .95rem; }

/* Carte formation (hover 3D) */
.fcard {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  transform-style: preserve-3d; will-change: transform;
}
.fcard:hover { transform: perspective(1100px) rotateX(3deg) rotateY(-4deg) translateY(-10px); box-shadow: var(--shadow-lg); }
.fcard-img { position: relative; height: 230px; overflow: hidden; }
.fcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.fcard:hover .fcard-img img { transform: scale(1.08); }
.fcard-tag {
  position: absolute; top: 16px; left: 16px;
  padding: 7px 15px; border-radius: 6px; font-size: .66rem; letter-spacing: 1.8px;
  text-transform: uppercase; font-weight: 600;
  background: rgba(14,26,43,0.72); color: #fff; border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.fcard-tag.gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--ink); border-color: transparent; }
.fcard-body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.fcard-body h3 { margin-bottom: 12px; }
.fcard-body p { font-size: .93rem; margin-bottom: 20px; }
.fcard-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; font-size: .78rem; color: var(--muted); }
.fcard-meta span { display: inline-flex; align-items: center; gap: 7px; }
.fcard-meta svg { width: 15px; height: 15px; color: var(--gold); }
.fcard-body .btn { margin-top: auto; align-self: flex-start; }

/* ---------------- Réassurance ---------------- */
.reassure { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.reassure-item {
  text-align: center; padding: 34px 20px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.13);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .4s var(--ease), background .4s, border-color .4s;
}
.reassure-item:hover { transform: translateY(-6px); background: rgba(255,255,255,0.1); border-color: rgba(201,162,75,0.45); }
.reassure-item svg { width: 42px; height: 42px; color: var(--gold-light); margin-bottom: 18px; stroke-width: 1.4; }
.reassure-item h3 { font-size: 1.05rem; margin-bottom: 8px; color: #fff; }
.reassure-item p { font-size: .84rem; color: #adbccf; }

/* ---------------- Stats ---------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 32px 16px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.stat strong { display: block; font-family: var(--font-title); font-size: clamp(2.1rem,4vw,2.9rem); color: var(--primary); line-height: 1; margin-bottom: 10px; }
.stat span { font-size: .78rem; letter-spacing: 1.8px; text-transform: uppercase; color: var(--muted); }

/* ---------------- Split image / texte ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-img { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.split-img img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.split-img::after {
  content: ''; position: absolute; inset: 0;
  border: 1.5px solid rgba(201,162,75,0.5); border-radius: var(--radius); pointer-events: none;
  transform: translate(14px, 14px);
}
.split-text h2 { margin-bottom: 20px; }
.split-text p { margin-bottom: 18px; }
.checklist { margin: 26px 0 32px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: .96rem; color: var(--slate); }
.checklist li svg { width: 21px; height: 21px; color: var(--gold); flex: 0 0 auto; margin-top: 3px; }

/* ---------------- Financement / steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 40px 26px 32px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-title); font-size: 2.4rem; font-weight: 700;
  color: rgba(60,108,168,0.16); display: block; margin-bottom: 12px;
}
.step h3 { font-size: 1.12rem; margin-bottom: 10px; }
.step p { font-size: .9rem; }

/* ---------------- Témoignages ---------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quote {
  background: var(--white); border-radius: var(--radius); padding: 36px 30px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.quote .mark { font-family: var(--font-title); font-size: 4.4rem; line-height: .6; color: rgba(201,162,75,0.28); }
.quote p { font-size: .96rem; font-style: italic; color: var(--slate); margin: 10px 0 22px; }
.quote .who { display: flex; align-items: center; gap: 14px; }
.quote .who .av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-light)); display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-title); font-size: 1.2rem; }
.quote .who b { display: block; font-size: .92rem; color: var(--ink); }
.quote .who small { font-size: .76rem; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.stars svg { width: 16px; height: 16px; color: var(--gold); }

/* ---------------- CTA band ---------------- */
.cta-band {
  position: relative; border-radius: 26px; overflow: hidden; padding: 76px 60px; text-align: center;
  background: linear-gradient(120deg, var(--primary-dark), var(--primary) 55%, #4d7cb8);
  box-shadow: var(--shadow-lg);
}
.cta-band::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 82% 18%, rgba(201,162,75,0.35), transparent 52%);
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.88); max-width: 620px; margin: 0 auto 34px; }

/* ---------------- Page hero (pages internes) ---------------- */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 110px) 0 90px;
  background-color: var(--ink); background-size: cover; background-position: center;
  text-align: center;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,26,43,0.88), rgba(14,26,43,0.72)); z-index: 1; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 18px; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }
.crumb { font-size: .74rem; letter-spacing: 2.4px; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.crumb a:hover { color: var(--gold-light); }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.ci-item {
  display: flex; gap: 18px; align-items: flex-start; padding: 24px 26px;
  background: var(--white); border-radius: var(--radius-sm); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.ci-item .ico { width: 46px; height: 46px; border-radius: 12px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; background: rgba(60,108,168,0.1); color: var(--primary); }
.ci-item .ico svg { width: 21px; height: 21px; }
.ci-item h3 { font-size: .98rem; margin-bottom: 4px; }
.ci-item p, .ci-item a { font-size: .92rem; color: var(--slate); }
.ci-item a:hover { color: var(--primary); }

.form-card { background: var(--white); border-radius: var(--radius); padding: 42px; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .74rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--cream); font-size: .94rem; color: var(--ink); transition: border-color .3s, box-shadow .3s, background .3s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(60,108,168,0.1);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .78rem; color: var(--muted); margin-top: 14px; }
.form-alert { padding: 14px 18px; border-radius: 10px; font-size: .9rem; margin-bottom: 20px; display: none; }
.form-alert.ok { display: block; background: rgba(46,160,94,0.1); color: #1f7a46; border: 1px solid rgba(46,160,94,0.3); }
.form-alert.ko { display: block; background: rgba(201,74,74,0.1); color: #a33232; border: 1px solid rgba(201,74,74,0.3); }

.map-wrap { margin-top: 60px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------------- Tableau tarifs ---------------- */
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-table th, .price-table td { padding: 20px 24px; text-align: left; border-bottom: 1px solid var(--line); font-size: .94rem; }
.price-table th { background: rgba(60,108,168,0.07); font-family: var(--font-title); font-size: 1.02rem; letter-spacing: .5px; }
.price-table tr:last-child td { border-bottom: none; }
.price-table td:last-child { font-weight: 600; color: var(--primary); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: #a9b7ca; padding: 90px 0 0; position: relative; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,162,75,0.5), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 44px; }
.footer-brand .logo { margin-bottom: 22px; }
.footer-brand p { color: #8896ab; font-size: .92rem; max-width: 320px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .78rem; letter-spacing: 2.6px; text-transform: uppercase; margin-bottom: 22px; font-weight: 600; }
.footer-links { display: grid; gap: 12px; }
.footer-links a { font-size: .92rem; color: #97a6ba; transition: color .3s, padding-left .3s; }
.footer-links a:hover { color: var(--gold-light); padding-left: 5px; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact div { display: flex; gap: 12px; font-size: .92rem; color: #97a6ba; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold); flex: 0 0 auto; margin-top: 4px; }
.socials { display: flex; gap: 12px; margin-top: 22px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: #cbd6e4;
  transition: background .3s, transform .3s, color .3s, border-color .3s;
}
.socials a:hover { background: var(--gold); color: var(--ink); transform: translateY(-4px); border-color: transparent; }
.socials a svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 66px; padding: 26px 0; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .82rem; color: #78879c; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------------- Reveal animations ---------------- */
/* Sans JS, le contenu reste visible ; les animations ne s'activent qu'avec .js */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.d4 { transition-delay: .4s; }

/* Bannière cookies */
.cookie-bar {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 950;
  background: rgba(14,26,43,0.96); color: #d4deea; border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 16px; padding: 20px 26px; display: none;
  align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg); max-width: 1160px; margin: 0 auto;
}
.cookie-bar.show { display: flex; }
.cookie-bar p { color: #b6c3d5; font-size: .88rem; margin: 0; }
.cookie-bar a { color: var(--gold-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex: 0 0 auto; }
.cookie-actions button { padding: 10px 20px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.28); background: transparent; color: #fff; font-size: .74rem; letter-spacing: 1.6px; text-transform: uppercase; transition: background .3s; }
.cookie-actions .acc { background: var(--gold); color: var(--ink); border-color: transparent; font-weight: 600; }
.cookie-actions .acc:hover { background: var(--gold-light); }
.cookie-actions button:hover { background: rgba(255,255,255,0.1); }

/* Bouton retour en haut */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 700;
  width: 48px; height: 48px; border-radius: 50%; border: none;
  background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .4s, transform .4s, visibility .4s, background .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gold); color: var(--ink); }
.to-top svg { width: 20px; height: 20px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .grid-4, .reassure, .stats, .steps { grid-template-columns: 1fr 1fr; }
  .quotes, .grid-3 { grid-template-columns: 1fr 1fr; }
  .split { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 15.5px; }
  .section { padding: 72px 0; }
  .nav, .header-cta { display: none; }
  .burger { display: flex; }
  .logo-text strong { font-size: 1.2rem; letter-spacing: 2px; }
  .logo-text span { font-size: .54rem; letter-spacing: 2.6px; }
  .logo svg { width: 36px; height: 36px; }
  .logo-text strong, .logo-text span { white-space: nowrap; }

  .hero { padding-top: calc(var(--header-h) + 40px); min-height: auto; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-badges { gap: 10px; }
  .hero-badge { font-size: .68rem; padding: 9px 14px; }
  .scroll-cue { display: none; }

  .grid-4, .reassure, .stats, .steps, .grid-3, .quotes, .grid-2 { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; direction: ltr; }
  .split-img img { min-height: 280px; }
  .split-img::after { display: none; }

  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px 22px; }
  .cta-band { padding: 52px 26px; }
  .cta-band .btn { width: 100%; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }

  .page-hero { padding-top: calc(var(--header-h) + 56px); padding-bottom: 62px; }
  .price-table { display: block; overflow-x: auto; }
  .map-wrap iframe { height: 300px; }

  .cookie-bar { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: flex-start; padding: 18px; }
  .cookie-actions { width: 100%; }
  .cookie-actions button { flex: 1; }
  .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* ==========================================================================
   COMPOSANTS OFPAN — glassmorphism, packs, stages, FAQ, admin
   ========================================================================== */

/* Sections glass (verre) sur fond sombre */
.glass {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.13);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
}
.section--glass-dark {
  background:
    radial-gradient(circle at 12% 8%, rgba(60,108,168,0.5), transparent 55%),
    radial-gradient(circle at 88% 92%, rgba(201,162,75,0.24), transparent 52%),
    var(--ink);
  color: #e9eef6;
}
.section--glass-dark h2, .section--glass-dark h3 { color: #fff; }
.section--glass-dark p { color: #b9c6d8; }

/* ---- Bandeau confiance / chiffres clés ---- */
.trust-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius); overflow: hidden;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.trust-item { padding: 34px 22px; text-align: center; border-right: 1px solid rgba(255,255,255,0.1); }
.trust-item:last-child { border-right: none; }
.trust-item strong { display: block; font-family: var(--font-title); font-size: clamp(1.7rem,3.2vw,2.3rem); color: var(--gold-light); line-height: 1; margin-bottom: 8px; }
.trust-item span { font-size: .72rem; letter-spacing: 1.7px; text-transform: uppercase; color: #a9b7ca; }

/* ---- Packs Alliance Animal Pro ---- */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.pack {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.pack:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: rgba(201,162,75,0.45); }
.pack--featured { border-color: rgba(201,162,75,0.65); box-shadow: 0 24px 60px rgba(60,108,168,0.18); }
.pack-flag {
  position: absolute; top: 0; right: 0; z-index: 3;
  background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--ink);
  font-size: .62rem; letter-spacing: 1.8px; text-transform: uppercase; font-weight: 700;
  padding: 7px 16px; border-radius: 0 0 0 8px;
}
.pack-img { position: relative; height: 190px; overflow: hidden; background: var(--ink); }
.pack-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pack:hover .pack-img img { transform: scale(1.07); }
.pack-head { padding: 28px 28px 0; }
.pack-head small { display: block; font-size: .68rem; letter-spacing: 2.6px; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.pack-head h3 { font-size: 1.42rem; margin-bottom: 10px; }
.pack-head p { font-size: .92rem; }
.pack-price { padding: 20px 28px; display: flex; align-items: flex-end; gap: 8px; border-bottom: 1px solid var(--line); }
.pack-price b { font-family: var(--font-title); font-size: 2.5rem; line-height: 1; color: var(--primary); font-weight: 700; }
.pack-price span { font-size: .8rem; color: var(--muted); padding-bottom: 5px; }
.pack-body { padding: 24px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.pack-body .checklist { margin: 0 0 24px; }
.pack-body .checklist li { font-size: .9rem; }
.pack-body .btn { margin-top: auto; width: 100%; }

/* ---- Stages terrain ---- */
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.stage {
  background: rgba(255,255,255,0.055); border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius); overflow: hidden;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .5s var(--ease), border-color .4s, background .4s;
}
.stage:hover { transform: perspective(1000px) rotateX(2.5deg) translateY(-8px); border-color: rgba(201,162,75,0.5); background: rgba(255,255,255,0.09); }
.stage-img { height: 180px; overflow: hidden; }
.stage-img img { width: 100%; height: 100%; object-fit: cover; }
.stage-body { padding: 26px 26px 30px; }
.stage-body h3 { color: #fff; font-size: 1.2rem; margin-bottom: 10px; }
.stage-body p { color: #adbccf; font-size: .9rem; }
.stage-days {
  display: inline-block; margin-bottom: 14px; padding: 6px 13px; border-radius: 6px;
  background: rgba(201,162,75,0.16); border: 1px solid rgba(201,162,75,0.4);
  color: var(--gold-light); font-size: .66rem; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 600;
}

/* ---- FAQ accordéon ---- */
.faq { max-width: 880px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color .3s; }
.faq-item[open] { border-color: rgba(60,108,168,0.38); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 22px 26px; padding-right: 60px;
  font-family: var(--font-title); font-size: 1.1rem; font-weight: 600; color: var(--ink);
  position: relative; transition: color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-size: 1.5rem; font-weight: 300; color: var(--primary);
  transition: transform .35s var(--ease);
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary:hover { color: var(--primary); }
.faq-item .faq-a { padding: 0 26px 24px; }
.faq-item .faq-a p { font-size: .94rem; }
.faq-item .faq-a ul { display: grid; gap: 8px; margin-top: 10px; }
.faq-item .faq-a li { font-size: .92rem; color: var(--slate); padding-left: 16px; position: relative; }
.faq-item .faq-a li::before { content: ''; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ---- Encadré obligation légale ---- */
.law-box {
  border-left: 3px solid var(--gold); background: rgba(201,162,75,0.07);
  padding: 26px 30px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.law-box h3 { font-size: 1.12rem; margin-bottom: 10px; }
.law-box p { font-size: .94rem; }

/* ---- Liste à puces générique ---- */
.list { display: grid; gap: 12px; }
.list li { display: flex; gap: 13px; align-items: flex-start; font-size: .95rem; color: var(--slate); }
.list li svg { width: 19px; height: 19px; color: var(--gold); flex: 0 0 auto; margin-top: 4px; }

/* ---- Tableaux responsives (transformation en cartes sur mobile) ---- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rwd-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.rwd-table th, .rwd-table td { padding: 17px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: .93rem; }
.rwd-table th { background: rgba(60,108,168,0.07); font-family: var(--font-title); font-size: 1rem; }
.rwd-table tr:last-child td { border-bottom: none; }

/* ---- Image certificat Qualiopi ---- */
.qualiopi-figure { max-width: 420px; margin: 0 auto; background: var(--white); padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.qualiopi-figure img { width: 100%; border-radius: var(--radius-sm); }

/* ---- Grille de cartes contact rapide ---- */
.quick-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quick-contact a {
  display: flex; gap: 15px; align-items: center; padding: 22px 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), border-color .3s;
}
.quick-contact a:hover { transform: translateY(-5px); border-color: rgba(201,162,75,0.5); }
.quick-contact svg { width: 24px; height: 24px; color: var(--primary); flex: 0 0 auto; }
.quick-contact b { display: block; font-size: .94rem; color: var(--ink); }
.quick-contact small { font-size: .8rem; color: var(--muted); }

/* ---- Espace admin ---- */
.admin-body { background: #eef2f8; min-height: 100vh; padding: 40px 0 80px; }
.admin-head { background: var(--ink); color: #fff; padding: 22px 0; margin-bottom: 34px; }
.admin-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.admin-head h1 { color: #fff; font-size: 1.5rem; }
.admin-head p { color: #9fb0c6; font-size: .84rem; margin: 0; }
.admin-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 30px; }
.admin-list { display: grid; gap: 16px; margin-top: 22px; }
.admin-msg { border: 1px solid var(--line); border-left: 3px solid var(--primary); border-radius: var(--radius-sm); padding: 20px 22px; background: var(--cream); }
.admin-msg header { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.admin-msg header b { font-size: .98rem; color: var(--ink); }
.admin-msg header time { font-size: .78rem; color: var(--muted); }
.admin-msg .meta { font-size: .85rem; color: var(--primary); margin-bottom: 8px; word-break: break-word; }
.admin-msg p { font-size: .93rem; white-space: pre-wrap; }
.admin-empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.admin-tabs { display: flex; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
.admin-tabs button {
  padding: 10px 20px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--white);
  font-size: .82rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--slate);
  transition: background .3s, color .3s, border-color .3s;
}
.admin-tabs button.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.admin-badge { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: .7rem; letter-spacing: 1.2px; text-transform: uppercase; background: rgba(60,108,168,0.12); color: var(--primary); font-weight: 600; }
.login-card { max-width: 430px; margin: 8vh auto 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 40px 34px; }
.login-card h1 { font-size: 1.6rem; margin-bottom: 8px; }
.login-card > p { font-size: .9rem; margin-bottom: 26px; }
.muted { color: var(--muted); font-size: .82rem; }

/* ---- Accessibilité ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid rgba(201,162,75,0.85); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---- Responsive compléments ---- */
@media (max-width: 1024px) {
  .packs, .stages, .quick-contact { grid-template-columns: 1fr 1fr; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(1), .trust-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .packs .pack--featured { grid-column: span 2; }
}

@media (max-width: 768px) {
  .packs, .stages, .quick-contact { grid-template-columns: 1fr; }
  .packs .pack--featured { grid-column: span 1; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .trust-item:last-child { border-bottom: none; }
  .btn, .btn--lg { padding: 11px 20px; font-size: .8rem; }
  .form-card { padding: 24px 18px; }
  .admin-panel { padding: 20px 16px; }
  .login-card { padding: 30px 20px; margin-top: 4vh; }
  .pack-price b { font-size: 2.1rem; }

  /* Tableaux -> cartes empilées */
  .rwd-table, .rwd-table thead, .rwd-table tbody, .rwd-table tr, .rwd-table th, .rwd-table td { display: block; width: 100%; }
  .rwd-table thead { display: none; }
  .rwd-table tr { border-bottom: 1px solid var(--line); padding: 6px 0; }
  .rwd-table tr:last-child { border-bottom: none; }
  .rwd-table td { border: none; padding: 9px 18px; }
  .rwd-table td::before { content: attr(data-label); display: block; font-size: .68rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
}

/* ---- Barre d'information haute (fixe, au-dessus du header) ---- */
.topbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 902;
  background: rgba(14,26,43,0.97); border-bottom: 1px solid rgba(255,255,255,0.09);
  color: #9fb0c6; font-size: .78rem; padding: 9px 0;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; }
.topbar a { color: #d4deea; letter-spacing: .4px; transition: color .3s; }
.topbar a:hover { color: var(--gold-light); }
.topbar-tag { color: var(--gold-light); letter-spacing: 1.2px; text-transform: uppercase; font-size: .68rem; }

.site-header { top: var(--topbar-h); }
body.has-topbar .hero { padding-top: calc(var(--header-h) + var(--topbar-h) + 70px); }
body.has-topbar .page-hero { padding-top: calc(var(--header-h) + var(--topbar-h) + 110px); }

/* ---- Liens légaux du footer ---- */
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-ident {
  margin-top: 18px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.07);
  font-size: .76rem; color: #6f7f94; line-height: 1.7; max-width: 100%;
}

/* ---- Bandeau « guide offert » ---- */
.gift {
  display: flex; gap: 18px; align-items: flex-start; padding: 24px 26px;
  border-radius: var(--radius-sm); background: rgba(201,162,75,0.09);
  border: 1px solid rgba(201,162,75,0.35);
}
.gift svg { width: 30px; height: 30px; color: var(--gold); flex: 0 0 auto; margin-top: 2px; }
.gift b { display: block; font-family: var(--font-title); font-size: 1.1rem; margin-bottom: 6px; color: var(--ink); }
.gift p { font-size: .92rem; }
.gift em { font-style: italic; color: var(--slate); }

/* ---- Cartes arguments (3 colonnes sur fond sombre) ---- */
.blk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blk-item {
  padding: 30px 26px; border-radius: var(--radius);
  background: rgba(255,255,255,0.055); border: 1px solid rgba(255,255,255,0.13);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .45s var(--ease), border-color .4s, background .4s;
}
.blk-item:hover { transform: translateY(-7px); border-color: rgba(201,162,75,0.45); background: rgba(255,255,255,0.09); }
.blk-item h3 { color: #fff; font-size: 1.1rem; margin-bottom: 9px; }
.blk-item p { color: #adbccf; font-size: .9rem; }

@media (max-width: 1024px) {
  .blk { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .blk { grid-template-columns: 1fr; }
  .topbar-inner { gap: 14px; justify-content: flex-start; }
  .topbar-tag { display: none; }
  .footer-legal { gap: 12px; }
  body.has-topbar .hero { padding-top: calc(var(--header-h) + var(--topbar-h) + 40px); }
  body.has-topbar .page-hero { padding-top: calc(var(--header-h) + var(--topbar-h) + 56px); }
}

/* ==========================================================================
   SÉLECTEUR « QUEL EST VOTRE BESOIN ? »  (accueil)
   ========================================================================== */
.nav { gap: 22px; }
@media (min-width: 1025px) {
  .nav { gap: 17px; }
  .nav a { font-size: .74rem; letter-spacing: .9px; }
}
@media (min-width: 769px) and (max-width: 1240px) {
  .nav { gap: 11px; }
  .nav a { font-size: .69rem; letter-spacing: .3px; }
  .header-cta { padding: 10px 16px; font-size: .74rem; letter-spacing: .8px; }
}

.needs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.need {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 30px 24px 28px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .4s;
  overflow: hidden;
}
.need::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.need:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(201,162,75,0.45); }
.need:hover::after { transform: scaleX(1); }
.need .ico {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(60,108,168,0.12), rgba(201,162,75,0.16)); color: var(--primary);
}
.need .ico svg { width: 25px; height: 25px; }
.need h3 { font-size: 1.14rem; margin: 0; }
.need p { font-size: .87rem; margin: 0; flex: 1; }
.need .go {
  display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 600;
  letter-spacing: 1.6px; text-transform: uppercase; color: var(--primary);
}
.need .go svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.need:hover .go svg { transform: translateX(4px); }

@media (max-width: 1024px) {
  .needs { grid-template-columns: 1fr 1fr; }
  .need:last-child { grid-column: span 2; }
}
@media (max-width: 768px) {
  .needs { grid-template-columns: 1fr; }
  .need:last-child { grid-column: span 1; }
}

/* ==========================================================================
   QUIZ ACACED + RESSOURCES GRATUITES
   ========================================================================== */
.quiz-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 38px 40px; max-width: 820px; margin: 0 auto;
}
.quiz-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.quiz-step { font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.quiz-score { font-size: .78rem; color: var(--primary); font-weight: 600; }
.quiz-bar { height: 6px; border-radius: 4px; background: rgba(60,108,168,0.12); overflow: hidden; margin-bottom: 30px; }
.quiz-bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--primary), var(--gold)); transition: width .45s var(--ease); }
.quiz-q { font-family: var(--font-title); font-size: clamp(1.2rem, 2.2vw, 1.55rem); font-weight: 600; color: var(--ink); margin-bottom: 24px; line-height: 1.3; }
.quiz-answers { display: grid; gap: 12px; }
.quiz-answers button {
  text-align: left; padding: 16px 20px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--cream); color: var(--ink); font-size: .95rem; line-height: 1.5;
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.quiz-answers button:hover:not(:disabled) { border-color: var(--primary); background: #fff; transform: translateX(4px); }
.quiz-answers button:disabled { cursor: default; }
.quiz-answers button.good { border-color: rgba(46,160,94,0.6); background: rgba(46,160,94,0.1); color: #1f7a46; font-weight: 600; }
.quiz-answers button.bad { border-color: rgba(201,74,74,0.6); background: rgba(201,74,74,0.09); color: #a33232; }
.quiz-feedback {
  margin-top: 22px; padding: 18px 22px; border-radius: var(--radius-sm); font-size: .93rem;
  border-left: 3px solid var(--gold); background: rgba(201,162,75,0.09);
}
.quiz-feedback b { color: var(--ink); }
.quiz-feedback.good { border-left-color: #2ea05e; background: rgba(46,160,94,0.09); }
.quiz-feedback.bad { border-left-color: #c94a4a; background: rgba(201,74,74,0.08); }
.quiz-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

.quiz-result { text-align: center; }
.quiz-result .score-ring {
  width: 150px; height: 150px; margin: 0 auto 24px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(60,108,168,0.12), rgba(201,162,75,0.16));
  border: 1px solid var(--line);
}
.quiz-result .score-ring b { font-family: var(--font-title); font-size: 2.7rem; line-height: 1; color: var(--primary); }
.quiz-result .score-ring span { font-size: .68rem; letter-spacing: 1.8px; text-transform: uppercase; color: var(--muted); }

.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.res-card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 32px 28px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .4s;
}
.res-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(201,162,75,0.45); }
.res-card .ico { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: rgba(60,108,168,0.1); color: var(--primary); }
.res-card .ico svg { width: 25px; height: 25px; }
.res-card h3 { font-size: 1.2rem; margin: 0; }
.res-card p { font-size: .92rem; flex: 1; margin: 0; }
.res-card .tag {
  align-self: flex-start; padding: 5px 12px; border-radius: 6px; font-size: .64rem; letter-spacing: 1.6px;
  text-transform: uppercase; font-weight: 700; background: rgba(201,162,75,0.16);
  border: 1px solid rgba(201,162,75,0.4); color: var(--gold);
}

/* Bandeau email (capture du lead) */.lead-band {
  border-radius: var(--radius); padding: 42px 46px; color: #fff;
  background: linear-gradient(120deg, var(--primary-dark), var(--primary) 60%, #4d7cb8);
  box-shadow: var(--shadow-md); display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
}
.lead-band h2 { color: #fff; margin-bottom: 10px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.lead-band p { color: rgba(255,255,255,0.86); font-size: .95rem; margin: 0; }
.lead-form { display: flex; gap: 12px; flex-wrap: wrap; }
.lead-form input {
  flex: 1 1 240px; padding: 14px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.14); color: #fff; font-size: 16px;
}
.lead-form input::placeholder { color: rgba(255,255,255,0.72); }
.lead-form input:focus { outline: none; border-color: #fff; background: rgba(255,255,255,0.2); }
.lead-form .btn { flex: 0 0 auto; }
.lead-note { font-size: .76rem; color: rgba(255,255,255,0.72); margin-top: 12px; }
.lead-msg { margin-top: 14px; font-size: .88rem; }

@media (max-width: 1024px) {
  .res-grid { grid-template-columns: 1fr 1fr; }
  .lead-band { grid-template-columns: 1fr; gap: 26px; padding: 36px 32px; }
}
@media (max-width: 768px) {
  .res-grid { grid-template-columns: 1fr; }
  .quiz-card { padding: 26px 20px; }
  .quiz-answers button { padding: 14px 16px; font-size: .92rem; }
  .quiz-actions .btn { width: 100%; }
  .lead-band { padding: 30px 22px; }
  .lead-form input { flex: 1 1 100%; }
  .lead-form .btn { width: 100%; }
}

/* ==========================================================================
   BLOG / ACTUALITÉS
   ========================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.post:hover { transform: translateY(-9px); box-shadow: var(--shadow-lg); border-color: rgba(201,162,75,0.45); }
.post-img { height: 210px; overflow: hidden; background: var(--ink); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post:hover .post-img img { transform: scale(1.07); }
.post-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .72rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.post-meta span { color: var(--gold); font-weight: 600; }
.post-body h3 { font-size: 1.24rem; margin-bottom: 12px; }
.post-body h3 a:hover { color: var(--primary); }
.post-body p { font-size: .92rem; flex: 1; }
.post-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .72rem; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--primary); }
.post-more svg { width: 14px; height: 14px; }

.article { max-width: 780px; margin: 0 auto; }
.article h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 42px 0 16px; }
.article h3 { font-size: 1.24rem; margin: 30px 0 12px; }
.article p { margin-bottom: 18px; font-size: 1rem; }
.article ul { display: grid; gap: 12px; margin: 0 0 22px; }
.article ul li { display: flex; gap: 13px; align-items: flex-start; font-size: .97rem; color: var(--slate); }
.article ul li svg { width: 19px; height: 19px; color: var(--gold); flex: 0 0 auto; margin-top: 4px; }
.article .lead { font-size: 1.08rem; color: var(--slate); }
.article figure { margin: 30px 0; }
.article figure img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.article figcaption { font-size: .8rem; color: var(--muted); margin-top: 10px; text-align: center; }
.article-note {
  margin: 32px 0; padding: 24px 28px; border-radius: var(--radius-sm);
  background: rgba(60,108,168,0.06); border-left: 3px solid var(--primary);
}
.article-note b { display: block; font-family: var(--font-title); font-size: 1.1rem; margin-bottom: 6px; }
.article-note p { margin: 0; font-size: .94rem; }

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .article h2 { margin-top: 34px; }
}
