@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── Design tokens ── */
:root {
  --background: hsl(220, 20%, 97%);
  --foreground: hsl(220, 30%, 12%);
  --card: hsl(0, 0%, 100%);
  --primary: hsl(349, 45%, 30%);
  --primary-foreground: hsl(40, 30%, 92%);
  --muted: hsl(220, 15%, 93%);
  --muted-foreground: hsl(220, 10%, 46%);
  --accent: hsl(353, 71%, 27%);
  --accent-foreground: hsl(40, 30%, 96%);
  --border: hsl(220, 15%, 88%);
  --radius: 0.5rem;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --container: 72rem;
  --nav-height: 5rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ── Typography ── */
.font-display { font-family: var(--font-heading); }

.label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 500;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

.text-muted { color: var(--muted-foreground); }

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

.container-narrow { max-width: 48rem; }

.page-offset { padding-top: var(--nav-height); }

section { padding: 6rem 0; }

@media (min-width: 1024px) {
  section { padding: 8rem 0; }
}

.section-muted { background: hsl(220 15% 93% / 0.3); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
  white-space: nowrap;
}

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }

.btn-accent {
  background: var(--accent);
  color: var(--accent-foreground);
}
.btn-accent:hover { background: hsl(353, 71%, 22%); }

.btn-outline {
  background: transparent;
  border-color: hsl(220 30% 12% / 0.2);
  color: var(--foreground);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-outline-accent {
  background: transparent;
  border-color: hsl(353 71% 27% / 0.3);
  color: var(--accent);
  width: 100%;
}
.btn-outline-accent:hover { background: hsl(353 71% 27% / 0.1); }

.btn-primary-outline {
  background: transparent;
  border-color: hsl(40 30% 92% / 0.3);
  color: var(--primary-foreground);
}
.btn-primary-outline:hover { background: hsl(40 30% 92% / 0.1); }

.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-icon { width: 1rem; height: 1rem; flex-shrink: 0; }

/* ── Navbar ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: hsl(220 20% 97% / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid hsl(220 15% 88% / 0.5);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo-img {
  height: 2.25rem;
  width: auto;
  display: block;
}

@media (max-width: 400px) {
  .logo-img { height: 1.9rem; }
  .logo { font-size: 1.3rem; gap: 0.5rem; }
}

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

.nav-link {
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--muted-foreground);
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--foreground); font-weight: 500; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}
.lang-switch:hover { color: var(--foreground); }

/* Mobile menu toggle */
.nav-toggle { display: none; }

.nav-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
  padding: 0.25rem;
}

.nav-mobile-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-mobile-menu {
  display: none;
  background: hsl(220 20% 97% / 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
}

.nav-mobile-menu a {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--muted-foreground);
  padding: 0.5rem 0;
}
.nav-mobile-menu a.active { color: var(--foreground); font-weight: 600; }

.nav-toggle:checked ~ .nav-mobile-menu { display: block; }

.nav-toggle:checked ~ .nav-inner .icon-menu { display: none; }
.nav-toggle:checked ~ .nav-inner .icon-close { display: block; }

.icon-close { display: none; }

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .nav-mobile-controls { display: none; }
  .nav-mobile-menu { display: none !important; }
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsl(220 25% 88%), hsl(220 20% 97%) 60%, hsl(353 40% 92%));
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, hsl(220 20% 97% / 0.95), hsl(220 20% 97% / 0.8) 50%, hsl(220 20% 97% / 0.4)),
    linear-gradient(to top, var(--background), transparent 40%);
}

.hero-content {
  position: relative;
  max-width: 42rem;
  padding: 8rem 0 5rem;
}

.hero-content .label { margin-bottom: 1.5rem; }

.hero-content h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  margin-bottom: 2rem;
}

.hero-content .desc {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  letter-spacing: 0.05em;
}

@media (max-width: 767px) {
  .hero {
    min-height: auto;
  }
  .hero-content {
    width: 100%;
    text-align: center;
    padding: 6.5rem 0 3rem;
  }
  .hero-content .desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
}

