/* ════════════════════════════════════════════════════════
   VGS — CSS Base (Mobile-First)
   Variables · Reset · Typographie · Utilitaires
   ══════════════════════════════════════════════════════ */

/* ─── Variables couleurs ─── */
:root {
  --vgs-navy: #0A2540;
  --vgs-navy-light: #1E5A9B;
  --vgs-gold: #C9A961;
  --vgs-gold-light: #E0C887;
  --vgs-teal: #2A9D8F;
  --vgs-teal-light: #4FBFB0;
  --vgs-charcoal: #1A1A1A;
  --vgs-gray-900: #2C3E50;
  --vgs-gray-700: #4A5568;
  --vgs-gray-500: #718096;
  --vgs-gray-300: #CBD5E0;
  --vgs-gray-100: #EDF2F7;
  --vgs-cream: #FAFAF7;
  --vgs-white: #FFFFFF;
  
  --vgs-success: #38A169;
  --vgs-warning: #D69E2E;
  --vgs-error: #E53E3E;
  
  /* Typographie */
  --vgs-font-display: 'Playfair Display', 'Times New Roman', serif;
  --vgs-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing (mobile-first base) */
  --vgs-space-xs: 0.5rem;   /* 8px */
  --vgs-space-sm: 0.75rem;  /* 12px */
  --vgs-space-md: 1rem;     /* 16px */
  --vgs-space-lg: 1.5rem;   /* 24px */
  --vgs-space-xl: 2rem;     /* 32px */
  --vgs-space-2xl: 3rem;    /* 48px */
  --vgs-space-3xl: 4rem;    /* 64px */
  
  /* Layout */
  --vgs-radius-sm: 6px;
  --vgs-radius-md: 10px;
  --vgs-radius-lg: 16px;
  --vgs-shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.08);
  --vgs-shadow-md: 0 4px 16px rgba(10, 37, 64, 0.12);
  --vgs-shadow-lg: 0 8px 32px rgba(10, 37, 64, 0.16);
  
  /* Transitions */
  --vgs-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Container max width */
  --vgs-container: 1200px;
}

/* ─── Reset universel ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--vgs-font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--vgs-charcoal);
  background: var(--vgs-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Typographie (mobile-first) ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--vgs-font-display);
  font-weight: 700;
  color: var(--vgs-navy);
  line-height: 1.2;
  margin-bottom: var(--vgs-space-md);
}

h1 { font-size: 2rem; }      /* 32px mobile */
h2 { font-size: 1.625rem; }  /* 26px mobile */
h3 { font-size: 1.25rem; }   /* 20px mobile */
h4 { font-size: 1.125rem; }  /* 18px mobile */

p {
  margin-bottom: var(--vgs-space-md);
  color: var(--vgs-gray-700);
}

a {
  color: var(--vgs-navy-light);
  text-decoration: none;
  transition: color var(--vgs-transition);
}

a:hover, a:focus {
  color: var(--vgs-navy);
}

/* ─── Images ─── */
img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ─── Boutons (tactiles 48px minimum) ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font-family: var(--vgs-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--vgs-radius-md);
  cursor: pointer;
  transition: all var(--vgs-transition);
  text-decoration: none;
  touch-action: manipulation;
  white-space: nowrap;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--vgs-navy);
  color: var(--vgs-white);
}
.btn-primary:hover {
  background: var(--vgs-navy-light);
  color: var(--vgs-white);
  transform: translateY(-2px);
  box-shadow: var(--vgs-shadow-md);
}

.btn-gold {
  background: var(--vgs-gold);
  color: var(--vgs-navy);
}
.btn-gold:hover {
  background: var(--vgs-gold-light);
  color: var(--vgs-navy);
  transform: translateY(-2px);
  box-shadow: var(--vgs-shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--vgs-navy);
  border-color: var(--vgs-navy);
}
.btn-outline:hover {
  background: var(--vgs-navy);
  color: var(--vgs-white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--vgs-white);
}
.btn-whatsapp:hover {
  background: #1FA855;
  color: var(--vgs-white);
}

/* ─── Container responsive ─── */
.container {
  width: 100%;
  max-width: var(--vgs-container);
  margin: 0 auto;
  padding: 0 var(--vgs-space-md);
}

/* ─── Sections ─── */
.section {
  padding: var(--vgs-space-2xl) 0;
}

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

.section-title h2 {
  margin-bottom: var(--vgs-space-sm);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--vgs-gray-500);
  max-width: 600px;
  margin: 0 auto;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vgs-gold);
  margin-bottom: var(--vgs-space-sm);
}

/* ─── Utilitaires ─── */
.text-center { text-align: center; }
.text-navy { color: var(--vgs-navy); }
.text-gold { color: var(--vgs-gold); }
.bg-cream { background: var(--vgs-cream); }
.bg-navy { background: var(--vgs-navy); color: var(--vgs-white); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ════════════════════════════════════════════════════════
   TABLET (≥ 768px)
   ════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  :root {
    --vgs-space-md: 1.25rem;
    --vgs-space-lg: 2rem;
    --vgs-space-xl: 3rem;
    --vgs-space-2xl: 4rem;
    --vgs-space-3xl: 5rem;
  }
  
  h1 { font-size: 2.75rem; }     /* 44px tablet */
  h2 { font-size: 2.125rem; }    /* 34px tablet */
  h3 { font-size: 1.5rem; }      /* 24px tablet */
  
  .container {
    padding: 0 var(--vgs-space-lg);
  }
}

/* ════════════════════════════════════════════════════════
   DESKTOP (≥ 1024px)
   ════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  h1 { font-size: 3.5rem; }      /* 56px desktop */
  h2 { font-size: 2.5rem; }      /* 40px desktop */
  h3 { font-size: 1.75rem; }     /* 28px desktop */
  
  .section {
    padding: var(--vgs-space-3xl) 0;
  }
}
