/*
Theme Name: Atmajaya
Theme URI: https://academie-atmajaya.com
Description: Académie ATMAJAYA — Formation en Kinésiologie Syntonique
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&family=Cormorant+Garamond:wght@500;600;700&display=swap');

/* ============================================================
   Académie ATMAJAYA — Brand tokens (per 2026 brand book).
   Purple #4b348a · Orange #e95c29 · Gold #f8b13e · Magenta #8f338a
   Cream #FFF4E6 · Fonts: Rubik (primary) + Cormorant Garamond (display)
   ============================================================ */
:root {
  --color-primary:  #4b348a;   /* brand deep purple */
  --color-accent:   #C4902A;   /* brand gold (was orange #e95c29) */
  --color-teal:     #8f338a;   /* brand magenta (accent on light bg) */
  --color-gold:     #F1C96B;   /* brand gold (accent on dark bg) */
  --gold:           #D4A23C;
  --gold-light:     #F1C96B;
  --gold-ink:       #9A6B10;   /* gold text on white/cream — meets AA contrast */
  --gold-grad:      linear-gradient(180deg, #E2B04A 0%, #C4902A 55%, #A9761A 100%);
  --color-yellow:   #fceb47;   /* brand yellow */
  --color-magenta:  #8f338a;
  --color-light:    #FFF4E6;   /* brand warm cream */
  --color-dark:     #2a1f3d;   /* dark plum for body text */
  --color-white:    #FFFFFF;
  --color-muted:    #6f6a74;
  --font-heading:   'Cormorant Garamond', Georgia, serif;
  --font-body:      'Rubik', system-ui, sans-serif;
  --radius:         18px;
  --shadow:         0 10px 34px rgba(75,52,138,0.08);
  --shadow-hover:   0 18px 48px rgba(75,52,138,0.16);
  --container:      1200px;
  --transition:     0.25s ease;

  --color-primary-dark: #3a2870;
  --color-accent-dark:  #A9761A;
  --color-border:       #ecdfca;   /* warm border for cream surfaces */
  --radius-sm:          12px;
  --shadow-lift:        0 20px 48px rgba(75,52,138,0.16);
  --space-section:      clamp(64px, 9vw, 100px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { overflow-x: clip; }
body { font-family: var(--font-body); color: var(--color-dark); background: var(--color-white); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1,h2,h3,h4 { font-family: var(--font-heading); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 12px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary { background: var(--gold-grad); color: var(--color-white); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(196,144,42,0.35); }
.btn-secondary { background: transparent; color: var(--color-white); border-color: var(--color-white); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }
.btn-outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: var(--color-white); }
.btn-white { background: var(--color-white); color: var(--color-primary); }
.btn-white:hover { background: var(--color-light); }

/* Cards */
.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section-pad { padding: 60px 0; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section-pad { padding: 48px 0; }
}
