:root {
    --bg: #faf6ef;
    --surface: #ffffff;
    --ink: #1d2b27;
    --muted: #5d6b66;
    --line: #e7e0d4;
    --primary: #24564b;
    --primary-dark: #1a4038;
    --primary-deep: #13302a;
    --primary-soft: #e3eee9;
    --accent: #c9784f;
    --accent-light: #f3c2a5;
    --accent-soft: #f6e6dc;
    --on-dark: #dfeae6;
    --on-dark-muted: #a9c2ba;
    --radius: 20px;
    --shadow: 0 12px 32px -14px rgba(29, 43, 39, .25);
    --shadow-lg: 0 30px 60px -24px rgba(29, 43, 39, .45);
    --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--primary); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.01em;
    margin: 0 0 .5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }

[id] { scroll-margin-top: 88px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 16px;
    z-index: 100;
    background: var(--primary);
    color: #fff;
    padding: 10px 16px;
    border-radius: 999px;
}
.skip-link:focus { left: 16px; }

/* En-tête */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(250, 246, 239, .85);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 68px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: var(--ink);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
}
.brand__paw { width: 28px; height: 28px; color: var(--accent); }
.nav { display: flex; gap: 2px; }
.nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: .93rem;
    padding: 8px 11px;
    border-radius: 999px;
    white-space: nowrap;
    transition: color .2s ease, background-color .2s ease;
}
.nav a:hover { color: var(--primary); background: var(--primary-soft); }

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .98rem;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease;
}
.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn--ghost { color: var(--primary); border: 1.5px solid currentColor; }
.btn--ghost:hover { background: var(--primary-soft); transform: translateY(-2px); }

/* Pastilles de statut */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .02em;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill--a_venir { background: var(--line); color: var(--muted); }
.pill--en_cours { background: var(--accent); color: #fff; }
.pill--terminee { background: var(--primary-soft); color: var(--primary); }

/* Héro */
.hero { padding: 72px 0 64px; overflow: hidden; }
.hero__inner {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 48px;
    align-items: center;
}
.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
}
.hero h1 em { font-style: italic; font-weight: 500; color: var(--primary); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero__visual {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    justify-self: center;
}
.blob {
    position: absolute;
    inset: 6%;
    border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
    background: linear-gradient(145deg, var(--primary) 0%, #3b7a6b 60%, var(--accent) 140%);
    box-shadow: var(--shadow-lg);
    animation: morph 14s ease-in-out infinite;
}
.hero__paw {
    position: absolute;
    left: 30%;
    top: 28%;
    width: 40%;
    height: auto;
    color: rgba(255, 255, 255, .92);
}
.chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--surface);
    box-shadow: var(--shadow);
    font-weight: 600;
    font-size: .9rem;
    animation: float 6s ease-in-out infinite;
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.chip--1 { top: 8%; left: -2%; }
.chip--2 { top: 46%; right: -4%; animation-delay: -2s; }
.chip--3 { bottom: 6%; left: 12%; animation-delay: -4s; }

@keyframes morph {
    50% { border-radius: 58% 42% 38% 62% / 55% 38% 62% 45%; }
}
@keyframes float {
    50% { transform: translateY(-8px); }
}

/* Sections */
.section { padding: 88px 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.section--contact { padding-top: 24px; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-intro { font-size: 1.1rem; color: var(--muted); margin: 0; }

/* Immersions (mise en avant) */
.immersions {
    position: relative;
    overflow: hidden;
    background: var(--primary-deep);
    color: var(--on-dark);
}
.immersions::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(640px 320px at 8% 0%, rgba(201, 120, 79, .28), transparent 70%),
        radial-gradient(520px 420px at 100% 100%, rgba(59, 122, 107, .45), transparent 70%);
    pointer-events: none;
}
.immersions .container { position: relative; }
.immersions h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); }
.immersions .eyebrow { color: var(--accent-light); }
.immersions .section-intro { color: var(--on-dark-muted); }
.immersions__list { display: grid; gap: 24px; }
.immersion {
    padding: 32px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
}
.immersion--rich { padding: 40px; }
.immersion__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}
.immersion__date { font-size: .9rem; color: var(--on-dark-muted); }
.immersion h3 { color: #fff; font-size: 1.55rem; margin-bottom: .25em; }
.immersion--rich h3 { font-size: clamp(1.6rem, 3vw, 2rem); }
.immersion__lieu {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: .95rem;
    color: var(--on-dark-muted);
}
.immersion__lieu .icon { width: 18px; height: 18px; }
.immersion__empty {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 22px 0 0;
    padding: 16px 18px;
    border: 1px dashed rgba(255, 255, 255, .24);
    border-radius: 16px;
    color: var(--on-dark);
}
.immersion__empty .icon { color: var(--accent-light); }
.immersions .pill--a_venir { background: rgba(255, 255, 255, .12); color: var(--on-dark); }
.immersions .pill--terminee { background: var(--primary-soft); color: var(--primary); }

.immersion__block { margin-top: 36px; }
.immersion__block-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-light);
}
.immersion__block-title::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .12); }

