/* ProfChantal.ca - feuille de style principale
   Version 11 : profil enrichi + LinkedIn + accents bleu marine sobres */
:root {
    --navy: #0F2747;
    --navy-deep: #0A1D36;
    --navy-medium: #1E3A5F;
    --gold: #C8A96B;
    --gold-dark: #A8843B;

    /* Fonds conservés dans l'esprit de la version 8 */
    --bg: #f7f3ee;
    --surface: #ffffff;
    --surface-soft: #fbf8f4;
    --surface-warm: #fbf3ec;

    --text: #2d2520;
    --muted: #6b5d55;
    --accent: var(--navy);
    --accent-dark: var(--navy-deep);
    --border: #e5d8ce;
    --border-gold: rgba(200, 169, 107, 0.42);
    --shadow: 0 18px 45px rgba(52, 35, 26, 0.10);
    --shadow-navy: 0 12px 28px rgba(15, 39, 71, 0.12);
    --radius: 22px;
    --max-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

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

a {
    color: var(--navy);
    text-decoration: none;
}

a:hover,
a:focus { text-decoration: underline; }

.container {
    width: min(100% - 2rem, var(--max-width));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    color: var(--navy);
    font-weight: 700;
}

.brand:hover,
.brand:focus { text-decoration: none; }

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-right: 0.75rem;
    color: var(--gold);
    background: var(--navy);
    border: 1px solid rgba(200, 169, 107, 0.55);
    border-radius: 50%;
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 22px rgba(15, 39, 71, 0.14);
}

.brand-text {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 0.85rem;
    border-radius: 999px;
    color: var(--navy);
    font-size: 0.95rem;
    font-weight: 600;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--navy-deep);
    background: var(--surface-soft);
    text-decoration: none;
}

.nav-link.active {
    color: #fff;
    background: var(--navy);
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(200, 169, 107, 0.35);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: var(--navy);
    border-radius: 999px;
    content: "";
}

.hamburger::before { transform: translateY(-7px); }
.hamburger::after { transform: translateY(5px); }

main { min-height: calc(100vh - 180px); }

h1, h2, h3, h4 {
    font-family: "Playfair Display", Georgia, serif;
    color: var(--navy);
    line-height: 1.18;
    margin: 0 0 1rem;
}

p { margin: 0 0 1rem; }

ul {
    margin-top: 0.3rem;
    margin-bottom: 1.4rem;
    padding-left: 1.35rem;
}

li + li { margin-top: 0.45rem; }

.hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, #fbf7f2 0%, #f0e3d9 100%);
    border-bottom: 1px solid var(--border);
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    align-items: center;
    gap: 3rem;
}

.hero h1 {
    font-size: clamp(2.8rem, 7vw, 5.4rem);
    margin-bottom: 0.6rem;
}

.hero h2 {
    font-family: "Inter", Arial, sans-serif;
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: var(--navy-medium);
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    max-width: 690px;
    color: var(--muted);
    font-size: 1.08rem;
}

.hero-cta,
.book-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1.4rem;
}

.hero-visual {
    justify-self: center;
    width: min(320px, 100%);
    padding: 1rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--navy);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.btn:hover,
.btn:focus { text-decoration: none; }

.btn-primary {
    color: #fff;
    background: var(--navy);
    border-color: var(--navy);
    box-shadow: var(--shadow-navy);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--navy-medium);
    border-color: var(--navy-medium);
}

.btn-secondary,
.btn-outline {
    color: var(--navy);
    background: transparent;
    border-color: var(--gold);
}

.btn-secondary:hover,
.btn-outline:hover,
.btn-secondary:focus,
.btn-outline:focus {
    background: var(--surface-soft);
    border-color: var(--gold-dark);
}

.featured-books,
.cta-section,
.page-intro,
.content-section,
.books-grid {
    width: min(100% - 2rem, var(--max-width));
    margin-left: auto;
    margin-right: auto;
}

.featured-books,
.books-grid,
.content-section,
.cta-section { padding: 3.5rem 0; }

.featured-books > h2,
.page-intro h2 { font-size: clamp(2rem, 4vw, 3rem); }

.featured-books > h2::after,
.page-intro h2::after {
    content: "";
    display: block;
    width: 72px;
    height: 3px;
    margin-top: 0.75rem;
    background: var(--gold);
    border-radius: 999px;
}

.books-preview,
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
    gap: 1.4rem;
}

.book-preview,
.book-card,
.contact-card,
.resource-block,
.cta-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.book-preview,
.contact-card,
.resource-block,
.cta-content { padding: 1.5rem; }

