/* =====================================================================
   Teckel & Famille — systeme de design du site public
   ===================================================================== */

/* ------------------------------------------------------------ Tokens */
:root {
    /* Couleurs de marque */
    --ivory:        #F8F5EF;
    --ivory-deep:   #F2EDE4;
    --beige:        #E9DFD0;
    --beige-soft:   #F1E9DD;
    --forest:       #344B3D;
    --forest-deep:  #27392E;
    --forest-light: #4A6553;
    --charcoal:     #292929;
    --gold:         #B79A6B;
    --gold-soft:    #D4BF9C;

    /* Semantique */
    --bg:            var(--ivory);
    --bg-alt:        #FFFFFF;
    --bg-deep:       var(--ivory-deep);
    --text:          var(--charcoal);
    --text-soft:     #5B5B57;
    --text-muted:    #7C7A74;
    --line:          #E2D9CA;
    --line-strong:   #CFC2AC;

    /* Typographie */
    --font-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    --fs-xs:   0.75rem;
    --fs-sm:   0.8125rem;
    --fs-base: 1rem;
    --fs-md:   1.0625rem;
    --fs-lg:   1.1875rem;
    --fs-xl:   1.5rem;
    --fs-2xl:  1.875rem;
    --fs-3xl:  2.375rem;
    --fs-4xl:  3rem;
    --fs-5xl:  3.75rem;

    /* Rythme */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 2.75rem;
    --space-8: 4rem;
    --space-9: 6rem;
    --space-10: 8rem;

    --container: 1240px;
    --container-narrow: 760px;

    --radius-sm: 3px;
    --radius:    6px;
    --radius-lg: 12px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(41, 41, 41, .05), 0 1px 3px rgba(41, 41, 41, .04);
    --shadow:    0 4px 16px rgba(41, 41, 41, .06), 0 1px 3px rgba(41, 41, 41, .04);
    --shadow-lg: 0 18px 48px rgba(41, 41, 41, .12), 0 4px 12px rgba(41, 41, 41, .05);

    --ease: cubic-bezier(.22, .61, .36, 1);
    --header-h: 76px;
}

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

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--fs-md);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--forest-deep);
    line-height: 1.14;
    letter-spacing: -0.01em;
    margin: 0 0 var(--space-4);
    text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 5.2vw, var(--fs-5xl)); }
h2 { font-size: clamp(1.75rem, 3.6vw, var(--fs-3xl)); }
h3 { font-size: clamp(1.3rem, 2.2vw, var(--fs-xl)); }
h4 { font-size: var(--fs-lg); }

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--forest); text-decoration-color: var(--gold-soft); text-underline-offset: 3px; }
a:hover { color: var(--forest-deep); }

ul, ol { margin: 0 0 var(--space-4); padding-left: 1.25rem; }
li { margin-bottom: var(--space-2); }

blockquote {
    margin: var(--space-6) 0;
    padding-left: var(--space-5);
    border-left: 2px solid var(--gold);
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    line-height: 1.4;
    color: var(--forest-deep);
}

hr { border: 0; border-top: 1px solid var(--line); margin: var(--space-7) 0; }

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

::selection { background: var(--gold-soft); color: var(--forest-deep); }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--forest);
    color: #fff;
    padding: var(--space-3) var(--space-5);
    z-index: 200;
}
.skip-link:focus { left: var(--space-4); top: var(--space-4); }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ------------------------------------------------------------ Layout */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--space-5);
}
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: 1480px; }

.section { padding-block: clamp(3.5rem, 8vw, var(--space-9)); }
.section--tight { padding-block: clamp(2.5rem, 5vw, var(--space-8)); }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--bg-deep); }
.section--forest { background: var(--forest); color: var(--beige-soft); }
.section--forest h1, .section--forest h2, .section--forest h3 { color: #fff; }
.section--forest .eyebrow { color: var(--gold-soft); }

.stack > * + * { margin-top: var(--space-4); }
.grid { display: grid; gap: var(--space-6); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* --------------------------------------------------------- Typographie */
.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-3);
}

.lead {
    font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
    line-height: 1.65;
    color: var(--text-soft);
}

.section-head { max-width: 46rem; margin-bottom: var(--space-7); }
.section-head--center { margin-inline: auto; text-align: center; }

.rule {
    width: 56px; height: 1px;
    background: var(--gold);
    border: 0;
    margin: var(--space-5) 0;
}
.section-head--center .rule { margin-inline: auto; }

