/*
Theme Name:   EUF
Theme URI:    https://example.com/
Description:  Child theme for Twenty Twenty-Five
Author:       YNY Solutions Inc.
Author URI:   https://example.com/
Template:     twentytwentyfive
Version:      1.0.1
Text Domain:  euf
*/

/* CSS Variables */
:root {
    /* Padding */
    --padding-section: 80px 0 100px 0;
    --padding-section-tablet: 60px 40px 80px 40px;
    --padding-section-mobile: 40px 16px 40px 16px;

    /* Font */
    --font-family-primary: 'Albert Sans', sans-serif;

    /* Typography */

    /* Paragraph */
    --p-font-size: 18px;
    --p-line-height: 24px;

    /* Préambule */
    --preambule-font-size: 24px;
    --preambule-line-height: 1.3;

    /* Headings */
    --h1-desktop-font-size: 38px;
    --h1-desktop-line-height: 1.5;

    --h2-desktop-font-size: 28px;
    --h2-desktop-line-height: 1.5;

    --h2-accueil-font-size: 38px;
    --h2-accueil-line-height: 1.5;

    --h3-desktop-font-size: 22px;
    --h3-desktop-line-height: 31px;

    --h3-accueil-font-size: 26px;
    --h3-accueil-line-height: 31px;

    --h4-desktop-font-size: 18px;
    --h4-desktop-line-height: 24px;

    /* Mobile Typography */

    /* Paragraph */
    --mobile-p-font-size: 15px;
    --mobile-p-line-height: 20px;

    /* Préambule */
    --mobile-preambule-font-size: 18px;
    --mobile-preambule-line-height: normal;

    /* H1 */
    --mobile-h1-page-font-size: 32px;
    --mobile-h1-page-line-height: normal;

    --mobile-h1-font-size: 26px;
    --mobile-h1-line-height: 34px;

    /* H2 */
    --mobile-h2-font-size: 20px;
    --mobile-h2-line-height: 26px;

    --mobile-h2-accueil-font-size: 24px;
    --mobile-h2-accueil-line-height: 31px;

    --mobile-h2-page-font-size: 28px;
    --mobile-h2-page-line-height: 36px;

    --mobile-h2-card-font-size: 17px;
    --mobile-h2-card-line-height: 22px;

    /* H3 */
    --mobile-h3-font-size: 18px;
    --mobile-h3-line-height: 1.5;

    --mobile-h3-accueil-font-size: 20px;

    /* Gradients */
    --gradient-beige: linear-gradient(180deg, #F2E9DA 0%, white 100%);
    --gradient-mauve: linear-gradient(180deg, #C8C8DB 0%, white 100%);
    --gradient-cyan: linear-gradient(180deg, rgba(79, 174, 176, 0.3) 0%, rgba(79, 174, 176, 0) 100%);
    --gradient-orange: linear-gradient(180deg, rgba(244, 150, 53, 0.3) 0%, rgba(244, 150, 53, 0) 100%);
    --gradient-rouge: linear-gradient(180deg, rgba(243, 171, 150, 0.3) 0%, rgba(243, 171, 150, 0) 100%);
    --gradient-vert: linear-gradient(180deg, rgba(139, 227, 195, 0.3) 0%, rgba(139, 227, 195, 0) 100%);
    --gradient-bleu: linear-gradient(180deg, rgba(171, 203, 235, 0.3) 0%, rgba(171, 203, 235, 0) 100%);
}

#wpadminbar {
    z-index: 200000 !important;
}

/* Focus : aucun contour au clic, anneau visible uniquement au Tab (clavier) */
:focus {
    outline: none !important;
    box-shadow: none !important;
}

:focus-visible {
    outline: 2px solid white !important;
    box-shadow: inset 0 0 0 2px black !important;
}

figure a {
    display: inline-block;
}

figure a:focus-visible {
    outline: 2px solid white;
    box-shadow: inset 0 0 0 2px black;

    img {
        outline: auto !important;
    }
}

html {
    scroll-behavior: smooth;
}



body {
    font-family: var(--font-family-primary);
    font-size: var(--p-font-size);
    line-height: var(--p-line-height);
    color: black;
    font-weight: 400;

    @media (max-width: 744px) {
        font-size: var(--mobile-p-font-size);
        line-height: var(--mobile-p-line-height);
    }
}


a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
}