.gestures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gesture {
    padding: 20px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
}
.gesture__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.gesture__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(243, 194, 165, .14);
    color: var(--accent-light);
}
.gesture__icon .icon { width: 20px; height: 20px; }
.gesture h4 { margin: 0; color: #fff; }
.gesture__cadre {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .02em;
}
.gesture__cadre::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.gesture__cadre--autonomie { background: var(--accent); color: #fff; }
.gesture__cadre--veterinaire,
.gesture__cadre--equipe { background: rgba(255, 255, 255, .1); color: var(--on-dark); }
.gesture ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gesture li {
    position: relative;
    padding-left: 22px;
    font-size: .93rem;
    line-height: 1.5;
    color: var(--on-dark-muted);
}
.gesture li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .42em;
    width: 9px;
    height: 5px;
    border-left: 2px solid var(--accent-light);
    border-bottom: 2px solid var(--accent-light);
    transform: rotate(-45deg);
}

.learnings { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin: 0; padding: 0; list-style: none; }
.learnings li { display: flex; gap: 12px; }
.learnings .icon { margin-top: 2px; color: var(--accent-light); }
.learnings strong { display: block; color: #fff; }
.learnings p { margin: 2px 0 0; color: var(--on-dark-muted); }

.discovery {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: rgba(243, 194, 165, .1);
    border: 1px solid rgba(243, 194, 165, .25);
    border-radius: 16px;
}
.discovery + .discovery { margin-top: 12px; }
.discovery .icon { margin-top: 2px; color: var(--accent-light); }
.discovery strong { display: block; color: #fff; }
.discovery p { margin: 2px 0 0; color: var(--on-dark-muted); }

/* Retours de l'équipe */
.feedback {
    margin-top: 64px;
    padding-top: 56px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}
.feedback__head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.feedback__head h3 { color: #fff; font-size: clamp(1.45rem, 2.8vw, 2rem); }
.feedback__head p { margin: 0; color: var(--on-dark-muted); }
.feedback__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feedback__item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px 26px 24px;
    background: var(--surface);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    color: var(--ink);
    transition: transform .25s ease;
}
.feedback__item:hover { transform: translateY(-4px); }
.feedback__item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 26px;
    right: 26px;
    height: 4px;
    border-radius: 0 0 4px 4px;
    background: var(--accent);
}
.feedback__item p {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.12rem;
    line-height: 1.5;
}
.feedback__author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-size: .88rem;
    font-weight: 600;
    color: var(--primary);
}
.feedback__author .paw { width: 18px; height: 18px; color: var(--accent); }

/* Animaux */
.stories {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 32px;
}
.story {
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.story__period,
.timeline__date {
    display: block;
    margin-bottom: 6px;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--accent);
}
.story p { color: var(--muted); }
.story p:last-child { margin-bottom: 0; }
.pets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pet {
    margin: 0;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.pet__photo {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    background: linear-gradient(160deg, var(--primary-soft), var(--accent-soft));
    color: var(--primary);
}
.pet__photo .paw { width: 30%; opacity: .5; }
.pet--memoire .pet__photo { background: linear-gradient(160deg, #ece7df, #f5f1ea); color: var(--muted); }
.pet figcaption { display: flex; flex-direction: column; padding: 14px 18px; }
.pet figcaption span { font-size: .88rem; color: var(--muted); }

/* Approche */
.approach {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}
.pullquote {
    position: relative;
    margin: 0;
    padding-top: 36px;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-style: italic;
    line-height: 1.3;
    color: var(--primary);
}
.pullquote::before {
    content: "“";
    position: absolute;
    top: -18px;
    left: -4px;
    font-size: 6rem;
    font-style: normal;
    line-height: 1;
    color: var(--accent);
    opacity: .45;
}
.approach__text p { color: var(--muted); }
.approach__text p:last-child { margin-bottom: 0; }

/* Projet */
.projet {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 56px;
    align-items: start;
}
.projet__text h3 { margin-top: 1.6em; }
.projet__text p { color: var(--muted); }
.projet__text .conviction {
    margin: 28px 0 0;
    padding: 20px 24px;
    background: var(--accent-soft);
    border-left: 4px solid var(--accent);
    border-radius: 0 16px 16px 0;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.45;
    color: var(--ink);
}
.steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step {
    counter-increment: step;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    align-items: start;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
}
.step::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
}
.step--en_cours { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.step--en_cours::before { background: var(--accent); color: #fff; }
.step--terminee::before { background: var(--primary); color: #fff; }
.step .pill { margin-bottom: 8px; }
.step h3 { margin: 0 0 .2em; font-size: 1.1rem; }
.step p { margin: 0; font-size: .95rem; color: var(--muted); }

/* Compétences */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
    padding: 28px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary);
}
.card h3 { font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.icon { width: 24px; height: 24px; flex-shrink: 0; }

/* Parcours */
.parcours { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.parcours__title { margin-bottom: 28px; font-size: 1.4rem; }
.parcours__title--langs { margin: 44px 0 16px; }
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--line);
}
.timeline__item { position: relative; padding: 0 0 32px 44px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg);
    border: 3px solid var(--primary);
}
.timeline__item h3 { margin-bottom: .15em; font-size: 1.15rem; }
.timeline__org { display: block; margin-bottom: 6px; font-weight: 600; font-size: .95rem; color: var(--primary); }
.timeline__item p { margin: 0; color: var(--muted); font-size: .98rem; }
.langs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.langs li {
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: .92rem;
}

/* Contact */
.contact {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 40px;
    align-items: center;
    padding: 56px;
    overflow: hidden;
    background: var(--primary);
    border-radius: 28px;
    color: var(--on-dark);
}
.contact::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}
.contact h2 { color: #fff; }
.contact .eyebrow { color: var(--accent-light); }
.contact__text p:last-child { margin: 0; }
.contact__list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.contact__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
}
.contact__list a { color: #fff; font-weight: 600; text-decoration: none; word-break: break-all; }
.contact__list a:hover { text-decoration: underline; }

/* Pied de page */
.site-footer { padding: 32px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.site-footer p { margin: 0; }

/* 404 */
.error-page__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 560px;
    text-align: center;
}
.error-page .paw { width: 72px; margin-bottom: 20px; color: var(--accent); }
.error-page p:not(.eyebrow) { color: var(--muted); }

/* Responsive */
@media (max-width: 1000px) {
    .site-header__inner { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 0 8px; }
    .nav { overflow-x: auto; margin-inline: -16px; padding: 6px 16px 0; scrollbar-width: none; }
    .nav::-webkit-scrollbar { display: none; }
    .nav a { padding: 6px 10px; }
    [id] { scroll-margin-top: 120px; }
    .gestures,
    .feedback__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .hero { padding: 40px 0 40px; }
    .hero__inner { grid-template-columns: 1fr; gap: 32px; }
    .hero__visual { max-width: 300px; order: -1; }
    .section { padding: 64px 0; }
    .stories,
    .approach,
    .projet,
    .parcours,
    .learnings { grid-template-columns: 1fr; }
    .approach, .projet, .parcours { gap: 40px; }
    .cards { grid-template-columns: 1fr 1fr; }
    .contact { grid-template-columns: 1fr; padding: 36px 24px; }
    .immersion, .immersion--rich, .story { padding: 24px; }
    .feedback { margin-top: 48px; padding-top: 44px; }
}

@media (max-width: 560px) {
    .cards,
    .gestures,
    .feedback__grid { grid-template-columns: 1fr; }
    .pets { gap: 10px; }
    .pet figcaption { padding: 10px 12px; }
    .pet figcaption span { font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}