.prose { max-width: 70ch; }
.prose h2 { margin-top: var(--space-7); }
.prose h3 { margin-top: var(--space-6); }
.prose img { border-radius: var(--radius); margin-block: var(--space-6); }
.prose figure { margin: var(--space-6) 0; }
.prose figcaption { font-size: var(--fs-sm); color: var(--text-muted); margin-top: var(--space-2); }
.prose table { width: 100%; border-collapse: collapse; margin-block: var(--space-5); font-size: var(--fs-base); }
.prose th, .prose td { border: 1px solid var(--line); padding: var(--space-3); text-align: left; }
.prose th { background: var(--beige-soft); font-weight: 600; }

/* ------------------------------------------------------------ Boutons */
.btn {
    --btn-bg: var(--forest);
    --btn-fg: #fff;
    --btn-bd: var(--forest);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 0.9rem 1.6rem;
    background: var(--btn-bg);
    color: var(--btn-fg);
    border: 1px solid var(--btn-bd);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover {
    --btn-bg: var(--forest-deep);
    --btn-bd: var(--forest-deep);
    color: #fff;
    transform: translateY(-1px);
}
.btn:active { transform: none; }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--forest); --btn-bd: var(--line-strong); }
.btn--outline:hover { --btn-bg: var(--forest); --btn-fg: #fff; --btn-bd: var(--forest); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--forest-deep); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--beige); --btn-bd: var(--beige); color: var(--forest-deep); }

.btn--gold { --btn-bg: var(--gold); --btn-bd: var(--gold); }
.btn--gold:hover { --btn-bg: #A4884C; --btn-bd: #A4884C; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--forest); --btn-bd: transparent; padding-inline: 0; }
.btn--ghost:hover { --btn-bg: transparent; --btn-fg: var(--gold); text-decoration: underline; }

.btn--block { width: 100%; }
.btn--sm { padding: 0.6rem 1.1rem; font-size: var(--fs-xs); }
.btn--lg { padding: 1.05rem 2rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--forest);
}
.link-arrow::after { content: '→'; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ------------------------------------------------------------ En-tete */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(248, 245, 239, .94);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck {
    border-bottom-color: var(--line);
    box-shadow: 0 2px 16px rgba(41, 41, 41, .05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-5);
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    color: var(--forest-deep);
}
.brand img { height: 46px; width: auto; }
/* Logo rond, affiché à gauche du nom de l'élevage. */
.brand--logo img {
    height: 52px;
    width: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
    transition: transform .3s var(--ease);
}
.brand--logo:hover img { transform: scale(1.04); }
.brand--logo .brand-name { font-size: 1.4rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: .01em;
}
.brand-tagline {
    font-size: 0.625rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}

.nav { display: flex; align-items: center; gap: var(--space-5); }
.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-list li { margin: 0; }
.nav-link {
    position: relative;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text);
    padding-block: var(--space-2);
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--forest-deep); font-weight: 600; }

.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    position: relative;
    width: 18px; height: 1.5px;
    background: var(--forest-deep);
    transition: transform .3s var(--ease), background .2s;
}
.nav-toggle span::before, .nav-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 18px; height: 1.5px;
    background: var(--forest-deep);
    transition: transform .3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------- Bandeau localisation */
.geo-bar {
    background: var(--forest-deep);
    color: var(--beige-soft);
    font-size: var(--fs-sm);
    text-align: center;
    padding: var(--space-2) var(--space-4);
    min-height: 0;
}
.geo-bar[hidden] { display: none; }
.geo-bar strong { color: #fff; font-weight: 600; }
.geo-bar .geo-note { color: var(--gold-soft); }

/* --------------------------------------------------------------- Hero */
.hero {
    position: relative;
    display: grid;
    align-items: center;
    min-height: min(84vh, 760px);
    background: var(--forest-deep);
    color: #fff;
    overflow: hidden;
}
.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 40%;
}
.hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(27, 42, 33, .88) 0%, rgba(27, 42, 33, .66) 42%, rgba(27, 42, 33, .3) 100%);
}
.hero--placeholder .hero-media {
    background: radial-gradient(120% 120% at 15% 20%, var(--forest-light) 0%, var(--forest-deep) 60%);
}
.hero-inner {
    position: relative;
    z-index: 1;
    padding-block: clamp(4rem, 12vw, 7rem);
    max-width: 44rem;
}
.hero h1 { color: #fff; margin-bottom: var(--space-5); }
.hero .eyebrow { color: var(--gold-soft); }
.hero-text {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, .88);
    max-width: 34rem;
    margin-bottom: var(--space-6);
}
.hero-scroll {
    position: absolute;
    bottom: var(--space-5);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    font-size: var(--fs-xs);
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
}

