:root {
  --chax-rose: #e8b8ad;
  --chax-red: #6e1f2a;
  --chax-navy: #0a2740;
  --chax-bg: #f1d6cf;
  --chax-soft: #f7eeec;
  --chax-soft2: #fbf7f6;
  --chax-hero-bg: #f1d6cf;
  --chax-border: #ecd7da;
  --chax-ink: #14293a;
  --chax-primary: var(--chax-navy);
  --chax-hover: var(--chax-red);
  --chax-accent: var(--chax-red);
  --font-sans: "Manrope", "Segoe UI", sans-serif;
  --font-serif: "Fraunces", "Times New Roman", serif;
}

[x-cloak] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-sans);
  overflow-x: hidden;
}
h1,
h2,
h3,
.font-display {
  font-family: var(--font-serif);
}
section[id] {
  scroll-margin-top: 96px;
}

.hero {
  background: var(--chax-hero-bg);
  color: var(--chax-ink);
}

.hero-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
}

.hero-main {
  position: relative;
  overflow: hidden;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--chax-border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 18px 40px -24px rgba(10, 39, 64, 0.35);
}

.hero-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/img/fond_hero.svg");
  background-repeat: no-repeat;
  background-position: 140% center;
  background-size: 60% auto;
  opacity: 0.08;
  pointer-events: none;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.5) 35%,
    rgba(0, 0, 0, 1) 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.5) 35%,
    rgba(0, 0, 0, 1) 100%
  );
}

.hero-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(20, 41, 58, 0.65);
}

.hero-title {
  margin-top: 1rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--chax-ink);
}

.hero-underline {
  display: inline-block;
  border-bottom: 3px solid var(--chax-red);
  padding-bottom: 0.05em;
}

.hero-text {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(20, 41, 58, 0.75);
}

.hero-ctas {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-pills {
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: rgba(20, 41, 58, 0.8);
}

.hero-pill-sep {
  color: var(--chax-red);
  margin: 0 0.35rem;
}

.hero-mini-card {
  border-radius: 1.25rem;
  border: 1px solid var(--chax-border);
  background: rgba(255, 255, 255, 0.95);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 16px 34px -26px rgba(10, 39, 64, 0.35);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.hero-mini-card:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 31, 42, 0.35);
  box-shadow: 0 22px 38px -28px rgba(10, 39, 64, 0.4);
}

.hero-mini-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--chax-ink);
}

.hero-mini-price {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--chax-red);
}

.hero-animate {
  animation: heroFade 500ms ease-out both;
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .hero-container {
    padding: 5rem 2rem;
  }

  .hero-grid {
    align-items: start;
  }

  .hero-main {
    padding: 2.5rem;
  }

  .hero-text {
    font-size: 1.15rem;
  }
}

@media (max-width: 767px) {
  .hero-main::after {
    background-image: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card-anim {
    transition: none !important;
    transform: none !important;
  }

  .hero-animate {
    animation: none !important;
  }

  .hero-mini-card {
    transition: none !important;
    transform: none !important;
  }
}

.nav-solid {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--chax-border);
}
.nav-glass {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(10, 39, 64, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-link,
.nav-link-inline {
  text-decoration: none;
}
.nav-link:hover,
.nav-link-inline:hover {
  text-decoration: none;
}

.h-title {
  letter-spacing: -0.02em;
}

.review-card {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.review-card:hover {
  transform: translateY(-2px);
  border-color: rgba(110, 31, 42, 0.35);
  box-shadow: 0 20px 36px -26px rgba(10, 39, 64, 0.4);
}

.review-quote {
  position: relative;
  font-size: 1.05rem;
  line-height: 1.6;
  padding-left: 0.9rem;
}

.review-quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 3px;
  height: calc(100% - 0.4rem);
  background: var(--chax-red);
  border-radius: 999px;
}

.review-mark {
  display: inline-block;
  margin-right: 0.35rem;
  color: var(--chax-red);
  font-weight: 600;
}

.review-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--chax-border);
  padding: 0.3rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--chax-ink);
  background: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}

.contact-action {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--chax-border);
  background: #fff;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--chax-ink);
  cursor: pointer;
  transition:
    background 140ms ease,
    border-color 140ms ease,
    color 140ms ease;
}

.contact-action-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--chax-primary);
}

.contact-action-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--chax-primary);
}

.contact-action-sub {
  margin-left: auto;
  font-size: 0.8rem;
  color: rgba(20, 41, 58, 0.65);
}

.contact-action:hover {
  background: var(--chax-soft2);
  border-color: rgba(110, 31, 42, 0.35);
}

.contact-action:hover .contact-action-label,
.contact-action:hover .contact-action-icon {
  color: var(--chax-accent);
}

.contact-action--accent {
  background: rgba(110, 31, 42, 0.1);
  border-color: rgba(110, 31, 42, 0.45);
}

.process-number {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.process-result {
  margin-top: auto;
  padding-top: 1rem;
}
