/* Delmas Expertise — Stylesheet V.3 */
/* Premium typography + scroll animations + timeline + tilt cards + tooltips + dividers */

:root {
  --primary: #1F4E79;
  --primary-dark: #15375A;
  --primary-light: #2E5C8A;
  --accent: #C00000;
  --gold: #C9A55C;
  --gold-light: #E0C594;
  --bg: #FAFBFC;
  --bg-2: #F4F7FA;
  --card: #FFFFFF;
  --text: #1A2332;
  --text-2: #3A4456;
  --muted: #6B7280;
  --muted-2: #9CA3AF;
  --border: #E5E9ED;
  --border-2: #EDF1F4;
  --shadow: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(31,78,121,0.06);
  --shadow-lg: 0 12px 32px rgba(31,78,121,0.08);
  --shadow-xl: 0 24px 56px rgba(31,78,121,0.10);
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

/* ============ ACCESSIBILITY — FOCUS STATES ============ */
*:focus { outline: none; }
*:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
button:focus-visible, a.btn-primary:focus-visible, a.btn-secondary:focus-visible, a.nav-cta:focus-visible {
  outline-offset: 4px;
}
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 1px;
}
:focus:not(:focus-visible) { outline: none; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6,
.section-title, .hero h1, .page-hero h1,
.cta-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}
h3, h4, h5, h6 { letter-spacing: -0.01em; }

/* ============ NAV ============ */
nav.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
nav.topnav.scrolled { box-shadow: 0 2px 12px rgba(31,78,121,0.06); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: center;
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 600;
  transition: all 0.2s;
}
.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  color: white !important;
}
.nav-cta::after { display: none !important; }
.burger { display: none; background: none; border: none; cursor: pointer; font-size: 24px; color: var(--primary); }
@media (max-width: 880px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    right: 24px;
    background: white;
    flex-direction: column;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }
}

/* ============ LOGO ============ */
.logo-wrap {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s;
}
.logo-wrap:hover { transform: translateY(-1px); }
.logo-img { height: 46px; width: auto; display: block; image-rendering: -webkit-optimize-contrast; }
@media (max-width: 600px) { .logo-img { height: 38px; } }

/* ============ HERO ============ */
section.hero {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(201,165,92,0.08), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(31,78,121,0.04), transparent 50%),
    linear-gradient(135deg, #FAFBFC 0%, #F0F4F8 100%);
  padding: 40px 24px 100px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  section.hero { padding: 50px 20px 70px; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid rgba(31,78,121,0.12);
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 26px;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16,185,129,0.15);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16,185,129,0.15); }
  50% { box-shadow: 0 0 0 8px rgba(16,185,129,0.05); }
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 26px;
}
.hero h1 .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
  font-style: italic;
}
/* Trait sous "accompagnées" — dépasse de quelques centimètres après le mot uniquement */
.hero h1 .highlight-underline {
  color: var(--primary);
  position: relative;
  display: inline-block;
  font-style: italic;
}
.hero h1 .highlight-underline::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: calc(100% + 40px);
  height: 10px;
  background: linear-gradient(90deg, rgba(201,165,92,0.5), rgba(201,165,92,0.2));
  z-index: -1;
  border-radius: 4px;
}
.hero p.lead {
  font-size: 19px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 34px;
  max-width: 540px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.trust-row { display: flex; gap: 30px; margin-top: 44px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(31,78,121,0.22);
}
.trust-icon svg { width: 18px; height: 18px; }
.trust-text { font-size: 14px; color: var(--text-2); font-weight: 600; }

/* ============ HERO VISUAL — fixed readability ============ */
.hero-visual {
  background: white;
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(201,165,92,0.25);
  position: relative;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(201,165,92,0.5), rgba(31,78,121,0.2));
  z-index: -1;
  opacity: 0.4;
  filter: blur(8px);
}
.hv-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-2);
}
.hv-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.hv-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: center;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}
.hv-list li .hv-check {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(31,78,121,0.2);
  flex-shrink: 0;
}
.hv-list li span.hv-text { display: block; }
.hv-list li strong { color: var(--primary); font-weight: 700; }

/* ============ PAGE HERO (sub-pages) ============ */
.page-hero {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(201,165,92,0.06), transparent 60%),
    linear-gradient(135deg, #FAFBFC, #F0F4F8);
  padding: 80px 24px 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(30px, 4.2vw, 48px);
  color: var(--text);
  font-weight: 700;
  margin-bottom: 16px;
}
.page-hero h1 .accent {
  color: var(--primary);
  font-style: italic;
}
.page-hero p.lead { font-size: 18px; color: var(--text-2); max-width: 720px; margin: 0 auto; }
.breadcrumb { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }

