:root {
    --bg: #f7f9ff;
    --bg-card: #ffffff;
    --accent: #7a66c9;  /* violet logo */
    --accent-soft: #e2ddf8;
    --accent-soft-2: #d6f1e5; /* vert très doux */
    --text-main: #232334;
    --text-muted: #6a6c82;
    --border-soft: #dde0f0;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-soft: 0 18px 40px rgba(13, 20, 60, 0.12);
    --transition-fast: 0.25s ease;
    --max-width: 960px;
}

/* Layout général */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    background: radial-gradient(circle at top left, #e6e8ff, #f7f9ff 55%);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

.page {
    width: 100%;
    max-width: var(--max-width);
    padding: 24px 18px 40px;
}

/* HEADER */

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 22px;
}

.brand-psy {
    display: flex;
    align-items: center;
    gap: 14px;
}



.brand-logo-psy img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-text-psy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.brand-name {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 16px;
}

.brand-role,
.brand-location {
    font-size: 12px;
    color: var(--text-muted);
}

/* NAV */

.main-nav-psy {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-link-psy {
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    text-decoration: none;
    color: var(--text-muted);
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: background var(--transition-fast),
                color var(--transition-fast),
                border var(--transition-fast),
                transform var(--transition-fast);
}

.nav-link-psy:hover {
    background: #ffffff;
    border-color: var(--border-soft);
    color: var(--text-main);
}

.nav-link-psy.active {
    background: var(--accent-soft);
    border-color: rgba(122, 102, 201, 0.7);
    color: var(--text-main);
    transform: translateY(-1px);
}

/* CARD PRINCIPALE */

.content-psy {
    background: radial-gradient(circle at top left, #ffffff, #f1f3ff);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    padding: 24px 22px 26px;
}

/* TITRES / TEXTES */
.row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    padding: 5px;
}

.col {
    background: var(--bg-alt);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(12, 16, 40, 0.05);
    box-shadow: 0 6px 16px rgba(12, 16, 40, 0.08);
}

.justifie {
    text-align: justify;
}

h1, h2, h3 {
    margin: 0 0 10px;
    font-weight: 600;
}

h1 {
    font-size: 22px;
}

h2 {
    font-size: 18px;
}

p, ul {
    margin: 0 0 10px;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 14px;
}

img {
    max-width: 100%;
    height: auto;
}

.img-center {
    text-align: center;
}

strong {
    font-weight: 600;      /* un peu moins que bold si tu veux */
}

.souligne {
    text-decoration: underline;
}

/* SOCIAL */

.site-header {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto auto;
    align-items: center;
    gap: 16px;
}

.social-psy {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.social-link-psy {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1877f2;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
    box-shadow: 0 8px 18px rgba(24, 119, 242, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.social-link-psy:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(24, 119, 242, 0.6);
    filter: brightness(1.05);
}

/* Responsive : passer le header en colonne sur mobile */

@media (max-width: 820px) {
    .site-header {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }

    .social-psy {
        justify-content: flex-start;
    }
}

/* SECTIONS SPECIFIQUES */

.section-intro {
    margin-bottom: 20px;
}

.section-two-cols {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 18px;
    margin-top: 8px;
}

.panel-psy {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    padding: 14px 14px 16px;
}

/* LISTES */

.list-soft {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}

.list-soft li {
    margin-bottom: 6px;
    padding-left: 18px;
    position: relative;
    font-size: 14px;
    color: var(--text-muted);
}

.list-soft li::before {
    content: "•";
    position: absolute;
    left: 3px;
    top: 0;
    color: var(--accent);
}

/* FORMULAIRE CONTACT SIMPLE */

.contact-form {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.contact-form label {
    font-size: 13px;
    color: var(--text-main);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 8px 9px;
    border-radius: 8px;
    border: 1px solid var(--border-soft);
    background: #ffffff;
    font-size: 13px;
    font-family: inherit;
    color: var(--text-main);
    outline: none;
    transition: border var(--transition-fast),
                box-shadow var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(122, 102, 201, 0.35);
}

.btn-psy {
    border-radius: 999px;
    border: none;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    background: linear-gradient(135deg, #7a66c9, #6fc1d7);
    color: #fff;
    box-shadow: 0 10px 24px rgba(122, 102, 201, 0.45);
    justify-self: flex-start;
    transition: transform var(--transition-fast),
                box-shadow var(--transition-fast),
                filter var(--transition-fast);
}

.btn-psy:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(122, 102, 201, 0.6);
    filter: brightness(1.05);
}

.site-footer-psy {
    margin-top: 16px;
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
}

/* RESPONSIVE */

@media (max-width: 820px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .content-psy {
        padding: 20px 18px 22px;
    }

    .section-two-cols {
        grid-template-columns: 1fr;
    }
}