/*
Theme Name: Astra Tencin
Template: astra
Version: 1.0
*/

/* --- Début All_Round_Gothic --- */

/* Book */
@font-face {
    font-family: 'All_Round_Gothic';
    src: url('assets/fonts/All_Round_Gothic_Book.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'All_Round_Gothic';
    src: url('assets/fonts/All_Round_Gothic_Book_Oblique.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Medium */
@font-face {
    font-family: 'All_Round_Gothic';
    src: url('assets/fonts/All_Round_Gothic_Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'All_Round_Gothic';
    src: url('assets/fonts/All_Round_Gothic_Medium_Oblique.woff2') format('woff2');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

/* Demi */
@font-face {
    font-family: 'All_Round_Gothic';
    src: url('assets/fonts/All_Round_Gothic_Demi.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'All_Round_Gothic';
    src: url('assets/fonts/All_Round_Gothic_Demi_Oblique.woff2') format('woff2');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

/* Bold */
@font-face {
    font-family: 'All_Round_Gothic';
    src: url('assets/fonts/All_Round_Gothic_Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'All_Round_Gothic';
    src: url('assets/fonts/All_Round_Gothic_Bold_Oblique.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* --- Fin All_Round_Gothic --- */

/* Appliquer la police globalement */
body {
    font-family: 'All_Round_Gothic', sans-serif;
}

/* --- Classes pratiques pour variantes --- */
.font-book { font-family: 'All_Round_Gothic', sans-serif; font-weight: 400; font-style: normal; }
.font-book-italic { font-family: 'All_Round_Gothic', sans-serif; font-weight: 400; font-style: italic; }
.font-medium { font-family: 'All_Round_Gothic', sans-serif; font-weight: 500; font-style: normal; }
.font-medium-italic { font-family: 'All_Round_Gothic', sans-serif; font-weight: 500; font-style: italic; }
.font-demi { font-family: 'All_Round_Gothic', sans-serif; font-weight: 600; font-style: normal; }
.font-demi-italic { font-family: 'All_Round_Gothic', sans-serif; font-weight: 600; font-style: italic; }
.font-bold { font-family: 'All_Round_Gothic', sans-serif; font-weight: 700; font-style: normal; }
.font-bold-italic { font-family: 'All_Round_Gothic', sans-serif; font-weight: 700; font-style: italic; }

/* --- Palette de couleurs personnalisée Astra Tencin --- */

/* Définition des variables globales */
:root {
  --ast-global-color-0: #24689b; /* Bleu principal */
  --ast-global-color-1: #95c11f; /* Vert accent */
  --ast-global-color-2: #398760; /* Vert foncé complémentaire */
  --ast-global-color-3: #999999; /* Gris neutre */
}

/* --- Utilisation de la palette --- */

/* Liens */
a, a:visited {
  color: var(--ast-global-color-0);
}
a:hover {
  color: var(--ast-global-color-1);
}

/* Boutons */
button,
input[type="submit"],
.ast-button {
  background-color: var(--ast-global-color-0);
  color: #ffffff;
  border: none;
}
button:hover,
input[type="submit"]:hover,
.ast-button:hover {
  background-color: var(--ast-global-color-1);
}

/* Titres et textes */
h1, h2, h3, h4, h5, h6 {
  color: var(--ast-global-color-2);
}
body {
  color: var(--ast-global-color-3);
  background-color: #ffffff;
}

/* Pied de page (exemple) */
.site-footer {
  background-color: var(--ast-global-color-0);
  color: #ffffff;
}

/* Liens du footer */
.site-footer a {
  color: var(--ast-global-color-1);
}
.site-footer a:hover {
  color: var(--ast-global-color-2);
}