/* ── Trust bar ── */
.trust-bar {
  padding: 4rem 0;
  border-top: 1px solid hsl(220 15% 88% / 0.5);
  border-bottom: 1px solid hsl(220 15% 88% / 0.5);
}

.trust-bar .label-center {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.trust-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: hsl(353 71% 27% / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.trust-item p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.4;
}

/* ── Philosophy ── */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

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

.philosophy-text h2 {
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  margin-bottom: 2rem;
}

.philosophy-text p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.value-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid hsl(220 15% 88% / 0.5);
  transition: border-color 0.3s;
}
.value-card:hover { border-color: hsl(353 71% 27% / 0.3); }

.value-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  margin-bottom: 1rem;
}

.value-card p {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 500;
}

/* ── Services preview / cards ── */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  margin: 1rem 0;
}

.section-header p {
  color: var(--muted-foreground);
  max-width: 36rem;
  margin: 0 auto;
}

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

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

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

.card {
  padding: 2rem;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid hsl(220 15% 88% / 0.5);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
  border-color: hsl(353 71% 27% / 0.3);
  box-shadow: 0 10px 40px hsl(220 30% 12% / 0.06);
}

.card-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: hsl(353 71% 27% / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card .subtitle {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}

.card p { font-size: 0.875rem; color: var(--muted-foreground); }

.text-center { text-align: center; }
.mt-12 { margin-top: 3rem; }

/* ── CTA banner ── */
.cta-banner {
  position: relative;
  border-radius: 1.5rem;
  background: var(--primary);
  padding: 3rem 1.5rem;
  text-align: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-banner { padding: 5rem; }
}

.cta-banner::before,
.cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: hsl(353 71% 27% / 0.1);
}

.cta-banner::before {
  width: 16rem;
  height: 16rem;
  top: 0;
  right: 0;
  transform: translate(33%, -50%);
}

.cta-banner::after {
  width: 12rem;
  height: 12rem;
  bottom: 0;
  left: 0;
  transform: translate(-25%, 50%);
  background: hsl(353 71% 27% / 0.05);
}

.cta-banner .inner { position: relative; }

.cta-banner h2 {
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  color: var(--primary-foreground);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: hsl(40 30% 92% / 0.7);
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.cta-banner .hero-note { color: hsl(40 30% 92% / 0.5); }

/* ── About page ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

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

.about-text h1 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  margin-bottom: 2rem;
}

.about-text p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.about-image {
  position: relative;
  width: 100%;
  max-width: 20rem;
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .about-image {
    max-width: 24rem;
    padding-bottom: 1.5rem;
  }
}

.about-image .portrait {
  border-radius: 1rem;
  overflow: hidden;
  background: var(--muted);
  box-shadow: 0 20px 60px hsl(220 30% 12% / 0.12);
  line-height: 0;
}

.about-image .portrait img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  display: block;
}

.about-badge {
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 20px 60px hsl(220 30% 12% / 0.12);
  border: 1px solid hsl(220 15% 88% / 0.5);
  margin-top: 1rem;
}

@media (min-width: 1024px) {
  .about-badge {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    margin-top: 0;
    max-width: 18rem;
  }
}

.about-badge h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.about-badge p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

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

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

.approach-item {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid hsl(220 15% 88% / 0.5);
}

.approach-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.approach-item p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.network-banner {
  border-radius: 1.5rem;
  background: var(--primary);
  padding: 3rem 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .network-banner { padding: 5rem; }
}

.network-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: hsl(40 30% 92% / 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin: 0 auto 2rem;
}

.network-banner h2 {
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
}

.network-banner p {
  color: hsl(40 30% 92% / 0.7);
  max-width: 36rem;
  margin: 0 auto;
}

/* ── Services page ── */
.services-list {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-block {
  border-radius: 1rem;
  border: 1px solid hsl(220 15% 88% / 0.5);
  overflow: hidden;
  background: var(--card);
}

.service-block.featured {
  background: hsl(353 71% 27% / 0.05);
  border-color: hsl(353 71% 27% / 0.2);
}

.service-block-inner {
  padding: 2rem;
}

@media (min-width: 768px) {
  .service-block-inner { padding: 3rem; }
}

.service-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .service-row { flex-direction: row; align-items: flex-start; }
}

.service-number {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: hsl(353 71% 27% / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
}

.service-block h2 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.benefits-list {
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.benefit-item svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 0.125rem;
}

.tarif-note {
  text-align: center;
  padding-top: 2rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-style: italic;
}

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

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

.form-card {
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid hsl(220 15% 88% / 0.5);
  padding: 2rem;
}

@media (min-width: 768px) {
  .form-card { padding: 2.5rem; }
}

.form-card h2 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .form-row.cols-2 { grid-template-columns: 1fr 1fr; }
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px hsl(353 71% 27% / 0.15);
}

.form-group textarea { resize: vertical; min-height: 8rem; }

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
  accent-color: var(--accent);
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  cursor: pointer;
}

