/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* ===========================
   Polices locales Lueurs Tissées
   =========================== */

@font-face {
  font-family: 'Marck Script';
  src: url('fonts/MarckScript-Regular.woff2') format('woff2'),
       url('fonts/MarckScript-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Cormorant Garamond */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-Regular.woff2') format('woff2'),
       url('fonts/CormorantGaramond-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-SemiBold.woff2') format('woff2'),
       url('fonts/CormorantGaramond-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Quicksand */
@font-face {
  font-family: 'Quicksand';
  src: url('fonts/Quicksand-Light.woff2') format('woff2'),
       url('fonts/Quicksand-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Quicksand';
  src: url('fonts/Quicksand-Regular.woff2') format('woff2'),
       url('fonts/Quicksand-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Quicksand';
  src: url('fonts/Quicksand-Medium.woff2') format('woff2'),
       url('fonts/Quicksand-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Quicksand';
  src: url('fonts/Quicksand-SemiBold.woff2') format('woff2'),
       url('fonts/Quicksand-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ===========================
   Application des polices locales
   =========================== */

/* Titres principaux */
h1 {
  font-family: 'Marck Script', cursive;
  font-size: 40px;
  font-weight: 700;
}

/* Titres secondaires */
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 35px;
  font-weight: 700;
}

/* Sous-titres */
h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 700;
}

/* Texte courant */
body,
p,
li,
td {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
}

/* Texte accentué */
.emphasis,
strong em,
em.important {
  font-family: 'Quicksand', sans-serif;
  font-size: 15px;
  font-weight: 400;
  font-style: italic;
}

/* Légendes */
.caption,
figcaption,
.small-text {
  font-family: 'Quicksand', sans-serif;
  font-size: 15px;
  font-weight: 400;
}

/* Liens au survol */
a:hover,
a:focus {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  text-decoration: underline;
}
/* Menu principal (en-tête) */
.header-navigation .menu-item a {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
}

/* Menu principal Blocksy */
.header-navigation .menu-item a {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
}

/* Pied de page Blocksy */
.footer,
.footer-widgets,
.footer-bottom,
.footer a,
.footer p {
  font-family: 'CormorantGaramond-Regular', serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
}
/* Menu mobile Blocksy */
.ct-mobile-menu .menu-item a,
.ct-mobile-menu .ct-menu-item a,
.mobile-menu-offcanvas .menu-item a,
.offcanvas-navigation .menu-item a,
.offcanvas-content .menu-item a,
.offcanvas-content .ct-menu-item a,
.ct-header-mobile .menu-item a {
    font-family: "Cormorant Garamond", serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
}
/* Forcer la typo sur les liens du menu mobile (classe menu-link) */
body.mobile-menu-open .menu-link,
.offcanvas-content .menu-link,
.ct-mobile-menu .menu-link,
.ct-header-mobile .menu-link,
.mobile-menu-offcanvas .menu-link,
.offcanvas-navigation .menu-link {
    font-family: "Cormorant Garamond", serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    -webkit-font-smoothing: antialiased !important;
    text-transform: none !important;
    color: inherit !important;
}
