
/* ========================================
   BLOC INTRO SPECIALTY
======================================== */

.page-intro-section {
    padding: 1.5rem 0;
    background: #0d0d0d;
}

.specialty-text {
    width: 100%;
}

.specialty-box-inline {
    background: #111111;
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.specialty-top-bar {
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.specialty-grid {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.specialty-main {
    flex: 1;
    min-width: 0;
}

.specialty-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.specialty-main p {
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.specialty-main p:last-child {
    margin-bottom: 0;
}

.text-gold {
    color: var(--gold);
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 991px) {
    .page-intro-section { padding: 3rem 0; }
    .specialty-box-inline { padding: 2rem; }
    .specialty-grid { gap: 2rem; }
}

@media (max-width: 767px) {
    .page-intro-section { padding: 2.5rem 0; }
    .specialty-box-inline { padding: 1.5rem; }
    .specialty-grid { flex-direction: column; gap: 1.5rem; }
}

@media (max-width: 575px) {
    .page-intro-section { padding: 2rem 0; }
    .specialty-box-inline { padding: 1.25rem; }
    .specialty-title { font-size: 1.3rem; }
    .specialty-main p { font-size: 0.83rem; }
}


/* ========================================
   SECTION FILTRES
======================================== */

.dog-filters-section {
    padding: 1.5rem 0;
    background: #0d0d0d;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

/* ========================================
   DESKTOP
======================================== */

.dog-filters-desktop {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: #111111;
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 10px;
}

.dog-filter-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    background: transparent;
    color: rgba(255,255,255,0.55);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.dog-filter-btn:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: rgba(201, 168, 76, 0.35);
    color: var(--gold);
}

.dog-filter-btn.active {
    background: rgba(201, 168, 76, 0.12);
    border-color: rgba(201, 168, 76, 0.4);
    color: var(--gold);
    font-weight: 600;
}

.dog-filter-btn.male:hover,
.dog-filter-btn.male.active {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    color: #60a5fa;
}

.dog-filter-btn.female:hover,
.dog-filter-btn.female.active {
    background: rgba(236, 72, 153, 0.15);
    border-color: rgba(236, 72, 153, 0.4);
    color: #f472b6;
}

.dog-filter-btn.saillie {
    background: rgba(201, 168, 76, 0.08);
    border-color: rgba(201, 168, 76, 0.25);
    color: var(--gold);
    font-weight: 600;
}

.dog-filter-btn.saillie:hover {
    background: rgba(201, 168, 76, 0.18);
    border-color: var(--gold);
}

.dog-filter-separator {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.1);
    margin: 0 0.25rem;
}

/* ========================================
   MOBILE
======================================== */

.dog-filters-mobile {
    display: none;
    position: relative;
    z-index: 100;
}

.dog-filters-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    background: #111111;
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 10px;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dog-filters-toggle:hover {
    border-color: rgba(201, 168, 76, 0.4);
    color: var(--gold);
}

.dog-filters-toggle-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.dog-filters-toggle-left i {
    color: var(--gold);
    font-size: 0.85rem;
}

.dog-filters-toggle > .fa-chevron-down {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    transition: transform 0.3s ease;
}

.dog-filters-toggle.active > .fa-chevron-down {
    transform: rotate(180deg);
}

/* Menu déroulant */
.dog-filters-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: #111111;
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 10px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.dog-filters-menu.active {
    max-height: 600px;
    opacity: 1;
    visibility: visible;
}

.dog-filter-item {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.25rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.83rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.2s ease;
}

.dog-filter-item:last-child { border-bottom: none; }

.dog-filter-item i { color: var(--gold); font-size: 0.78rem; }

.dog-filter-item:hover {
    background: rgba(201, 168, 76, 0.06);
    color: var(--gold);
    padding-left: 1.75rem;
}

.dog-filter-item.active {
    background: rgba(201, 168, 76, 0.08);
    color: var(--gold);
    font-weight: 600;
    border-left: 3px solid var(--gold);
}

.dog-filter-item.male:hover { color: #60a5fa; background: rgba(59,130,246,0.08); }
.dog-filter-item.female:hover { color: #f472b6; background: rgba(236,72,153,0.08); }

.dog-filter-item.saillie {
    color: var(--gold);
    font-weight: 600;
    background: rgba(201, 168, 76, 0.06);
}

.dog-filter-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.2), transparent);
    margin: 0.25rem 0;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 991px) {
    .dog-filters-desktop {
        display: none; 
    }
    .dog-filters-mobile {
        display: block;
    }
}

@media (max-width: 575px) {
    .dog-filters-section { padding: 1.25rem 0; }
    .dog-filters-toggle { padding: 0.75rem 1rem; }
    .dog-filter-item { font-size: 0.8rem; padding: 0.75rem 1rem; }
}

/* ========================================
   SECTION GRILLE CHIENS
======================================== */

.dog-grid-section {
    padding: 2rem 0 4rem;
    background: #0d0d0d;
}

/* Header */
.breed-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.breed-section-header-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.breed-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.breed-gallery-counter {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.1rem;
}

.counter-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.counter-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.label-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.2);
    padding: 0.2rem 0.75rem;
    border-radius: 50px;
}

