/*
 Theme Name: Divi Child - Sol-info
 Theme URI: https: //sol-info.ch/
 Description: Thème enfant pour Divi.
 Author: Solution Informatique SA
 Author URI: https: //sol-info.ch/
 Template: Divi
 Version: 1.0.0
 Text Domain: divi-child
*/

/* ================================================== */
/* 0. DÉCLARATION DES POLICES LOCALES (Gill Sans)     */
/* ================================================== */

/* Gill Sans - Normal (400) */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');

@font-face {
    font-family: 'Gill Sans';
    /* Chemin relatif depuis style.css vers le dossier assets */
    src: url('assets/fonts/gill-sans-2/Gill Sans.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

/* Gill Sans - Bold (700) - Pour tes titres */
@font-face {
    font-family: 'Gill Sans';
    src: url('assets/fonts/gill-sans-2/Gill Sans Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

/* (Optionnel) Gill Sans - Light (300) - Si besoin */
@font-face {
    font-family: 'Gill Sans';
    src: url('assets/fonts/gill-sans-2/Gill Sans Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}


/* ================================================== */
/* VOTRE CSS PERSONNALISÉ CI-DESSOUS                  */
/* ================================================== */

/* --- RÉGLAGES DE BASE --- */
html {
    font-size: 16px;
    /* Base standard. 1rem = 16px */
}

/* TITRES (Gill Sans) - Échelle Typographique "Perfect Fourth" */
h1,
h2,
h3,
h4,
h5,
h6,
.et_pb_module_header,
.et_pb_slide_title,
.et_pb_pricing_heading {
    /* On appelle 'Gill Sans' défini plus haut dans @font-face */
    font-family: 'Gill Sans', 'Gotham', 'Gill Sans MT', 'Montserrat', sans-serif !important;
    font-weight: 700;
    /* Va chercher le fichier "Gill Sans Bold.otf" */
    color: #333;
    line-height: 1.2em;
    margin-bottom: 0.5em;
}

/* Tailles Responsive (Mobile First / Fluide) */
h1 {
    font-size: 3rem !important;
}

/* ~48px */
h2 {
    font-size: 2.25rem !important;
}

/* ~36px */
h3 {
    font-size: 1.75rem !important;
}

/* ~28px */
h4 {
    font-size: 1.5rem !important;
}

/* ~24px */
h5 {
    font-size: 1.25rem !important;
}

/* ~20px */
h6 {
    font-size: 1rem !important;
}

/* ~16px */

/* Ajustement pour mobile (écrans < 768px) */
@media only screen and (max-width: 767px) {
    h1 {
        font-size: 2.2rem !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }
}

/* 3. CORPS DE TEXTE (Open Sans) */
body,
p,
li,
a,
.et_pb_text,
.et_pb_blurb_description,
div {
    font-family: 'Open Sans', 'Lato', 'Montserrat', sans-serif !important;
    font-size: 1rem !important;
    line-height: 1.6em !important;
    color: #444;
}

/* Texte un peu plus grand pour les introductions */
.intro-text {
    font-size: 1.25rem !important;
    font-weight: 300;
}