/* ==========================================================================
   style.css — Global styles + custom component styling.
   Tailwind (CDN) handles layout utilities in the markup; this file owns the
   theme-driven look of the bespoke components.
   ========================================================================== */

/* --- Base ------------------------------------------------------------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { line-height: 1.25; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
ul { margin: 0; padding: 0; list-style: none; }

/* Compensate fixed nav when jumping to anchors */
section[id] { scroll-margin-top: var(--nav-height); }

.icv-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--spacing-container);
}

.icv-section {
  padding-block: var(--spacing-section);
}

.icv-section--alt { background: var(--color-bg-light); }

/* --- Focus visibility ------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--color-primary-light);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* --- Section headings ------------------------------------------------- */
.icv-section-head {
  text-align: center;
  max-width: none;
  margin: 0 auto 4rem;
}
.icv-section-head h2 {
  font-size: clamp(2rem, 4.5vw, var(--font-size-4xl));
  font-weight: 800;
  color: var(--color-primary);
  margin-block: 1.25rem 1rem;
}
.icv-section-head p {
  color: var(--color-text-muted);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.65;
}

/* --- Pill badge ------------------------------------------------------- */
/* Host must be inline-block so the reveal transform applies to it. */
icv-badge { display: inline-block; }
.icv-badge__icon { width: 0.95rem; height: 0.95rem; }
.icv-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--color-bg-light);
  color: var(--color-primary-light);
  font-size: var(--font-size-sm);
  font-weight: 600;
  border: 1px solid var(--color-border);
}

/* --- Buttons ---------------------------------------------------------- */
/* No layout border anywhere — outlined buttons draw their border with an
   INSET box-shadow so they stay the exact same size as the gradient ones. */
.icv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--font-size-base);
  cursor: pointer;
  border: 0;
  transition: transform var(--transition-fast), box-shadow var(--transition-base),
    background var(--transition-base), color var(--transition-base);
}
.icv-btn:hover { transform: translateY(-2px); }

/* Gradient button: no border, no drop shadow. */
.icv-btn--primary {
  background: var(--color-gradient-hero);
  color: var(--color-text-light);
  box-shadow: none;
}
.icv-btn__arrow { transition: transform var(--transition-fast); }
.icv-btn--primary:hover .icv-btn__arrow { transform: translateX(3px); }

.icv-btn--outline {
  background: var(--color-bg);
  color: var(--color-primary);
  box-shadow: inset 0 0 0 2px var(--color-primary);
}
.icv-btn--outline:hover {
  background: var(--color-bg-light);
  color: var(--color-primary-dark);
  box-shadow: inset 0 0 0 2px var(--color-primary-dark);
}

.icv-btn--block { width: 100%; margin-top: auto; }

.icv-btn--soft {
  background: var(--color-bg-light);
  color: var(--color-primary);
}
.icv-btn--soft:hover { background: var(--color-accent); color: var(--color-text-light); }

.icv-btn--light {
  background: var(--color-text-light);
  color: var(--color-primary);
}
.icv-btn--light:hover { background: var(--color-bg-light); }

.icv-btn--ghost-light {
  background: transparent;
  color: var(--color-text-light);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6);
}
.icv-btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); }

.icv-btn .icv-ico { width: 1.15rem; height: 1.15rem; }

/* --- Icons (mask, single color) + tiles ------------------------------- */
/* .icv-ico paints assets/icons/<key>.svg in the current text color. */
.icv-ico {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  background-color: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
  transition: background-color var(--transition-base);
}

/* Rounded square holding a white icon over a colored background. */
.icv-icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  color: var(--color-text-light);
}
.icv-icon-tile .icv-ico { width: 1.5rem; height: 1.5rem; }
.icv-icon-tile--lg { width: 3.5rem; height: 3.5rem; }
.icv-icon-tile--lg .icv-ico { width: 1.75rem; height: 1.75rem; }
.icv-icon-tile--blue { background: var(--color-gradient-hero); }
.icv-icon-tile--purple { background: var(--color-gradient-purple); }
.icv-icon-tile--ghost { background: rgba(255, 255, 255, 0.16); }