/* Dog Card */
.dog-card {
    background: #111111;
    border: 1px solid rgba(201, 168, 76, 0.12);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    isolation: isolate;
}

.dog-card:hover {
    border-color: rgba(201, 168, 76, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(201, 168, 76, 0.08);
}

/* Image */
.dog-card-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.dog-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.dog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.dog-card:hover .dog-card-image img {
    transform: scale(1.06);
}

/* Badge genre */
.dog-gender-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    z-index: 2;
}

.dog-gender-badge.male { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.dog-gender-badge.female { background: linear-gradient(135deg, #EC4899, #DB2777); }

.btn-view-dog {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #000;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dog-card:hover .btn-view-dog { transform: translateY(0); }

/* Corps */
.dog-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #111111;
}

.dog-card-top-bar {
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin-bottom: 1rem;
    border-radius: 2px;
}

.dog-card-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.dog-card-name a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.dog-card-name a:hover { color: var(--gold); }

.dog-card-race {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dog-card-race i { color: var(--gold); font-size: 0.8rem; }

.dog-card-race a {
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.dog-card-race a:hover { opacity: 0.8; }

.dog-card-info { flex: 1; }

.dog-info-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.dog-info-item:last-child { border-bottom: none; }
.dog-info-item i { color: var(--gold); font-size: 0.78rem; width: 14px; text-align: center; }
.dog-info-item span { color: rgba(255,255,255,0.65); font-size: 0.8rem; }

/* Message vide */
.no-dogs-message {
    padding: 4rem 2rem;
    background: #111111;
    border: 1px solid rgba(201, 168, 76, 0.12);
    border-radius: 12px;
}

.no-dogs-message h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.no-dogs-message p { color: rgba(255,255,255,0.5); font-size: 0.88rem; }

.btn-back-dogs {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: transparent;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 6px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.btn-back-dogs:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: var(--gold);
    color: var(--gold);
}

.btn-view-dog-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #000;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    margin-top: 1rem;
}

.btn-view-dog-card:hover {
    opacity: 0.9;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.3);
}

.btn-view-dog-card i {
    transition: transform 0.3s ease;
}

.btn-view-dog-card:hover i {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 991px) {
    .dog-grid-section { padding: 1.5rem 0 3rem; }
    .dog-card-image { height: 260px; }
    .breed-section-title { font-size: 1.4rem; }
    .dog-card-image {position: relative; height: 300px; overflow: hidden;}
}

@media (max-width: 767px) {
    .dog-grid-section { padding: 1.5rem 0 2.5rem; }
    .breed-section-title { font-size: 1.25rem; }
    .counter-number { font-size: 1.6rem; }
    .dog-card-image {position: relative; height: 300px; overflow: hidden;}
}

@media (max-width: 575px) {
    .dog-grid-section { padding: 1.25rem 0 2rem; }
    .dog-card-image { height: 240px; }
    .dog-card-name { font-size: 0.95rem; }
    .dog-info-item span { font-size: 0.75rem; }
    .dog-card-image {position: relative; height: 300px; overflow: hidden;}
}

/* ========================================
   SECTION PAGINATION
======================================== */

.dog-pagination-section {
    padding: 2rem 0 3rem;
    background: #0d0d0d;
}

.dog-pagination-section .container {
    text-align: center;
}

/* Liste */
.dog-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
}

.dog-pagination-item { display: inline-block; }

/* Liens */
.dog-pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 42px;
    height: 42px;
    padding: 0 1rem;
    background: #111111;
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dog-pagination-link:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: rgba(201, 168, 76, 0.35);
    color: var(--gold);
    transform: translateY(-2px);
}

.dog-pagination-link.active {
    background: rgba(201, 168, 76, 0.15);
    border-color: rgba(201, 168, 76, 0.5);
    color: var(--gold);
    font-weight: 700;
    pointer-events: none;
}

.dog-pagination-link.prev,
.dog-pagination-link.next {
    padding: 0 1.1rem;
    background: #111111;
    border-color: rgba(201, 168, 76, 0.2);
    color: var(--gold);
}

.dog-pagination-link.prev:hover,
.dog-pagination-link.next:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: var(--gold);
}

