@import url('tokens.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Source+Sans+3:wght@400;600&display=swap');

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
}

img, svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary);
  text-decoration: underline;
}

a:hover, a:focus {
  color: var(--color-accent);
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-accent);
}

h1 { font-size: clamp(1.75rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 4vw, 2rem); }
h3 { font-size: clamp(1.1rem, 3vw, 1.4rem); }
h4 { font-size: 1rem; }

p { margin-bottom: 1rem; }

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 3rem 0;
}

.section--alt {
  background-color: color-mix(in srgb, var(--color-primary) 5%, var(--color-bg));
}

/* ============================================
   VISUAL PLACEHOLDER (WEB-715)
   ============================================ */
.visual-placeholder {
  display: block;
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--color-primary) 22%, var(--color-bg)) 0%,
      color-mix(in srgb, var(--color-primary) 10%, var(--color-bg)) 55%,
      color-mix(in srgb, var(--color-secondary) 18%, var(--color-bg)) 100%
    );
}
.visual-placeholder[data-aspect="4:3"]  { aspect-ratio: 4 / 3; }
.visual-placeholder[data-aspect="1:1"]  { aspect-ratio: 1 / 1; }
.visual-placeholder[data-aspect="3:4"]  { aspect-ratio: 3 / 4; }
.visual-placeholder[data-aspect="21:9"] { aspect-ratio: 21 / 9; }

.visual-placeholder[data-tone="secondary"] {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--color-secondary) 22%, var(--color-bg)) 0%,
      color-mix(in srgb, var(--color-secondary) 10%, var(--color-bg)) 55%,
      color-mix(in srgb, var(--color-primary) 16%, var(--color-bg)) 100%
    );
}
.visual-placeholder[data-tone="accent"] {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--color-accent, var(--color-primary)) 22%, var(--color-bg)) 0%,
      color-mix(in srgb, var(--color-primary) 12%, var(--color-bg)) 60%,
      color-mix(in srgb, var(--color-secondary) 16%, var(--color-bg)) 100%
    );
}
.visual-placeholder[data-tone="muted"] {
  background: color-mix(in srgb, var(--color-text) 8%, var(--color-bg));
}

/* ============================================
   HEADER & NAV
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-bg);
  border-bottom: 2px solid var(--color-primary);
  box-shadow: 0 2px 8px rgba(14, 116, 144, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img,
.site-logo svg {
  height: 40px;
  width: auto;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-nav {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background-color: var(--color-bg);
  border-bottom: 2px solid var(--color-primary);
  padding: 1rem 1.25rem;
}

.site-nav.is-open {
  display: block;
}

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

.site-nav a {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 15%, var(--color-bg));
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--color-primary);
}

.nav-cta {
  display: inline-block;
  margin-top: 0.75rem;
  background-color: var(--color-primary);
  color: var(--color-bg) !important;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none !important;
  border-bottom: none !important;
  transition: background-color 0.2s;
}

.nav-cta:hover {
  background-color: var(--color-accent);
  color: var(--color-bg) !important;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 2.5rem 0;
  background: linear-gradient(
    150deg,
    color-mix(in srgb, var(--color-primary) 8%, var(--color-bg)) 0%,
    var(--color-bg) 100%
  );
}

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

.hero__text h1 {
  margin-bottom: 1rem;
}

.hero__text p {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--color-text) 80%, var(--color-bg));
  max-width: 560px;
}

.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: color-mix(in srgb, var(--color-secondary) 15%, var(--color-bg));
  border: 1px solid var(--color-secondary);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.hero__stars {
  color: var(--color-secondary);
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-bg);
  border-color: var(--color-primary);
}

.btn--primary:hover,
.btn--primary:focus {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg);
}

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

.btn--secondary:hover,
.btn--secondary:focus {
  background-color: var(--color-primary);
  color: var(--color-bg);
}

.btn--accent {
  background-color: var(--color-secondary);
  color: var(--color-accent);
  border-color: var(--color-secondary);
}

.btn--accent:hover,
.btn--accent:focus {
  background-color: var(--color-accent);
  color: var(--color-bg);
  border-color: var(--color-accent);
}

.btn--phone {
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}

/* ============================================
   ATOUTS SECTION
   ============================================ */