/* --- Navigation ------------------------------------------------------- */
.icv-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.icv-nav--scrolled { box-shadow: 0 2px 16px rgba(30, 58, 138, 0.10); }
/* Hidden when scrolling down, revealed when scrolling up. */
.icv-nav--hidden { transform: translateY(-100%); }

.icv-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}
.icv-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  color: var(--color-primary);
  font-size: var(--font-size-xl);
}
.icv-nav__brand img { height: 2rem; width: auto; mix-blend-mode: multiply; }

.icv-nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.icv-nav__link {
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding-block: 0.25rem;
  transition: color var(--transition-fast);
}
.icv-nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--color-primary-light);
  transition: width var(--transition-base);
}
.icv-nav__link:hover { color: var(--color-primary-light); }
.icv-nav__link.is-active { color: var(--color-primary-light); }
.icv-nav__link.is-active::after { width: 100%; }

.icv-nav__cta {
  padding: 0.5rem 1.15rem;
  font-size: var(--font-size-sm);
}

/* Nav intro: brand glides in from the left, menu items from the right
   (staggered). */
@keyframes icv-in-left {
  from { opacity: 0; transform: translateX(-18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes icv-in-right {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: none; }
}
.icv-nav__brand { animation: icv-in-left 0.8s ease both; }
.icv-nav__links > * { animation: icv-in-right 0.7s ease both; }
.icv-nav__links > *:nth-child(1) { animation-delay: 0.15s; }
.icv-nav__links > *:nth-child(2) { animation-delay: 0.28s; }
.icv-nav__links > *:nth-child(3) { animation-delay: 0.41s; }
.icv-nav__links > *:nth-child(4) { animation-delay: 0.54s; }

.icv-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
}
.icv-burger span {
  width: 24px; height: 2px;
  background: var(--color-primary);
  transition: transform var(--transition-base), opacity var(--transition-base);
}
.icv-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.icv-burger.is-open span:nth-child(2) { opacity: 0; }
.icv-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu panel */
.icv-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem var(--spacing-container) 1.5rem;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}
.icv-mobile-menu.is-open { display: flex; }
.icv-mobile-menu a:not(.icv-btn) {
  padding: 0.75rem 0.25rem;
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}
.icv-mobile-menu .icv-btn { margin-top: 0.75rem; }

/* --- Hero logo -------------------------------------------------------- */
.icv-hero-logo {
  min-height: 24rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 8rem; /* equal top/bottom, larger than the other sections */
}
.icv-hero-logo__mark {
  height: 24rem;
  width: auto;
  margin: 0 auto;
  /* Drops the white backing of the PNG over light backgrounds. */
  mix-blend-mode: multiply;
}
.icv-hero-logo__name {
  font-size: clamp(3rem, 9vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}
.icv-hero-logo__tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--color-primary-light);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
  margin-top: 0.75rem;
}
/* Animated rotating word inside a small dark "terminal" so the line never
   shifts. Dark console look: carrot-orange prompt/cursor, white text. */
