/* ============================================================
   SUBSIRADAR — Feuille de styles principale
   ============================================================ */

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

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --teal-50:  #E1F5EE;
  --teal-100: #9FE1CB;
  --teal-300: #5DCAA5;
  --teal-400: #1D9E75;
  --teal-600: #0F6E56;
  --teal-800: #085041;
  --teal-900: #04342C;

  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 99px;

  --shadow-sm: 0 1px 3px rgba(4, 52, 44, 0.06), 0 1px 2px rgba(4, 52, 44, 0.04);
  --shadow-md: 0 4px 12px rgba(4, 52, 44, 0.08), 0 2px 6px rgba(4, 52, 44, 0.05);
  --shadow-lg: 0 10px 32px rgba(4, 52, 44, 0.10), 0 4px 12px rgba(4, 52, 44, 0.06);

  --nav-height: 120px;
  --container-max: 1120px;
  --section-gap: 96px;
}

/* ── 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: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--teal-400);
  text-decoration: none;
}

a:hover {
  color: var(--teal-600);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
}

/* ── 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: 2px solid var(--teal-400);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 640px) {
  .container { padding: 0 2rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2.5rem; }
}

section {
  padding: var(--section-gap) 0;
}

/* ── Typographie ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.25;
  color: var(--teal-900);
}

h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 3.5vw, 32px); letter-spacing: -0.01em; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

p { color: var(--gray-700); }

.text-sm   { font-size: 14px; }
.text-xs   { font-size: 12px; }
.text-muted { color: var(--gray-500); }

/* ── Section header ─────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 520px;
  margin: 0 auto;
}

/* ── Boutons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--teal-400);
  color: var(--white);
  border-color: var(--teal-400);
}
.btn-primary:hover {
  background: var(--teal-600);
  border-color: var(--teal-600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(29, 158, 117, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--teal-800);
  border-color: var(--teal-100);
}
.btn-secondary:hover {
  background: var(--teal-50);
  border-color: var(--teal-300);
  color: var(--teal-800);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 16px;
  border-radius: 10px;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 13px;
}

/* ── Pills / Tags ────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  background: var(--teal-50);
  color: var(--teal-800);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 0.5px solid var(--teal-50);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.card-hover {
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card-hover:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--teal-50);
  z-index: 100;
  transition: box-shadow 0.2s ease;
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img,
.nav-logo svg {
  height: 100px;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal-400);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--teal-900);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 0.5px solid var(--teal-50);
  padding: 1.25rem 1.25rem 1.75rem;
  z-index: 99;
  flex-direction: column;
  gap: 0;
  box-shadow: var(--shadow-md);
}

.nav-mobile-menu.open {
  display: flex;
}

.nav-mobile-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  padding: 0.75rem 0;
  border-bottom: 0.5px solid var(--gray-100);
  transition: color 0.15s ease;
}

.nav-mobile-menu a:last-of-type {
  border-bottom: none;
  margin-bottom: 0.75rem;
}

.nav-mobile-menu a:hover {
  color: var(--teal-400);
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-hamburger { display: none; }
}

/* ── Page padding (compense le header fixe) ────────────────── */
main {
  padding-top: var(--nav-height);
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 96px;
  background: linear-gradient(160deg, var(--teal-50) 0%, var(--white) 55%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(29,158,117,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 680px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-50);
  border: 0.5px solid var(--teal-100);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  color: var(--teal-600);
  letter-spacing: 0.3px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

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

.hero p.lead {
  font-size: 18px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 0.5px solid var(--teal-100);
}

.hero-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 500;
  color: var(--teal-900);
  line-height: 1.1;
}

.hero-stat span {
  font-size: 13px;
  color: var(--gray-500);
}

/* ── Grid layouts ────────────────────────────────────────────── */
.grid-3 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.grid-2 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

/* ── Feature icons ───────────────────────────────────────────── */
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--teal-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 1rem;
}

.icon-box svg {
  width: 22px;
  height: 22px;
  stroke: var(--teal-400);
}