.page-hero {
    background: var(--bg-deep);
    border-bottom: 1px solid var(--line);
    padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.page-hero h1 { margin-bottom: var(--space-3); }
.page-hero .lead { max-width: 44rem; }
.page-hero--image { position: relative; background: var(--forest-deep); border: 0; color: #fff; }
.page-hero--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero--image::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(27, 42, 33, .85), rgba(27, 42, 33, .45));
}
.page-hero--image .container { position: relative; z-index: 1; }
.page-hero--image h1 { color: #fff; }
.page-hero--image .lead { color: rgba(255, 255, 255, .85); }

/* -------------------------------------------------------- Fil d'Ariane */
.breadcrumbs {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    padding-block: var(--space-4);
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    list-style: none;
    margin: 0;
    padding: 0;
}
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: var(--space-2); }
.breadcrumbs li + li::before { content: '/'; color: var(--line-strong); }
.breadcrumbs a { color: var(--text-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--forest); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--forest-deep); }

/* ------------------------------------------------------------- Cartes */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }

.card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--beige-soft);
    overflow: hidden;
}
.card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}
.card:hover .card-media img { transform: scale(1.04); }
.card-media .badge { position: absolute; top: var(--space-3); left: var(--space-3); }

.card-body { padding: var(--space-5); display: flex; flex-direction: column; flex: 1; gap: var(--space-3); }
.card-title { font-size: var(--fs-xl); margin: 0; }
.card-title a { text-decoration: none; color: inherit; }
.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-4);
    font-size: var(--fs-sm);
    color: var(--text-muted);
}
.card-meta span { display: inline-flex; align-items: center; gap: var(--space-1); }
.card-text { font-size: var(--fs-base); color: var(--text-soft); margin: 0; }
.card-foot {
    margin-top: auto;
    padding-top: var(--space-4);
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}
.card-price { font-family: var(--font-display); font-size: var(--fs-xl); color: var(--forest-deep); }

.media-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; height: 100%;
    background: repeating-linear-gradient(45deg, var(--beige-soft), var(--beige-soft) 12px, var(--beige) 12px, var(--beige) 24px);
    color: var(--forest-light);
    font-size: var(--fs-sm);
    text-align: center;
    padding: var(--space-4);
}

/* ------------------------------------------------------------ Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-pill);
    background: var(--beige);
    color: var(--forest-deep);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
}
.badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: .7;
}
.badge--disponible { background: #E4EEE5; color: #2F5C3C; }
.badge--en_cours_de_reservation { background: #F6EEDC; color: #8A6B22; }
.badge--reserve { background: #EDE6DA; color: #6E6253; }
.badge--adopte { background: #E6E6E4; color: #4A4A48; }
.badge--solid { background: var(--forest); color: #fff; }
.badge--gold { background: var(--gold); color: #fff; }
.badge--plain { background: transparent; border: 1px solid var(--line-strong); color: var(--text-soft); }
.badge--plain::before { display: none; }

/* --------------------------------------------------------- Alertes */
.alert {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    border: 1px solid var(--line);
    border-left: 3px solid var(--forest);
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    font-size: var(--fs-base);
    margin-bottom: var(--space-5);
}
.alert--success { border-left-color: #3F7A51; background: #F1F7F2; }
.alert--error { border-left-color: #A4403B; background: #FBF2F1; }
.alert--warning { border-left-color: var(--gold); background: #FCF7EC; }
.alert--info { border-left-color: var(--forest-light); background: #F3F6F3; }
.alert p:last-child { margin-bottom: 0; }
.alert ul { margin-bottom: 0; }

/* -------------------------------------------------------- Formulaires */
.form { display: grid; gap: var(--space-5); }
.form-grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field--full { grid-column: 1 / -1; }

.label {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--forest-deep);
    letter-spacing: .01em;
}
.label .req { color: #A4403B; }
.hint { font-size: var(--fs-sm); color: var(--text-muted); }

.input, .textarea, .select {
    width: 100%;
    padding: 0.8rem 0.95rem;
    font-family: inherit;
    font-size: var(--fs-base);
    color: var(--text);
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
}
.textarea { min-height: 9rem; resize: vertical; line-height: 1.6; }
.select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23344B3D' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 10px;
    padding-right: 2.4rem;
}
.input:focus, .textarea:focus, .select:focus {
    outline: none;
    border-color: var(--forest);
    box-shadow: 0 0 0 3px rgba(52, 75, 61, .12);
}
.input::placeholder, .textarea::placeholder { color: #A7A29A; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] {
    border-color: #A4403B;
    box-shadow: 0 0 0 3px rgba(164, 64, 59, .1);
}
.field-error { font-size: var(--fs-sm); color: #A4403B; font-weight: 500; }

.check {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--fs-base);
    line-height: 1.5;
    cursor: pointer;
}
.check input[type="checkbox"], .check input[type="radio"] {
    flex: 0 0 auto;
    width: 1.1rem; height: 1.1rem;
    margin-top: .2rem;
    accent-color: var(--forest);
}
.check-group { display: flex; flex-direction: column; gap: var(--space-3); }
.check-group--inline { flex-direction: row; flex-wrap: wrap; gap: var(--space-5); }

.radio-pills { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.radio-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.6rem 1.1rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-pill);
    background: #fff;
    font-size: var(--fs-base);
    cursor: pointer;
    transition: border-color .2s, background .2s, color .2s;
}
.radio-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-pill:has(input:checked) { background: var(--forest); border-color: var(--forest); color: #fff; }
.radio-pill:has(input:focus-visible) { outline: 2px solid var(--forest); outline-offset: 2px; }

.file-field {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-5);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    background: var(--beige-soft);
    text-align: center;
}
.file-field input[type="file"] { font-size: var(--fs-sm); }
.file-field.is-dragover { border-color: var(--forest); background: #EDF2EE; }

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-4);
    padding-top: var(--space-2);
}

fieldset { border: 0; padding: 0; margin: 0 0 var(--space-6); }
legend {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    color: var(--forest-deep);
    padding: 0;
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}
/* Lettre de section du formulaire de demande d'adoption */
.section-letter {
    display: grid;
    place-items: center;
    width: 2rem; height: 2rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--beige);
    color: var(--forest);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 700;
}