.icv-term {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 15em;         /* fixed width, wide enough for the longest phrase */
  margin-inline-start: 4px;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  background: #11151f;                 /* dark terminal */
  border: 1px solid #2a3142;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  font-family: ui-monospace, "SF Mono", "Cascadia Code", "Fira Code", Menlo, Consolas, monospace;
  font-size: 0.74em;
  vertical-align: middle;
}
.icv-term__prompt { color: #f97316; font-weight: 700; }   /* carrot orange */
.icv-type { color: #ffffff; font-weight: 600; white-space: nowrap; }
.icv-type__cursor {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  align-self: center;
  background: #f97316;
  animation: icv-blink 1s steps(1) infinite;
}
@keyframes icv-blink { 50% { opacity: 0; } }

/* --- Hero ------------------------------------------------------------- */
.icv-hero {
  background: linear-gradient(180deg, var(--color-bg-light) 0%, var(--color-bg) 100%);
  text-align: center;
  padding-block: var(--spacing-section);
}
.icv-hero__heading {
  font-size: clamp(2rem, 6vw, var(--font-size-5xl));
  font-weight: 800;
  margin-block: 1.25rem 1rem;
}
.icv-hero__heading .l1 { color: var(--color-primary); display: block; }
.icv-hero__heading .l2 { color: var(--color-primary-light); display: block; }
.icv-hero__subtitle {
  max-width: 44rem;
  margin: 0 auto;
  color: var(--color-text-muted);
  font-size: 1.35rem;
  line-height: 1.6;
}

/* Gradient text fill (same gradient as the buttons) on the tagline prefix
   "Assistance informatique" only. */
.icv-hero-logo__tagline > [data-content] {
  background: var(--color-gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.icv-hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
  margin-block: 2rem;
}
.icv-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text);
  font-weight: 500;
  font-size: var(--font-size-lg);
}
.icv-trust-badge .icv-ico {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--color-check);
  flex-shrink: 0;
}
.icv-hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* --- Generic card ----------------------------------------------------- */
.icv-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border-faint);
  border-radius: var(--radius-lg);
  box-shadow: none;
  padding: 1.5rem;
  transition: transform 320ms var(--ease-spring),
    box-shadow 320ms ease, border-color 220ms ease;
}

/* Ghost-border parameter: transparent at rest, border appears on hover.
   Toggle by adding/removing `is-ghost` on a card/step (used by the steps).
   Selector is specific enough to beat the element's own `border:` shorthand,
   while the `:hover` rules (defined later, same specificity) still win on hover. */
.icv-card.is-ghost,
.icv-step.is-ghost { border-color: transparent; }

/* --- Feature card ----------------------------------------------------- */
.icv-feature-card { display: flex; flex-direction: column; }
.icv-feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-card-hover);
}
.icv-feature-card__icon { margin-bottom: 1rem; }
.icv-feature-card__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.icv-feature-card__desc { color: var(--color-text-muted); }

/* --- Service card ----------------------------------------------------- */
.icv-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
}
/* Pack the three cards together and centre them, rather than spreading them
   across the full container width (which left big gaps around capped cards). */
.icv-services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center; /* lets the taller popular card overflow up/down */
  gap: 1.25rem;
}
.icv-service-card {
  padding: 1.75rem;
  min-height: 27rem;
  width: 100%;
  max-width: 24rem;
}
.icv-service-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-card-hover);
}
.icv-service-card__icon { margin-bottom: 1rem; }
.icv-service-card__title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.icv-service-card__desc { color: var(--color-text-muted); margin-bottom: 1.25rem; }
.icv-service-card__bullets {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.icv-service-card__bullet { display: flex; gap: 0.6rem; align-items: flex-start; }
.icv-bullet-check {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--color-check);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Popular (highlighted) variant — gradient card with a soft pastel ring */
.icv-service-card--popular {
  background: var(--color-gradient-hero);
  border-color: var(--color-border-pastel);
  color: var(--color-text-light);
  min-height: 28rem; /* taller than the side cards; grid centers it so it overflows both ways */
  box-shadow: 0 0 0 4px rgba(190, 219, 255, 0.35), var(--shadow-pop);
}
.icv-service-card--popular:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-pastel);
  box-shadow: 0 0 0 4px rgba(190, 219, 255, 0.5), var(--shadow-pop);
}
.icv-service-card--popular .icv-service-card__title { color: var(--color-text-light); }
.icv-service-card--popular .icv-service-card__desc { color: rgba(255, 255, 255, 0.82); }
/* On the gradient (popular) card the checks turn white for contrast. */
.icv-service-card--popular .icv-bullet-check { color: var(--color-text-light); }
.icv-service-card__ribbon {
  position: absolute;
  top: -0.85rem;
  right: 1.5rem;
  background: var(--color-popular);
  color: #422006;
  font-size: var(--font-size-xs);
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

/* --- How it works ----------------------------------------------------- */
.icv-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
}
/* Borderless / shadowless until hovered — steps "lift out" of the background. */
.icv-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--color-bg);
  border: 1px solid var(--color-border-faint);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  transition: transform 320ms var(--ease-spring),
    box-shadow 320ms ease, border-color 220ms ease;
}
.icv-step:hover {
  transform: translateY(-5px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-card-hover);
}
.icv-step__number {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem; height: 3rem;
  border-radius: var(--radius-pill);
  background: var(--color-gradient-hero);
  color: var(--color-text-light);
  font-weight: 800;
  font-size: var(--font-size-xl);
}
.icv-step__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}
.icv-step__desc { color: var(--color-text-muted); }