/* ============ SECTIONS ============ */
section { padding: 90px 24px; position: relative; }
.container { max-width: 1200px; margin: 0 auto; }
.container-narrow { max-width: 820px; margin: 0 auto; }
.section-eyebrow {
  color: var(--gold);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1.15;
}
.section-lead {
  font-size: 18px;
  color: var(--text-2);
  max-width: 700px;
  margin-bottom: 50px;
  line-height: 1.65;
}
.section-center { text-align: center; }
.section-center .section-lead { margin-left: auto; margin-right: auto; }

/* ============ BUTTONS ============ */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--primary);
  color: white !important;
  box-shadow: 0 4px 14px rgba(31,78,121,0.2);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(31,78,121,0.28);
}
.btn-secondary {
  background: white;
  color: var(--primary) !important;
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============ SERVICE CARDS — with tilt effect ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  perspective: 1500px;
}
@media (max-width: 880px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--card);
  padding: 38px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  border-color: rgba(31,78,121,0.2);
  box-shadow: var(--shadow-xl);
}
.service-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(31,78,121,0.08), rgba(201,165,92,0.12));
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--primary);
  transition: transform 0.3s ease;
}
.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-3deg);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 22px; color: var(--text); margin-bottom: 12px; font-weight: 700; }
.service-card p { color: var(--text-2); margin-bottom: 18px; }
.service-list { list-style: none; }
.service-list li {
  padding: 7px 0;
  padding-left: 22px;
  position: relative;
  font-size: 14px;
  color: var(--text-2);
}
.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  transition: transform 0.2s;
}
.service-card:hover .service-list li::before { transform: translateX(3px); color: var(--primary); }

/* ============ APPROACH — TIMELINE ============ */
.approach { background: white; }
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--primary), var(--primary), var(--gold));
  background-size: 200% 100%;
  z-index: 0;
  animation: timeline-shimmer 6s linear infinite;
}
@keyframes timeline-shimmer {
  0% { background-position: 0% 0%; }
  100% { background-position: -200% 0%; }
}
.timeline-step {
  position: relative;
  text-align: center;
  z-index: 1;
}
.timeline-node {
  position: relative;
  width: 56px;
  height: 56px;
  background: white;
  border: 3px solid var(--primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 6px white, 0 8px 20px rgba(31,78,121,0.15);
}
.timeline-step:hover .timeline-node {
  background: var(--primary);
  color: white;
  transform: scale(1.08);
}
.timeline-step h3 {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 10px;
  font-weight: 700;
}
.timeline-step p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
  max-width: 220px;
  margin: 0 auto;
}
@media (max-width: 880px) {
  .timeline { grid-template-columns: 1fr; gap: 36px; }
  .timeline::before {
    top: 0; bottom: 0; left: 28px; right: auto;
    width: 2px; height: auto;
    background: linear-gradient(180deg, var(--gold), var(--primary), var(--primary), var(--gold));
  }
  .timeline-step { text-align: left; padding-left: 84px; position: relative; }
  .timeline-step .timeline-node { position: absolute; left: 0; top: 0; }
  .timeline-step p { max-width: none; margin: 0; }
}

