/* Custom Styles for Exona */

svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  max-width: 100%;
  height: auto;
}

.site-header__menu-icon {
  width: 1.5rem;
  height: 1.5rem;
  max-width: 1.5rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header__nav {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.5rem 1rem;
}

@media (min-width: 768px) {
  .site-header__nav {
    padding: 0.75rem 1.5rem;
  }
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

@media (min-width: 768px) {
  .site-header__bar {
    min-height: 5rem;
  }
}

.site-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.site-header__logo .logo-header {
  display: block;
  width: auto;
  height: 2.5rem;
  max-height: 3rem;
}

@media (min-width: 768px) {
  .site-header__logo .logo-header {
    height: 3rem;
  }
}

.site-header__links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .site-header__links {
    display: flex;
  }
}

.site-header__link {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-header__link:hover {
  color: #ffffff;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-header__cta:hover {
  background: rgba(255, 255, 255, 0.22);
}

.site-header__menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: #ffffff;
  background: transparent;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .site-header__menu-btn {
    display: none;
  }
}

.site-header__mobile {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 0.5rem 1rem 1rem;
}

.site-header__mobile.hidden {
  display: none;
}

.site-header__mobile:not(.hidden) {
  display: block;
}

.site-header__mobile a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.25rem;
  color: #111827;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 0.5rem;
}

.site-header__mobile a:hover {
  color: #2563eb;
  background: #eff6ff;
}

/* Animations améliorées pour impressionner */
@keyframes blob {
  0% {
    transform: translate(0px, 0px) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
  100% {
    transform: translate(0px, 0px) scale(1);
  }
}

/* Animation d'entrée plus fluide */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation de pulse pour les CTA */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.animate-blob {
  animation: blob 7s infinite;
}

/* Optimisation mobile : réduire les animations blob */
@media (max-width: 768px) {
  .animate-blob {
    animation-duration: 10s;
    opacity: 0.15;
  }
}

.animation-delay-2000 {
  animation-delay: 2s;
}

.animation-delay-4000 {
  animation-delay: 4s;
}

/* Fade in animations */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

.fade-in-delay {
  animation: fadeIn 0.6s ease-in 1s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero — styles autonomes (ne dépend pas des utilitaires Tailwind manquants) */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, #0f172a 0%, #1e3a8a 42%, #0f172a 100%);
  color: #f8fafc;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 9999px;
  filter: blur(64px);
  opacity: 0.22;
  mix-blend-mode: multiply;
}

.hero-blob--1 {
  top: -10rem;
  right: -10rem;
  background: #3b82f6;
  animation: blob 7s infinite;
}

.hero-blob--2 {
  bottom: -10rem;
  left: -10rem;
  background: #a855f7;
  animation: blob 7s infinite;
  animation-delay: 2s;
}

.hero-blob--3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #06b6d4;
  animation: blob 7s infinite;
  animation-delay: 4s;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 5.5rem 1.25rem 2.5rem;
  box-sizing: border-box;
}

.hero-inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  max-width: 100%;
  margin: 0 auto 1.5rem;
  padding: 0.5rem 1rem;
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(147, 197, 253, 0.4);
  border-radius: 9999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-badge-text {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #93c5fd;
}

.hero-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 6.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero-lead {
  margin: 0 auto 1.125rem;
  max-width: 42rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #cbd5e1;
}

.hero-lead--accent {
  color: #a5f3fc;
  font-weight: 500;
}

.hero-lead strong,
.hero-sub strong {
  color: #ffffff;
  font-weight: 700;
}

.hero-sub {
  margin: 0 auto 2rem;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #94a3b8;
}

