/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.0.3
*/

:root {
    --yp-font-titre: 'Juana', serif;
    --yp-font-texte: 'Qualion', sans-serif;
    --yp-couleur-titre: #582308;
}

body {
    font-family: var(--yp-font-texte);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--yp-font-titre);
    text-wrap: balance;
}

.elementor h1.e-heading-base,
.elementor h2.e-heading-base,
.elementor h3.e-heading-base,
.elementor h4.e-heading-base,
.elementor h5.e-heading-base,
.elementor h6.e-heading-base {
    color: var(--yp-couleur-titre);
}



.site-navigation a {
    font-family: var(--yp-font-texte); /* remplace ta règle actuelle */
}



/* POLICES */

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

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



/* BOUTONS */

.elementor .e-button-base {
    font-family: var(--yp-font-titre);
    font-weight: 300;
}



/* NAVBAR */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-navigation-dropdown ul.menu li a {
    background-color: #FAFAF1;
    color: #974A3D;
}

.site-navigation-dropdown ul.menu li.current-menu-item a {
    background-color: #974A3D;
    color: #FAFAF1;
}

.site-navigation-dropdown ul.menu li a:active {
    background-color: #974A3D;
    color: #FAFAF1;
}



/* FOOTER */
.yp-footer {
    /* À adapter : mets les couleurs du site ici, en un seul endroit */
    --yp-footer-bg: #F2D3C1;;
    --yp-footer-text: #333333;
    --yp-footer-hover: #000000;

    background: var(--yp-footer-bg);
    color: var(--yp-footer-text);
    padding: 2.5rem 1.5rem;
}

.yp-footer__inner {
    display: flex;
    flex-direction: column;   /* mobile : tout empilé */
    align-items: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin-inline: auto;
    text-align: center;
}

/* Reset des listes (plus de puces) */
.yp-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Liens : couleur héritée, hover et focus clavier */
.yp-footer a {
    color: var(--yp-footer-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.yp-footer a:hover,
.yp-footer a:focus-visible {
    color: var(--yp-footer-hover);
}

.yp-footer a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

/* Réseaux sociaux */
.yp-footer__social {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
}

.yp-footer__social a {
    display: block;
    color: #333333;
}

.yp-footer__social a:hover,
.yp-footer__social a:focus-visible {
    color: #974b3e;
}

.yp-footer__social a:focus-visible {
    outline-color: #333333;
}

.yp-footer__social svg {
    display: block;
    width: 2.5rem;
    height: 2.5rem;
}

/* Liens légaux */
.yp-footer__legal ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
}

.yp-footer__legal a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Copyright */
.yp-footer__copy {
    margin: 0;
    font-size: 0.875rem;
}

/* Desktop : trois blocs sur une ligne */
@media (min-width: 768px) {
    .yp-footer__inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}



/* LE STUDIO */
.elementor .elementor-widget-text-editor {
    font-family: var(--yp-font-texte);
    color: #974A3D;
}

/* ACCUEIL */

#h1-accueil {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}