strong {
    font-weight: 600;
}

h1 {
    font-size: var(--h1-desktop-font-size);
    line-height: var(--h1-desktop-line-height);
    font-weight: 600;

    @media (max-width: 744px) {
        font-size: var(--mobile-h1-font-size);
        line-height: var(--mobile-h1-line-height);
    }
}

h2 {
    font-size: var(--h2-desktop-font-size);
    line-height: var(--h2-desktop-line-height);
    font-weight: 600;

    @media (max-width: 744px) {
        font-size: var(--mobile-h2-font-size);
        line-height: var(--mobile-h2-line-height);
        text-align: center;
        font-weight: 700;
    }
}

h3 {
    font-size: var(--h3-desktop-font-size);
    line-height: var(--h3-desktop-line-height);
    font-weight: 600;

    @media (max-width: 744px) {
        font-size: var(--mobile-h3-font-size);
        line-height: var(--mobile-h3-line-height);
    }
}

h4 {
    font-size: var(--h4-desktop-font-size);
    line-height: var(--h4-desktop-line-height);
    font-weight: 600;

    @media (max-width: 744px) {
        font-size: var(--mobile-h4-font-size);
        line-height: var(--mobile-h4-line-height);
    }
}

.preambule {
    font-size: var(--preambule-font-size);
    line-height: var(--preambule-line-height);
    max-width: 920px;
    margin: 0 auto 84px !important;

    @media (max-width: 744px) {
        font-size: var(--mobile-preambule-font-size);
        line-height: var(--mobile-preambule-line-height);
        margin-bottom: 40px !important;
    }
}

ul,
li {
    margin: 0;
}

/* Navigation Menu Responsive Fixes */
@media (max-width: 744px) {
    .wp-block-navigation__responsive-container-open {
        display: block !important;
    }

    .wp-block-navigation__responsive-container:not(.is-menu-open) {
        display: none !important;
    }
}




sup{
    font-size: 12px;
}

/* Complianz custom styles */

/* Hide Complianz manage consent button */
.cmplz-btn.cmplz-manage-consent.cmplz-show {
    display: none !important;
}

.cmplz-header{
    display: flex !important;
    .cmplz-title{
        font-size: 18px !important;
    }
}
.cmplz-close{
    display: none !important;
}
.cmplz-cookiebanner{
    padding: 16px 20px 10px 20px !important;
    box-shadow: 4px 4px 6px 0px #33333380;
}
.cmplz-cookiebanner .cmplz-message p, 
.cmplz-link.privacy-statement{
    font-size: 15px !important;
    line-height: 20px !important;
    margin: 0 !important;
}

.cmplz-buttons .cmplz-btn.cmplz-accept {
    color: black !important;
    background-color: #F2E9DA !important;
    border: 1px solid #F2E9DA !important;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.cmplz-buttons .cmplz-btn.cmplz-accept:hover {
    color: black !important;
    background-color: #E6D8C4 !important;
    border: 1px solid #E6D8C4 !important;
}
@media (min-width: 768px) {
    .cmplz-buttons .cmplz-deny {
        margin-right: auto !important;
    }
}

.cmplz-buttons .cmplz-btn {
    color: black !important;
    background-color: white !important;
    border: 1px solid #F2E9DA !important;
    border-radius: 6px !important;
    padding: 8px 26px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    font-family: 'Inter', sans-serif !important;
    height: auto !important;
    width: auto !important;
    transition: all 0.2s ease;
}

.cmplz-buttons .cmplz-btn:hover {
    color: black !important;
    background-color: #E6D8C4 !important;
    border: 1px solid #E6D8C4 !important;
}

.cmplz-links.cmplz-documents{
    justify-content: left !important;
}
.cmplz-cookiebanner .cmplz-links ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: flex !important;
    gap: 10px !important;
    justify-content: center !important;
}
.cmplz-link.privacy-statement {
    color: black !important;
    font-size: 14px !important;
    margin-top: 5px !important;
}



@media (min-width: 768px) {
    .cmplz-cookiebanner {
        min-width: 500px !important;
        max-width: 550px !important;
    }
}