/* Custom styles for Spectromètre Émotionnel - Converted from Tailwind */

:root {
  /* GSCV Color Palette */
  --bs-primary: #345f6d;
  --bs-primary-rgb: 52, 95, 109;
  --bs-secondary: hsl(220, 14%, 96%);
  --bs-success: hsl(90, 42%, 48%);
  --bs-info: hsl(178, 45%, 40%);
  --bs-warning: hsl(44, 89%, 55%);
  --bs-danger: hsl(2, 53%, 51%);
  
    /* Custom GSCV colors */
  --gscv-orange: hsl(18, 80%, 54%);
  --gscv-teal: hsl(178, 45%, 40%);
  --gscv-gold: hsl(44, 89%, 55%);
  --gscv-red: hsl(2, 53%, 51%);
  --gscv-green: hsl(90, 42%, 48%);
  
  /* Background and text */
  --background: hsl(0, 0%, 98%);
  --foreground: hsl(220, 20%, 20%);
  --muted-foreground: hsl(220, 10%, 50%);
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, hsl(220, 20%, 98%) 0%, hsl(220, 14%, 94%) 100%);
}

body {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
}

/* Header Styles */
.header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid hsl(220, 13%, 90%);
}

/* Hero Section */
.hero-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: 0px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: radial-gradient(circle at 1px 1px, hsl(var(--foreground)) 1px, transparent 0);
  background-size: 40px 40px;
}

.hero-decorative-1 {
  position: absolute;
  top: 25%;
  right: 0;
  width: 384px;
  height: 384px;
  background-color: rgba(234, 119, 61, 0.05);
  border-radius: 50%;
  filter: blur(60px);
}

.hero-decorative-2 {
  position: absolute;
  bottom: 25%;
  left: 0;
  width: 288px;
  height: 288px;
  background-color: rgba(178, 45%, 40%, 0.05);
  border-radius: 50%;
  filter: blur(60px);
}

/* Badge */
.badge-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: rgba(234, 119, 61, 0.1);
  color: var(--bs-primary);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Buttons */
.btn-hero {
  background-color: var(--bs-primary);
  color: white;
  border: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}

.btn-hero:hover {
  background-color: hsl(18, 80%, 50%);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  color: white;
}

.btn-hero-outline {
  border: 2px solid var(--bs-primary);
  color: var(--bs-primary);
  background-color: transparent;
  transition: all 0.2s;
}

.btn-hero-outline:hover {
  background-color: var(--bs-primary);
  color: white;
}

/* Cards */
.card-custom {
  background-color: white;
  border-radius: 0.75rem;
  border: 1px solid hsl(220, 13%, 90%);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.card-custom:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: rgba(234, 119, 61, 0.2);
}

/* Feature Icons */
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.feature-icon-primary {
  background-color: rgba(234, 119, 61, 0.1);
  color: var(--bs-primary);
}

.feature-icon-teal {
  background-color: hsla(178, 45%, 40%, 0.1);
  color: var(--gscv-teal);
}

.feature-icon-green {
  background-color: hsla(90, 42%, 48%, 0.1);
  color: var(--gscv-green);
}

.feature-icon-orange {
  background-color: hsla(18, 80%, 54%, 0.1);
  color: var(--gscv-orange);
}

.feature-icon-gold {
  background-color: hsla(44, 89%, 55%, 0.1);
  color: var(--gscv-gold);
}

.feature-icon-red {
  background-color: hsla(2, 53%, 51%, 0.1);
  color: var(--gscv-red);
}

.card-custom:hover .feature-icon {
  transform: scale(1.1);
}

/* Stats Card */
.stats-card {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background-color: white;
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid hsl(220, 13%, 90%);
}

/* Footer */
.footer-custom {
  background-color: var(--foreground);
  padding: 3rem 0;
  color: hsl(220, 10%, 60%);
}

.footer-custom a {
  color: hsl(220, 10%, 60%);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-custom a:hover {
  color: white;
}

.footer-logo {
  filter: brightness(0) invert(1);
}

/* Section backgrounds */
.section-secondary {
  background-color: rgba(220, 14%, 96%, 0.3);
}

.section-secondary-50 {
  background-color: rgba(220, 14%, 96%, 0.5);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Wave SVG */
.wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
}

/* Contact Section */
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-primary {
  background-color: rgba(234, 119, 61, 0.1);
  color: var(--bs-primary);
}

.contact-icon-teal {
  background-color: hsla(178, 45%, 40%, 0.1);
  color: var(--gscv-teal);
}

.contact-icon-green {
  background-color: hsla(90, 42%, 48%, 0.1);
  color: var(--gscv-green);
}

/* Form styles */
.form-control-custom {
  background-color: var(--background);
  border: 1px solid hsl(220, 13%, 90%);
  border-radius: 0.5rem;
  color: var(--foreground);
}

.form-control-custom:focus {
  background-color: var(--background);
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.25rem rgba(52, 95, 109, 0.25);
  color: var(--foreground);
}

.form-control-custom::placeholder {
  color: var(--muted-foreground);
}

/* Login page links */
a[href*="Account"] {
  color: var(--bs-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a[href*="Account"]:hover {
  color: var(--gscv-orange);
  text-decoration: underline;
}

/* Target audience badges */
.audience-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted-foreground);
}

.audience-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Full width layout */
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

html, body {
  margin: 0;
  padding: 0;
}

.hero-section,
.section-secondary,
.section-secondary-50 {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.container-fluid {
  width: 100%;
  max-width: 100% !important;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

/* Responsive padding for container-fluid */
@media (max-width: 576px) {
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  .container-fluid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .container-fluid {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

@media (min-width: 1201px) and (max-width: 1919px) {
  .container-fluid {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (min-width: 1920px) {
  .container-fluid {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

@media (min-width: 2560px) {
  .container-fluid {
    padding-left: 5rem;
    padding-right: 5rem;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 100px;
  }
  
  .hero-decorative-1,
  .hero-decorative-2 {
    display: none;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

