/*
Theme Name: Pragma Suisse
Template: generatepress
Version: 1.0.0
Description: L'Entrepreneur Pragmatique — Marketing Digital & Transformation Numérique
*/

/* ─── Berry Vivid Palette Variables ─── */
:root {
    --color-primary: #7C3AED;
    --color-secondary: #A78BFA;
    --color-accent: #8B5CF6;
    --color-accent-warm: #F0ECF8;
    --color-surface: #F5F3FF;
    --color-background: #FFFFFF;
    --color-text: #1E1B4B;
    --color-text-secondary: #6B7280;
    --color-border: #E9E5F5;
}

/* ─── Font Foundations ─── */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    color: #1E1B4B;
    background-color: #FFFFFF;
}

h1, h2, h3, h4, h5, h6,
.entry-title, .widget-title, .page-title, .site-title {
    font-family: 'Bitter', Georgia, serif;
    font-weight: 700;
    color: #1E1B4B;
}

/* ─── Links ─── */
a, a:visited {
    color: #7C3AED;
}
a:hover {
    color: #5B21B6;
    text-decoration: underline;
}

/* ─── Compact-tagline hero (required by hero-render.cjs) ─── */
.compact-tagline-hero {
    background: linear-gradient(180deg, #F0ECF8 0%, #FFFFFF 100%);
    padding: 3rem 1.5rem 2rem;
    text-align: center;
    border-bottom: 1px solid #E9E5F5;
}
.compact-tagline-hero .site-h1 {
    font-family: 'Bitter', Georgia, serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: #1E1B4B;
    font-weight: 700;
    line-height: 1.3;
    max-width: 800px;
    margin: 0 auto 0.75rem;
}
.compact-tagline-hero .hero-section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #7C3AED;
    margin-bottom: 0.5rem;
}

/* ─── Section heading on homepage ─── */
.home-section-heading {
    font-family: 'Bitter', Georgia, serif;
    font-size: 1.5rem;
    color: #1E1B4B;
    border-bottom: 2px solid #7C3AED;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* ─── Left sidebar (sig-B) ─── */
.widget-area {
    background-color: #FAFAFA;
}
.widget-area .widget {
    background: #FFFFFF;
    border: 1px solid #E9E5F5;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1.25rem;
}
.widget-area .widget-title {
    font-family: 'Bitter', Georgia, serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1E1B4B;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #7C3AED;
}

/* ─── Search widget ─── */
.search-field,
.wp-block-search__input {
    border: 1px solid #E9E5F5;
    border-radius: 4px;
    padding: 8px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9em;
    width: 100%;
    background: #FFFFFF;
    color: #1E1B4B;
}
.search-submit,
.wp-block-search__button {
    background: #7C3AED;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9em;
    cursor: pointer;
    margin-top: 6px;
}
.search-submit:hover,
.wp-block-search__button:hover {
    background: #5B21B6;
}
/* Fix GP mobile header hiding search in toggled state */
.toggled .menu li.search-item { display: block !important; }

/* ─── 2-col-light footer ─── */
.site-footer {
    background-color: #F5F3FF;
    border-top: 1px solid #E9E5F5;
    color: #1E1B4B;
}
.site-footer a {
    color: #7C3AED;
}
.site-footer a:hover {
    color: #5B21B6;
}
.footer-widgets-container .widget-title {
    color: #1E1B4B;
    font-family: 'Bitter', Georgia, serif;
    font-weight: 700;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer-bar {
    background-color: #F5F3FF;
    border-top: 1px solid #E9E5F5;
    color: #6B7280;
    font-size: 0.85em;
}

/* ─── Buttons ─── */
.wp-block-button__link,
button,
input[type=submit],
.button,
.fl-btn {
    background-color: #7C3AED;
    color: #ffffff;
    border-radius: 4px;
}
.wp-block-button__link:hover,
button:hover,
input[type=submit]:hover,
.button:hover {
    background-color: #5B21B6;
}
body button.wpforms-submit,
body .wpcf7-submit,
body .ff-btn-submit {
    background-color: #7C3AED !important;
    color: #ffffff !important;
}
body button.wpforms-submit:hover,
body .wpcf7-submit:hover,
body .ff-btn-submit:hover {
    background-color: #5B21B6 !important;
}

/* ─── Post cards ─── */
.inside-article {
    background: #FFFFFF;
    border: 1px solid #E9E5F5;
    border-radius: 4px;
}
.entry-meta, .entry-footer {
    font-size: 0.85em;
    color: #6B7280;
}
.entry-meta a, .entry-footer a {
    color: #7C3AED;
}
.read-more {
    color: #7C3AED;
    font-weight: 600;
}

/* ─── Category labels / badges ─── */
.cat-label {
    display: inline-block;
    background: #F0ECF8;
    color: #7C3AED;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: 0.4rem;
}

/* ─── Avatar circle on About page ─── */
.avatar-circle img,
.persona-avatar img {
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #7C3AED;
}

/* ─── Breadcrumbs ─── */
.rank-math-breadcrumb {
    font-size: 0.85em;
    color: #6B7280;
    margin-bottom: 1rem;
}
.rank-math-breadcrumb a {
    color: #7C3AED;
}

/* ─── GP Dynamic CSS override for button colour ─── */
body .wp-block-button__link { background-color: #7C3AED; }

/* ─── Nav breakpoint = 768 (brief §10) handled via GP option ─── */
