/* Astral CSE Landing — Design system aligné Astral OS
 * Polices : Fraunces (serif italique titres) + Manrope (sans-serif corps)
 * Palette : crème + chataigne + encre
 */

:root {
  --astral-blanc: #fdf8f3;
  --astral-blanc-off: #fafaf8;
  --astral-blanc-card: #ffffff;
  --astral-encre: #1d1f2a;
  --astral-encre-70: #4a4d57;
  --astral-encre-clair: #2c2f3a;
  --astral-brun: #5c3d31;
  --astral-chataigne: #a56c43;
  --astral-chataigne-clair: #c89370;
  --astral-chataigne-dark: #8d5b39;
  --astral-border: #ebe7e0;
  --astral-muted: #847f78;
  --astral-success: #10b981;
  --astral-error: #e11d48;
  --astral-cyan: #06b6d4;

  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Fraunces', Georgia, serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;

  --shadow-sm: 0 2px 8px rgba(29, 31, 42, 0.04);
  --shadow-md: 0 6px 20px rgba(29, 31, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(29, 31, 42, 0.10);

  --max-width: 1200px;
  --content-width: 1040px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-sans);
  background: var(--astral-blanc);
  color: var(--astral-encre);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  min-height: 100vh;
}

/* ============ Typographie ============ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--astral-encre);
}

h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 300; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 400; margin-bottom: 16px; }
h3 { font-size: clamp(22px, 3vw, 28px); font-weight: 400; margin-bottom: 12px; }
h4 { font-size: 18px; font-weight: 500; }

p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--astral-encre-70);
  font-style: normal;
}

.lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--astral-encre-70);
  line-height: 1.6;
  max-width: 720px;
}

a {
  color: var(--astral-chataigne);
  text-decoration: none;
  transition: color 0.2s;
}

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

em {
  font-style: italic;
  color: var(--astral-brun);
}

strong { font-weight: 700; color: var(--astral-encre); }

/* ============ Layout ============ */

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(60px, 8vw, 110px) 0;
}

.section-narrow {
  max-width: 720px;
  margin: 0 auto;
}

.bg-card {
  background: var(--astral-blanc-card);
}

.bg-off {
  background: var(--astral-blanc-off);
}

/* ============ Buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  letter-spacing: 0;
  white-space: nowrap;
}

.btn-primary {
  background: var(--astral-chataigne);
  color: white;
}

.btn-primary:hover {
  background: var(--astral-chataigne-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--astral-chataigne);
  border: 1px solid var(--astral-chataigne);
}

.btn-secondary:hover {
  background: rgba(165, 108, 67, 0.06);
  color: var(--astral-chataigne-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--astral-encre-70);
  border: 1px solid var(--astral-border);
}

.btn-ghost:hover {
  border-color: var(--astral-chataigne);
  color: var(--astral-encre);
}

.btn-large {
  padding: 18px 36px;
  font-size: 16px;
}

.btn-small {
  padding: 8px 14px;
  font-size: 13px;
}

/* ============ Cards ============ */

.card {
  background: var(--astral-blanc-card);
  border: 1px solid var(--astral-border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============ Forms ============ */

.input-group {
  margin-bottom: 16px;
}

.input-label {
  display: block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--astral-muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  background: var(--astral-blanc-off);
  border: 1px solid var(--astral-border);
  border-radius: var(--radius-sm);
  color: var(--astral-encre);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--astral-chataigne);
  background: var(--astral-blanc-card);
  box-shadow: 0 0 0 3px rgba(165, 108, 67, 0.1);
}

.textarea {
  min-height: 96px;
  resize: vertical;
}

/* ============ Mobile ============ */

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .btn-large { padding: 14px 24px; }
}
