body {
  font-family: Inter, system_ui, sans-serif;
  background-color: #F8F5F0;
}

body[data-page="imagina"] {
  background-color: #111111;
  color: #F8F5F0;
}

.tech-grid {
  background-image: linear-gradient(rgba(0, 0, 0, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, .07) 1px, transparent 1px);
  background-size: 50px 50px;
}

body[data-page="imagina"] .tech-grid {
  background-image: linear-gradient(rgba(248, 245, 240, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(248, 245, 240, .055) 1px, transparent 1px);
}

.nav-link {
  font-weight: 600;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
  color: #1F2937;
  padding: .5rem .75rem;
  border-radius: 1rem;
}

.nav-link:hover {
  color: #C0533B;
  background-color: #F8F5F0;
  transform: translateY(-1px);
}


.fokue-svg-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -.125em;
  flex-shrink: 0;
}

.feature-card {
  background-color: #FFFEF9;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / .05);
}

.progress-bar {
  width: 0%;
  transition: width 8s linear;
}

.progress-bar.is-resetting {
  transition: none;
  width: 0%;
}

.progress-bar.is-running {
  width: 100%;
}

.trust-logos {
  animation: scroll 30s linear infinite;
}

.trust-logos:hover {
  animation-play-state: paused;
}

.client-logo-placeholder {
  width: 8.75rem;
  height: 3rem;
  border: 1px solid rgba(113, 113, 122, .28);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(248, 245, 240, .92), rgba(244, 244, 245, .78));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  flex: 0 0 auto;
  opacity: .72;
}

.client-logo-mark {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  border: 2px solid rgba(192, 83, 59, .55);
}

.client-logo-line {
  width: 4.6rem;
  height: .55rem;
  border-radius: 999px;
  background: rgba(113, 113, 122, .22);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.fokue-site-nav {
  transition: box-shadow .24s ease, background-color .24s ease, border-color .24s ease;
}

.fokue-site-nav.is-scrolled {
  box-shadow: 0 14px 38px rgba(15, 23, 42, .08);
}

.fokue-site-footer {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  display: block !important;
}

.fokue-reveal {
  opacity: 0;
  transition-property: opacity, transform, filter;
  transition-duration: .78s;
  transition-timing-function: cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, transform, filter;
}

.fokue-reveal.is-visible {
  opacity: 1;
  transform: none !important;
  filter: none !important;
}

.reveal-delay-0 { transition-delay: 0ms; }
.reveal-delay-1 { transition-delay: 60ms; }
.reveal-delay-2 { transition-delay: 120ms; }
.reveal-delay-3 { transition-delay: 180ms; }
.reveal-delay-4 { transition-delay: 240ms; }
.reveal-delay-5 { transition-delay: 300ms; }
.reveal-delay-6 { transition-delay: 420ms; }
.reveal-delay-7 { transition-delay: 490ms; }

body[data-page="accueil"] .fokue-reveal {
  transform: translateY(28px) scale(.985);
}

body[data-page="fokue"] .fokue-reveal {
  transform: translateY(26px) scale(.99);
}

body[data-page="fokue"] .fokue-values-band .feature-card.fokue-reveal {
  transform: translateY(-44px) rotate(-1.5deg) scale(.975);
}

body[data-page="ornela"] .fokue-reveal {
  transform: translateX(-24px) translateY(14px) scale(.99);
}

body[data-page="ornela"] .feature-card:nth-child(even).fokue-reveal {
  transform: translateX(24px) translateY(14px) scale(.99);
}

body[data-page="imagina"] .fokue-reveal {
  transform: translateY(32px) scale(.965);
  filter: blur(8px);
}

body[data-page="imagina"] .section-card.fokue-reveal {
  transform: translateY(34px) scale(.955);
  filter: blur(10px);
}

.cinematic-hero {
  height: 100svh;
  min-height: 620px;
  max-height: 880px;
  transition: height .72s cubic-bezier(.16, 1, .3, 1), max-height .72s cubic-bezier(.16, 1, .3, 1);
}

.cinematic-hero.is-compact {
  height: 680px;
  max-height: 680px;
}

.cinematic-hero .carousel-slide,
.cinematic-hero .cinematic-split-grid,
.cinematic-hero .hero-fill,
.cinematic-hero #hero-section,
.cinematic-hero #hero-left,
.cinematic-hero #hero-right,
.cinematic-hero #imagina-hero-left,
.cinematic-hero #imagina-hero-right {
  height: 100% !important;
}

.cinematic-hero video,
.cinematic-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cinematic-split-grid {
  height: 100%;
}

.object-position-center {
  object-position: center center;
}

.object-position-left {
  object-position: left center;
}

.toast-message {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 150;
  max-width: 28rem;
  margin: 0 1rem;
  padding: .85rem 1.25rem;
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
  font-size: .875rem;
  font-weight: 700;
}

