/*
 * AmberVault.group – Layout
 * Rôle : structure des sections, grilles et éléments de page.
 * Design : espacements généreux style Apple, mise en page aérée.
 */

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  background: var(--light-gray);
}

.nav-cta {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  background: var(--charcoal);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-cta:hover {
  background: var(--black);
}

/* ========================================
   SECTIONS GÉNÉRIQUES
   ======================================== */

.section {
  padding: 100px 0;
}

.section--hero {
  padding-top: 140px;
  padding-bottom: 80px;
}

.section--alt {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--amber-dark);
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  text-align: center;
  padding-top: 140px;
  padding-bottom: 60px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--amber-dark);
  background: var(--amber-subtle);
  border-radius: var(--radius-full);
}

.hero-title {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 21px);
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  margin-top: 80px;
  position: relative;
}

.hero-image {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
}

/* ========================================
   FEATURES / STATS GRID
   ======================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--border-light);
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.1;
}

.stat-label {
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-secondary);
}

/* ========================================
   PRODUCTS GRID
   ======================================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ========================================
   FEATURES LIST (HORIZONTAL)
   ======================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* ========================================
   SPLIT SECTION (TEXT + VISUAL)
   ======================================== */

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-content {
  max-width: 480px;
}

.split-visual {
  position: relative;
}

.split-image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ========================================
   FAQ
   ======================================== */

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

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
  text-align: center;
  padding: 100px 24px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  padding: 60px 0 40px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand .logo {
  width: 32px;
  height: 32px;
}

.footer-brand .brand-name {
  font-size: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--text-primary);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.footer-legal {
  font-size: 13px;
  color: var(--text-tertiary);
}