/* ------------------------------------------------- Chiot: fiche detaillee */
.puppy-layout {
    display: grid;
    gap: clamp(2rem, 5vw, var(--space-8));
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: start;
}

.gallery { display: flex; flex-direction: column; gap: var(--space-3); }
.gallery-main {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--beige-soft);
    border: 1px solid var(--line);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main button {
    position: absolute;
    inset: 0;
    width: 100%;
    background: transparent;
    border: 0;
    cursor: zoom-in;
    padding: 0;
}
.gallery-zoom-hint {
    position: absolute;
    right: var(--space-3); bottom: var(--space-3);
    background: rgba(27, 42, 33, .78);
    color: #fff;
    font-size: var(--fs-xs);
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .35rem .7rem;
    border-radius: var(--radius-pill);
    pointer-events: none;
}
.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: var(--space-2);
}
.gallery-thumb {
    aspect-ratio: 1;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    padding: 0;
    background: var(--beige-soft);
    cursor: pointer;
    transition: border-color .2s, opacity .2s;
    opacity: .75;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb.is-active { border-color: var(--forest); opacity: 1; box-shadow: 0 0 0 1px var(--forest); }

/* Les badges d'une carte tiennent sur une ligne et gardent leur largeur :
   seuls, ils s'étireraient sur toute la colonne de .card-body. */
.badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
}

/* Montant de réservation d'une place, mis en avant au-dessus du formulaire. */
.deposit-callout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    text-align: center;
    margin: 0 auto var(--space-6);
    padding: var(--space-5) var(--space-4);
    max-width: 30rem;
    background: var(--beige-soft);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
}
.deposit-label {
    font-size: var(--fs-xs);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.deposit-amount {
    font-family: var(--font-display);
    font-size: 2.4rem;
    line-height: 1.1;
    color: var(--forest-deep);
}
.deposit-callout .note-small { margin-top: var(--space-2); }

/* ------------------------------------------- Places d'une portée */
.spots {
    margin-top: var(--space-5);
    padding: var(--space-4);
    background: var(--beige-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}
.spots--full { opacity: .75; }
.spots-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-2);
}
.spots-head strong { color: var(--forest-deep); }
.spots-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: var(--space-3) 0 0;
    padding: 0;
}
.spots-dot {
    width: 100%;
    max-width: 34px;
    height: 8px;
    flex: 1 1 18px;
    border-radius: 99px;
    background: #FFFFFF;
    border: 1px solid var(--line-strong);
}
.spots-dot.is-taken { background: var(--forest); border-color: var(--forest); }

/* Vignette d'album : pleine largeur de sa colonne, pas la petite pastille
   de la galerie d'un chiot. */
