/* ============================================
   CABINET DE PSYCHANALYSE — Theme
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #4A6C7E;
    --color-primary-dark: #3a5766;
    --color-secondary: #C4A882;
    --color-secondary-light: #d4c2a8;
    --color-bg: #FAFAF8;
    --color-bg-alt: #F0EDE8;
    --color-surface: #FFFFFF;
    --color-text: #2D3436;
    --color-text-light: #636E72;
    --color-text-muted: #95A5A6;
    --color-border: #E8E4DF;
    --color-accent: #8B7355;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
    --radius: 10px;
    --radius-lg: 16px;
    --transition: 0.25s ease;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --container: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Container */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* Sections */
.section {
    padding: 96px 0;
}
.section-alt {
    background: var(--color-bg-alt);
}
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}
.section-eyebrow {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-secondary);
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--color-text);
    margin-bottom: 16px;
}
.section-lead {
    font-size: 18px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-primary {
    background: var(--color-primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-border);
}
.btn-secondary:hover {
    border-color: var(--color-primary);
    background: rgba(74,108,126,0.04);
}
.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}
.btn-full {
    width: 100%;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250,250,248,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}
.header.scrolled {
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-primary);
}
.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-light);
    transition: color var(--transition);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width var(--transition);
}
.nav-link:hover {
    color: var(--color-text);
}
.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition);
}
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    padding: 160px 0 96px;
    background: linear-gradient(135deg, var(--color-bg) 0%, #f5f3ef 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196,168,130,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-eyebrow {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-secondary);
    margin-bottom: 16px;
}
.hero-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 500;
    line-height: 1.15;
    color: var(--color-text);
    margin-bottom: 24px;
}
.hero-lead {
    font-size: 18px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.hero-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--color-text-light);
}
.meta-item svg {
    flex-shrink: 0;
    color: var(--color-secondary);
}

/* Hero Image Placeholder */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
}
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transform: rotate(-3deg);
    z-index: 0;
}
.hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 1;
    display: block;
}

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 64px;
    align-items: center;
}
.about-image-wrapper {
    position: relative;
}
.about-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transform: rotate(2deg);
}
.about-image-placeholder {
    aspect-ratio: 3 / 4;
    background: linear-gradient(145deg, #e0dbd4 0%, #c9c2b8 100%);
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-image-placeholder::after {
    content: '';
    width: 64px;
    height: 64px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='1'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center no-repeat;
    opacity: 0.4;
}
.about-content .section-title {
    margin-bottom: 24px;
}
.about-text {
    color: var(--color-text-light);
    margin-bottom: 16px;
}
.about-text strong {
    color: var(--color-text);
    font-weight: 600;
}
.about-credentials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}
.credential {
    text-align: center;
}
.credential-number {
    display: block;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 500;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 6px;
}
.credential-label {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.4;
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all var(--transition);
}
.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--color-secondary-light);
}
.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--color-bg-alt);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.service-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--color-text);
}
.service-desc {
    color: var(--color-text-light);
    margin-bottom: 16px;
    font-size: 15px;
}
.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.service-list li {
    font-size: 14px;
    color: var(--color-text-light);
    padding-left: 20px;
    position: relative;
}
.service-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
}

/* ============================================
   METHOD
   ============================================ */
.method-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 64px;
    align-items: center;
}
.method-content .section-title {
    margin-bottom: 24px;
}
.method-text {
    color: var(--color-text-light);
    margin-bottom: 16px;
}
.method-text strong {
    color: var(--color-text);
    font-weight: 600;
}
.method-steps {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step strong {
    display: block;
    margin-bottom: 2px;
    color: var(--color-text);
}
.step p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.5;
}
.method-visual {
    position: relative;
}
.method-image-placeholder {
    aspect-ratio: 4 / 5;
    background: linear-gradient(145deg, #d8d3cc 0%, #c4bdb2 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.method-image-placeholder::after {
    content: '';
    width: 64px;
    height: 64px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='1'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E") center no-repeat;
    opacity: 0.4;
}

/* ============================================
   TRUST
   ============================================ */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.trust-item {
    text-align: center;
    padding: 32px 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}
.trust-item:hover {
    box-shadow: var(--shadow-md);
}
.trust-item svg {
    color: var(--color-primary);
    margin: 0 auto 16px;
}
.trust-item h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-text);
}
.trust-item p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* ============================================
   INFO / PRICING
   ============================================ */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.info-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.info-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--color-text);
}
.price-highlight {
    margin-bottom: 16px;
}
.price {
    display: block;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 500;
    color: var(--color-primary);
    line-height: 1.2;
}
.price-label {
    font-size: 14px;
    color: var(--color-text-light);
}
.info-note {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}
.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.info-list li {
    font-size: 15px;
    color: var(--color-text-light);
    padding-left: 20px;
    position: relative;
}
.info-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
}
.info-list-check li::before {
    content: '✓';
    color: var(--color-primary);
    font-weight: 600;
}
.info-hours {
    font-size: 16px;
    color: var(--color-text);
    margin-bottom: 12px;
    line-height: 1.5;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 64px;
    align-items: start;
}
.contact-content .section-title {
    margin-bottom: 16px;
}
.contact-lead {
    color: var(--color-text-light);
    margin-bottom: 40px;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.contact-item svg {
    flex-shrink: 0;
    color: var(--color-primary);
    margin-top: 2px;
}
.contact-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 2px;
}
.contact-value {
    font-size: 15px;
    color: var(--color-text);
    font-weight: 500;
}
.contact-siret {
    font-size: 13px;
    color: var(--color-text-muted);
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-sm);
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    border: 1.5px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-bg);
    color: var(--color-text);
    transition: border-color var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    background: var(--color-surface);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.form-disclaimer {
    font-size: 12px;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 4px;
}
.form-message-success,
.form-message-error {
    display: none;
    padding: 16px;
    border-radius: 8px;
    margin-top: 12px;
    text-align: center;
}
.form-message-success {
    background: rgba(107, 142, 90, 0.1);
    color: #4a7c3f;
}
.form-message-error {
    background: rgba(192, 57, 43, 0.08);
    color: #a93226;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-text);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 32px;
}
.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.footer-brand .logo {
    color: #fff;
    margin-bottom: 8px;
    display: inline-block;
}
.footer-brand p {
    font-size: 15px;
}
.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-links a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    transition: color var(--transition);
}
.footer-links a:hover {
    color: #fff;
}
.footer-legal {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,0.5);
}
.footer-legal strong {
    color: rgba(255,255,255,0.8);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .hero-inner,
    .about-grid,
    .method-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero-visual,
    .about-image-wrapper,
    .method-visual {
        order: -1;
        max-width: 480px;
        margin: 0 auto;
    }
    .services-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 40px;
    }
    .section-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-bg);
        border-bottom: 1px solid var(--color-border);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        transform: translateY(-150%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        box-shadow: var(--shadow-md);
    }
    .nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .menu-toggle {
        display: flex;
    }
    .hero {
        padding: 120px 0 64px;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .section {
        padding: 64px 0;
    }
    .about-credentials {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .trust-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-wrapper {
        padding: 28px;
    }
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}