.toast-message.is-success {
  background-color: #1F2937;
  color: #F8F5F0;
}

.toast-message.is-error {
  background-color: #C0533B;
  color: #FFFFFF;
}

.fokue-country-field {
  position: relative;
}

.fokue-country-input {
  width: 100%;
  border: 1px solid rgb(212 212 216);
  border-radius: 1rem;
  padding: .75rem 1rem;
  outline: none;
  background: white;
}

.fokue-country-input:focus {
  border-color: #C0533B;
  box-shadow: 0 0 0 3px rgba(192, 83, 59, .12);
}

.fokue-country-list {
  position: absolute;
  z-index: 120;
  left: 0;
  right: 0;
  top: calc(100% + .35rem);
  max-height: 260px;
  overflow: auto;
  background: white;
  border: 1px solid rgb(228 228 231);
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .14);
  display: none;
}

.fokue-country-list.open {
  display: block;
}

.fokue-country-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .75rem 1rem;
  text-align: left;
  font-size: .875rem;
  color: #27272a;
}

.fokue-country-option:hover,
.fokue-country-option.active {
  background: #F8F5F0;
}

.fokue-country-name {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
}

.fokue-country-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fokue-dial-code {
  color: #71717a;
  flex-shrink: 0;
}

.fokue-phone-wrap {
  display: flex;
  align-items: center;
  border: 1px solid rgb(212 212 216);
  border-radius: 1rem;
  overflow: hidden;
  background: white;
}

.fokue-phone-prefix {
  padding: .75rem 1rem;
  background: #F8F5F0;
  color: #C0533B;
  font-weight: 700;
  border-right: 1px solid rgb(228 228 231);
}

.fokue-phone-input {
  flex: 1;
  min-width: 0;
  padding: .75rem 1rem;
  outline: none;
}

.fokue-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.fokue-modal-dialog {
  background: #FFFFFF;
  color: #1F2937;
}

.fokue-modal-dialog h3,
.fokue-modal-dialog p,
.fokue-modal-dialog label {
  color: inherit;
}

.fokue-modal-dialog label {
  color: #1F2937 !important;
}

.fokue-modal-dialog input,
.fokue-modal-dialog textarea,
.fokue-modal-dialog select {
  background-color: #FFFFFF;
  color: #111827;
}

.fokue-modal-dialog input::placeholder,
.fokue-modal-dialog textarea::placeholder {
  color: #71717a;
}

.section-card {
  background-color: #18181B;
  border-color: rgba(248, 245, 240, .12) !important;
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, .82);
}

.imagina-shell {
  background: radial-gradient(circle at top right, rgba(192, 83, 59, .18), transparent 34%), #111111;
}

.imagina-muted {
  color: #D6D3D1;
}

.imagina-soft-border {
  border-color: rgba(248, 245, 240, .12) !important;
}

.imagina-offer-feature {
  color: #E7E5E4;
}

.imagina-hero-split {
  position: relative;
  overflow: hidden;
}

.imagina-hero-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .42));
  pointer-events: none;
}

.imagina-hero-copy {
  text-shadow: 0 18px 48px rgba(0, 0, 0, .65);
}

.imagina-service-card {
  background: linear-gradient(145deg, rgba(31, 41, 55, .92), rgba(24, 24, 27, .98));
  border-color: rgba(248, 245, 240, .12) !important;
}

.hero-media-contain-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #09090b;
}

.hero-media-contain-backdrop-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) saturate(1.08);
  transform: scale(1.08);
  opacity: .46;
}

.hero-media-contain {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background: transparent;
}

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

@media (max-width: 767px) {
  .cinematic-hero {
    height: 86svh;
    min-height: 560px;
    max-height: 760px;
  }

  .cinematic-hero.is-compact {
    height: 620px;
    max-height: 620px;
  }

  .cinematic-split-grid {
    grid-template-rows: 1fr 1fr;
  }

  .cinematic-hero .text-6xl {
    font-size: 3.2rem;
    line-height: .98;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cinematic-hero {
    transition: none !important;
  }

  .fokue-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .nav-link:hover {
    transform: none !important;
  }

  .trust-logos {
    animation: none;
  }
}

.error-page {
  min-height: 100svh;
  background: radial-gradient(circle at 72% 18%, rgba(192, 83, 59, .24), transparent 30%), radial-gradient(circle at 18% 86%, rgba(248, 245, 240, .10), transparent 26%), #111827;
  color: #F8F5F0;
}

.error-page-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.error-page-header,
.error-page-main,
.error-page-footer {
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
}

.error-page-header {
  padding: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.error-page-logo {
  width: 150px;
  height: auto;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, .22));
}