.gallery-thumb--tile {
    width: 100%;
    aspect-ratio: 4 / 3;
    opacity: 1;
    border-radius: var(--radius-sm);
}
.gallery-thumb--tile:hover { border-color: var(--forest); box-shadow: 0 0 0 1px var(--forest); }
.gallery-thumb--tile:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }

/* Vidéos du chiot, sous la galerie */
.puppy-videos { margin-top: var(--space-6); display: grid; gap: var(--space-4); }
.videos-title {
    font-size: var(--fs-lg);
    margin: 0;
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--line);
}
.video-frame { margin: 0; }
.video-frame video {
    width: 100%;
    max-height: 70vh;
    background: #121712;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.video-frame figcaption {
    margin-top: var(--space-2);
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.puppy-summary { position: sticky; top: calc(var(--header-h) + var(--space-5)); }
.puppy-title-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: var(--space-3);
}
.puppy-price {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    color: var(--forest-deep);
}
.puppy-price-note { font-size: var(--fs-sm); color: var(--text-muted); }

.spec-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: var(--space-5) 0;
    border-top: 1px solid var(--line);
}
.spec {
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--line);
    padding-right: var(--space-4);
}
.spec:nth-child(odd) { border-right: 1px solid var(--line); padding-right: var(--space-4); }
.spec:nth-child(even) { padding-left: var(--space-4); }
.spec-label {
    display: block;
    font-size: var(--fs-xs);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2px;
}
.spec-value { font-size: var(--fs-base); color: var(--text); font-weight: 500; }
.spec--full { grid-column: 1 / -1; border-right: 0 !important; padding-left: 0 !important; padding-right: 0; }

.info-panel {
    background: var(--beige-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--space-5);
}
.info-panel h3 { font-size: var(--fs-lg); margin-bottom: var(--space-3); }
.info-panel + .info-panel { margin-top: var(--space-4); }

.health-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.health-list li { display: flex; gap: var(--space-3); margin: 0; font-size: var(--fs-base); }
.health-list .health-key {
    flex: 0 0 9rem;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--forest-deep);
}

/* ------------------------------------------------------------ Parents */
.parent-grid { display: grid; gap: var(--space-6); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.parent-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.parent-card:hover { box-shadow: var(--shadow); border-color: var(--line-strong); }
.parent-card-media { background: var(--beige-soft); }
.parent-card-media img { width: 100%; height: 100%; object-fit: cover; min-height: 210px; }
.parent-card-body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }
.parent-role {
    font-size: var(--fs-xs);
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}
.parent-card h3 { margin: 0; font-size: var(--fs-xl); }
.parent-facts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-4);
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

/* ------------------------------------------------------- Mise en avant */
.feature-split {
    display: grid;
    gap: clamp(2rem, 5vw, var(--space-8));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
}
.feature-split--reverse > :first-child { order: 2; }
.feature-media {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--beige-soft);
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-media--wide { aspect-ratio: 4 / 3; }
.feature-media--framed { box-shadow: var(--shadow); }
.feature-media--offset::after {
    content: '';
    position: absolute;
    inset: auto -14px -14px auto;
    width: 60%; height: 60%;
    border: 1px solid var(--gold-soft);
    border-radius: var(--radius);
    z-index: -1;
}

.value-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-5); }
.value-list li { margin: 0; display: flex; gap: var(--space-4); }
.value-num {
    flex: 0 0 auto;
    width: 2.25rem; height: 2.25rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: var(--fs-base);
    color: var(--gold);
}
.value-body h3 { font-size: var(--fs-lg); margin-bottom: var(--space-1); }
.value-body p { font-size: var(--fs-base); color: var(--text-soft); margin: 0; }

.pillar {
    padding: var(--space-6);
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    height: 100%;
}
.pillar-icon {
    width: 2.5rem; height: 2.5rem;
    display: grid;
    place-items: center;
    margin-bottom: var(--space-4);
    border-radius: 50%;
    background: var(--beige);
    color: var(--forest);
    font-family: var(--font-display);
    font-size: var(--fs-lg);
}
.pillar h3 { font-size: var(--fs-lg); }
.pillar p { font-size: var(--fs-base); color: var(--text-soft); margin: 0; }

/* ------------------------------------------------------------- Avis */
.stars { display: inline-flex; gap: 2px; font-size: 1rem; line-height: 1; color: var(--line-strong); }
.stars .star.is-filled { color: var(--gold); }