/* ── Steps ───────────────────────────────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: step;
}

@media (min-width: 1024px) {
  .steps {
    flex-direction: row;
    gap: 0;
  }
}

.step {
  flex: 1;
  position: relative;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 0.5px solid var(--teal-50);
  border-radius: var(--radius-lg);
  counter-increment: step;
}

@media (min-width: 1024px) {
  .step {
    border-radius: 0;
  }
  .step:first-child {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  }
  .step:last-child {
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  }
  .step + .step {
    border-left: none;
  }
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal-400);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ── Testimonials ────────────────────────────────────────────── */
.testimonial-card {
  background: var(--white);
  border: 0.5px solid var(--teal-50);
  border-top: 3px solid var(--teal-400);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-amount {
  background: var(--teal-50);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  text-align: center;
}

.testimonial-amount .label {
  font-size: 11px;
  color: var(--teal-600);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.testimonial-amount .value {
  font-size: 34px;
  font-weight: 500;
  color: var(--teal-900);
  line-height: 1.1;
}

.testimonial-quote {
  font-size: 13px;
  color: var(--gray-500);
  font-style: italic;
  line-height: 1.7;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar-sm {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  color: var(--teal-800);
  flex-shrink: 0;
}

.avatar-lg {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--teal-50);
  border: 2px solid var(--teal-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 500;
  color: var(--teal-900);
  flex-shrink: 0;
  overflow: hidden;
}

.avatar-lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* ── CTA Band ─────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-900) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(159,225,203,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: var(--teal-100);
  font-size: 17px;
  margin-bottom: 2rem;
  max-width: 520px;
}

.cta-band .btn-primary {
  background: var(--white);
  color: var(--teal-800);
  border-color: var(--white);
}

.cta-band .btn-primary:hover {
  background: var(--teal-50);
  border-color: var(--teal-50);
}

.cta-band .btn-secondary {
  border-color: rgba(159,225,203,0.4);
  color: var(--teal-100);
}

.cta-band .btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

/* ── Formulaire de contact ───────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal-900);
}

.form-control {
  width: 100%;
  padding: 0.6rem 0.875rem;
  font-size: 15px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--gray-900);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  line-height: 1.5;
}

.form-control:focus {
  outline: none;
  border-color: var(--teal-300);
  box-shadow: 0 0 0 3px rgba(29,158,117,0.12);
}

.form-control::placeholder { color: var(--gray-500); }

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid .full { grid-column: 1 / -1; }
}

/* ── Tableau comparatif ──────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 0.5px solid var(--teal-50);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

thead {
  background: var(--teal-900);
  color: var(--white);
}

thead th {
  padding: 0.875rem 1.25rem;
  text-align: left;
  font-weight: 500;
  font-size: 13px;
  white-space: nowrap;
}

tbody tr {
  border-bottom: 0.5px solid var(--teal-50);
  transition: background 0.15s ease;
}

tbody tr:last-child { border-bottom: none; }

tbody tr:hover { background: var(--gray-50); }

tbody td {
  padding: 0.75rem 1.25rem;
  color: var(--gray-700);
  vertical-align: top;
}

tbody td:first-child {
  font-weight: 500;
  color: var(--teal-900);
  white-space: nowrap;
}

.check {
  color: var(--teal-400);
  font-size: 17px;
}

.dash {
  color: var(--gray-200);
  font-size: 17px;
}

/* ── Page hero interne ───────────────────────────────────────── */
.page-hero {
  padding: 64px 0 72px;
  background: linear-gradient(160deg, var(--teal-50) 0%, var(--white) 60%);
  border-bottom: 0.5px solid var(--teal-50);
}

.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: 0.75rem;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 540px;
  line-height: 1.7;
}

/* ── Team cards ──────────────────────────────────────────────── */
.team-card {
  background: var(--white);
  border: 0.5px solid var(--teal-50);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

.team-card-avatar {
  position: relative;
}

.team-card-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal-400);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

.team-card-badge svg {
  width: 12px;
  height: 12px;
  stroke: var(--white);
}

.team-card h3 {
  font-size: 16px;
  margin-bottom: 0.5rem;
}

.team-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}

.team-card-divider {
  width: 100%;
  height: 0.5px;
  background: var(--teal-50);
}

.team-card-bio {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.65;
  text-align: left;
}

.team-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--teal-400);
  border: 0.5px solid var(--teal-100);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  transition: background 0.15s ease, color 0.15s ease;
}

.team-card-link:hover {
  background: var(--teal-50);
  color: var(--teal-600);
}

/* ── Service cards ───────────────────────────────────────────── */
.service-card {
  background: var(--white);
  border: 0.5px solid var(--teal-50);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.service-card-featured {
  border-color: var(--teal-300);
  box-shadow: 0 0 0 1px var(--teal-100), var(--shadow-md);
  position: relative;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--teal-400);
  color: var(--white);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 0.5rem;
}

.service-card .price {
  font-size: 13px;
  color: var(--teal-400);
  font-weight: 500;
  margin-bottom: 1rem;
}

.service-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-700);
}

.service-card ul li::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231D9E75' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8l3.5 3.5L13 4'/%3E%3C/svg%3E");
  background-size: 16px 16px;
  flex-shrink: 0;
  margin-top: 4px;
}

/* ── Reference cards ─────────────────────────────────────────── */
.ref-card {
  background: var(--white);
  border: 0.5px solid var(--teal-50);
  border-top: 3px solid var(--teal-400);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.ref-client {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ref-client-logo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--teal-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 14px;
  color: var(--teal-800);
  flex-shrink: 0;
  overflow: hidden;
}

.ref-client-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ref-amount-box {
  background: var(--teal-50);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  text-align: center;
}

.ref-amount-box .label {
  font-size: 11px;
  color: var(--teal-600);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ref-amount-box .value {
  font-size: 40px;
  font-weight: 500;
  color: var(--teal-900);
  line-height: 1.1;
}

.ref-quote {
  font-size: 14px;
  color: var(--gray-500);
  font-style: italic;
  line-height: 1.75;
  border-left: 2px solid var(--teal-100);
  padding-left: 1rem;
}

.ref-divider {
  height: 0.5px;
  background: var(--teal-50);
}

.ref-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.ref-duration {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--gray-500);
  white-space: nowrap;
}

/* ── Contact section ─────────────────────────────────────────── */
.contact-layout {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr 2fr; }
}

.contact-info h3 {
  font-size: 20px;
  margin-bottom: 0.75rem;
}

.contact-info p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 0.875rem;
  color: var(--gray-700);
}

.contact-detail svg {
  width: 17px;
  height: 17px;
  stroke: var(--teal-400);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--teal-900);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 260px;
}

.footer-logo {
  filter: brightness(0) invert(1);
  opacity: 0.9;
  height: 32px;
  width: auto;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s ease;
}

.footer-col ul li a:hover {
  color: var(--teal-100);
}

.footer-bottom {
  border-top: 0.5px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  transition: color 0.15s ease;
}

.footer-legal a:hover {
  color: var(--teal-100);
}

/* ── Sections alternées ──────────────────────────────────────── */
.section-alt {
  background: var(--gray-50);
}

.section-teal-light {
  background: var(--teal-50);
}

/* ── Utilitaires ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.mb-1  { margin-bottom: 0.25rem; }
.mb-2  { margin-bottom: 0.5rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }
.mt-4  { margin-top: 1rem; }
.mt-8  { margin-top: 2rem; }
.flex  { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }

/* ── Animations ──────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.5s ease both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