.atouts__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.atout-card {
  background-color: var(--color-bg);
  border: 1px solid color-mix(in srgb, var(--color-primary) 20%, var(--color-bg));
  border-radius: 10px;
  padding: 1.5rem;
  border-top: 3px solid var(--color-primary);
}

.atout-card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.atout-card h3 {
  margin-bottom: 0.5rem;
}

.atout-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ============================================
   SERVICES CARDS
   ============================================ */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 2rem;
}

.service-card {
  background-color: var(--color-bg);
  border: 1px solid color-mix(in srgb, var(--color-primary) 15%, var(--color-bg));
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.service-card:hover {
  box-shadow: 0 4px 20px rgba(14, 116, 144, 0.12);
}

.service-card__media {
  width: 100%;
}

.service-card__body {
  padding: 1.5rem;
}

.service-card__body h2,
.service-card__body h3 {
  margin-bottom: 0.75rem;
}

.service-card ul {
  list-style: none;
  margin-top: 0.75rem;
}

.service-card ul li {
  padding: 0.35rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

.service-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* ============================================
   PREUVE SOCIALE / REVIEWS
   ============================================ */
.social-proof {
  text-align: center;
  padding: 2.5rem 1.25rem;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--color-primary) 10%, var(--color-bg)) 0%,
    color-mix(in srgb, var(--color-secondary) 8%, var(--color-bg)) 100%
  );
  border-radius: 10px;
  margin-top: 2.5rem;
}

.social-proof__rating {
  font-size: 2.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
}

.social-proof__stars {
  color: var(--color-secondary);
  font-size: 1.5rem;
  letter-spacing: 3px;
  display: block;
  margin: 0.5rem 0;
}

.social-proof__count {
  font-size: 1rem;
  color: color-mix(in srgb, var(--color-text) 70%, var(--color-bg));
}

.social-proof p {
  max-width: 480px;
  margin: 1rem auto 0;
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  background-color: var(--color-primary);
  color: var(--color-bg);
  padding: 2.5rem 0;
  text-align: center;
}

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

.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.5rem;
}

.cta-band__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2rem;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-info__icon {
  font-size: 1.25rem;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-info__text {
  font-size: 1rem;
}

.contact-info__text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
}

.contact-info__text a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 2px solid color-mix(in srgb, var(--color-primary) 20%, var(--color-bg));
  margin-top: 1.5rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
  background-color: color-mix(in srgb, var(--color-primary) 4%, var(--color-bg));
  border-radius: 10px;
  padding: 1.75rem;
  border: 1px solid color-mix(in srgb, var(--color-primary) 15%, var(--color-bg));
}

.contact-form h2 {
  margin-bottom: 1.25rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid color-mix(in srgb, var(--color-primary) 30%, var(--color-bg));
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background-color: var(--color-bg);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 20%, transparent);
}

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

.form-rgpd {
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--color-text) 60%, var(--color-bg));
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--color-text) 12%, var(--color-bg));
}

/* ============================================
   A PROPOS PAGE
   ============================================ */
.about-hero {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.about-content p {
  font-size: 1.05rem;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background-color: color-mix(in srgb, var(--color-primary) 5%, var(--color-bg));
  border-radius: 8px;
  border-left: 3px solid var(--color-primary);
}

.value-item__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.value-item h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.value-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: color-mix(in srgb, var(--color-text) 75%, var(--color-bg));
}

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
  background: linear-gradient(
    135deg,
    var(--color-accent) 0%,
    var(--color-primary) 100%
  );
  color: var(--color-bg);
  padding: 3rem 0 2.5rem;
}

.page-header h1 {
  color: var(--color-bg);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--color-secondary);
}

.breadcrumb span {
  margin: 0 0.35rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background-color: var(--color-accent);
  color: rgba(255, 255, 255, 0.88);
  padding: 3rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__brand .site-logo {
  margin-bottom: 0.75rem;
}

.footer__brand .site-logo svg text,
.footer__brand .site-logo img {
  filter: brightness(0) invert(1);
}

.footer__brand-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-bg);
  text-decoration: none;
}

.footer__brand p {
  font-size: 0.9rem;
  max-width: 280px;
}