.review-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    height: 100%;
}
.review-card blockquote {
    margin: 0;
    padding: 0;
    border: 0;
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    line-height: 1.5;
    color: var(--forest-deep);
}
.review-meta { margin-top: auto; display: flex; align-items: center; gap: var(--space-4); }
.review-photo {
    width: 56px; height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--line);
    flex: 0 0 auto;
}
/* Initiale affichée quand la famille n'a pas de photo de profil */
.review-photo--initial {
    display: grid;
    place-items: center;
    background: var(--beige);
    color: var(--forest);
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1;
}
/* Photographie du chiot dans son nouveau foyer */
.review-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    cursor: zoom-in;
    transition: transform .4s var(--ease);
}
.review-image:hover { transform: scale(1.01); }
.review-author { font-weight: 600; color: var(--forest-deep); }
.review-origin { font-size: var(--fs-sm); color: var(--text-muted); }
.review-source {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    letter-spacing: .04em;
}

.rating-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-6);
    padding: var(--space-6);
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.rating-score {
    font-family: var(--font-display);
    font-size: var(--fs-4xl);
    line-height: 1;
    color: var(--forest-deep);
}
.rating-bars { flex: 1 1 260px; display: grid; gap: var(--space-2); }
.rating-bar { display: flex; align-items: center; gap: var(--space-3); font-size: var(--fs-sm); }
.rating-bar-track {
    flex: 1;
    height: 6px;
    border-radius: var(--radius-pill);
    background: var(--beige);
    overflow: hidden;
}
.rating-bar-fill { height: 100%; background: var(--gold); border-radius: inherit; }

/* -------------------------------------------------------------- Blog */
.post-card .card-media { aspect-ratio: 16 / 10; }
.post-category {
    font-size: var(--fs-xs);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
}
.post-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 0;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.post-featured-media { min-height: 340px; background: var(--beige-soft); }
.post-featured-media img { width: 100%; height: 100%; object-fit: cover; }
.post-featured-body { padding: clamp(1.5rem, 4vw, var(--space-7)); display: flex; flex-direction: column; justify-content: center; gap: var(--space-4); }

.article-head { max-width: 50rem; }
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-4);
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-5);
}
.article-figure { margin: 0 0 var(--space-7); border-radius: var(--radius); overflow: hidden; }
.article-figure img { width: 100%; max-height: 520px; object-fit: cover; }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-top: var(--space-7); }
.share-row a, .share-row button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: .5rem .9rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-pill);
    background: #fff;
    color: var(--forest);
    font-size: var(--fs-sm);
    text-decoration: none;
    cursor: pointer;
}
.share-row a:hover, .share-row button:hover { background: var(--forest); color: #fff; border-color: var(--forest); }

.tag-list { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; padding: 0; margin: var(--space-5) 0 0; }
.tag-list li { margin: 0; }
.tag {
    display: inline-block;
    padding: .25rem .7rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    font-size: var(--fs-xs);
    color: var(--text-soft);
    background: var(--beige-soft);
}

/* ----------------------------------------------------------- Filtres */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: var(--space-7);
}
.filter-bar .field { flex: 1 1 170px; gap: var(--space-1); }
.filter-bar .label { font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.filter-count { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: var(--space-5); }

.chip-row { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.chip {
    display: inline-block;
    padding: .45rem 1rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-pill);
    background: #fff;
    color: var(--text-soft);
    font-size: var(--fs-sm);
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--forest); color: var(--forest); }
.chip.is-active { background: var(--forest); border-color: var(--forest); color: #fff; }

/* -------------------------------------------------------- Pagination */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); margin-top: var(--space-8); }
.pagination a, .pagination span {
    min-width: 2.5rem;
    padding: .5rem .75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text-soft);
    font-size: var(--fs-sm);
    text-decoration: none;
}
.pagination a:hover { border-color: var(--forest); color: var(--forest); }
.pagination .is-current { background: var(--forest); border-color: var(--forest); color: #fff; font-weight: 600; }
.pagination .is-gap { border-color: transparent; background: transparent; }

/* -------------------------------------------- Deroule de la reservation */
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-6); }
.how-step { display: flex; gap: var(--space-5); margin: 0; align-items: flex-start; }
.how-step-num {
    flex: 0 0 auto;
    width: 2.75rem; height: 2.75rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--forest);
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.25rem;
    line-height: 1;
}
.how-step h2 { font-size: var(--fs-xl); margin: 0 0 var(--space-2); }
.how-step p { margin: 0; color: var(--text-soft); }
@media (max-width: 560px) {
    .how-step { gap: var(--space-4); }
    .how-step-num { width: 2.25rem; height: 2.25rem; font-size: 1rem; }
}

