/* ==========================================================================
   Passion Riquet Widgets — Design System
   ========================================================================== */

/* ---------- Variables ---------- */
:root {
    --pr-bordeaux: #8f2635;
    --pr-bordeaux-dark: #641b13;
    --pr-bordeaux-very-dark: #4a130d;
    --pr-or: #dcad49;
    --pr-beige: #f3efea;
    --pr-noir: #2c2828;
    --pr-text: #463f3f;
    --pr-muted: #8a8383;
    --pr-blanc: #ffffff;
    --pr-font-heading: 'Chillax', sans-serif;
    --pr-font-body: 'Poppins', sans-serif;
    --pr-radius: 6px;
    --pr-radius-pill: 100px;
    --pr-shadow-light: 0 30px 60px -20px rgba(100, 27, 19, 0.25);
    --pr-shadow-dark: 0 30px 60px -20px rgba(0, 0, 0, 0.4);
    --pr-pad: 48px;
    --pr-max-w: 1280px;

    /* Spacing (shared with theme member area) */
    --pr-spacing-xs: 0.5rem;
    --pr-spacing-sm: 1rem;
    --pr-spacing-md: 2rem;
    --pr-spacing-lg: 4rem;
    --pr-spacing-xl: 6rem;
    --pr-transition: 0.3s ease;
    --pr-radius-lg: 8px;
    --pr-or-dark: #b8922e;
    --pr-bordeaux-light: #a83345;
}