.sidebar-card {
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.sidebar-card.accent {
  background: hsl(353 71% 27% / 0.05);
  border: 1px solid hsl(353 71% 27% / 0.2);
}

.sidebar-card.default {
  background: var(--card);
  border: 1px solid hsl(220 15% 88% / 0.5);
}

.sidebar-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.sidebar-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.sidebar-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: hsl(353 71% 27% / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.25rem;
}

.contact-info-item svg { color: var(--accent); flex-shrink: 0; }

.form-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-style: italic;
}

/* ── Legal / Privacy prose ── */
.prose h2 {
  font-size: 1.25rem;
  margin: 2.5rem 0 1rem;
}

.prose h2:first-child { margin-top: 0; }

.prose p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.prose li {
  color: var(--muted-foreground);
  margin-bottom: 0.375rem;
  line-height: 1.6;
}

.page-title {
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  margin-bottom: 3rem;
}

/* ── 404 ── */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.error-page h1 {
  font-size: 6rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-page h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.error-page p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

/* ── Footer ── */
.site-footer {
  background: var(--primary);
  color: var(--primary-foreground);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

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

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

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  opacity: 0.7;
  line-height: 1.6;
  max-width: 18rem;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.5;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  opacity: 0.7;
  margin-bottom: 0.5rem;
  transition: opacity 0.2s;
}
.footer-col a:hover { opacity: 1; }

.footer-finma {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.5rem;
  opacity: 0.6;
  font-size: 0.75rem;
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(40 30% 92% / 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  font-size: 0.75rem;
  opacity: 0.5;
}

.footer-bottom .finma-note { opacity: 0.4; }

/* ═══════════════════════════════════════════════════════════
   Scroll-driven animations (pure CSS)
   Native in Chrome/Edge 115+, Safari 26+, Opera; progressive
   enhancement elsewhere via @supports. Fully disabled when the
   user prefers reduced motion.
   ═══════════════════════════════════════════════════════════ */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(48px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fade-left {
  from { opacity: 0; transform: translateX(-56px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fade-right {
  from { opacity: 0; transform: translateX(56px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes zoom-in {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes clip-reveal {
  from { opacity: 0; clip-path: inset(0 100% 0 0); }
  to   { opacity: 1; clip-path: inset(0 0 0 0); }
}
@keyframes grow-x {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes parallax-bg {
  from { transform: translateY(-8%) scale(1.15); }
  to   { transform: translateY(8%)  scale(1.15); }
}
@keyframes hero-drift {
  0%, 70% { opacity: 1; transform: translateY(0); }
  100%    { opacity: 0; transform: translateY(-40px); }
}
@keyframes float-orb {
  from { translate: 0 0; }
  to   { translate: 0 -26px; }
}

/* ── Hero: entrance on load + parallax/drift on scroll ── */
@media (prefers-reduced-motion: no-preference) {
  .hero-content > * {
    opacity: 0;
    animation: fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  .hero-content .label       { animation-delay: 0.10s; }
  .hero-content h1           { animation-delay: 0.25s; }
  .hero-content .desc        { animation-delay: 0.45s; }
  .hero-content .hero-actions{ animation-delay: 0.65s; }
  .hero-content .hero-note   { animation-delay: 0.82s; }

  /* Floating decorative orbs in banners */
  .cta-banner::before  { animation: float-orb 11s ease-in-out infinite alternate; }
  .cta-banner::after   { animation: float-orb 15s ease-in-out infinite alternate; }

  /* Subtle hover lift */
  .card, .value-card, .service-block, .approach-item, .sidebar-card {
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .card:hover, .value-card:hover, .service-block:hover, .sidebar-card.default:hover {
    transform: translateY(-6px);
  }
}

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    /* Scroll progress indicator */
    body::before {
      content: "";
      position: fixed;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--accent), hsl(353 55% 45%));
      transform: scaleX(0);
      transform-origin: 0 50%;
      z-index: 200;
      animation: grow-x linear both;
      animation-timeline: scroll(root);
    }

    /* Hero background parallax */
    .hero-bg img {
      will-change: transform;
      animation: parallax-bg linear both;
      animation-timeline: scroll(root);
      animation-range: 0 100vh;
    }
    /* Hero text stays sharp longer, then fades once the section is mostly left */
    .hero-content {
      animation: hero-drift linear both;
      animation-timeline: scroll(root);
      animation-range: 35vh 95vh;
    }
    @media (max-width: 767px) {
      .hero-content { animation: none; }
    }
  }
}

/* ── Reveal on scroll (view-timeline) ── */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section-header,
    .card,
    .trust-item,
    .service-block,
    .approach-item,
    .cta-banner,
    .form-card,
    .contact-grid aside .sidebar-card,
    .prose > *,
    .tarif-note,
    .footer-grid > * {
      animation: fade-up linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 28%;
    }

    /* Directional reveals for two-column layouts */
    .philosophy-text,
    .about-text {
      animation: fade-left linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 35%;
    }
    .about-image {
      animation: fade-right linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 35%;
    }

    /* Portrait gets a cinematic wipe + zoom */
    .about-image .portrait img {
      animation: zoom-in linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 45%;
    }

    /* Section title wipe */
    .section-header h2,
    .page-title {
      animation: clip-reveal linear both;
      animation-timeline: view();
      animation-range: entry 5% cover 30%;
    }

    /* ── Staggered cascades within grids ── */
    .trust-grid .trust-item:nth-child(1) { animation-range: entry 0%  cover 22%; }
    .trust-grid .trust-item:nth-child(2) { animation-range: entry 6%  cover 28%; }
    .trust-grid .trust-item:nth-child(3) { animation-range: entry 12% cover 34%; }
    .trust-grid .trust-item:nth-child(4) { animation-range: entry 18% cover 40%; }

    .cards-grid .card:nth-child(3n + 1) { animation-range: entry 0%  cover 28%; }
    .cards-grid .card:nth-child(3n + 2) { animation-range: entry 8%  cover 36%; }
    .cards-grid .card:nth-child(3n + 3) { animation-range: entry 16% cover 44%; }

    .value-card { animation: zoom-in linear both; animation-timeline: view(); }
    .values-grid .value-card:nth-child(2n + 1) { animation-range: entry 0%  cover 30%; }
    .values-grid .value-card:nth-child(2n)     { animation-range: entry 10% cover 40%; }

    .approach-grid .approach-item:nth-child(2n + 1) { animation-range: entry 0%  cover 30%; }
    .approach-grid .approach-item:nth-child(2n)     { animation-range: entry 10% cover 40%; }

    .prose > *:nth-child(odd)  { animation-range: entry 0% cover 24%; }
    .prose > *:nth-child(even) { animation-range: entry 4% cover 28%; }
  }
}
