/*
Theme Name:        IAS2026
Theme URI:         https://ndarcreation.com
Description:       Thème WordPress original et indépendant pour les Itinéraires Artistiques de Saint-Louis — 12ᵉ Édition 2026. Conçu sur mesure, sans dépendance à aucun thème parent.
Author:            Ousmane Charles Diémé
Author URI:        https://ndarcreation.com
Version:           1.0.0
Requires at least: 6.0
Tested up to:      6.7
Requires PHP:      8.0
License:           Proprietary
License URI:       https://ndarcreation.com
Text Domain:       ias2026
Tags:              custom, full-site, bilingual, art, gallery, dark

--- Système de couleurs IAS ---
Primaire  : #252955 (Bleu nuit profond)
Secondaire: #188CCD (Bleu ciel vif)
*/

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

/* ── VARIABLES IAS ────────────────────────────────────────────────────── */
:root {
  --ias-primary:      #252955;
  --ias-primary-400:  #5C609E;
  --ias-primary-200:  #9295C3;
  --ias-primary-100:  #C4C6E0;
  --ias-primary-50:   #EAEBf4;

  --ias-secondary:    #188CCD;
  --ias-secondary-400:#2FA3D8;
  --ias-secondary-200:#6DBDE5;
  --ias-secondary-100:#AADAF1;
  --ias-secondary-50: #E3F4FB;

  --ias-dark:         #0D0F1E;
  --ias-dark-2:       #151828;
  --ias-dark-3:       #1E2138;
  --ias-muted:        #6B6E8A;
  --ias-white:        #FFFFFF;
  --ias-light:        #F4F4F8;

  --ias-serif:        'DM Serif Display', Georgia, serif;
  --ias-sans:         'Outfit', system-ui, sans-serif;

  --ias-radius:       8px;
  --ias-radius-lg:    14px;
  --ias-ease:         cubic-bezier(.25, .46, .45, .94);

  --nav-h:            88px;
}

/* Global offset for fixed header */
#main-content, 
.art-page-header, 
.gal-page-header, 
.ed-page-header, 
.h-hero {
  margin-top: var(--nav-h);
}

/* ── BASE ─────────────────────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ias-sans);
  background: var(--ias-dark);
  color: var(--ias-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ias-secondary);
  text-decoration: none;
  transition: color .2s;
}
a:hover { color: var(--ias-secondary-400); }

/* ── TYPOGRAPHIE ──────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ias-serif);
  line-height: 1.15;
  color: var(--ias-white);
}

h1 { font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3.5vw, 44px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
h4 { font-size: 20px; }
p  { font-size: 16px; color: var(--ias-primary-200); font-weight: 300; }

/* ── BOUTONS ──────────────────────────────────────────────────────────── */
.ias-btn,
.ias-btn-primary {
  display: inline-block;
  padding: 13px 28px;
  background: var(--ias-secondary);
  color: var(--ias-white);
  border-radius: var(--ias-radius);
  font-family: var(--ias-sans);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .18s, transform .15s;
  text-decoration: none;
}
.ias-btn:hover,
.ias-btn-primary:hover {
  background: var(--ias-secondary-400);
  transform: translateY(-2px);
  color: var(--ias-white);
}

.ias-btn-outline {
  display: inline-block;
  padding: 12px 27px;
  border: 1px solid rgba(255,255,255,.2);
  color: var(--ias-white);
  border-radius: var(--ias-radius);
  font-family: var(--ias-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .18s;
  text-decoration: none;
  background: transparent;
}
.ias-btn-outline:hover {
  border-color: var(--ias-primary-100);
  background: rgba(255,255,255,.04);
  color: var(--ias-white);
}

/* ── UTILITAIRES ──────────────────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

.section-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--ias-secondary);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.section-tag::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--ias-secondary);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ias-ease), transform .6s var(--ias-ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
