/*
Theme Name: Astra Child - Chatenay Malabry
Theme URI: https://chatenay-immobilier.fr/
Description: Thème enfant pour le thème Astra, intégrant la charte graphique de Chatenay Malabry.
Author: Chatenay Malabry
Author URI: https://ChL.re/
Template: astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child-shdr
*/

/* =================================================================
   CHARTE GRAPHIQUE Chatenay Malabry (Intégration Experte)
   ================================================================= */

/* Définition des variables de couleur et de police (CSS Custom Properties) */
:root {
    /* Couleurs de la charte */
    --clr-principal: #003366;    /* Bleu Phare (Foncé) */
    --clr-accent: #059FDF;       /* Bleu Océan (Clair) */
    --clr-texte-secondaire: #333333; /* Gris Neutre */
    --clr-fond: #FFFFFF;         /* Blanc */

    /* Typographie */
    --font-primaire: 'Montserrat', sans-serif;
    --font-poids-normal: 400;
    --font-poids-titre: 700;
}

/* Application des couleurs et polices aux éléments par défaut d'Astra */

/* 1. Typographie Générale */
body, 
.entry-content,
.ast-menu-toggle {
    font-family: var(--font-primaire);
    color: var(--clr-texte-secondaire);
    font-weight: var(--font-poids-normal);
}

/* 2. Titres */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primaire);
    color: var(--clr-principal); /* Utilisation du bleu foncé pour les titres */
    font-weight: var(--font-poids-titre);
}

/* 3. Liens et Accents */
a, 
.entry-content a {
    color: var(--clr-accent); /* Bleu Océan pour les liens */
}
a:hover, 
.entry-content a:hover {
    color: var(--clr-principal); /* Survol en Bleu Phare */
}

/* 4. Boutons */
.wp-block-button__link,
.ast-button, 
input[type="button"], 
input[type="submit"] {
    background-color: var(--clr-principal) !important;
    color: var(--clr-fond) !important;
    border-radius: 4px; /* Adoucissement des angles */
    
    /* Effet au survol */
    transition: background-color 0.3s ease;
}

.wp-block-button__link:hover,
.ast-button:hover, 
input[type="button"]:hover, 
input[type="submit"]:hover {
    background-color: var(--clr-accent) !important;
}

/* Ajoutez ici vos propres styles et overrides spécifiques si nécessaire */