/* --- CTA banner ------------------------------------------------------- */
.icv-cta-banner {
  background: var(--color-gradient-hero);
  color: var(--color-text-light);
  text-align: center;
  padding-block: var(--spacing-section);
}
/* On any tinted/colored section the badge becomes a solid white pill. */
.icv-hero .icv-badge,
.icv-section--alt .icv-badge,
.icv-cta-banner .icv-badge {
  background: var(--color-bg);
  color: var(--color-primary);
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(30, 58, 138, 0.12);
}
/* Lightning icon in the CTA banner badge → warm amber. */
.icv-cta-banner .icv-badge__icon { background-color: #ecb662; }
.icv-cta-banner__heading {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.3;
  margin-block: 1.5rem 1.25rem;
}
.icv-cta-banner__heading span { display: block; }
.icv-cta-banner__subtitle {
  max-width: 44rem;
  margin: 0 auto 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-xl);
  line-height: 1.7;
}
.icv-cta-banner__divider {
  border: 0;
  height: 1px;
  width: min(420px, 75%);
  margin: 3rem auto 1.75rem;
  background: rgba(190, 219, 255, 0.45);
}
.icv-cta-banner__region {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
  font-weight: 400;
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.82);
}
/* Gently pulsing powder-blue "live/local" dot. */
.icv-pulse-dot {
  position: relative;
  width: 0.6rem;
  height: 0.6rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-border-pastel);
}
.icv-pulse-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-border-pastel);
  animation: icv-pulse 2s ease-out infinite;
}
@keyframes icv-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* --- Contact ---------------------------------------------------------- */
.icv-contact-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  /* Slim tiles: half the vertical padding of a normal card. */
  padding: 1.1rem 1.5rem;
  box-shadow: none;
}
.icv-contact-info:hover {
  transform: translateY(-5px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-card-hover);
}
/* Smaller icon tile here so the value/label sit closer to it. */
.icv-contact-info__icon { width: 2rem; height: 2rem; border-radius: var(--radius-sm); }
.icv-contact-info__icon .icv-ico { width: 1.05rem; height: 1.05rem; }
.icv-contact-info__body { flex: 1; min-width: 0; }
.icv-contact-info__value {
  font-weight: 700;
  color: var(--color-primary);
  word-break: break-word;
}
.icv-contact-info__label { color: var(--color-text-muted); font-size: var(--font-size-sm); }
.icv-copy-btn {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  width: 2.25rem; height: 2.25rem;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}
.icv-copy-btn__icon { width: 1.1rem; height: 1.1rem; }

/* "Copié" toast bubble that floats up out of the copy button. */
.icv-toast {
  position: absolute;
  left: 50%;
  bottom: 100%;
  margin-bottom: 0.9rem; /* starts a bit higher above the button */
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: var(--color-text-light);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  animation: icv-toast-up 1s ease forwards;
}
@keyframes icv-toast-up {
  0%   { opacity: 0; transform: translate(-50%, 0.35rem); }
  25%  { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, -1rem); }
}
.icv-copy-btn:hover {
  background: var(--color-bg-light);
  color: var(--color-primary-light);
  border-color: var(--color-accent);
}

.icv-contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

/* Form */
.icv-hp { position: absolute; left: -9999px; }

