/* ================================================
   VAN LOIRE EXPERIENCE - MODERN PROFESSIONAL STYLESHEET
   ================================================ */

/* ==================== CSS VARIABLES ==================== */
:root {
  /* Couleurs modernes et sophistiquées */
  --primary-blue: #0891B2;        /* Cyan-600 moderne */
  --primary-light: #06B6D4;       /* Cyan-500 */
  --primary-dark: #0E7490;        /* Cyan-700 */
  --elegant-black: #0F172A;       /* Slate-900 */
  --text-primary: #1E293B;        /* Slate-800 */
  --text-secondary: #64748B;      /* Slate-500 */
  --light-bg: #F8FAFC;            /* Slate-50 */
  --white: #FFFFFF;
  --accent-gold: #F59E0B;         /* Amber-500 moderne */
  --border-color: #E2E8F0;        /* Slate-200 */

  /* Couleurs de statut */
  --success: #10B981;             /* Emerald-500 */
  --warning: #F59E0B;             /* Amber-500 */
  --danger: #EF4444;              /* Red-500 */
  --info: #3B82F6;                /* Blue-500 */

  /* Ombres modernes et subtiles (Tailwind-like) */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Espacements généreux (Tailwind-like) */
  --spacing-xs: 0.5rem;    /* 8px */
  --spacing-sm: 1rem;      /* 16px */
  --spacing-md: 1.5rem;    /* 24px */
  --spacing-lg: 2rem;      /* 32px */
  --spacing-xl: 3rem;      /* 48px */
  --spacing-2xl: 4rem;     /* 64px */
  --spacing-3xl: 6rem;     /* 96px */

  /* Bordures modernes */
  --border-radius-sm: 0.375rem;   /* 6px */
  --border-radius-md: 0.5rem;     /* 8px */
  --border-radius-lg: 0.75rem;    /* 12px */
  --border-radius-xl: 1rem;       /* 16px */
  --border-radius-2xl: 1.5rem;    /* 24px */

  /* Typographie moderne */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-script: 'Dancing Script', cursive;
}

/* ==================== RESET & BASE STYLES ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-secondary);
  color: var(--text-primary);
  background-color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  font-weight: 400;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--elegant-black);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

/* ==================== MODERN BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--border-radius-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--elegant-black) 0%, #1E293B 100%);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  box-shadow: none;
}

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

.btn-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-gold:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
  color: var(--white);
}

/* ==================== MODERN HEADER & NAVIGATION ==================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all var(--transition-normal);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-van {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  letter-spacing: -0.02em;
}

.logo-experience {
  font-family: var(--font-script);
  font-size: 1.1rem;
  color: var(--elegant-black);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width var(--transition-normal);
}

.nav-links a:hover {
  color: var(--primary-blue);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary-blue);
  font-weight: 600;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: var(--light-bg);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
}

.language-switcher button {
  background: none;
  border: none;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.language-switcher button.active {
  color: var(--primary-blue);
}

.language-switcher button:hover {
  color: var(--primary-blue);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--elegant-black);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ==================== MODERN HERO SECTION ==================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  margin-top: 75px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(8, 145, 178, 0.4) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 900px;
  padding: 2rem;
  z-index: 1;
}

.hero-logo {
  margin-bottom: 2.5rem;
}

.hero-logo img {
  max-width: 350px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero-cta {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==================== MODERN SECTIONS ==================== */
section {
  padding: var(--spacing-3xl) 5%;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section-title h2 {
  color: var(--elegant-black);
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-light));
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
  line-height: 1.75;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

/* ==================== MODERN CARDS ==================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.card {
  background-color: var(--white);
  border-radius: var(--border-radius-2xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--primary-light);
}

.card-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image {
  transform: scale(1.05);
}

.card-content {
  padding: var(--spacing-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--elegant-black);
  font-weight: 600;
}

.card-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex: 1;
  line-height: 1.75;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

.card-price {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==================== MODERN FORMS ==================== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--elegant-black);
  font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-secondary);
  font-size: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-fast);
  background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-required {
  color: var(--danger);
}

/* ==================== MODERN FOOTER ==================== */
footer {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: var(--spacing-3xl) 5%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
}

.footer-section h4 {
  color: var(--primary-light);
  margin-bottom: 1.25rem;
  font-weight: 600;
  font-size: 1.125rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  line-height: 1.75;
  transition: color var(--transition-fast);
}

.footer-section a:hover {
  color: var(--primary-light);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-normal);
}

.social-links a:hover {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.footer-bottom {
  max-width: 1280px;
  margin: var(--spacing-xl) auto 0;
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* ==================== UTILITY CLASSES ==================== */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-blue);
}

.text-gold {
  color: var(--accent-gold);
}

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

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

/* ==================== MODERN ANIMATIONS ==================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ==================== LOADING STATES ==================== */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==================== MODERN ALERTS ==================== */
.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius-lg);
  margin-bottom: 1rem;
  border-left: 4px solid;
  backdrop-filter: blur(10px);
}

.alert-success {
  background-color: rgba(16, 185, 129, 0.1);
  border-color: var(--success);
  color: #065F46;
}

.alert-error {
  background-color: rgba(239, 68, 68, 0.1);
  border-color: var(--danger);
  color: #991B1B;
}

.alert-warning {
  background-color: rgba(245, 158, 11, 0.1);
  border-color: var(--warning);
  color: #92400E;
}

.alert-info {
  background-color: rgba(59, 130, 246, 0.1);
  border-color: var(--info);
  color: #1E40AF;
}

/* ==================== CARD ICON STYLES ==================== */
.card-icon {
  margin-bottom: 1.5rem;
}

.card-icon svg {
  width: 48px;
  height: 48px;
}

/* ==================== SECTION CTA ==================== */
.section-cta {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: var(--white);
  border-radius: var(--border-radius-2xl);
  margin: var(--spacing-3xl) 5%;
  padding: var(--spacing-3xl) 5%;
}

.section-cta h2 {
  color: var(--white);
}

.section-cta .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--spacing-lg);
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.testimonial-card {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-2xl);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9375rem;
}

/* ==================== ABOUT CONTENT ==================== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
  margin-top: var(--spacing-xl);
}

.about-text h2 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.about-text p {
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-image img {
  width: 100%;
  border-radius: var(--border-radius-2xl);
  box-shadow: var(--shadow-2xl);
}