/* ---------- @font-face ---------- */
@font-face {
    font-family: 'Chillax';
    src: url('../fonts/chillax-light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Chillax';
    src: url('../fonts/chillax-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Chillax';
    src: url('../fonts/chillax-regular.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Chillax';
    src: url('../fonts/chillax-bold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Chillax';
    src: url('../fonts/chillax-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-regular.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-regular.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* ---------- Full-width force ---------- */
[class*="elementor-widget-pr-"] > .elementor-widget-container {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ---------- Eyebrow / Label ---------- */
.pr-eyebrow {
    font-family: var(--pr-font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--pr-bordeaux);
    margin: 0 0 18px;
}
.pr-eyebrow--gold {
    color: var(--pr-or);
}
.pr-eyebrow--hero {
    letter-spacing: 0.28em;
    font-weight: 500;
}

/* ---------- Headings ---------- */
.pr-heading {
    font-family: var(--pr-font-heading);
    font-weight: 600;
    line-height: 1.12;
    color: var(--pr-noir);
    margin: 0 0 24px;
}
.pr-heading--h1 {
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 700;
    line-height: 1.05;
    color: var(--pr-beige);
    max-width: 18ch;
}
.pr-heading--h2 {
    font-size: clamp(32px, 3.4vw, 46px);
}
.pr-heading--h2-sm {
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.15;
}
.pr-heading--light {
    color: var(--pr-beige);
}

/* ---------- Body text ---------- */
.pr-body {
    font-family: var(--pr-font-body);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.75;
    color: var(--pr-text);
    margin: 0 0 20px;
}
.pr-body--light {
    color: rgba(243, 239, 234, 0.75);
}
.pr-body--hero {
    font-size: 22px;
    line-height: 1.6;
    color: rgba(243, 239, 234, 0.85);
    max-width: 640px;
    margin: 28px 0 40px;
}

/* ---------- Buttons ---------- */
.pr-btn {
    display: inline-block;
    font-family: var(--pr-font-body);
    font-size: 16.5px;
    padding: 17px 36px;
    border-radius: var(--pr-radius-pill);
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    border: none;
    line-height: 1;
}
.pr-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}
.pr-btn--filled {
    background: var(--pr-or);
    color: var(--pr-bordeaux-very-dark);
    font-weight: 600;
}
.pr-btn--outline {
    background: transparent;
    color: var(--pr-beige);
    font-weight: 500;
    border: 1.5px solid rgba(243, 239, 234, 0.5);
}
.pr-btn--outline-bordeaux {
    background: transparent;
    color: var(--pr-bordeaux);
    font-weight: 500;
    border: 1.5px solid var(--pr-bordeaux);
    font-size: 13px;
    padding: 8px 20px;
}
.pr-btn-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.pr-btn-row--center {
    justify-content: center;
}

/* ---------- Chips / Badges ---------- */
.pr-chip {
    display: inline-block;
    background: rgba(220, 173, 73, 0.12);
    color: var(--pr-or);
    font-family: var(--pr-font-body);
    font-size: 13px;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: var(--pr-radius-pill);
    border: 1px solid rgba(220, 173, 73, 0.3);
}

/* ---------- Stats ---------- */
.pr-stats {
    display: flex;
    gap: 44px;
    flex-wrap: wrap;
}
.pr-stat__number {
    font-family: var(--pr-font-heading);
    font-size: 40px;
    font-weight: 700;
    color: var(--pr-bordeaux);
    margin: 0;
    line-height: 1.1;
}
.pr-stat__label {
    font-family: var(--pr-font-body);
    font-size: 14.5px;
    color: var(--pr-text);
    margin: 6px 0 0;
    letter-spacing: 0.02em;
}

/* ---------- Section base ---------- */
.pr-section {
    width: 100%;
}

/* ---------- Cards ---------- */
.pr-card {
    background: var(--pr-blanc);
    border: 1px solid rgba(143, 38, 53, 0.1);
    border-radius: var(--pr-radius);
    padding: 28px 20px;
    text-align: center;
}
.pr-card__icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 16px;
    display: block;
}
.pr-card__icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--pr-bordeaux);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.pr-card__icon img {
    width: 32px;
    height: 32px;
    opacity: 0.85;
}
.pr-card__label {
    font-family: var(--pr-font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--pr-noir);
    margin: 0;
}

/* ---------- Footer ---------- */
.pr-footer {
    padding: 80px var(--pr-pad) 40px;
    background: var(--pr-beige);
}
.pr-footer__grid {
    max-width: var(--pr-max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(143, 38, 53, 0.15);
}
.pr-footer__logo {
    height: 40px;
    width: auto;
    margin-bottom: 20px;
    display: block;
}
.pr-footer__desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--pr-text);
    max-width: 280px;
    margin: 0;
}
.pr-footer__col-title {
    font-family: var(--pr-font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pr-bordeaux);
    margin: 0 0 18px;
}
.pr-footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.pr-footer__links a,
.pr-footer__links p {
    font-size: 14px;
    color: var(--pr-text);
    text-decoration: none;
    margin: 0;
}
.pr-footer__links a:hover {
    color: var(--pr-bordeaux);
}
.pr-footer__copyright {
    max-width: var(--pr-max-w);
    margin: 28px auto 0;
    font-size: 12.5px;
    color: var(--pr-muted);
    text-align: center;
}

/* ---------- Global body reset ---------- */
body {
    margin: 0;
    background: var(--pr-beige);
    font-family: var(--pr-font-body);
    color: var(--pr-noir);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--pr-bordeaux); text-decoration: none; }
a:hover { color: var(--pr-bordeaux-dark); }

/* ---------- Fixed header bar ---------- */
.pr-header-fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(243, 239, 234, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(143, 38, 53, 0.12);
    transition: box-shadow 0.3s;
}
.pr-header-fixed.pr-header--scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.admin-bar .pr-header-fixed { top: 32px; }
@media (max-width: 782px) {
    .admin-bar .pr-header-fixed { top: 46px; }
}
.pr-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 48px;
    max-width: 100%;
    box-sizing: border-box;
}
.pr-header-fixed img {
    height: 44px !important;
    width: auto !important;
    max-width: none !important;
    max-height: 44px !important;
}
.pr-header-bar__nav {
    display: flex;
    align-items: center;
    gap: 36px;
}
.pr-header-bar__menu {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.pr-header-bar__menu li { margin: 0; padding: 0; }
.pr-header-bar__menu a {
    font-family: var(--pr-font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--pr-noir);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
    white-space: nowrap;
}
.pr-header-bar__menu a:hover,
.pr-header-bar__menu .current-menu-item > a {
    color: var(--pr-bordeaux);
}
.pr-header-bar__cta {
    display: inline-block;
    font-family: var(--pr-font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--pr-bordeaux);
    border: 1.5px solid var(--pr-bordeaux);
    padding: 8px 20px;
    border-radius: 100px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}
.pr-header-bar__cta:hover {
    background: var(--pr-bordeaux);
    color: #fff;
}
.pr-header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    position: relative;
}
.pr-header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--pr-noir);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.pr-header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pr-header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.pr-header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.pr-header__mobile {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--pr-beige);
    z-index: 1001;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px;
}
.pr-header__mobile--open { display: flex; }
.pr-header__mobile-menu {
    list-style: none; padding: 0; margin: 0;
    text-align: center;
    display: flex; flex-direction: column; gap: 28px;
}
.pr-header__mobile-menu a {
    font-family: var(--pr-font-heading);
    font-size: 28px; font-weight: 600;
    color: var(--pr-noir); text-decoration: none;
}
body.pr-no-scroll { overflow: hidden; }
.pr-header-spacer { height: 80px; }

@media (max-width: 1024px) {
    .pr-header-bar { padding: 16px 24px; }
    .pr-header-bar__nav { display: none; }
    .pr-header__burger { display: flex; }
}

/* ---------- Skip link (a11y) ---------- */
.pr-skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pr-bordeaux);
    color: var(--pr-blanc);
    padding: 8px 16px;
    border-radius: var(--pr-radius);
    z-index: 9999;
    font-size: 14px;
    text-decoration: none;
}
.pr-skip-link:focus {
    top: 8px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    :root {
        --pr-pad: 32px;
    }

    .pr-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .pr-stats {
        gap: 32px;
    }
}

@media (max-width: 767px) {
    :root {
        --pr-pad: 20px;
    }

    .pr-heading--h1 {
        font-size: clamp(36px, 9vw, 56px);
    }

    .pr-heading--h2 {
        font-size: clamp(28px, 6vw, 36px);
    }

    .pr-body {
        font-size: 17px;
    }

    .pr-body--hero {
        font-size: 18px;
    }

    .pr-btn {
        font-size: 15px;
        padding: 14px 28px;
    }

    .pr-btn-row {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .pr-stats {
        flex-direction: column;
        gap: 24px;
    }

    .pr-stat__number {
        font-size: 32px;
    }

    .pr-footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .pr-chip {
        font-size: 12px;
        padding: 8px 14px;
    }
}