/* ============ FAQ ============ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: white;
  margin-bottom: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.2s;
}
/* Layout block + ::after en absolute pour éviter le bug flex/gap avec les tooltips inline */
.faq-item summary {
  padding: 22px 60px 22px 26px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: block;
  position: relative;
  color: var(--text);
  font-size: 16px;
  transition: background 0.15s;
  line-height: 1.5;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  font-size: 26px;
  color: var(--primary);
  font-weight: 300;
  transition: transform 0.3s;
  line-height: 1;
}
.faq-item summary:hover { background: rgba(31,78,121,0.025); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item[open] { border-color: var(--primary); box-shadow: var(--shadow-md); }
.faq-item[open] summary { background: rgba(31,78,121,0.04); }
.faq-content {
  padding: 4px 26px 24px;
  color: var(--text-2);
  line-height: 1.75;
  font-size: 15px;
}

/* ============ CTA SECTION ============ */
.cta-section {
  background:
    radial-gradient(ellipse at 80% 50%, rgba(201,165,92,0.18), transparent 60%),
    linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: white; font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.cta-section p {
  color: rgba(255,255,255,0.88);
  font-size: 18px;
  max-width: 620px;
  margin: 0 auto 30px;
}
.cta-section .btn-primary {
  background: white;
  color: var(--primary) !important;
}
.cta-section .btn-primary:hover {
  background: var(--gold);
  color: white !important;
  box-shadow: 0 12px 28px rgba(201,165,92,0.4);
}

/* ============ FOOTER ============ */
footer {
  background: #131A26;
  color: rgba(255,255,255,0.7);
  padding: 70px 24px 30px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
footer h4 {
  font-family: var(--font-body);
  color: white;
  font-size: 13px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}
footer ul { list-style: none; }
footer ul li { padding: 7px 0; }
footer a { color: rgba(255,255,255,0.7); }
footer a:hover { color: var(--gold); }
.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 16px;
  filter: brightness(0) invert(1) opacity(0.92);
}
.footer-tagline { font-size: 14px; line-height: 1.7; max-width: 280px; margin-bottom: 18px; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

/* ============ CONTENT BLOCKS (sub-pages) ============ */
.content-block {
  background: white;
  padding: 42px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.content-block h2 { color: var(--primary); font-size: 24px; margin-bottom: 16px; }
.content-block h3 { color: var(--text); font-size: 19px; margin: 24px 0 10px; font-weight: 700; }
.content-block p { margin-bottom: 14px; color: var(--text-2); }
.content-block ul { margin: 14px 0 14px 28px; }
.content-block ul li { margin-bottom: 8px; color: var(--text-2); }
.content-block ul li strong { color: var(--text); }
@media (max-width: 600px) { .content-block { padding: 28px 22px; } }

/* ============ SECTION DIVIDERS (SVG waves & diagonals) ============ */
.section-divider {
  position: relative;
  width: 100%;
  height: 60px;
  line-height: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
}
.section-divider svg { display: block; width: 100%; height: 100%; }

/* ============ TOOLTIPS ============ */
.tooltip {
  position: relative;
  display: inline;
  border-bottom: 1px dashed var(--gold);
  cursor: help;
  font-weight: 600;
  color: var(--primary);
}
.tooltip:hover { color: var(--primary-dark); }
.tooltip::before, .tooltip::after {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.tooltip::before {
  content: attr(data-tooltip);
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--text);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  width: max-content;
  max-width: 280px;
  white-space: normal;
  z-index: 50;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  border: none;
}
.tooltip::after {
  content: '';
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  border: 6px solid transparent;
  border-top-color: var(--text);
  border-bottom: 0;
  width: 0;
  height: 0;
}
.tooltip:hover::before, .tooltip:hover::after,
.tooltip:focus::before, .tooltip:focus::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============ SCROLL ANIMATIONS ============ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-28px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(28px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }
.stagger-fade > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.stagger-fade.visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.0s; }
.stagger-fade.visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.stagger-fade.visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.stagger-fade.visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.stagger-fade.visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.stagger-fade.visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in, .fade-in-left, .fade-in-right, .stagger-fade > * { opacity: 1; transform: none; }
}

/* ============ ANIMATED SVG ICONS (Lottie-style, inline) ============ */
.icon-svg { width: 100%; height: 100%; }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes draw-stroke { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes gentle-rotate { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes draw-check {
  0% { stroke-dashoffset: 24; }
  60% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; }
}

.icon-anim-1 { animation: float-y 4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.icon-anim-2 { animation: gentle-rotate 6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.icon-anim-3 { animation: float-y 5s ease-in-out infinite 0.5s; transform-origin: center; transform-box: fill-box; }
.icon-draw { stroke-dasharray: 100; animation: draw-stroke 1.5s ease-out forwards; }

/* ============ MISC ============ */
.text-center { text-align: center; }

@media print {
  nav.topnav, footer, .cta-section, .btn-primary, .btn-secondary { display: none !important; }
  section { padding: 20px 0; }
  body { background: white; color: black; }
}


/* ============ BREADCRUMB BOTTOM (after CTA) ============ */
.breadcrumb-bottom {
  background: #FAFBFC;
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.breadcrumb-bottom .container {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.breadcrumb-bottom a {
  color: var(--muted);
  transition: color 0.15s;
}
.breadcrumb-bottom a:hover { color: var(--primary); }
.breadcrumb-bottom .sep { color: var(--muted-2); }
.breadcrumb-bottom .current { color: var(--text-2); font-weight: 500; }