/* ------------------------------------------------------------- Etapes */
.steps {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-7);
    counter-reset: step;
}
.steps li {
    flex: 1 1 140px;
    margin: 0;
    padding: var(--space-3) var(--space-4);
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
    color: var(--text-muted);
    counter-increment: step;
}
.steps li::before {
    content: counter(step);
    display: inline-grid;
    place-items: center;
    width: 1.5rem; height: 1.5rem;
    margin-right: var(--space-2);
    border-radius: 50%;
    background: var(--beige);
    color: var(--forest-deep);
    font-size: var(--fs-xs);
    font-weight: 700;
}
.steps li.is-current {
    border-color: var(--forest);
    background: #fff;
    color: var(--forest-deep);
    font-weight: 600;
}
.steps li.is-current::before { background: var(--forest); color: #fff; }
.steps li.is-done { color: var(--forest); }
.steps li.is-done::before { content: '✓'; background: var(--gold); color: #fff; }

/* ------------------------------------------------- Encadres recapitulatifs */
.summary-box {
    display: grid;
    gap: var(--space-5);
    padding: var(--space-6);
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.summary-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-3);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--line);
    font-size: var(--fs-base);
}
.summary-row:last-child { border-bottom: 0; padding-bottom: 0; }
.summary-row dt { color: var(--text-muted); font-size: var(--fs-sm); }
.summary-row dd { margin: 0; font-weight: 500; text-align: right; }
.summary-total { font-family: var(--font-display); font-size: var(--fs-xl); color: var(--forest-deep); }

.reference-box {
    display: inline-flex;
    flex-direction: column;
    gap: var(--space-1);
    padding: var(--space-4) var(--space-5);
    background: var(--forest);
    color: #fff;
    border-radius: var(--radius);
}
.reference-box .reference-label {
    font-size: var(--fs-xs);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-soft);
}
.reference-box .reference-value {
    font-family: var(--font-body);
    font-size: var(--fs-xl);
    font-weight: 700;
    letter-spacing: .08em;
}

.bank-table { width: 100%; border-collapse: collapse; font-size: var(--fs-base); }
.bank-table th, .bank-table td { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); text-align: left; }
.bank-table th { width: 12rem; color: var(--text-muted); font-size: var(--fs-sm); font-weight: 600; }
.bank-table td { font-weight: 500; }
.bank-table .iban { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; letter-spacing: .06em; }
.copy-btn {
    margin-left: var(--space-3);
    padding: .2rem .55rem;
    font-size: var(--fs-xs);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: #fff;
    cursor: pointer;
    color: var(--forest);
}
.copy-btn:hover { background: var(--forest); color: #fff; }

/* ---------------------------------------------------------- Accordeon */
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    width: 100%;
    padding: var(--space-5) 0;
    background: transparent;
    border: 0;
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    color: var(--forest-deep);
    text-align: left;
    cursor: pointer;
}
.accordion-trigger::after {
    content: '+';
    flex: 0 0 auto;
    font-family: var(--font-body);
    font-size: var(--fs-xl);
    color: var(--gold);
    transition: transform .3s var(--ease);
}
.accordion-trigger[aria-expanded="true"]::after { transform: rotate(45deg); }
.accordion-panel { padding-bottom: var(--space-5); color: var(--text-soft); max-width: 62ch; }
.accordion-panel[hidden] { display: none; }

/* ---------------------------------------------------------- Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: grid;
    place-items: center;
    background: rgba(20, 28, 22, .94);
    padding: var(--space-5);
}
.lightbox[hidden] { display: none; }
.lightbox-img {
    max-width: min(1200px, 94vw);
    max-height: 86vh;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
}
.lightbox-caption {
    color: rgba(255, 255, 255, .8);
    font-size: var(--fs-sm);
    text-align: center;
    margin-top: var(--space-4);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    background: rgba(0, 0, 0, .35);
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
}
.lightbox-close { top: var(--space-5); right: var(--space-5); }
.lightbox-prev { left: var(--space-5); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: var(--space-5); top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255, 255, 255, .18); }

/* ------------------------------------------------------ Pied de page */
.site-footer {
    background: var(--forest-deep);
    color: rgba(255, 255, 255, .72);
    padding-block: var(--space-8) var(--space-5);
    font-size: var(--fs-base);
}
.footer-grid {
    display: grid;
    gap: var(--space-7);
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
}
.site-footer h3 {
    color: #fff;
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.footer-list li { margin: 0; }
.footer-brand .brand-name { color: #fff; font-size: 1.6rem; }
.footer-brand p { margin-top: var(--space-4); max-width: 30rem; }
.footer-socials { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-4); }
.footer-socials a {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    color: rgba(255, 255, 255, .82);
    transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.footer-socials a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
    transform: translateY(-2px);
}
.footer-socials svg { display: block; }

/* Réseaux sociaux listés avec leur nom (page Contact) */
.social-inline {
    list-style: none;
    padding: 0;
    margin: var(--space-2) 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-4);
}
.social-inline li { margin: 0; }
.social-inline a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--forest);
    text-decoration: none;
    font-size: var(--fs-base);
    transition: color .2s var(--ease);
}
.social-inline a:hover { color: var(--gold); text-decoration: underline; }
.social-inline svg { flex: 0 0 auto; }
.footer-bottom {
    margin-top: var(--space-8);
    padding-top: var(--space-5);
    border-top: 1px solid rgba(255, 255, 255, .14);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-4);
    font-size: var(--fs-sm);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* ------------------------------------------------------ Bandeau cookies */