.hero-sub a {
  color: #67e8f9;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-sub a:hover {
  color: #a5f3fc;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.hero-btn-primary,
.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.hero-btn-primary {
  color: #ffffff !important;
  background-color: #2563eb !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
}

.hero-btn-primary:hover {
  background-color: #1d4ed8 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.hero-btn-secondary {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  border: 2px solid rgba(255, 255, 255, 0.28) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

.hero-btn-primary:focus-visible,
.hero-btn-secondary:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 3px;
}

.hero-btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.hero-footnote {
  margin: 0 auto;
  max-width: 32rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #94a3b8;
  text-align: center;
}

@media (min-width: 640px) {
  .hero-badge-text {
    font-size: 0.8125rem;
  }

  .hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
  }

  .hero-lead {
    font-size: 1.125rem;
  }

  .hero-sub {
    font-size: 1.0625rem;
  }

  .hero-footnote {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: auto;
    min-width: 12rem;
    padding: 1rem 2rem;
    font-size: 1.0625rem;
  }
}

@media (min-width: 768px) {
  .hero-content {
    padding: 5rem 2rem 4rem;
  }

  .hero-badge {
    margin-bottom: 2rem;
  }

  .hero-title {
    font-size: clamp(2.5rem, 4.2vw, 4rem);
    margin-bottom: 2rem;
  }

  .hero-lead,
  .hero-sub {
    font-size: 1.25rem;
  }
}