@keyframes icv-alert-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.icv-ratelimit-alert {
  display: none;
  align-items: flex-start;
  gap: 1rem;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  color: #78350f;
  font-size: 0.925rem;
  line-height: 1.5;
}
.icv-ratelimit-alert.is-visible {
  display: flex;
  animation: icv-alert-in 0.3s ease both;
}
.icv-ratelimit-alert__msg { flex: 1; }
.icv-ratelimit-alert__msg strong { font-weight: 600; }
.icv-ratelimit-alert__close {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: #92400e;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0.1rem 0.25rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}
.icv-ratelimit-alert__close:hover { background: #fef3c7; }

.icv-form {
  background: var(--color-bg);
  border: 1px solid var(--color-border-faint);
  border-radius: var(--radius-lg);
  box-shadow: none;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.icv-field { display: flex; flex-direction: column; gap: 0.4rem; }
.icv-field label { font-weight: 600; font-size: var(--font-size-sm); }
.icv-field input,
.icv-field textarea {
  font-family: inherit;
  font-size: var(--font-size-base);
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.icv-field input:focus,
.icv-field textarea:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}
.icv-field textarea { resize: vertical; min-height: 7rem; }
.icv-field input.is-invalid,
.icv-field textarea.is-invalid {
  border-color: #ef4444;
}
.icv-field input.is-invalid:focus,
.icv-field textarea.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}
.icv-field__error {
  display: none;
  margin-top: 0.1rem;
  color: #dc2626;
  font-size: var(--font-size-sm);
  font-weight: 500;
}
.icv-field__error.is-visible { display: block; }
.icv-form__status {
  font-size: var(--font-size-sm);
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  display: none;
}
.icv-form__status.is-visible { display: block; }
.icv-form__status--success {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}
.icv-form__status--error {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

/* Schedule card (light) */
.icv-schedule {
  background: var(--color-bg-light);
  color: var(--color-text);
  border: 0;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: none;
}
.icv-schedule__head {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--color-primary-light);
  margin-bottom: 1.5rem;
}
.icv-schedule__block { margin-bottom: 1.5rem; }
.icv-schedule__label {
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}
.icv-schedule__detail { white-space: pre-line; color: var(--color-text-muted); }
.icv-schedule__note {
  margin-top: 0.4rem;
  font-weight: 600;
  color: var(--color-primary-light);
}
.icv-schedule__cal {
  width: 7rem;
  height: auto;
  margin-top: 1rem;
}

/* --- Footer ----------------------------------------------------------- */
.icv-footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.75);
  padding-block: 3.5rem 1.5rem;
}
.icv-footer__cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5rem;
}
.icv-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: var(--font-size-xl);
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
}
.icv-footer__brand img { height: 1.75rem; width: auto; }
.icv-footer__tagline { font-size: var(--font-size-sm); }
.icv-footer__col h4 {
  color: var(--color-text-light);
  font-size: var(--font-size-base);
  font-weight: 700;
  margin: 0 0 1rem;
}
.icv-footer__col li { margin-bottom: 0.5rem; }
.icv-footer__col a { transition: color var(--transition-fast); }
.icv-footer__col a:hover { color: var(--color-accent); }
.icv-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: var(--font-size-sm);
}

/* --- Reveal on scroll ------------------------------------------------- */
/* Entrance is a one-shot ANIMATION (not a transition) so it never clobbers
   each card's own hover transition (transform/border/shadow). `backwards`
   keeps the hidden state during the stagger delay; we avoid `forwards` so the
   resting transform is free for the hover effect. */
.icv-reveal { opacity: 0; will-change: opacity, transform; }
.icv-reveal.is-visible {
  opacity: 1;
  animation: icv-reveal-in 0.95s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
@keyframes icv-reveal-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Slower entrance for the hero / very top of the page. */
.icv-reveal--slow.is-visible { animation-duration: 1.5s; }

/* --- Responsive ------------------------------------------------------- */
@media (max-width: 860px) {
  .icv-nav__links { display: none; }
  .icv-burger { display: flex; }
  .icv-contact-grid { grid-template-columns: 1fr; }
  .icv-footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  :root { --spacing-section: 3.5rem; }
  .icv-footer__cols { grid-template-columns: 1fr; }
  .icv-btn { width: 100%; }
  .icv-hero__cta { flex-direction: column; }
}

/* --- Reduced motion --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .icv-reveal { opacity: 1; transform: none; }
}