.cookie-banner {
    position: fixed;
    left: var(--space-4);
    right: var(--space-4);
    bottom: var(--space-4);
    z-index: 250;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-4);
    max-width: 680px;
    margin-inline: auto;
    padding: var(--space-5);
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    font-size: var(--fs-sm);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { flex: 1 1 260px; margin: 0; color: var(--text-soft); }

/* ---------------------------------------------------------- Divers */
.empty-state {
    padding: clamp(2.5rem, 6vw, var(--space-8));
    text-align: center;
    background: var(--bg-alt);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
}
.empty-state h3 { margin-bottom: var(--space-3); }
.empty-state p { max-width: 42rem; margin-inline: auto; color: var(--text-soft); }

.contact-aside { display: grid; gap: var(--space-5); }
.contact-item { display: flex; gap: var(--space-4); }
.contact-item .label { margin: 0; }
.contact-item a { font-size: var(--fs-md); }

.note-small { font-size: var(--fs-sm); color: var(--text-muted); }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.mb-0 { margin-bottom: 0; }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }

/* ------------------------------------------------------- Responsive */
@media (max-width: 1080px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .puppy-layout { grid-template-columns: 1fr; }
    .puppy-summary { position: static; }
}

@media (max-width: 900px) {
    :root { --header-h: 68px; }

    .nav-toggle { display: inline-flex; }
    .nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: var(--space-5);
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }
    .nav.is-open { display: flex; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-list li { border-bottom: 1px solid var(--line); }
    .nav-link { display: block; padding: var(--space-4) 0; font-size: var(--fs-lg); }
    .nav-link::after { display: none; }
    .nav .btn { margin-top: var(--space-5); }

    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .feature-split, .parent-grid, .post-featured, .form-grid, .form-grid--3 { grid-template-columns: 1fr; }
    .feature-split--reverse > :first-child { order: 0; }
    .post-featured-media { min-height: 240px; aspect-ratio: 16/10; }
    .feature-media { aspect-ratio: 4/3; }
    .parent-card { grid-template-columns: 1fr; }
    .parent-card-media img { min-height: 220px; max-height: 320px; }
    .spec-list { grid-template-columns: 1fr; }
    .spec:nth-child(odd) { border-right: 0; padding-right: 0; }
    .spec:nth-child(even) { padding-left: 0; }
    .rating-summary { flex-direction: column; align-items: flex-start; }
    .health-list li { flex-direction: column; gap: var(--space-1); }
    .health-list .health-key { flex: none; }
    .summary-row dd { text-align: left; }
    .bank-table th { width: auto; display: block; padding-bottom: 0; border: 0; }
    .bank-table td { display: block; padding-top: var(--space-1); }
    .bank-table tr { display: block; border-bottom: 1px solid var(--line); padding-block: var(--space-2); }
    .bank-table td, .bank-table th { border-bottom: 0; }
}

@media (max-width: 560px) {
    body { font-size: var(--fs-base); }
    .container { padding-inline: var(--space-4); }
    .btn { width: 100%; }
    .btn-row { flex-direction: column; align-items: stretch; }
    .btn-row .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
    .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
    .lightbox-prev { left: var(--space-2); }
    .lightbox-next { right: var(--space-2); }
    .card-body { padding: var(--space-4); }
    .review-card, .pillar, .summary-box, .rating-summary { padding: var(--space-5); }
}

/* ---------------------------------------------------------- Mouvement */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .card:hover { transform: none; }
}

/* ------------------------------------------------------- Apparition */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------- Impression */
@media print {
    .site-header, .site-footer, .cookie-banner, .geo-bar, .btn, .share-row { display: none !important; }
    body { background: #fff; color: #000; font-size: 11pt; }
    a { text-decoration: none; color: #000; }
}