/* Service cards hover effect */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Premium animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Gradient text animation */
.bg-gradient-to-r {
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

/* Tailwind classes manquantes - Support pour les classes avancées */
.bg-clip-text {
  -webkit-background-clip: text;
  background-clip: text;
}

.text-transparent {
  color: transparent;
}

/* Backdrop blur support */
.backdrop-blur-sm {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.backdrop-blur-md {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Border radius 3xl */
.rounded-3xl {
  border-radius: 1.5rem;
}

/* Text sizes très grandes */
.text-8xl {
  font-size: 6rem;
  line-height: 1;
}

.text-7xl {
  font-size: 4.5rem;
  line-height: 1;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

/* Large sizes */
.w-96 {
  width: 24rem;
}

.h-96 {
  height: 24rem;
}

/* Blur effects */
.blur-3xl {
  filter: blur(64px);
  -webkit-filter: blur(64px);
}

/* Gradient via support - Les classes sont combinées dans le HTML */
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

/* Support pour les gradients avec via */
[class*="from-white"][class*="via-blue-100"][class*="to-cyan-100"] {
  background-image: linear-gradient(to right, #ffffff, #dbeafe, #cffafe);
}

[class*="from-blue-400"][class*="via-cyan-400"][class*="to-blue-300"] {
  background-image: linear-gradient(to right, #60a5fa, #22d3ee, #93c5fd);
}

/* Support générique pour les gradients Tailwind */
.from-white {
  --tw-gradient-from: #ffffff;
  --tw-gradient-to: rgba(255, 255, 255, 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-blue-100 {
  --tw-gradient-to: rgba(219, 234, 254, 0);
  --tw-gradient-stops: var(--tw-gradient-from), #dbeafe, var(--tw-gradient-to);
}

.to-cyan-100 {
  --tw-gradient-to: #cffafe;
}

.from-blue-400 {
  --tw-gradient-from: #60a5fa;
  --tw-gradient-to: rgba(96, 165, 250, 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-cyan-400 {
  --tw-gradient-to: rgba(34, 211, 238, 0);
  --tw-gradient-stops: var(--tw-gradient-from), #22d3ee, var(--tw-gradient-to);
}

.to-blue-300 {
  --tw-gradient-to: #93c5fd;
}

.from-blue-600 {
  --tw-gradient-from: #2563eb;
  --tw-gradient-to: rgba(37, 99, 235, 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-cyan-600 {
  --tw-gradient-to: #0891b2;
}

.from-purple-600 {
  --tw-gradient-from: #9333ea;
  --tw-gradient-to: rgba(147, 51, 234, 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-pink-600 {
  --tw-gradient-to: #db2777;
}

.from-green-600 {
  --tw-gradient-from: #16a34a;
  --tw-gradient-to: rgba(22, 163, 74, 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-green-600 {
  --tw-gradient-to: #16a34a;
}

.bg-gradient-to-br.from-blue-500.to-cyan-500 {
  background-image: linear-gradient(to bottom right, #3b82f6, #06b6d4);
}

.bg-gradient-to-br.from-purple-500.to-pink-500 {
  background-image: linear-gradient(to bottom right, #a855f7, #ec4899);
}

.bg-gradient-to-br.from-green-500.to-emerald-500 {
  background-image: linear-gradient(to bottom right, #22c55e, #10b981);
}

.bg-gradient-to-br.from-orange-500.to-amber-500 {
  background-image: linear-gradient(to bottom right, #f97316, #f59e0b);
}

.bg-gradient-to-br.from-gray-900.via-blue-900.to-gray-900 {
  background-image: linear-gradient(to bottom right, #111827, #1e3a8a, #111827);
}

/* Additional opacity classes */
.bg-cyan-500\/10 {
  background-color: rgba(6, 182, 212, 0.1);
}

.bg-cyan-500\/5 {
  background-color: rgba(6, 182, 212, 0.05);
}

.bg-white\/60 {
  background-color: rgba(255, 255, 255, 0.6);
}

.bg-blue-500\/20 {
  background-color: rgba(59, 130, 246, 0.2);
}

/* Shadow 2xl */
.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.shadow-blue-500\/50 {
  box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.5);
}

/* Opacity avec slash notation - Support pour bg-blue-500/10, etc. */
.bg-blue-500\/10 {
  background-color: rgba(59, 130, 246, 0.1);
}

.border-blue-500\/20 {
  border-color: rgba(59, 130, 246, 0.2);
}

.bg-purple-500\/5 {
  background-color: rgba(168, 85, 247, 0.05);
}

.bg-pink-500\/5 {
  background-color: rgba(236, 72, 153, 0.05);
}

.bg-green-500\/5 {
  background-color: rgba(34, 197, 94, 0.05);
}

.bg-emerald-500\/5 {
  background-color: rgba(16, 185, 129, 0.05);
}

.bg-orange-500\/5 {
  background-color: rgba(249, 115, 22, 0.05);
}

.bg-amber-500\/5 {
  background-color: rgba(245, 158, 11, 0.05);
}

.bg-blue-500\/20 {
  background-color: rgba(59, 130, 246, 0.2);
}

.bg-purple-500\/20 {
  background-color: rgba(168, 85, 247, 0.2);
}

/* Border white avec opacity */
.border-white\/20 {
  border-color: rgba(255, 255, 255, 0.2);
}

.border-white\/30 {
  border-color: rgba(255, 255, 255, 0.3);
}

.border-white\/40 {
  border-color: rgba(255, 255, 255, 0.4);
}

/* Background white avec opacity */
.bg-white\/10 {
  background-color: rgba(255, 255, 255, 0.1);
}

.bg-white\/20 {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Text colors avec opacity */
.text-blue-400 {
  color: #60a5fa;
}

.text-cyan-300 {
  color: #67e8f9;
}

.text-cyan-600 {
  color: #0891b2;
}

.text-purple-600 {
  color: #9333ea;
}

.text-green-600 {
  color: #16a34a;
}

.text-pink-600 {
  color: #db2777;
}

/* Hover states pour gradients */
.hover\:from-blue-500:hover {
  --tw-gradient-from: #3b82f6;
  --tw-gradient-to: rgba(59, 130, 246, 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.hover\:to-cyan-500:hover {
  --tw-gradient-to: #06b6d4;
}

/* Responsive text sizes */
@media (min-width: 768px) {
  .md\:text-7xl {
    font-size: 4.5rem;
    line-height: 1;
  }
  
  .md\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }
}

@media (min-width: 1024px) {
  .lg\:text-8xl {
    font-size: 6rem;
    line-height: 1;
  }
  
  .lg\:text-7xl {
    font-size: 4.5rem;
    line-height: 1;
  }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

@media (min-width: 768px) {
  html {
    scroll-padding-top: 6.25rem;
  }
}

/* Force centering of all sections */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

main {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

section {
  width: 100%;
  margin: 0 auto;
}

/* Force centering of max-w-7xl containers */
section > div[class*="max-w-7xl"] {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Ensure all content is centered (sauf hero) */
section:not(#home) > div[class*="max-w-7xl"] > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

section:not(#home) > div[class*="max-w-7xl"] > div.text-center {
  text-align: center;
}

/* Grid centering */
.grid:not(.portfolio-grid) {
  justify-items: center;
}

#portfolio .portfolio-grid {
  justify-items: stretch;
  align-items: stretch;
  width: 100%;
}

/* Flex centering */
.flex.flex-wrap.justify-center {
  justify-content: center;
  align-items: center;
}

header.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header.site-header.scrolled .site-header__link {
  color: #374151;
}

header.site-header.scrolled .site-header__link:hover {
  color: #2563eb;
}

header.site-header.scrolled .site-header__cta {
  color: #ffffff;
  background: #2563eb;
  border-color: #2563eb;
}

header.site-header.scrolled .site-header__menu-btn {
  color: #374151;
}

/* Mobile menu improvements */
@media (max-width: 767px) {
  html {
    scroll-padding-top: 4.5rem;
  }

  #mobile-menu {
    max-height: calc(100dvh - 4rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  #mobile-menu a {
    min-height: 2.75rem;
    display: flex;
    align-items: center;
  }

  header {
    backdrop-filter: blur(10px);
  }

  header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
  }

  .hero-section {
    justify-content: flex-start;
  }

  .hero-content {
    padding-top: 5.75rem;
    padding-bottom: 2rem;
  }

  .hero-blob {
    opacity: 0.14;
    animation-duration: 10s;
  }

  .service-card:hover {
    transform: none;
  }

  #contact-form {
    padding: 1.5rem !important;
  }

  #submit-btn {
    min-height: 3.25rem;
  }

  .consent-banner-content {
    align-items: stretch;
  }

  .consent-banner-buttons {
    width: 100%;
    flex-direction: column;
  }

  .consent-button {
    width: 100%;
    min-height: 2.75rem;
  }

  .portfolio-card {
    padding: 1.25rem !important;
  }
}

.exona-form-input {
  font-size: 1rem;
}

@media (max-width: 767px) {
  .exona-form-input {
    font-size: 16px;
  }
}

@supports (padding: max(0px)) {
  #consent-banner {
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }

  .hero-content {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
}

.logo-header {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

header.site-header.scrolled .logo-header {
  filter: brightness(0) invert(0);
}

/* Form message styles */
#form-message {
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Fix form width to prevent layout shift */
#contact-form {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

#form-message.success {
  background-color: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}

#form-message.error {
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

/* Fade in on scroll amélioré */
.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.fade-in-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animation staggered pour les cartes services */
.service-card:nth-child(1) { transition-delay: 0s; }
.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.2s; }
.service-card:nth-child(4) { transition-delay: 0.3s; }

/* Primary color customization */
.text-primary-600 {
  color: #2563eb;
}

.bg-primary-50 {
  background-color: #eff6ff;
}

.bg-primary-100 {
  background-color: #dbeafe;
}

.bg-primary-600 {
  background-color: #2563eb;
}

.bg-primary-700 {
  background-color: #1d4ed8;
}

.hover\:text-primary-600:hover {
  color: #2563eb;
}

.hover\:text-primary-700:hover {
  color: #1d4ed8;
}

.border-primary-200 {
  border-color: #bfdbfe;
}

.hover\:border-primary-300:hover {
  border-color: #93c5fd;
}

#consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #111827;
  color: #ffffff;
  padding: 1.5rem;
  z-index: 9999;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1), 0 -2px 4px -1px rgba(0, 0, 0, 0.06);
}

.consent-banner-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .consent-banner-content {
    flex-direction: row;
    align-items: center;
  }
}

.consent-banner-text {
  flex: 1;
  text-align: center;
}

@media (min-width: 640px) {
  .consent-banner-text {
    text-align: left;
  }
}

.consent-banner-message {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #ffffff;
  margin: 0;
  font-weight: 400;
}

.consent-banner-link {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-banner-link:hover {
  color: #bfdbfe;
}

.consent-banner-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.consent-button {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}

.consent-button-accept {
  background-color: #2563eb;
  color: #ffffff;
}

.consent-button-accept:hover {
  background-color: #1d4ed8;
}

.consent-button-refuse {
  background-color: #374151;
  color: #ffffff;
}

.consent-button-refuse:hover {
  background-color: #4b5563;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
}

.portfolio-card:hover {
  border-color: #cbd5e1;
}

.portfolio-card--ekho:hover {
  border-color: #7dd3fc;
}

.portfolio-card--wekty:hover {
  border-color: #93c5fd;
}

.portfolio-card-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 12rem;
  height: 12rem;
  border-radius: 9999px;
  filter: blur(48px);
  margin-right: -6rem;
  margin-top: -6rem;
  pointer-events: none;
}

.portfolio-card-glow--ekho {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.18), rgba(6, 182, 212, 0.12));
}

.portfolio-card-glow--wekty {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(6, 182, 212, 0.12));
}

.portfolio-card-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  min-width: 5.5rem;
  min-height: 3.25rem;
}

.portfolio-card-logo--ekho {
  border-color: #bae6fd;
  background: #f0f9ff;
}

.portfolio-card-logo-img {
  display: block;
  height: 2.5rem;
  width: auto;
  max-width: 9rem;
  object-fit: contain;
}

@media (min-width: 768px) {
  .portfolio-card-logo-img {
    height: 3rem;
  }
}

.portfolio-card-kicker {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

@media (min-width: 768px) {
  .portfolio-card-kicker {
    font-size: 1rem;
  }
}

.portfolio-card-kicker--ekho {
  color: #0369a1;
}

.portfolio-card-kicker--wekty {
  color: #1d4ed8;
}

.portfolio-card-note {
  font-size: 1rem;
  line-height: 1.65;
  font-style: italic;
  color: #475569;
}

.portfolio-card .portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
  justify-content: flex-start;
  align-self: flex-start;
}

@media (min-width: 768px) {
  .portfolio-card .portfolio-tags {
    gap: 0.625rem;
  }
}

.portfolio-card .portfolio-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff !important;
  background-color: #2563eb;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
  border: none;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) {
  .portfolio-card .portfolio-tag {
    padding: 0.625rem 1.125rem;
    font-size: 0.9375rem;
  }
}

.portfolio-card .portfolio-tag--ekho-1 {
  background-color: #0284c7 !important;
}

.portfolio-card .portfolio-tag--ekho-2 {
  background-color: #0891b2 !important;
}

.portfolio-card .portfolio-tag--ekho-3 {
  background-color: #0d9488 !important;
}

.portfolio-card .portfolio-tag--ekho-4 {
  background-color: #1e40af !important;
}

.portfolio-card .portfolio-tag--wekty-1 {
  background-color: #2563eb !important;
}

.portfolio-card .portfolio-tag--wekty-2 {
  background-color: #0891b2 !important;
}

.portfolio-card .portfolio-tag--wekty-3 {
  background-color: #7c3aed !important;
}

.portfolio-card .portfolio-tag--wekty-4 {
  background-color: #059669 !important;
}

.portfolio-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  width: fit-content;
}

@media (min-width: 768px) {
  .portfolio-cta {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

.portfolio-cta:hover {
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.2);
  transform: translateY(-1px);
}

.portfolio-cta:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.portfolio-cta--ekho {
  background-color: #0284c7;
}

.portfolio-cta--ekho:hover {
  background-color: #0369a1;
}

.portfolio-cta--ekho:focus {
  outline-color: #0284c7;
}

.portfolio-cta--wekty {
  background-color: #2563eb;
}

.portfolio-cta--wekty:hover {
  background-color: #1d4ed8;
}

.exona-faq-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.exona-faq-item[open] {
  border-color: #93c5fd;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.exona-faq-summary {
  list-style: none;
  cursor: pointer;
  padding: 1.125rem 1.25rem;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.45;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.exona-faq-summary::-webkit-details-marker {
  display: none;
}

.exona-faq-summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  background: #eff6ff;
  color: #2563eb;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.exona-faq-item[open] .exona-faq-summary::after {
  content: "−";
  background: #dbeafe;
}

.exona-faq-summary:hover {
  color: #1d4ed8;
}

.exona-faq-answer {
  margin: 0;
  padding: 0 1.25rem 1.125rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #4b5563;
  border-top: 1px solid #f3f4f6;
  padding-top: 1rem;
}
