/* ==========================================================================
   AUTO GALVAO - CHARTE GRAPHIQUE OFFICIELLE
   Showroom de luxe la nuit • Floirac (33) • Fondé le 21 Septembre 2010
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  /* Fonds & Surfaces */
  --bg-primary: #0f172a;
  --bg-alternate: #101524;
  --bg-glass: rgba(15, 23, 42, 0.85);
  --card-bg: #151c2e;
  --card-bg-elevated: #1a233a;
  --card-border: rgba(255, 255, 255, 0.09);
  --card-border-hover: rgba(239, 68, 68, 0.4);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Accents & Identité Visuelle */
  --accent-red: #ef4444;
  --accent-red-dark: #e53935;
  --accent-red-deeper: #b91c1c;
  --accent-red-glow: 0 4px 25px rgba(239, 68, 68, 0.45);
  --accent-red-glow-lg: 0 8px 36px rgba(229, 57, 53, 0.55);

  /* Rouge sombre & Badges */
  --badge-red-bg: rgba(153, 27, 27, 0.28);
  --badge-red-border: rgba(239, 68, 68, 0.35);
  --badge-red-text: #fca5a5;

  /* Typographie & Textes */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-disabled: #64748b;

  /* Couleurs sémantiques */
  --gold: #fbbf24;
  --green: #34d399;
  --green-glow: 0 0 16px rgba(52, 211, 153, 0.4);
  --info-blue: #38bdf8;

  /* Marques Google */
  --google-blue: #4285f4;
  --google-red: #ea4335;
  --google-yellow: #fbbc05;
  --google-green: #34a853;

  /* Ombres & Lueurs */
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 12px 32px -8px rgba(0, 0, 0, 0.5);
  --shadow-floating: 0 20px 40px -12px rgba(0, 0, 0, 0.65);

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Conteneur */
  --container-max: 1280px;
}

/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  font-size: 16px;
}

body {
  min-height: 100vh;
  background-color: var(--bg-primary);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Sizing global des icônes SVG : taille compacte et minimale par défaut */
svg {
  width: 16px;
  height: 16px;
  max-width: 100%;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

svg.icon,
.icon {
  width: 16px;
  height: 16px;
  min-width: 16px;
  max-width: 16px;
  max-height: 16px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

/* Gradients textuels & soulignements */
.text-gradient-red {
  background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-silver {
  background: linear-gradient(135deg, #ffffff 20%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Monospace pour les étapes */
.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Liens */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a.link-info {
  color: var(--info-blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

a.link-info:hover {
  color: #60a5fa;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-alternate);
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-red);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 640px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Sections */
.section {
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
}

.section-alternate {
  background-color: var(--bg-alternate);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* En-têtes de section */
.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-overtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--badge-red-bg);
  border: 1px solid var(--badge-red-border);
  color: var(--badge-red-text);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.section-overtitle svg {
  width: 14px;
  height: 14px;
  color: var(--accent-red);
}

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.section-desc {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Séparateurs et lueurs décoratives */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
}

.ambient-glow-red {
  background: radial-gradient(circle, #ef4444 0%, transparent 70%);
}

.ambient-glow-blue {
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
}
