/* =========================================================
   Sollicitation personnalisée — Design system
   Palette professions juridiques : bleu marine + bordeaux
   ========================================================= */

:root {
  /* Palette */
  --primary: #1a2f4e;
  --primary-dark: #0f1e33;
  --primary-light: #2a4269;
  --accent: #8b2635;
  --accent-dark: #6d1d29;
  --accent-light: #a93545;
  --gold: #c9a961;

  /* Fonds */
  --bg: #ffffff;
  --bg-soft: #f7f5f0;
  --bg-tint: #eef1f6;
  --bg-dark: var(--primary-dark);

  /* Texte */
  --text: #1a2433;
  --text-muted: #5a6478;
  --text-inverse: #ffffff;
  --text-subtle: #8a94a8;

  /* Bordures */
  --border: #e3e7ef;
  --border-strong: #c7cfdc;

  /* Feedback */
  --success: #2f7d4f;
  --warning: #b9822a;

  /* Espacements */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --space-2xl: 5.5rem;

  /* Rayons */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Ombres */
  --shadow-sm: 0 1px 2px rgba(15, 30, 51, 0.06);
  --shadow-md: 0 6px 24px rgba(15, 30, 51, 0.08);
  --shadow-lg: 0 18px 48px rgba(15, 30, 51, 0.12);
  --shadow-accent: 0 12px 32px rgba(139, 38, 53, 0.22);

  /* Typographie */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-h1: clamp(2rem, 1.3rem + 3vw, 3.4rem);
  --fs-h2: clamp(1.6rem, 1.1rem + 2vw, 2.4rem);
  --fs-h3: clamp(1.15rem, 0.95rem + 1vw, 1.4rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  /* Layout */
  --container: 1180px;
  --header-height: 72px;

  /* Transitions */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ==========================================================
   Reset
   ========================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

/* ==========================================================
   Layout helpers
   ========================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-tint {
  background: var(--bg-tint);
}

.section-soft {
  background: var(--bg-soft);
}

.section-dark {
  background: var(--primary);
  color: var(--text-inverse);
}

.section-header {
  max-width: 760px;
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.section-kicker {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.section-dark .section-kicker {
  color: var(--gold);
}

h1,
h2,
h3,
h4 {
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--text-inverse);
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-xs);
}

p {
  color: var(--text-muted);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.82);
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: var(--shadow-accent);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.section-dark .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.section-dark .btn-outline:hover {
  background: #fff;
  color: var(--primary);
}

.btn-large {
  padding: 1.05rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ==========================================================
   Header / Navigation
   ========================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0;
}

.logo-text {
  font-size: 1.02rem;
  line-height: 1.1;
}

.logo-text small {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-desktop a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 0.25rem 0;
}

.nav-desktop a.active,
.nav-desktop a:hover {
  color: var(--accent);
}

.nav-desktop a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* Le CTA reste bordeaux/blanc quelle que soit la section active */
.nav-desktop a.btn-primary,
.nav-desktop a.btn-primary.active,
.nav-desktop a.btn-primary:hover {
  color: #fff;
  padding: 0.75rem 1.9rem;
}

.nav-desktop a.btn-primary.active::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  position: relative;
  background: transparent;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}

.nav-toggle span:nth-child(1) {
  top: 13px;
}
.nav-toggle span:nth-child(2) {
  top: 19px;
}
.nav-toggle span:nth-child(3) {
  top: 25px;
}

.nav-toggle.open span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

.nav-mobile {
  display: none;
}

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 7vw, 6rem);
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(139, 38, 53, 0.08) 0%, transparent 70%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(139, 38, 53, 0.08);
  border: 1px solid rgba(139, 38, 53, 0.2);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-md);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 38, 53, 0.2);
}

.hero h1 {
  margin-bottom: var(--space-md);
}

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

.hero-sub {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero-stat svg {
  color: var(--success);
  flex-shrink: 0;
}

/* Schéma desktop SVG */
.hero-schema {
  display: block;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  filter: drop-shadow(0 16px 40px rgba(15, 30, 51, 0.12));
}

.hero-schema-mobile {
  display: none;
}

/* ==========================================================
   Problème
   ========================================================== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all 0.25s var(--ease);
  overflow: hidden;
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(139, 38, 53, 0.08);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-md);
}

.card h3 {
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ==========================================================
   Méthode / Timeline
   ========================================================== */
.method {
  background: var(--primary);
  color: var(--text-inverse);
  position: relative;
  overflow: hidden;
}

.method::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--gold) 100%);
}

.method::after {
  content: '';
  position: absolute;
  top: 20%;
  left: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.method-title {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  color: #ffffff;
}

.method-title .accent-gold {
  color: var(--gold);
  background: linear-gradient(90deg, var(--gold) 0%, #e6c88a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.method .section-header {
  position: relative;
  z-index: 1;
}

.method .lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 26px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, rgba(201, 169, 97, 0.6), rgba(201, 169, 97, 0.1));
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 0.5rem;
}

.step-number {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto var(--space-md);
  border: 4px solid var(--primary);
  box-shadow: 0 0 0 1px rgba(201, 169, 97, 0.3);
}

.step h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.step p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ==========================================================
   Profils (grille 7)
   ========================================================== */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.profile-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  position: relative;
  transition: all 0.25s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.profile-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--space-lg);
  right: var(--space-lg);
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 2px 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.profile-card:hover::before {
  transform: scaleX(1);
}