.error-page-home-link {
  color: #F8F5F0;
  font-weight: 700;
  font-size: .92rem;
  border: 1px solid rgba(248, 245, 240, .22);
  border-radius: 999px;
  padding: .75rem 1rem;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.error-page-home-link:hover {
  background: #F8F5F0;
  color: #1F2937;
  border-color: #F8F5F0;
}

.error-page-main {
  flex: 1;
  display: grid;
  align-items: center;
  padding: 3rem 0 4rem;
}

.error-page-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(248, 245, 240, .13);
  border-radius: 2rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  background: linear-gradient(135deg, rgba(31, 41, 55, .94), rgba(17, 24, 39, .82));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .38);
}

.error-page-card::before {
  content: '';
  position: absolute;
  width: 22rem;
  height: 22rem;
  right: -7rem;
  top: -8rem;
  background: radial-gradient(circle, rgba(192, 83, 59, .34), transparent 64%);
  pointer-events: none;
}

.error-page-kicker {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: #C0533B;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.error-page-kicker::before {
  content: '';
  width: 2.2rem;
  height: 2px;
  border-radius: 999px;
  background: #C0533B;
}

.error-page-title {
  max-width: 760px;
  font-size: clamp(3.6rem, 10vw, 8rem);
  line-height: .88;
  letter-spacing: -.08em;
  font-weight: 800;
  margin-bottom: 1.4rem;
}

.error-page-title span {
  color: #C0533B;
}

.error-page-text {
  max-width: 660px;
  color: rgba(248, 245, 240, .78);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.error-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.error-page-primary,
.error-page-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.35rem;
  padding: 1rem 1.25rem;
  font-weight: 800;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}

.error-page-primary {
  background: #C0533B;
  color: #FFFFFF;
}

.error-page-secondary {
  color: #F8F5F0;
  border: 1px solid rgba(248, 245, 240, .24);
}

.error-page-primary:hover,
.error-page-secondary:hover {
  transform: translateY(-2px);
}

.error-page-primary:hover {
  background: #A9442F;
}

.error-page-secondary:hover {
  background: #F8F5F0;
  color: #1F2937;
  border-color: #F8F5F0;
}

.error-page-code {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: clamp(1rem, 3vw, 2rem);
  color: rgba(248, 245, 240, .08);
  font-size: clamp(5rem, 15vw, 12rem);
  line-height: 1;
  letter-spacing: -.08em;
  font-weight: 900;
  pointer-events: none;
}

.error-page-footer {
  padding: 0 0 2rem;
  color: rgba(248, 245, 240, .52);
  font-size: .9rem;
}

@media (max-width: 640px) {
  .error-page-header {
    padding-top: 1.25rem;
  }

  .error-page-logo {
    width: 124px;
  }

  .error-page-home-link {
    display: none;
  }

  .error-page-card {
    border-radius: 1.5rem;
  }

  .error-page-actions {
    flex-direction: column;
  }

  .error-page-primary,
  .error-page-secondary {
    width: 100%;
  }
}

/* FOKUE Website v1 — UX formulaires : alertes distinctes et toast succès */
.fokue-form-alert {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-bottom: 1.25rem;
  padding: .9rem 1rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  font-size: .92rem;
  font-weight: 650;
  line-height: 1.45;
}

.fokue-form-alert::before {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 800;
}

.fokue-form-alert.is-error {
  background: #FEF2F2;
  border-color: #FCA5A5;
  color: #991B1B;
  box-shadow: 0 12px 28px rgba(153, 27, 27, .08);
}

.fokue-form-alert.is-error::before {
  content: '!';
  background: #DC2626;
  color: #FFFFFF;
}

.fokue-form-alert.is-success {
  background: #ECFDF5;
  border-color: #86EFAC;
  color: #065F46;
  box-shadow: 0 12px 28px rgba(6, 95, 70, .08);
}

.fokue-form-alert.is-success::before {
  content: '✓';
  background: #16A34A;
  color: #FFFFFF;
}

.fokue-input-error,
.fokue-country-input.fokue-input-error,
.fokue-phone-wrap.is-error {
  border-color: #DC2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .14) !important;
}

.toast-message {
  transition: opacity .28s ease, transform .28s ease;
  animation: fokueToastIn .24s ease-out both;
}

.toast-message.is-success {
  background: #065F46;
  color: #FFFFFF;
  border: 1px solid rgba(134, 239, 172, .45);
}

.toast-message.is-error {
  background: #991B1B;
  color: #FFFFFF;
  border: 1px solid rgba(252, 165, 165, .45);
}

.toast-message.is-hiding {
  opacity: 0;
  transform: translate(-50%, 12px);
}

@keyframes fokueToastIn {
  from {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (min-width: 768px) {
  .toast-message {
    left: auto;
    right: 1.5rem;
    transform: translateX(0);
  }

  .toast-message.is-hiding {
    transform: translateY(12px);
  }

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