/* Points */
.dog-pagination-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    color: rgba(255,255,255,0.3);
    font-size: 1rem;
}

/* Info */
.dog-pagination-info {
    display: inline-block;
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem;
    padding: 0.6rem 1.25rem;
    background: #111111;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 50px;
}

.dog-pagination-info strong {
    color: var(--gold);
    font-weight: 700;
}

/* Responsive */
@media (max-width: 767px) {
    .dog-pagination-section { padding: 1.5rem 0 2.5rem; }
    .dog-pagination { gap: 0.4rem; }
    .dog-pagination-link { min-width: 38px; height: 38px; font-size: 0.82rem; padding: 0 0.75rem; }
    .dog-pagination-link.prev span,
    .dog-pagination-link.next span { display: none; }
    .dog-pagination-link.prev,
    .dog-pagination-link.next { min-width: 38px; padding: 0 0.75rem; }
    .dog-pagination-dots { min-width: 38px; height: 38px; }
}

@media (max-width: 575px) {
    .dog-pagination-section { padding: 1.25rem 0 2rem; }
    .dog-pagination-link { min-width: 34px; height: 34px; font-size: 0.78rem; padding: 0 0.6rem; }
    .dog-pagination-info { font-size: 0.75rem; padding: 0.5rem 1rem; }
}

/* ========================================
   SECTION CTA
======================================== */

.dog-cta-section {
    padding: 0 0 4rem;
    background: #0d0d0d;
}

.dog-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: #111111;
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-top: 3px solid var(--gold);
    border-radius: 12px;
    padding: 2.5rem;
}

.dog-cta-left {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    align-items: flex-start;
}

.dog-cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.dog-cta-text {
    color: rgba(255,255,255,0.6);
    font-size: 0.87rem;
    line-height: 1.7;
    margin: 0;
    max-width: 500px;
}

.dog-cta-right {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-dog-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #000;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-dog-cta-primary:hover {
    opacity: 0.9;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.3);
}

.btn-dog-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-dog-cta-secondary:hover {
    border-color: rgba(201, 168, 76, 0.4);
    color: var(--gold);
    background: rgba(201, 168, 76, 0.06);
}

/* Responsive */
@media (max-width: 991px) {
    .dog-cta-section { padding: 0 0 3rem; }
    .dog-cta-title { font-size: 1.4rem; }
}

@media (max-width: 767px) {
    .dog-cta-box { flex-direction: column; align-items: flex-start; padding: 2rem; }
    .dog-cta-left { align-items: center; width: 100%; }
    .dog-cta-title { text-align: center; }
    .dog-cta-text { text-align: center; max-width: 100%; }
    .dog-cta-right { flex-direction: row; width: 100%; }
    .btn-dog-cta-primary, .btn-dog-cta-secondary { flex: 1; }
    .dog-cta-title { font-size: 1.25rem; }
}

@media (max-width: 575px) {
    .dog-cta-section { padding: 0 0 2.5rem; }
    .dog-cta-box { padding: 1.5rem; }
    .dog-cta-right { flex-direction: column; }
    .dog-cta-title { font-size: 1.15rem; }
    .dog-cta-text { font-size: 0.83rem; }
}

/* css onglet nos retraités */
.dog-filter-btn.retraites {
    background: rgba(201, 168, 76, 0.06);
    border-color: rgba(201, 168, 76, 0.2);
    color: rgba(201, 168, 76, 0.8);
    font-weight: 600;
}

.dog-filter-btn.retraites:hover {
    background: rgba(201, 168, 76, 0.15);
    border-color: var(--gold);
    color: var(--gold);
}

.dog-filter-item.retraites {
    color: rgba(201, 168, 76, 0.8);
    font-weight: 600;
    background: rgba(201, 168, 76, 0.04);
}

.dog-filter-item.retraites:hover {
    color: var(--gold);
    background: rgba(201, 168, 76, 0.08);
    padding-left: 1.75rem;
}