/* =====================================================================
   ICAHN — Variables CSS du thème
   ---------------------------------------------------------------------
   Les valeurs de couleurs sont aussi générées dynamiquement en inline
   depuis inc/astra-defaults.php (fonction icahn_brand_colors). Ce fichier
   fournit les valeurs de secours + tout ce qui n'est pas dynamique :
   typographie, espacements, rayons, ombres, courbes d'animation.
   ===================================================================== */

:root {
	/* ---------- Couleurs (sourcées depuis charte/*.png — voir inc/BRAND.md) ---------- */
	--icahn-navy:           #1064AC;  /* bloc-tranquillite.png             */
	--icahn-blue:           #10A4E0;  /* bloc-tranquillite-plus.png        */
	--icahn-blue-light:     #8CC0E8;  /* bloc-tranquillite-totale.png      */
	--icahn-magenta:        #C83888;  /* bloc-flash.png                    */
	--icahn-magenta-deep:   #912C88;  /* bandeau.png (extrémité gradient)  */
	--icahn-violet:         #4950A0;  /* bandeau.png (milieu gradient)     */
	--icahn-ink:            #0B1220;  /* personnage.png (contour)          */
	--icahn-slate:          #4A5568;  /* texte secondaire (palette neutre) */
	--icahn-mist:           #F4F7FB;  /* surface claire (palette neutre)   */
	--icahn-border:         #E2E8F0;  /* bordure (palette neutre)          */

	/* ---------- Dégradés signature ---------- */
	--icahn-gradient-signature: linear-gradient(135deg, #10A4E0 0%, #4950A0 50%, #C83888 100%);
	--icahn-gradient-cool:      linear-gradient(135deg, #1064AC 0%, #10A4E0 100%);
	--icahn-gradient-warm:      linear-gradient(135deg, #4950A0 0%, #912C88 60%, #C83888 100%);
	--icahn-gradient-soft:      linear-gradient(180deg, #FFFFFF 0%, #F4F7FB 100%);

	/* ---------- Typographie ----------
	   Une seule famille : Montserrat. Les variations se font sur le poids :
	   100 Thin   → grands titres (effet plaquette ICAHN)
	   200/300    → titres moyens, sous-titres
	   400/500    → corps de texte
	   600/700    → boutons, accents, badges
	   --------------------------------- */
	--icahn-font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--icahn-font-body:    "Montserrat", "Helvetica Neue", Arial, sans-serif;

	/* Poids utilitaires pour rester cohérent dans tout le thème. */
	--icahn-weight-thin:     100;
	--icahn-weight-extra:    200;
	--icahn-weight-light:    300;
	--icahn-weight-regular:  400;
	--icahn-weight-medium:   500;
	--icahn-weight-semibold: 600;
	--icahn-weight-bold:     700;

	/* ---------- Espacements (échelle modulaire 1.5) ---------- */
	--icahn-space-1:  0.5rem;
	--icahn-space-2:  0.75rem;
	--icahn-space-3:  1rem;
	--icahn-space-4:  1.5rem;
	--icahn-space-5:  2.25rem;
	--icahn-space-6:  3.5rem;
	--icahn-space-7:  5rem;
	--icahn-space-8:  7.5rem;

	/* ---------- Rayons ---------- */
	--icahn-radius-sm:   6px;
	--icahn-radius-md:   12px;
	--icahn-radius-lg:   24px;
	--icahn-radius-pill: 999px;
	--icahn-radius-blob: 42% 58% 70% 30% / 45% 35% 65% 55%;

	/* ---------- Ombres ---------- */
	--icahn-shadow-soft: 0 2px 8px rgba(14, 42, 90, 0.08);
	--icahn-shadow-card: 0 8px 24px rgba(14, 42, 90, 0.10);
	--icahn-shadow-lift: 0 16px 40px rgba(14, 42, 90, 0.16);
	--icahn-shadow-glow: 0 0 40px rgba(30, 159, 232, 0.35);

	/* ---------- Transitions ---------- */
	--icahn-ease:        cubic-bezier(0.22, 1, 0.36, 1);
	--icahn-duration:    320ms;

	/* ---------- Container ---------- */
	--icahn-content-width: 780px;
	--icahn-wide-width:    1240px;
}

/* ---------- Helpers réutilisables ---------- */

.icahn-gradient-text {
	background: var(--icahn-gradient-signature);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.icahn-gradient-bg {
	background: var(--icahn-gradient-signature);
	color: #fff;
}

.icahn-blob {
	border-radius: var(--icahn-radius-blob);
	background: var(--icahn-gradient-signature);
}
