/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* BODY */
@font-face {
    font-family: 'atkinson_hyperlegibleregular';
    src: url('fonts/atkinsonhyperlegible-regular-webfont.eot');
    src: url('fonts/atkinsonhyperlegible-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/atkinsonhyperlegible-regular-webfont.woff2') format('woff2'),
         url('fonts/atkinsonhyperlegible-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    }
    /* TITRE*/

    @font-face {
    font-family: 'londrina_solidregular';
    src: url('fonts/londrinasolid-regular-webfont.eot');
    src: url('fonts/londrinasolid-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/londrinasolid-regular-webfont.woff2') format('woff2'),
         url('fonts/londrinasolid-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}


body{

  font-family: 'atkinson_hyperlegibleregular', sans-serif;


    /* 1.125rem = 18px si la base navigateur est à 16px */
    font-size: 1.125rem;

    /* Interligne relatif (sans unité) : 1.6 est idéal pour le 18px */
    /* Cela donne 18px * 1.6 = 28.8px d'espace entre les lignes */
    line-height: 1.6;

    font-weight: 400;

    /* Un noir "anthracite" pour éviter la fatigue visuelle (contraste excessif) */
    color: #1a1a1a;

    /* Optimisation du rendu des polices sur tous les navigateurs */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

}

/* 1. Style commun à TOUS les titres */
h1, h2, h3, h4, h5, h6 {
    font-family: 'londrina_solidregular', sans-serif;
    font-weight: 900;
    line-height: 1.1;
    color: #000;
}

/* 2. Le titre principal (très grand) */
h1 {
    font-size: 2.5rem; /* 40px */
    margin-bottom: 1.5rem;
}

/* 3. Tous les autres titres (taille identique) */
h2, h3, h4, h5, h6 {
    font-size: 1.75rem; /* 28px - Un bon compromis pour du Londrina */
    margin-bottom: 1rem;
    margin-top: 2rem;   /* Pour bien séparer les sections */
}