.book-preview-cover,
.book-cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 1rem;
    margin-bottom: 1.1rem;
    background: var(--surface-soft);
    border-radius: calc(var(--radius) - 8px);
}

.book-preview-cover img,
.book-cover-placeholder img {
    max-height: 260px;
    width: auto;
    object-fit: contain;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.book-preview h3,
.book-card h3,
.resource-block h3,
.contact-card h4 { font-size: 1.35rem; }

.resource-block h3 {
    padding-left: 0.9rem;
    border-left: 4px solid var(--gold);
}

.book-preview-tagline,
.book-tagline {
    color: var(--navy-medium);
    font-weight: 700;
}

.book-description,
.page-intro p,
.content-section p { color: var(--muted); }

.book-card {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
}

.book-card .book-content { padding: 0 1.5rem 1.5rem; }

.page-intro { padding: 4rem 0 2rem; }

.content-section {
    max-width: 900px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2.2rem;
    margin-bottom: 3rem;
}

.content-section h3:not(:first-child) { margin-top: 2rem; }

.contact-info {
    display: grid;
    gap: 1rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding-top: 1rem;
}

.contact-card { box-shadow: none; }
.resource-block { margin-bottom: 1.6rem; box-shadow: none; }

hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}

.cta-content {
    text-align: center;
    padding: 2.4rem;
    background: linear-gradient(135deg, #ffffff 0%, #fbf3ec 100%);
}

.site-footer {
    padding: 2rem 0;
    color: var(--muted);
    background: #fff;
    border-top: 1px solid var(--border);
    text-align: center;
}

.site-footer p { margin: 0; }


/* Sections ajoutées : approche, expertise et liens professionnels */
.approach-section,
.expertise-section { padding: 3.5rem 0 0; }

.approach-card {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 2rem;
    align-items: start;
    padding: 2.2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.section-kicker {
    margin: 0 0 0.45rem;
    color: var(--gold-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.approach-card h2,
.section-heading h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }

.approach-text p:last-child { margin-bottom: 0; }

.section-heading {
    max-width: 760px;
    margin-bottom: 1.4rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
    gap: 1rem;
}

.expertise-card {
    padding: 1.35rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) - 8px);
    box-shadow: 0 10px 24px rgba(52, 35, 26, 0.07);
}

.expertise-card h3 {
    margin-bottom: 0.65rem;
    font-family: "Inter", Arial, sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
}

.expertise-card p { margin-bottom: 0; color: var(--muted); }

.expertise-list li::marker { color: var(--gold-dark); }

.text-link-strong { font-weight: 800; }

.footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem 1.4rem;
    flex-wrap: wrap;
}

.footer-links a { font-weight: 700; }

.contact-card-intro {
    border-color: var(--border-gold);
    background: var(--surface-soft);
}

@media (max-width: 900px) {
    .header-inner { min-height: 74px; }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav {
        display: none;
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: 76px;
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 18px;
        box-shadow: var(--shadow);
    }

    .main-nav.is-open { display: flex; }
    .nav-link { justify-content: center; }

    .hero-content,
    .approach-card,
    .books-preview,
    .books-grid { grid-template-columns: 1fr; }

    .hero { padding: 3.5rem 0; }
    .hero-visual { width: min(260px, 100%); }
}

@media (max-width: 560px) {
    .download-highlight { align-items: stretch; flex-direction: column; }
    .brand-text { display: none; }

    .hero-cta,
    .book-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn { width: 100%; }

    .content-section,
    .book-preview,
    .contact-card,
    .resource-block,
    .cta-content { padding: 1.2rem; }
}

/* Ressources téléchargeables */
.download-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem;
    margin: 1.3rem 0 2.6rem;
    background: var(--surface-soft);
    border: 1px solid var(--border-gold);
    border-radius: calc(var(--radius) - 8px);
}

.download-highlight h4,
.resource-block h4 {
    margin-bottom: 0.45rem;
    font-family: "Inter", Arial, sans-serif;
    font-size: 1rem;
    color: var(--navy);
}

.download-highlight p { margin-bottom: 0; }

.download-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 0.65rem;
    padding-left: 0;
    list-style: none;
}

.download-list li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.85rem 1rem;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.download-list li + li { margin-top: 0; }

.download-list a { font-weight: 700; }

.file-meta {
    color: var(--muted);
    font-size: 0.88rem;
}

/* Ajustement : plus d’espace entre le bouton ZIP et les annexes individuelles */
.resource-block > .download-highlight + h4 {
    margin-top: 0.4rem;
    margin-bottom: 1rem;
}

.resource-block > h4 + .download-list {
    margin-top: 0.35rem;
}