.profile-card h3 {
  font-size: 1rem;
}

.profile-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.profile-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

/* ==========================================================
   Livrables
   ========================================================== */
.deliverables {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.deliverable {
  padding: var(--space-md) var(--space-lg);
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.deliverable-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  display: grid;
  place-items: center;
}

.deliverable-text strong {
  display: block;
  color: var(--primary);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.deliverable-text span {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* ==========================================================
   Tarifs
   ========================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 960px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s var(--ease);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Override overflow hidden from .card if present, pour badge */
.pricing-card.highlight {
  overflow: visible;
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, #fff 0%, rgba(139, 38, 53, 0.03) 100%);
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}

.pricing-card.highlight:hover {
  transform: translateY(-12px);
}

.pricing-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  box-shadow: var(--shadow-accent);
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.pricing-card .pricing-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.45;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.pricing-amount .price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.pricing-amount .unit {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-meta {
  font-size: 0.82rem;
  color: var(--text-subtle);
  margin-bottom: var(--space-lg);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.45rem 0;
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.5;
}

.pricing-features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: rgba(47, 125, 79, 0.12) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232f7d4f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>")
    no-repeat center center;
  background-size: 11px 11px;
}

.pricing-note {
  font-size: 0.82rem;
  color: var(--text-subtle);
  text-align: center;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  line-height: 1.5;
}

.pricing-reassurance {
  max-width: 720px;
  margin: var(--space-xl) auto 0;
  text-align: center;
  padding: var(--space-md) var(--space-lg);
  background: rgba(201, 169, 97, 0.1);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: var(--radius-md);
  color: var(--primary);
  font-size: 0.92rem;
}

.pricing-reassurance strong {
  color: var(--accent);
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

details.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}

details.faq-item[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent);
  transition: transform 0.25s var(--ease);
}

details.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

details.faq-item .faq-answer {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

details.faq-item .faq-answer p + p {
  margin-top: 0.6rem;
}

/* ==========================================================
   Contact
   ========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-form {
  background: #fff;
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 38, 53, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
  line-height: 1.5;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-side h3 {
  font-size: 1.1rem;
}

.contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: var(--space-md);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.2s var(--ease);
}

.contact-channel:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.contact-channel-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(26, 47, 78, 0.08);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.contact-channel-text strong {
  display: block;
  color: var(--primary);
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}

.contact-channel-text span,
.contact-channel-text a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-channel-text a:hover {
  color: var(--accent);
}

/* Statut formulaire */
.form-status {
  margin-top: var(--space-md);
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(47, 125, 79, 0.1);
  color: var(--success);
  border: 1px solid rgba(47, 125, 79, 0.3);
}

.form-status.error {
  display: block;
  background: rgba(139, 38, 53, 0.08);
  color: var(--accent);
  border: 1px solid rgba(139, 38, 53, 0.3);
}

/* ==========================================================
   Footer
   ========================================================== */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-xl) 0 var(--space-lg);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  max-width: 360px;
  line-height: 1.55;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

/* ==========================================================
   Responsive — tablette
   ========================================================== */
@media (max-width: 1023px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stat {
    justify-content: center;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-schema {
    display: none;
  }

  .hero-schema-mobile {
    display: block;
    margin: 0 auto;
    max-width: 680px;
  }

  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-mobile {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100dvh - var(--header-height));
    background: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: var(--space-lg);
    border-top: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }

  .nav-mobile.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-mobile ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .nav-mobile a {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--primary);
    border: 1px solid transparent;
    font-size: 1rem;
  }

  .nav-mobile a:hover,
  .nav-mobile a.active {
    background: var(--bg-tint);
    color: var(--accent);
  }

  .nav-mobile a.btn-primary,
  .nav-mobile a.btn-primary:hover,
  .nav-mobile a.btn-primary.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
  }

  .nav-mobile a.btn-primary:hover {
    background: var(--accent-dark);
  }

  .nav-mobile .btn {
    margin-top: var(--space-sm);
    justify-content: center;
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--space-lg);
  }

  .timeline::before {
    display: none;
  }

  .profiles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ==========================================================
   Hero schema mobile — cards
   ========================================================== */
.schema-mobile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  box-shadow: var(--shadow-md);
}

.schema-mobile-hub {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto var(--space-lg);
  background: radial-gradient(circle at 30% 30%, var(--accent-light), var(--accent) 60%, var(--accent-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.2;
  padding: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 32px rgba(139, 38, 53, 0.3);
  position: relative;
}

.schema-mobile-hub::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed rgba(139, 38, 53, 0.3);
}

.schema-mobile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.schema-item {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.schema-item-num {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.schema-item-content h4 {
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.schema-item-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.35;
}

@media (min-width: 520px) and (max-width: 1023px) {
  .schema-mobile-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================
   Responsive — mobile
   ========================================================== */
@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .pricing-card.highlight {
    transform: none;
  }

  .pricing-card.highlight:hover {
    transform: translateY(-4px);
  }

  .profiles-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-cta .btn {
    flex: 1;
    min-width: 150px;
  }
}

/* ==========================================================
   AOS compatibility (si lib disponible)
   ========================================================== */
[data-aos] {
  opacity: 1;
  transform: none;
}