.footer__nav h3,
.footer__contact h3 {
  color: var(--color-secondary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.footer__nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer__nav a:hover {
  color: var(--color-secondary);
}

.footer__contact address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer__contact a {
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: 600;
}

.footer__contact a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ============================================
   SKIP LINK
   ============================================ */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-bg);
  padding: 0.5rem 1rem;
  z-index: 1000;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* ============================================
   VISUALLY HIDDEN (a11y utility)
   ============================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   TABLET BREAKPOINT (≥ 640px)
   ============================================ */
@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

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

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

  .cta-band__actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* ============================================
   DESKTOP BREAKPOINT (≥ 1024px)
   ============================================ */
@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    position: static;
    border-bottom: none;
    padding: 0;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
  }

  .site-nav a {
    border-bottom: none;
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    font-size: 0.95rem;
  }

  .nav-cta {
    margin-top: 0;
  }

  .hero {
    padding: 4rem 0;
  }

  .hero__content {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }

  .hero__text {
    flex: 1;
  }

  .hero__visual {
    flex: 1;
  }

  .atouts__grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .contact-layout {
    flex-direction: row;
    align-items: flex-start;
  }

  .contact-info {
    flex: 1;
  }

  .contact-form {
    flex: 1.4;
  }

  .about-hero {
    flex-direction: row;
    align-items: flex-start;
  }

  .about-content {
    flex: 1.5;
  }

  .about-visual {
    flex: 1;
  }

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

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* ============================================
   ANIMATIONS — prefers-reduced-motion: no-preference
   ============================================ */
@media (prefers-reduced-motion: no-preference) {

  /* --- Keyframes --- */
  @keyframes hero-slide-up {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: none; }
  }

  @keyframes hero-fade-right {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: none; }
  }

  @keyframes placeholder-shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
  }

  /* --- 1. Hero entry --- */
  .hero__text {
    animation: hero-slide-up 0.6s ease both;
  }

  .hero__visual {
    animation: hero-fade-right 0.7s 0.18s ease both;
  }

  /* --- 2. Scroll reveal (JS adds .fade-in + .visible) --- */
  .fade-in {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  .fade-in.visible {
    opacity: 1;
    transform: none;
  }

  /* Staggered reveals for grid children */
  .atouts__grid .fade-in:nth-child(2),
  .services__grid .fade-in:nth-child(2),
  .about-values .fade-in:nth-child(2) {
    transition-delay: 0.1s;
  }

  .atouts__grid .fade-in:nth-child(3),
  .services__grid .fade-in:nth-child(3),
  .about-values .fade-in:nth-child(3) {
    transition-delay: 0.2s;
  }

  .services__grid .fade-in:nth-child(4),
  .about-values .fade-in:nth-child(4) {
    transition-delay: 0.3s;
  }

  /* Reset delay once visible so hover transitions are instant */
  .fade-in.visible {
    transition-delay: 0s;
  }

  /* --- 3. Card hover lift --- */
  .atout-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
  }

  .atout-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(14, 116, 144, 0.16);
  }

  .service-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
  }

  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(14, 116, 144, 0.18);
  }

  /* --- 4. Button micro-interaction --- */
  .btn {
    transition:
      background-color 0.2s,
      color 0.2s,
      border-color 0.2s,
      transform 0.15s ease,
      box-shadow 0.15s ease;
  }

  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(14, 116, 144, 0.22);
  }

  .btn:active {
    transform: translateY(0);
    box-shadow: none;
  }

  .btn:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-primary) 22%, transparent);
  }

  /* --- 5. Visual placeholder shimmer --- */
  .visual-placeholder {
    position: relative;
    overflow: hidden;
  }

  .visual-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.15) 50%,
      transparent 100%
    );
    transform: translateX(-100%);
    animation: placeholder-shimmer 2.8s ease-in-out 0.6s infinite;
    pointer-events: none;
  }

  /* --- Bonus: nav link underline slide (desktop) --- */
  @media (min-width: 1024px) {
    .site-nav a:not(.nav-cta) {
      background-image: linear-gradient(var(--color-primary), var(--color-primary));
      background-repeat: no-repeat;
      background-size: 0% 2px;
      background-position: left bottom;
      transition: background-size 0.25s ease, color 0.2s;
      padding-bottom: 3px;
    }

    .site-nav a:not(.nav-cta):hover,
    .site-nav a:not(.nav-cta).active {
      background-size: 100% 2px;
      color: var(--color-primary);
    }
  }
}

/* ============================================
   REDUCED MOTION — disable all animations
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
