/* ConsulenzaPro — Studio di Consulenza Strategica */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --color-navy: #1A2744;
  --color-navy-light: #2E4070;
  --color-gold: #C9A84C;
  --color-gold-light: #E8C97A;
}

* { box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes countUp {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-fade-in-up { animation: fadeInUp 0.7s ease-out forwards; }
.animate-fade-in { animation: fadeIn 0.8s ease-out forwards; }
.animate-slide-in-right { animation: slideInRight 0.7s ease-out forwards; }
.animate-pulse-custom { animation: pulse 2s ease-in-out infinite; }
.animate-count-up { animation: countUp 0.8s ease-out forwards; }

.delay-100 { animation-delay: 0.1s; opacity: 0; }
.delay-200 { animation-delay: 0.2s; opacity: 0; }
.delay-300 { animation-delay: 0.3s; opacity: 0; }
.delay-400 { animation-delay: 0.4s; opacity: 0; }
.delay-500 { animation-delay: 0.5s; opacity: 0; }

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-number { transition: transform 0.3s ease; }
.stat-number:hover { transform: scale(1.08); }

.team-card:hover { transform: translateY(-6px); }
.team-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }

.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(26,39,68,0.12); }
.testimonial-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }

.burger-menu { transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease; }
.burger-menu.active { transform: translateX(0); opacity: 1; }

header nav .burger-button .burger-icon {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

header nav .burger-button.active .burger-icon:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

header nav .burger-button.active .burger-icon:nth-child(2) {
  opacity: 0;
}

header nav .burger-button.active .burger-icon:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn-primary { transition: all 0.3s ease; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.4);
}

.cookie-banner { animation: slideInUp 0.5s ease-out; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.faq-answer.faq-answer-open { max-height: 800px; }

.faq-question { cursor: pointer; user-select: none; }
.faq-question:hover { color: var(--color-navy); }

.form-success-notification { animation: fadeSlideIn 0.4s ease-out; }

/* Gold shimmer for hero badge */
.gold-shimmer {
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-gold-light) 50%, var(--color-gold) 100%);
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
}

/* Premium card hover effect */
article { transition: box-shadow 0.3s ease, transform 0.3s ease; }
